Compiling from tex file doesn't give the same layout
dillontkh opened this issue · 11 comments
Hi @dillontkh, thanks for opening this issue :)
Could I check what you're using the compile the file?
im using the latex workshop extension on vscode
the command run is
pdflatex -synctex=1 -interaction=nonstopmode -file-line-error -recorder "[filepath]"
Hmm I'm not familiar with vscode and its latex extension - could you try this config? Here are the options I'm using which compiles to 2 pages:
compiler: latexmk
engine: -pdf
options:
-verbose
-file-line-error
-synctex=1
-interaction=nonstopmode
callback: 1
continuous: 1
executable: latexmk
that didn't seem to make a difference
do you have this warning as well?
Yup, it should still be able to compile
im using the latex workshop extension on vscode
the command run is
pdflatex -synctex=1 -interaction=nonstopmode -file-line-error -recorder "[filepath]"
Running this command on the CLI gives a 2-page output. Just as a sanity check, does it work if you
- ensure there are no changes to the source tex file
- run the command (e.g.
pdflatex -file-line-error -synctex=1 -interaction=nonstopmode -recorder "cs2040s-finals-cheatsheet.tex"
) directly on your CLI (not using vscode)?
Yep, on a fresh clone of the repo and running the command in CLI still gives me the same result. Could it be there's a font you have installed that I don't?
here's a video of the process from start to finish
https://youtu.be/wL95vQ5tOgk
and here's the log file
Thanks for providing the log file! Looks like the difference is from different versions of TeX - the 2020 version (which I'm using) compiles to 2 pages, and your version compiles to 3 pages :)
dang ok that's the end of that mystery, thanks!
any chance you're able to update it to work with the 2023 version? :P
unfortunately not in the near future, but this is a good reminder for me to update my tex version 😛