mirror of https://github.com/CrimsonTome/tldr.git
latex, pdftex, tex, texdoc, texliveonfly, tlmgr: add page (#5294)
parent
a57cc14783
commit
0589644d01
|
@ -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}}`
|
|
@ -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}}`
|
||||
|
|
|
@ -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}}`
|
|
@ -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}}`
|
|
@ -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}}`
|
|
@ -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}}`
|
|
@ -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`
|
Loading…
Reference in New Issue