tectonic-typesetting / tectonic

A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.
https://tectonic-typesetting.github.io/
Other
3.84k stars 159 forks source link

Changing the PDF version doesn't remove the warning #1193

Open Ectalite opened 1 month ago

Ectalite commented 1 month ago

Even if the PDF version is superior or equal to the included PDF, the warning is still showing up.

Please see the messages describing the issue in the discussion down here:

Discussed in https://github.com/tectonic-typesetting/tectonic/discussions/1192

Originally posted by **Ectalite** May 14, 2024 I'm including a PDF page inside my Tex project and since that I'm getting the warning: `warning: Trying to include PDF file with version (1.7), which is newer than current output PDF setting (1.5).` After a couple of researches, you can [give a parameter when calling xelatex](https://tex.stackexchange.com/a/8826) to change the PDF version. `xelatex -output-driver="xdvipdfmx -V 5" ` Is there a way to do this tectonic ? I also tried to change `dvipdfmx.cfg` in my texlive installation, but it didn't have any impact.
Ectalite commented 1 month ago

For the reference here is a minimal working example including 4 known method to change the PDF version. It also includes a PDF exported from a Word (Office 365) document with the PDF-A option. MinimalWorkingExample

Tectonic version: 0.15.0