13.10.1 LaTeX and PDF export commands
C-c C-e l l
(org-latex-export-to-latex
)β
Export to a LaTeX file with a β.tex
β extension. For βmyfile.org
β, Org exports to βmyfile.tex
β, overwriting without warning.
C-c C-e l L
(org-latex-export-as-latex
)β
Export to a temporary buffer. Do not create a file.
C-c C-e l p
(org-latex-export-to-pdf
)β
Export as LaTeX file and convert it to PDF file.
C-c C-e l o
β
Export as LaTeX file and convert it to PDF, then open the PDF using the default viewer.
M-x org-export-region-as-latex
β
Convert the region to LaTeX under the assumption that it was in Org mode syntax before. This is a global command that can be invoked in any buffer.
The LaTeX export back-end can use any of these LaTeX engines: βpdflatex
β, βxelatex
β, and βlualatex
β. These engines compile LaTeX files with different compilers, packages, and output options. The LaTeX export back-end finds the compiler version to use from org-latex-compiler
variable or the β#+LATEX_COMPILER
β keyword in the Org file. See the docstring for the org-latex-default-packages-alist
for loading packages with certain compilers. Also see org-latex-bibtex-compiler
to set the bibliography compiler1.
- This does not allow setting different bibliography compilers for different files. However, βsmart" LaTeX compilation systems, such as latexmk, can select the correct bibliography compiler.β©