I ran an old ROOT file for a document, I set document_build = pdf but it did not build the pdf, in spite of having a build script. Only when I ran the build script manually in output/document, then it created the pdf. What did I miss in the ROOT file?
What is outdated yet in my ROOT file?
session "proposal" = "HOL" +
options [document_build = pdf, document_output = "output"]
sessions
"HOL-Nominal"
theories
"Proposal"
document_files
"root.tex" "build" "celldiagram.png"
document_files ( in "../.." )
"GergelyBuday.bib"
I have managed to run an isabelle document session verbosely, it talked about creating the root.pdf file, but I do not find the result. What does happen here?
I am by no means an expert on the Isabelle build process, but I think the options you give are wrong.
document_build
(appears first in Isabelle2021-1 as far as I can tell) specifies the build engine used (See 3.3 of the system manual). By default Isabelle provides lualatex
. pdflatex
and build
. The first two use standard latex tools to build your document, while the third allows you to supply a custom build script. pdf
is not a (built in) build engine, and on my machine Isabelle complains about this when I try to add this option: `*** Bad document_build engine "pdf". You control whether you want a pdf with the
document``option.
I suspect you want something like options [document = pdf, document_build = build, document_output = "output"]
.
Thanks. In the meantime I managed to give the necessary options to isabelle document.And yes, I used document_build = build .
Last updated: Dec 21 2024 at 16:20 UTC