Skip to content

adapt code for pdf version 2.0 #87

@u-fischer

Description

@u-fischer

With luatex it is possible to set the pdf version to 2.0 with

\pdfvariable majorversion 2
\pdfvariable minorversion 0

hyperref is not really prepared for this. E.g. this document

\pdfvariable majorversion 2
\pdfvariable minorversion 0
\pdfvariable compresslevel=0

\documentclass{article}
\usepackage[ocgcolorlinks]{hyperref}
\begin{document}
blub
\end{document}

creates this pdf header:

%PDF-2.5
%ÌÕÁÔÅØÐÄÆ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions