You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/article/README.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,17 @@ The most important thing to remember when authoring in a codespace is that you a
36
36
We have tried to keep the codespace small (so it starts up quickly and doesn't eat through your monthly storage allotment), so we do not include a full TeXLive distribution. We have tried to include most packages and fonts you are likely to need to generate images using `<latex-image>` elements, and to generate PDF print output. However, if you run into a situation where the LaTeX gives errors about packages missing (like it cannot find a `mypackage.sty` file), here is what you should do.
37
37
38
38
1. To quickly resolve the issue yourself, open a terminal (``Ctrl+Shift+` ``) and use the TeXLive Package Manager to install the missing package.
39
-
1. If you know that the package is called `mypackage` then enter the following two lines:
39
+
a. If you know that the package is called `mypackage` then enter the following two lines:
40
40
41
-
```bash
42
-
tlmgr install mypackage
43
-
tlmgr path add
44
-
```
45
-
46
-
2. If you don't know the name of the package, but know it should contain `mypackage.sty`, then you can search using
47
-
48
-
```bash
49
-
tlmgr search --global --all "mypackage.sty"
50
-
```
41
+
```bash
42
+
tlmgr install mypackage
43
+
tlmgr path add
44
+
```
45
+
b. If you don't know the name of the package, but know it should contain `mypackage.sty`, then you can search using
51
46
47
+
```bash
48
+
tlmgr search --global --all "mypackage.sty"
49
+
```
52
50
53
51
2. To ensure that you don't have to repeat this step every time you recreate the codespace, add the package name to the list of installs inside the file `.devcontainer/installLatex.sh` which gets run every time a codespace is created.
Copy file name to clipboardExpand all lines: templates/book/README.md
+10-13Lines changed: 10 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,19 +37,17 @@ The most important thing to remember when authoring in a codespace is that you a
37
37
We have tried to keep the codespace small (so it starts up quickly and doesn't eat through your monthly storage allotment), so we do not include a full TeXLive distribution. We have tried to include most packages and fonts you are likely to need to generate images using `<latex-image>` elements, and to generate PDF print output. However, if you run into a situation where the LaTeX gives errors about packages missing (like it cannot find a `mypackage.sty` file), here is what you should do.
38
38
39
39
1. To quickly resolve the issue yourself, open a terminal (``Ctrl+Shift+` ``) and use the TeXLive Package Manager to install the missing package.
40
-
1. If you know that the package is called `mypackage` then enter the following two lines:
40
+
a. If you know that the package is called `mypackage` then enter the following two lines:
41
41
42
-
```bash
43
-
tlmgr install mypackage
44
-
tlmgr path add
45
-
```
46
-
47
-
2. If you don't know the name of the package, but know it should contain `mypackage.sty`, then you can search using
48
-
49
-
```bash
50
-
tlmgr search --global --all "mypackage.sty"
51
-
```
42
+
```bash
43
+
tlmgr install mypackage
44
+
tlmgr path add
45
+
```
46
+
b. If you don't know the name of the package, but know it should contain `mypackage.sty`, then you can search using
52
47
48
+
```bash
49
+
tlmgr search --global --all "mypackage.sty"
50
+
```
53
51
54
52
2. To ensure that you don't have to repeat this step every time you recreate the codespace, add the package name to the list of installs inside the file `.devcontainer/installLatex.sh` which gets run every time a codespace is created.
By far the largest space-hog in a PreTeXt authoring environment is SageMath, which is only required if you generate images using sageplots. By default, SageMath is not installed in a PreTeXt codespace, but it should be easy to install if you need it.
61
59
62
-
Just open the command palette (`Ctrl+Shift+P` of `F1`) and search for "PreTeXt: Install SageMath". This will also update the `.devcontainer/devcontainer.json` file so that the next time you create a codespace for this project, it should install automatically.
63
-
60
+
Just open the command palette (`Ctrl+Shift+P` of `F1`) and search for "PreTeXt: Install SageMath". This will also update the `.devcontainer/devcontainer.json` file so that the next time you create a codespace for this project, it should install automatically.
Copy file name to clipboardExpand all lines: templates/course/README.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,19 +62,17 @@ The most important thing to remember when authoring in a codespace is that you a
62
62
We have tried to keep the codespace small (so it starts up quickly and doesn't eat through your monthly storage allotment), so we do not include a full TeXLive distribution. We have tried to include most packages and fonts you are likely to need to generate images using `<latex-image>` elements, and to generate PDF print output. However, if you run into a situation where the LaTeX gives errors about packages missing (like it cannot find a `mypackage.sty` file), here is what you should do.
63
63
64
64
1. To quickly resolve the issue yourself, open a terminal (``Ctrl+Shift+` ``) and use the TeXLive Package Manager to install the missing package.
65
-
1. If you know that the package is called `mypackage` then enter the following two lines:
65
+
a. If you know that the package is called `mypackage` then enter the following two lines:
66
66
67
-
```bash
68
-
tlmgr install mypackage
69
-
tlmgr path add
70
-
```
71
-
72
-
2. If you don't know the name of the package, but know it should contain `mypackage.sty`, then you can search using
73
-
74
-
```bash
75
-
tlmgr search --global --all "mypackage.sty"
76
-
```
67
+
```bash
68
+
tlmgr install mypackage
69
+
tlmgr path add
70
+
```
71
+
b. If you don't know the name of the package, but know it should contain `mypackage.sty`, then you can search using
77
72
73
+
```bash
74
+
tlmgr search --global --all "mypackage.sty"
75
+
```
78
76
79
77
2. To ensure that you don't have to repeat this step every time you recreate the codespace, add the package name to the list of installs inside the file `.devcontainer/installLatex.sh` which gets run every time a codespace is created.
Copy file name to clipboardExpand all lines: templates/demo/README.md
+9-12Lines changed: 9 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,19 +37,17 @@ The most important thing to remember when authoring in a codespace is that you a
37
37
We have tried to keep the codespace small (so it starts up quickly and doesn't eat through your monthly storage allotment), so we do not include a full TeXLive distribution. We have tried to include most packages and fonts you are likely to need to generate images using `<latex-image>` elements, and to generate PDF print output. However, if you run into a situation where the LaTeX gives errors about packages missing (like it cannot find a `mypackage.sty` file), here is what you should do.
38
38
39
39
1. To quickly resolve the issue yourself, open a terminal (``Ctrl+Shift+` ``) and use the TeXLive Package Manager to install the missing package.
40
-
1. If you know that the package is called `mypackage` then enter the following two lines:
40
+
a. If you know that the package is called `mypackage` then enter the following two lines:
41
41
42
-
```bash
43
-
tlmgr install mypackage
44
-
tlmgr path add
45
-
```
46
-
47
-
2. If you don't know the name of the package, but know it should contain `mypackage.sty`, then you can search using
48
-
49
-
```bash
50
-
tlmgr search --global --all "mypackage.sty"
51
-
```
42
+
```bash
43
+
tlmgr install mypackage
44
+
tlmgr path add
45
+
```
46
+
b. If you don't know the name of the package, but know it should contain `mypackage.sty`, then you can search using
52
47
48
+
```bash
49
+
tlmgr search --global --all "mypackage.sty"
50
+
```
53
51
54
52
2. To ensure that you don't have to repeat this step every time you recreate the codespace, add the package name to the list of installs inside the file `.devcontainer/installLatex.sh` which gets run every time a codespace is created.
By far the largest space-hog in a PreTeXt authoring environment is SageMath, which is only required if you generate images using sageplots. By default, SageMath is not installed in a PreTeXt codespace, but it should be easy to install if you need it.
61
59
62
60
Just open the command palette (`Ctrl+Shift+P` of `F1`) and search for "PreTeXt: Install SageMath". This will also update the `.devcontainer/devcontainer.json` file so that the next time you create a codespace for this project, it should install automatically.
0 commit comments