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

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

Open
Ectalite opened this issue May 14, 2024 Discussed in #1192 · 1 comment
Open

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

Ectalite opened this issue May 14, 2024 Discussed in #1192 · 1 comment

Comments

@Ectalite
Copy link

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 #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 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.

@Ectalite
Copy link
Author

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

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

No branches or pull requests

1 participant