Replies: 2 comments 10 replies
-
The simplest approach might be to modify the PDF version directly from the TeX source rather than relying on compiler-specific parameters. By doing so, your code remains independent of the compiler used (whether it's Tectonic, XeLaTeX, etc.). One way to achieve this is by specifying the desired PDF version as a parameter of the \usepackage[pdfversion=1.7]{hyperref} Additional solutions can be explored in the responses to this TeX.SX question. |
Beta Was this translation helpful? Give feedback.
-
The warning is emitted by the "thing" actually creating the PDF, which in the case of Tectonic is (our version of) the (x)dvipdfmx tool, just like with normal XeTeX. We have to persuade it to change the PDF version it thinks it is generating. From it's documentation we can learn that this can be done through a "special" TeX command / primitive: \special{pdf:minorversion 7} or by specifying the
or by also including them directly in the document source file with \special{dvipdfmx:config V 7} Tectonic won't accept it with So I guess both the easiest and only option for you is: \special{pdf:minorversion 7} which seems to work. Note that it has to be very early in the document. If you have problems with it, I would appreciata a Minimal Working Example to experiment on. |
Beta Was this translation helpful? Give feedback.
-
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 to change the PDF version.
xelatex -output-driver="xdvipdfmx -V 5" <yourfile>
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.Beta Was this translation helpful? Give feedback.
All reactions