Repository navigation
CI: update the PDF build container to Ubuntu 26.04 - #479
Conversation
Update the PDF toolchain from Ubuntu 20.04 while preserving the existing paper size, chapter structure, and diagram dimensions. - Use rsvg-convert for the cover logo in PDF generation and link checking, and remove Inkscape from the build image. - Adapt the LaTeX template to newer Pandoc output, explicitly retain US Letter paper and chapter-level headings, and set PDF title and language metadata. The old template said a4, but the PDFs were US Letter. LaTeX logged Unused global option(s): [a4] because the report class expects a4paper, not a4. - Set explicit widths for six CMSE diagrams to preserve their printed size despite changes in SVG unit conversion. - Use standard hyperref behavior. Internal links remain supported; legacy external #nameddest= fragments are not guaranteed to resolve. Expected PDF layout changes relative to Ubuntu 20.04: - Denser intrinsics tables reduce Advanced SIMD from 820 to 591 pages and MVE from 466 to 356 pages. - The SVE section in ACLE reflows, but the document remains 297 pages. CMSE goes from 44 to 43 pages; Morello remains at 9 pages. - Running footers sit about 3 mm higher, and the cover logo renders slightly differently.
|
Here's a side by side comparison of the output PDFs. acle-side-by-side.pdf |
rgwott
left a comment
There was a problem hiding this comment.
Is the lua script due to fix some problem that came up with the updated setup? Also the --top-level-division change. If not, is it not more logical to split those in a separate PR?
They are all meant to reduce the changes in output. |
Update the PDF toolchain from Ubuntu 20.04 while preserving the existing paper size, chapter structure, and diagram dimensions.
Expected PDF layout changes relative to Ubuntu 20.04:
name: Pull request
about: Technical issues, document format problems, bugs in scripts or feature proposal.
Thank you for submitting a pull request!
If this PR is about a bugfix:
Please use the bugfix label and make sure to go through the checklist below.
If this PR is about a proposal:
We are looking forward to evaluate your proposal, and if possible to
make it part of the Arm C Language Extension (ACLE) specifications.
We would like to encourage you reading through the contribution
guidelines, in particular the section on submitting
a proposal.
Please use the proposal label.
As for any pull request, please make sure to go through the below
checklist.
Checklist: (mark with
Xthose which apply)PR (do not bother creating the issue if all you want to do is
fixing the bug yourself).
SPDX-FileCopyrightTextlines on topof any file I have edited. Format is
SPDX-FileCopyrightText: Copyright {year} {entity or name} <{contact informations}>(Please update existing copyright lines if applicable. You can
specify year ranges with hyphen , as in
2017-2019, and usecommas to separate gaps, as in
2018-2020, 2022).Copyrightsection of the sources of thespecification I have edited (this will show up in the text
rendered in the PDF and other output format supported). The
format is the same described in the previous item.
tricky to set up on non-*nix machines). The sequence can be
found in the contribution
guidelines. Don't
worry if you cannot run these scripts on your machine, your
patch will be automatically checked in the Actions of the pull
request.
introduced in this PR in section Changelog for year 20xx (this year)
of section Preface/About this document.
Create Changelog for year 20xx if it does not exist. Notice that
changes that are not modifying the content and rendering of the
specifications (both HTML and PDF) do not need to be listed.
correctness of the result in the PDF output (please refer to the
instructions on how to build the PDFs
locally).
in the README page of the project.