From: Diego Machado Dias <diegodias.m@gmail.com>
Dear all,
I would like to use the latex package minted in the documentation of a
theory file, but the PDF generation requires pdflatex to be called passing
the --shell-escape option.
How can I configure isabelle build to pass the option --shell-escape when
calling the latex compiler?
Best regards,
Diego
From: Diego Machado Dias <diegodias.m@gmail.com>
I've just figured out an adhoc solution: to edit the etc/settings file in
the Isabelle directory.
ISABELLE_LATEX="latex -file-line-error --shell-escape"
ISABELLE_PDFLATEX="pdflatex -file-line-error --shell-escape"
Is there a way of changing these variables without overwriting this
configuration file?
Best regards,
Diego
From: Makarius <makarius@sketis.net>
See the top of this file:
Anyway, I did not quite understand the purpose of --shell-escape.
Instead of odd shell hacking there are at least two official possibilities:
* Use of document/build scripts (see examples in the Isabelle
distribution in src/Doc/...).
* Use of Isabelle/ML to generate required latex sources (via document
antiquotations). (You can use the Prover IDE with control-hover-click on
existing antiquotations to get to example implementations).
Makarius
Last updated: Nov 21 2024 at 12:39 UTC