From 0589644d0162bec7390a9ad3b417effa0577bf7b Mon Sep 17 00:00:00 2001 From: marchersimon <50295997+marchersimon@users.noreply.github.com> Date: Sun, 28 Feb 2021 14:33:40 +0100 Subject: [PATCH] latex, pdftex, tex, texdoc, texliveonfly, tlmgr: add page (#5294) --- pages/common/latex.md | 16 ++++++++++++++++ pages/common/pdflatex.md | 9 +++++---- pages/common/pdftex.md | 16 ++++++++++++++++ pages/common/tex.md | 16 ++++++++++++++++ pages/common/texdoc.md | 16 ++++++++++++++++ pages/common/texliveonfly.md | 16 ++++++++++++++++ pages/common/tlmgr.md | 32 ++++++++++++++++++++++++++++++++ 7 files changed, 117 insertions(+), 4 deletions(-) create mode 100644 pages/common/latex.md create mode 100644 pages/common/pdftex.md create mode 100644 pages/common/tex.md create mode 100644 pages/common/texdoc.md create mode 100644 pages/common/texliveonfly.md create mode 100644 pages/common/tlmgr.md diff --git a/pages/common/latex.md b/pages/common/latex.md new file mode 100644 index 000000000..b79cffa3f --- /dev/null +++ b/pages/common/latex.md @@ -0,0 +1,16 @@ +# latex + +> Compile a DVI document from LaTeX source files. +> More information: . + +- 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}}` diff --git a/pages/common/pdflatex.md b/pages/common/pdflatex.md index 9448c2e54..e5737dee3 100644 --- a/pages/common/pdflatex.md +++ b/pages/common/pdflatex.md @@ -1,15 +1,16 @@ # pdflatex -> Compile a pdf document from LaTeX source files. +> Compile a PDF document from LaTeX source files. +> More information: . -- 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}}` diff --git a/pages/common/pdftex.md b/pages/common/pdftex.md new file mode 100644 index 000000000..df5616ebf --- /dev/null +++ b/pages/common/pdftex.md @@ -0,0 +1,16 @@ +# pdftex + +> Compile a PDF document from TeX source files. +> More information: . + +- 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}}` diff --git a/pages/common/tex.md b/pages/common/tex.md new file mode 100644 index 000000000..5a315f51f --- /dev/null +++ b/pages/common/tex.md @@ -0,0 +1,16 @@ +# tex + +> Compile a DVI document from TeX source files. +> More information: . + +- 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}}` diff --git a/pages/common/texdoc.md b/pages/common/texdoc.md new file mode 100644 index 000000000..5f5be2720 --- /dev/null +++ b/pages/common/texdoc.md @@ -0,0 +1,16 @@ +# texdoc + +> Search for appropriate documentation for (La)TeX commands or packages. +> More information: . + +- 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}}` diff --git a/pages/common/texliveonfly.md b/pages/common/texliveonfly.md new file mode 100644 index 000000000..72da3df0a --- /dev/null +++ b/pages/common/texliveonfly.md @@ -0,0 +1,16 @@ +# texliveonfly + +> Downloads missing TeX Live packages while compiling `.tex` files. +> More information: . + +- 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}}` diff --git a/pages/common/tlmgr.md b/pages/common/tlmgr.md new file mode 100644 index 000000000..9118c9d59 --- /dev/null +++ b/pages/common/tlmgr.md @@ -0,0 +1,32 @@ +# tlmgr + +> Manages packages and configuration options of an existing TeX Live installation. +> More information: . + +- 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`