-
Notifications
You must be signed in to change notification settings - Fork 14
Coming from Overleaf
Many things work out of the box in Overleaf which you may find does not, by default, when you try the same project in Zed (things such a glossaries, knitr, asymptote...).
The good news is that Overleaf does not have much special sauce when it comes to actually building the PDF, and uses latexmk by default just like this extension. However Overleaf uses a fairly large default config file (latexmkrc) found here. You can add the relevant parts to a latexmkrc file in your project folder (ideally to help others build your project too), which will then be read by latexmk when it is run by texlab if build-on-save is enabled (or yourself).
Here are some latexmkrc snippets for various things which you can toggle in the Overleaf UI:
|
Stop on first error: $force_mode = 0; # 1 to not stop |
|
Compiler: $pdf_mode = 1; # to use pdflatex
$pdf_mode = 2; # tex -> ps -> pdf
$pdf_mode = 2; # tex -> dvi -> pdf
$pdf_mode = 4; # to use lualatex
$pdf_mode = 5; # to use xelatexMain document: @default_files = ('main.tex'); |
- Home
- Build Document
- Preview
- Formatting
- Texlab
- Miscellaneous features
- Help when coming from: