Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
32214e2
allow hosting on Runestone and components for doenet and static
Tanaquil18 Jul 15, 2026
1eb14cd
doenet previews up through section 4-4
Tanaquil18 Jul 15, 2026
e716211
Update to PreTeXt project source.
Tanaquil18 Jul 15, 2026
347c453
fix typo in award
Tanaquil18 Jul 17, 2026
7b5ac15
temporarily set doenet dev version
Tanaquil18 Jul 17, 2026
6645abc
specify doenet dev version temporarily
Tanaquil18 Jul 18, 2026
b28fe65
doenet previews for 4-4 through 5-5
Tanaquil18 Jul 18, 2026
b0b41d4
use dev container, set up answers in the back, answers to act-1-1-2
Tanaquil18 Jul 18, 2026
8186c36
answers to activities for sections 1-1 through 1-3
Tanaquil18 Jul 19, 2026
aca3a2f
fix prefigure images in 1-1 activities
Tanaquil18 Jul 21, 2026
e8c4141
really fix my prefigure images
Tanaquil18 Jul 21, 2026
e5fc686
answers to activities in 1-4 through 1-6
Tanaquil18 Jul 21, 2026
1579ce7
some of the prefigure from David
Tanaquil18 Jul 22, 2026
2a96635
prefigure changes in Transformations section, answers to 1-8 and 1-9,…
Tanaquil18 Jul 22, 2026
6e63f1b
answers for 2-1 through 2-3
Tanaquil18 Jul 23, 2026
bda01b7
answers for 2-4, starting 3-1
Tanaquil18 Jul 26, 2026
954bda5
answers for 3-1 and 3-2, changing potato temp activity
Tanaquil18 Jul 27, 2026
0f24ec9
answers for 3-3 through 3-6
Tanaquil18 Jul 28, 2026
edb4cc7
remaining prefigure files from David
Tanaquil18 Jul 28, 2026
9c42b69
answers in the back in online component
Tanaquil18 Jul 28, 2026
2aa20d3
answers for chap 4
Tanaquil18 Jul 28, 2026
0de86c6
answers for Chap 5
Tanaquil18 Jul 28, 2026
c5c25c6
Update to PreTeXt project source.
Tanaquil18 Jul 28, 2026
643d0e7
set project numbering and clean up answer visibility
Tanaquil18 Jul 28, 2026
0e31a63
Merge branch 'main' into doenet-and-answers
mattboelkins Jul 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"features": {
"ghcr.io/devcontainers/features/github-cli": {
"version": "1.1.0",
"resolved": "ghcr.io/devcontainers/features/github-cli@sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671",
"integrity": "sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671"
}
}
}
171 changes: 86 additions & 85 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,85 +1,86 @@
// This file was automatically generated with PreTeXt 2.28.2.
// If you modify this file, PreTeXt will no longer automatically update it.
//
//////////////////////////////////////////////////////////////
//
// This file provides configuration options so that a PreTeXt
// project can be edited and built using GitHub's Codespaces.
// It is recommended to keep this in your repository even if you
// do not use this feature, as it will allow other to explore
// your project easily.
// This file will be automatically generated by PreTeXt with the
// latest updates unless you remove the first comment line above.
//
///////////////////////////////////////////////////////////////
{
"image": "pretextbook/pretext-full:1.4", // uses latest image from https://hub.docker.com/r/PreTeXtBook/pretext-full/tags
// If you don't need sagemath, you can use a smaller base image. Comment out the line above and uncomment the line below to use a smaller image.
// "image": "pretextbook/pretext:1.4",
"features": {"ghcr.io/devcontainers/features/github-cli": {}},

// The pretext-full image above includes pretext, prefigure, and enough parts of latex and sagemath for most cases. Here we install additional dependencies.
"postCreateCommand": {
// "install pandoc": "bash ./.devcontainer/installPandoc.sh",
"mark repo as safe": "git config --global --add safe.directory $(pwd)"
},


// Port forwarding
// ---------------
// This is needed by the CodeChat Server.
"forwardPorts": [
// The port used for a Thrift connection between the VSCode CodeChat
// extension and the CodeChat Server.
27376,
// The port used for an HTTP connection from the CodeChat Client to
// the CodeChat Server.
27377,
// The port used by a websocket connection between the CodeChat
// Server and the CodeChat Client.
27378
],
// See the [docs](https://containers.dev/implementors/json_reference/#port-attributes).
"portsAttributes": {
"27376": {
"label": "VSCode extension <-> CodeChat Server",
"requireLocalPort": true
},
"27377": {
"label": "CodeChat Client",
"requireLocalPort": true
},
"27378": {
"label": "CodeChat Client<->Server websocket",
"requireLocalPort": true
// This port needs to be public; however, there's no way to specify port visibility here. See `server.py` in the CodeChat Server for details.
}
},


// Configure tool-specific properties.
"customizations": {
"codespaces": {
"openFiles": ["README.md"]
},
"vscode": {
"settings": {
"editor.quickSuggestions": {
"other": "off"
},
"files.autoSave": "afterDelay",
"editor.snippetSuggestions": "bottom",
"xml.validation.enabled": true,
"redhat.telemetry.enabled": false,
"CodeChat.CodeChatServer.Command": "CodeChat_Server"
},
"extensions": [
"oscarlevin.pretext-tools",
"CodeChat.codechat",
"streetsidesoftware.code-spell-checker",
"alpinebuster.vscode-latex-table-editor",
"mathematic.vscode-pdf"
]
}
}
}
// This file was automatically generated with PreTeXt 2.19.2.
// If you modify this file, PreTeXt will no longer automatically update it.
//
//////////////////////////////////////////////////////////////
//
// This file provides configuration options so that a PreTeXt
// project can be edited and built using GitHub's Codespaces.
// It is recommended to keep this in your repository even if you
// do not use this feature, as it will allow other to explore
// your project easily.
// This file will be automatically generated by PreTeXt with the
// latest updates unless you remove the first comment line above.
//
///////////////////////////////////////////////////////////////
{
"image": "oscarlevin/pretext:1.1",
"features": {},

// Comment or uncomment lines below if you don't or do need that feature.
"postCreateCommand": {
// "install sagemath": "bash ./.devcontainer/installSage.sh",
// "install pandoc": "bash ./.devcontainer/installPandoc.sh",
// "install latex": "bash ./.devcontainer/installLatex.sh",
// "install pretext": "bash ./.devcontainer/installPretext.sh",
"install additional LaTeX fonts": "tlmgr install bera cabin marginnote",
"mark repo as safe": "git config --global --add safe.directory $(pwd)"
},


// Port forwarding
// ---------------
// This is needed by the CodeChat Server.
"forwardPorts": [
// The port used for a Thrift connection between the VSCode CodeChat
// extension and the CodeChat Server.
27376,
// The port used for an HTTP connection from the CodeChat Client to
// the CodeChat Server.
27377,
// The port used by a websocket connection between the CodeChat
// Server and the CodeChat Client.
27378
],
// See the [docs](https://containers.dev/implementors/json_reference/#port-attributes).
"portsAttributes": {
"27376": {
"label": "VSCode extension <-> CodeChat Server",
"requireLocalPort": true
},
"27377": {
"label": "CodeChat Client",
"requireLocalPort": true
},
"27378": {
"label": "CodeChat Client<->Server websocket",
"requireLocalPort": true
// This port needs to be public; however, there's no way to specify port visibility here. See `server.py` in the CodeChat Server for details.
}
},


// Configure tool-specific properties.
"customizations": {
"codespaces": {
"openFiles": ["source/main.ptx"]
},
"vscode": {
"settings": {
"editor.quickSuggestions": {
"other": "off"
},
"editor.snippetSuggestions": "top",
"xml.validation.enabled": true,
"redhat.telemetry.enabled": false,
"CodeChat.CodeChatServer.Command": "CodeChat_Server",
"xml.java.home": "/usr/lib/jvm/default-java"
},
"extensions": [
"oscarlevin.pretext-tools",
"CodeChat.codechat",
"streetsidesoftware.code-spell-checker",
"alpinebuster.vscode-latex-table-editor"
]
}
}
}
34 changes: 17 additions & 17 deletions .devcontainer/installPandoc.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/usr/bin/env bash

# This file was automatically generated with PreTeXt 2.28.2.
# If you modify this file, PreTeXt will no longer automatically update it.

wget https://github.com/jgm/pandoc/releases/download/3.6.4/pandoc-3.6.4-1-amd64.deb -O pandoc.deb

# wait for 60 second and then double check that no other script is using apt-get:
sleep 60
while fuser /var/lib/dpkg/lock >/dev/null 2>&1; do
echo "Waiting for apt-get to be free..."
sleep 15
done
# Install pandoc
sudo apt-get install -y --no-install-recommends ./pandoc.deb

rm pandoc.deb
#!/usr/bin/env bash
# This file was automatically generated with PreTeXt 2.28.2.
# If you modify this file, PreTeXt will no longer automatically update it.
wget https://github.com/jgm/pandoc/releases/download/3.6.4/pandoc-3.6.4-1-amd64.deb -O pandoc.deb
# wait for 60 second and then double check that no other script is using apt-get:
sleep 60
while fuser /var/lib/dpkg/lock >/dev/null 2>&1; do
echo "Waiting for apt-get to be free..."
sleep 15
done
# Install pandoc
sudo apt-get install -y --no-install-recommends ./pandoc.deb
rm pandoc.deb
42 changes: 21 additions & 21 deletions .devcontainer/installSage.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
#!/usr/bin/env bash

# This file was automatically generated with PreTeXt 2.28.2.
# If you modify this file, PreTeXt will no longer automatically update it.

# Conda should already be installed in the codespace. We need to add the conda-forge channel

conda config --add channels conda-forge
conda config --set channel_priority strict

# We don't want conda to open the base environment always:
conda config --set auto_activate_base false

# Now create a conda environment for sage (called sage):
conda create --yes -n sage sage python=3.12

conda init

echo 'conda activate sage' >> ~/.bashrc

source ~/.bashrc
#!/usr/bin/env bash
# This file was automatically generated with PreTeXt 2.28.2.
# If you modify this file, PreTeXt will no longer automatically update it.
# Conda should already be installed in the codespace. We need to add the conda-forge channel
conda config --add channels conda-forge
conda config --set channel_priority strict
# We don't want conda to open the base environment always:
conda config --set auto_activate_base false
# Now create a conda environment for sage (called sage):
conda create --yes -n sage sage python=3.12
conda init
echo 'conda activate sage' >> ~/.bashrc
source ~/.bashrc
Loading
Loading