1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:42:09 +02:00
tldr/pages/common/tectonic.md
Dónal Murray 5fa0ab1eaf
tectonic: add page (#10532)
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-07-25 19:32:44 +02:00

28 lines
668 B
Markdown

# tectonic
> A modern, self-contained TeX/LaTeX engine.
> More information: <https://tectonic-typesetting.github.io/book/latest>.
- Compile a standalone TeX/LaTeX file:
`tectonic -X compile {{path/to/file.tex}}`
- Compile a standalone TeX/LaTeX file with synctex data:
`tectonic -X compile --synctex {{path/to/file.tex}}`
- Initialize a tectonic project in the current directory:
`tectonic -X init`
- Initialize a tectonic project in the specified directory:
`tectonic -X new {{project_name}}`
- Build the project in the current directory:
`tectonic -X build`
- Start a watcher to build the project in the current directory on change:
`tectonic -X watch`