Skip to content
Snippets Groups Projects
Commit 09bb2ee6 authored by Jan-Åke Larsson's avatar Jan-Åke Larsson
Browse files

Fix load order: geometry before hyperref

parent e37e6eec
No related branches found
No related tags found
3 merge requests!40Enable PDF/A-2b to choose between RGB and CMYK,!39Another colorprofile textstring,!38Add rudimentary PDF/A-2b support
......@@ -302,19 +302,20 @@
\LoadClass{memoir}
\PassOptionsToPackage{svgnames}{xcolor}
\PassOptionsToPackage{pdfusetitle}{hyperref}
\usepackage[cmyk,svgnames,hyperref]{xcolor}
\RequirePackage{pdfpages}
\RequirePackage{tikz}
\RequirePackage{pbox}
\RequirePackage{ifthen}
\RequirePackage{geometry}
%%%%%%%%%% PDF/A support
% https://tex.stackexchange.com/questions/474197/pdfx-incomplete-cidset-in-some-fonts/474336#474336
\ifluatex
\pdfvariable omitcidset=1
\fi
%\pdfobjcompresslevel=0 %uncomment for Texlive
\usepackage[pdfa,bookmarks=false]{hyperref} %bookmarks are incompatible with PDF/X<6
\usepackage[pdfa,pdfusetitle,bookmarks=false]{hyperref} %bookmarks are incompatible with PDF/X<6
\usepackage{hyperxmp}[2020/06/15]
\usepackage{cmap}
\usepackage[cmyk,hyperref]{xcolor}
\ifxetex
\def\OBJ@CMYK{@colorprofile}%
......@@ -372,11 +373,6 @@
}
%%%%%%%%%% end PDF/A support
\RequirePackage{pdfpages}
\RequirePackage{tikz}
\RequirePackage{pbox}
\RequirePackage{ifthen}
\RequirePackage{geometry}
\RequirePackage{amssymb}
\RequirePackage{amsmath}
\RequirePackage{etoolbox}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment