From ced6dac36188c845d7d06e5768e484b4b774d028 Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Sat, 10 Oct 2020 16:45:55 -0700 Subject: Allow the user to specify which LaTeX compiler to use (#8) We were using pdflatex as a default LaTeX compiler. This PR allows the user to specify any of the ones shipped with TeXLive. This is particularly important because some applications require, e.g., Times New Roman font. In PDFLatex, it looks like it's basically impossible to guarantee this. In XeLaTeX and LuaLaTeX it seems to be possible. So having the option to switch between them can be useful. --- README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index f5051d7..c13f0b3 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,9 @@ latex_document( main = "main.tex", ) ``` +By default, the `latex_document` rule will compiler the PDF with the `pdflatex` +program. You can instruct it to use another compiler, such as `xelatex`, by +passing the optional `compiler` option. ### Step 3: Building your Paper Every `latex_document` rule creates multiple targets: -- cgit v1.2.3