https://emacs.stackexchange.com/questions/85603/how-to-set-latexmk-options-using-it-with-auctex
https://emacs.stackexchange.com/questions/85602/how-to-set-latexmk-options-using-it-with-polymode
#Emacs #LaTeX #TeX #TeXLaTeX #Polymode #AUCTEX #latexmk
RE: https://mastodon.social/@whitequark/115635167578691059
Thank you
- @joeyh for
#gitAnnex
- @matrss for maintaining #forgejoAneksajo
- @simonmic for
#hledger
- John Collins for #latexmk
and many people maintaining other #FOSS projects I rely upon
Jemand eine Idee, was da beim kompilieren mit #latexmk schief läuft? Ich bekomme immer die Fehlermeldung:
"C:\texlive\2025\bin\windows\runscript.tlu:933: command failed with exit code 12:
perl.exe c:\texlive\2025\texmf-dist\scripts\latexmk\latexmk.pl -synctex=1 -interaction=nonstopmode -file-line-error -pdf -outdir=u:/Schule/EFG2 u:/Schule/EFG2/Test_GSM_251009"
Wenn ich das von der Kommandozeile mache geht es
I just discovered #sioyek, a very fast and simple cross-platform PDF viewer that is designed around reading books or scientific papers. I auto-reloads when the file changes, so is well-suited for a #latexmk workflow. Reloading is quasi-instant and also doesn't redraw everything with this dreaded flicker like many other viewers do (looking at you #evince 😑). Right-clicking on an internal link a opens a real, scrollable subwindow preview, nice! 👍
After so many people were amazed by #latexmk's capabilities to auto-refresh a LaTeX document preview, check this out:
latex-lsp/texlab: An implementation of the Language Server Protocol for LaTeX https://github.com/latex-lsp/texlab?tab=readme-ov-file
I didn't think there would be a language server for TeX documents but there you go!
In #Emacs/#Eglot, you now get auto-completion of all macros that are loaded by your project, even your own. 🤯
#latexmk is great for auto-compiling your documents.
However, it fails in some cases and I'm currently bitten by a nasty one:
- \includgraphics'ed PDF is corrupt (It's a missing, unlocked #gitAnnex / @datalad file)
- that stops biblatex from properly finishing the .bcf XML file
- *before* fetching the missing PDF (with #DataLad), latexmk runs biber on the now corrupt .bcf (fails and deletes the .bbl)
- vicious cycle repeats literally forever - latexmk is in an endless loop 🙄
Has anyone tried to orchestrate #latexmk in #rstats via #processx? Because I'm running into trouble trying to capture stdout: https://github.com/r-lib/processx/issues/373
I can still fall back to temp files for logging or just reading the (much more verbose) log file latexmk creates anyway, buuut... yknow.
I am attempting to orchestrate and keep track of dozens of latexmk compilation processes, and noticed that these processes never finish if I attempt to capture stdout or stderr with pipes. It works...