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: README.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,12 @@ The handouts should be present by 4 ~ 10 days after the class, based on Ray's wo
23
23
1. If you've set up Docker, you could skip this sections, for the Docker image [rays2/gt-handout-env](https://hub.docker.com/r/rays2/gt-handout-env) handles all the LaTeX-related dependencies.
24
24
25
25
1. Install a TeX distribution which provides the [pdfTeX](https://tug.org/applications/pdftex/) engine. If you need to compile the syllabus, the TeX distro needs to provide XeLaTeX.
26
+
> [!TIP]
27
+
> You could install either [TeX Live](https://www.tug.org/texlive/) or [MikTeX](https://miktex.org/download).
28
+
>
29
+
> Some Linux distributions also provide TeX Live packages from the default package manager (like `apt install texlive` or `pacman -S texlive-bin`, you cannot use `tlmgr` to manage TeX packages).
26
30
27
-
> [!TIP]
28
-
> You could install either [TeX Live](https://www.tug.org/texlive/) or [MikTeX](https://miktex.org/download).
29
-
>
30
-
> Some Linux distributions also provide TeX Live packages from the default package manager (like `apt install texlive` or `pacman -S texlive-bin`).
31
-
32
-
1. Install the following packages with your TeX distribution.
31
+
3. Install the following packages with your TeX distribution.
33
32
34
33
<!--
35
34
When building a Docker image as the environment, the script accesses this package list, so make sure this list covers all required packages to build handouts in a Docker container.
@@ -40,15 +39,15 @@ The handouts should be present by 4 ~ 10 days after the class, based on Ray's wo
Copy file name to clipboardExpand all lines: doc/dev-notes.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,26 @@
2
2
3
3
## Rules
4
4
5
-
1. To contribute to this repository, please install [latexindent.pl](https://github.com/cmhughes/latexindent.pl) for formatting TeX files.
5
+
1. To contribute to this repository, please install [latexindent.pl](https://github.com/cmhughes/latexindent.pl)or TeX package `latexindent`for formatting TeX files.
6
6
7
7
1. (Optional) Install the VS Code extension [LaTeX Workshop](https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop).
8
8
9
-
1. With VS Code, if you're using Arch Linux, please install the following packages for `latexindent` to work.
9
+
1.In Ubuntu, please also set up the dependencies of `latexindent` as follows.install the `apt` package `libyaml-tiny-perl` to provide `YAML::Tiny`. (ref. )
10
10
11
-
sudo pacman -S texlive-binextra perl-yaml-tiny
11
+
```bash
12
+
# install the perl package management tool "cpanm" system-wide
13
+
sudo cpan -i App::cpanminus
14
+
15
+
# install the perl package dependencies system-wide
16
+
sudo cpanm YAML::Tiny
17
+
sudo cpanm File::HomeDir
18
+
```
19
+
20
+
1. In Arch Linux, please install the following packages for`latexindent` to work.
21
+
22
+
```bash
23
+
sudo pacman -S texlive-binextra perl-yaml-tiny
24
+
```
12
25
13
26
<details>
14
27
<summary>Reasons (click to expand/hide):</summary>
0 commit comments