Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: pin Pandoc to 3.1.9 #4993

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

ci: pin Pandoc to 3.1.9 #4993

wants to merge 4 commits into from

Conversation

alex-chew
Copy link
Contributor

Description

This PR pins the version of Pandoc used to build the reference manual in CI to version 3.1.9.

The last nightly prerelease workflow failed due to a LaTeX error when building the reference manual:

./concat DafnyRef.md | sed -e '/numbered toc/d' -e '/:toc/d' -e '/PDFOMIT/d'  -e 's/<!--PDF NEWPAGE-->/\\newpage/' -e 's/<!--.*-->//' | pandoc --citeproc --toc --syntax-definition="../KDESyntaxDefinition/dafny.xml"  --syntax-definition="../KDESyntaxDefinition/grammar.xml" --highlight-style=../KDESyntaxDefinition/dafny.theme --pdf-engine=xelatex --bibliography=DafnyRef.bib --bibliography=krml250.bib --bibliography=poc.bib --bibliography=paper-full.bib --bibliography=references.bib -H head.tex -B header.tex -V colorlinks=true -t pdf -o DafnyRef.pdf
Error producing PDF.
! Undefined control sequence.
\__tcobox_set_backslash_removed:Nn ...1\tl_set:Ne 
                                                  #1{\exp_last_unbraced:NV \...
l.2522 \DeclareTotalTCBox{\tcboxverb}

make: *** [all] Error 43

That failing build used the latest version of Pandoc, 3.1.11.1, whereas the last successful build used version 3.1.9.

How has this been tested?

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

robin-aws pushed a commit that referenced this pull request Jan 19, 2024
### Description
This PR disables the reference manual build during pre-release CI, in
order to unblock development while we determine how to fix the refman
build failures (see related:
#4993).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant