Skip to content

Commit 9810d1f

Browse files
committed
update pretext version and refresh some files
1 parent 6a9daf8 commit 9810d1f

3 files changed

Lines changed: 148 additions & 23 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": "PreTeXt-Codespaces",
3+
4+
// This Docker image includes some LaTeX support, but is still not to large. Note that if you keep your codespace running, it will use up your GitHub free storage quota. Additional options are listed below.
5+
// "image": "oscarlevin/pretext:small",
6+
// If you need to generate more complicated assets (such as sageplots) or use additional fonts when building to PDF, comment out the above line and uncomment the following line.
7+
"image": "oscarlevin/pretext:full",
8+
// If you only intend to build for web and don't have any latex-image generated assets, you can use a smaller image:
9+
// "image": "oscarlevin/pretext:lite",
10+
11+
12+
13+
// The following was the previous version of this file, which used the Codespaces base image. It is still available for reference, but is not recommended.
14+
// "image": "mcr.microsoft.com/devcontainers/python:3",
15+
// "features": {
16+
// "ghcr.io/devcontainers/features/node:1": {},
17+
// "ghcr.io/rocker-org/devcontainer-features/pandoc:1": {}
18+
// },
19+
// "forwardPorts": [
20+
// 27377,
21+
// 27378
22+
// ],
23+
// "portsAttributes": {
24+
// "27378": {
25+
// "label": "CodeChat",
26+
// "onAutoForward": "openPreview",
27+
// "requireLocalPort": true,
28+
// "elevateIfNeeded": true,
29+
// "protocol": "https"
30+
// }
31+
// },
32+
// "onCreateCommand": "pip install pretext",
33+
// // Use 'postCreateCommand' to run commands after the container is created.
34+
// "postCreateCommand": "sudo bash ./.devcontainer/postCreateCommand.sh",
35+
36+
// Configure tool-specific properties.
37+
"customizations": {
38+
"codespaces": {
39+
"openFiles": [
40+
"source/main.ptx"
41+
]
42+
},
43+
"vscode": {
44+
"settings": {
45+
"editor.quickSuggestions": {
46+
"other": "off"
47+
},
48+
"editor.snippetSuggestions": "top",
49+
"xml.validation.enabled": false
50+
},
51+
"extensions": ["ms-vscode.live-server", "oscarlevin.pretext-tools"]
52+
}
53+
}
54+
55+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
56+
// "remoteUser": "root"
57+
}

.gitignore

Lines changed: 90 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,91 @@
1-
__pycache__/
2-
build_info
3-
build
4-
published
5-
.idea
6-
.idea/*
7-
pavement.pyc
8-
# for builds on Mac:
9-
**/.DS_Store
10-
.vscode
11-
*~
12-
*.bak
13-
*.orig
14-
\#*\#
15-
sphinx-enki-info.txt
16-
sphinx_settings.json
17-
output.log
18-
beta
1+
# Boilerplate list of files in a PreTeXt project for git to ignore
2+
# ensure this file is tracked
3+
!.gitignore
4+
5+
# don't track unpublished builds
196
output
20-
published
21-
pdf
22-
GenFigs
23-
cli.log
7+
8+
# don't track assets generated from source
9+
generated-assets
10+
11+
# don't track node packages
12+
node_modules
13+
14+
# don't track error logs
15+
.error_schema.log
16+
cli.log
17+
18+
# don't track OS related files (windows/macos/linux)
19+
.DS_Store
20+
.DS_Store?
21+
._*
22+
.AppleDouble
23+
.LSOverride
24+
.Spotlight-V100
25+
.Trashes
26+
Icon
27+
.AppleDB
28+
.AppleDesktop
29+
Network Trash Folder
30+
Temporary Items
31+
.apdisk
32+
Thumbs.db
33+
Thumbs.db:encryptable
34+
ehthumbs.db
35+
ehthumbs_vista.db
36+
*.stackdump
37+
*.lnk
38+
*.cab
39+
*.msi
40+
*.msix
41+
*.msm
42+
*.msp
43+
[Dd]esktop.ini
44+
.directory
45+
.fuse_hidden*
46+
.Trash-*
47+
.nfs*
48+
49+
# Don't include VSCode generated files
50+
.vscode
51+
*.code-workspace
52+
53+
# Don't inlucde SublimeText files
54+
# Cache files for Sublime Text
55+
*.tmlanguage.cache
56+
*.tmPreferences.cache
57+
*.stTheme.cache
58+
59+
# Workspace files are user-specific
60+
*.sublime-workspace
61+
62+
# Project files should be checked into the repository, unless a significant
63+
# proportion of contributors will probably not be using Sublime Text
64+
*.sublime-project
65+
66+
# SFTP configuration file
67+
sftp-config.json
68+
sftp-config-alt*.json
69+
70+
# Package control specific files
71+
Package Control.last-run
72+
Package Control.ca-list
73+
Package Control.ca-bundle
74+
Package Control.system-ca-bundle
75+
Package Control.cache/
76+
Package Control.ca-certs/
77+
Package Control.merged-ca-bundle
78+
Package Control.user-ca-bundle
79+
oscrypto-ca-bundle.crt
80+
bh_unicode_properties.cache
81+
82+
# Sublime-github package stores a github token in this file
83+
# https://packagecontrol.io/packages/sublime-github
84+
GitHub.sublime-settings
85+
86+
87+
# Don't include Dropbox settings and caches
88+
.dropbox
89+
.dropbox.attr
90+
.dropbox.cache
91+

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pretextbook >= 0.8.0
1+
pretext == 1.6.0

0 commit comments

Comments
 (0)