latex, pdftex, tex, texdoc, texliveonfly, tlmgr: add page (#5294)

translation-badges
marchersimon 2021-02-28 14:33:40 +01:00 committed by GitHub
parent a57cc14783
commit 0589644d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 117 additions and 4 deletions

16
pages/common/latex.md Normal file
View File

@ -0,0 +1,16 @@
# latex
> Compile a DVI document from LaTeX source files.
> More information: <https://www.latex-project.org>.
- Compile a DVI document:
`latex {{source.tex}}`
- Compile a DVI document, specifying an output directory:
`latex -output-directory={{path/to/directory}} {{source.tex}}`
- Compile a DVI document, halting on each error:
`latex -halt-on-error {{source.tex}}`

View File

@ -1,15 +1,16 @@
# pdflatex
> Compile a pdf document from LaTeX source files.
> Compile a PDF document from LaTeX source files.
> More information: <https://linux.die.net/man/1/pdflatex>.
- Compile a pdf document:
- Compile a PDF document:
`pdflatex {{source.tex}}`
- Compile a pdf document specifying an output directory:
- Compile a PDF document specifying an output directory:
`pdflatex -output-directory={{path/to/directory}} {{source.tex}}`
- Compile a pdf document, halting on each error:
- Compile a PDF document, halting on each error:
`pdflatex -halt-on-error {{source.tex}}`

16
pages/common/pdftex.md Normal file
View File

@ -0,0 +1,16 @@
# pdftex
> Compile a PDF document from TeX source files.
> More information: <https://www.tug.org/applications/pdftex/>.
- Compile a PDF document:
`pdftex {{source.tex}}`
- Compile a PDF document, specifying an output directory:
`pdftex -output-directory={{path/to/directory}} {{source.tex}}`
- Compile a PDF document, halting on each error:
`pdftex -halt-on-error {{source.tex}}`

16
pages/common/tex.md Normal file
View File

@ -0,0 +1,16 @@
# tex
> Compile a DVI document from TeX source files.
> More information: <https://www.tug.org/begin.html>.
- Compile a DVI document:
`tex {{source.tex}}`
- Compile a DVI document, specifying an output directory:
`tex -output-directory={{path/to/directory}} {{source.tex}}`
- Compile a DVI document, halting on each error:
`tex -halt-on-error {{source.tex}}`

16
pages/common/texdoc.md Normal file
View File

@ -0,0 +1,16 @@
# texdoc
> Search for appropriate documentation for (La)TeX commands or packages.
> More information: <https://texdoc.org/index.html>.
- Open the first search result in the default PDF viewer:
`texdoc {{search}}`
- List the best search results:
`texdoc --list {{search}}`
- Open full documentation of texdoc:
`texdoc {{texdoc}}`

View File

@ -0,0 +1,16 @@
# texliveonfly
> Downloads missing TeX Live packages while compiling `.tex` files.
> More information: <https://ctan.org/pkg/texliveonfly>.
- Download missing packages while compiling:
`texliveonfly {{source.tex}}`
- Use a specific compiler (defaults to `pdflatex`):
`texliveonfly --compiler={{compiler}} {{source.tex}}`
- Use a custom TeX Live `bin` folder:
`texliveonfly --texlive_bin={{path/to/texlive_bin}} {{source.tex}}`

32
pages/common/tlmgr.md Normal file
View File

@ -0,0 +1,32 @@
# tlmgr
> Manages packages and configuration options of an existing TeX Live installation.
> More information: <https://www.tug.org/texlive/tlmgr.html>.
- Install a package and its dependencies:
`tlmgr install {{package}}`
- Remove a package and its dependencies:
`tlmgr remove {{package}}`
- Display information about a package:
`tlmgr info {{package}}`
- Update all packages:
`tlmgr update --all`
- Show possible updates without updating anything:
`tlmgr update --list`
- Start a GUI version of tlmgr:
`tlmgr gui`
- List all TeX Live configurations:
`tlmgr conf`