Closed michael-markl closed 1 month ago
Sorry I don't understand what you requested. The extension updates PDF of current root file on successful compilation, and other PDFs on file change.
By the way, you can always use the "refresh all viewer" command to manually refresh.
For me, it doesn't refresh the PDF viewer on file change, but the workaround with the manual command is sufficient for me.
For me, it doesn't refresh the PDF viewer on file change.
This is mostly related to the behaviour of pdflatex
. Even if the PDF file seems to be updated, from a technical point of view it is most likely a new file, with a new inode. This breaks the file watcher and any update mechanism it should trigger.
Pre-checks*
The feature request has been suggested in this repository: #12 !
I want to add (another?) use case to the discussion in the mentioned issue. (Feel free to close this issue if you do not plan to support this use case).
The Missed*
(My) Status Quo
main_preprint.tex
and amain_conference.tex
that do all the setup (use the correct\documentclass{...}
for the preprint/conference, etc.), possibly set a new if conditional à la\newif\ifpreprint\preprinttrue
, and then\input{main.tex}
where the actual content lies..latexmkrc
:main.tex
file.The Solution*