diff options
Diffstat (limited to 'macros/latex/contrib/asmeconf/asmeconf.cls')
-rw-r--r-- | macros/latex/contrib/asmeconf/asmeconf.cls | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/macros/latex/contrib/asmeconf/asmeconf.cls b/macros/latex/contrib/asmeconf/asmeconf.cls index 97b2ce8404..c078785e01 100644 --- a/macros/latex/contrib/asmeconf/asmeconf.cls +++ b/macros/latex/contrib/asmeconf/asmeconf.cls @@ -5,8 +5,8 @@ %% ASME conference requirements as represented on ASME's conference web pages in 2022. %% %% This file's version and date: - \def\versionno{1.31} - \def\versiondate{2022/07/04\space} + \def\versionno{1.32} + \def\versiondate{2022/09/14\space} %% %% Author: John H. Lienhard, V %% Department of Mechanical Engineering @@ -1129,9 +1129,23 @@ \RequirePackage{hyperxmp}% improve transfer of metadata to pdf +% Patch bug in hyperxmp, unless a more recent version is used. +\ifdefined\hyxmp@no@bad@parts% \hyxmp@no@bad@parts is not def'd in TeX Live 2019 or older + \@ifpackagelater{hyperxmp}{2022/09/14}{% no new version at present, still 2020/11/22 + \relax + }{% + \newcount\hypxmp@tempcnt + \define@key{Hyp}{pdfapart}{% + \afterassignment\hyxmp@no@bad@parts\hypxmp@tempcnt=0#1\relax + \hyxmp@pdfstringdef\@pdfapart{\the\hypxmp@tempcnt}% + } + } +\else + \relax +\fi + \RequirePackage[psdextra]{hyperref} % recent kernel transition suggests providing most hyperref options via \hypersetup, % but setting psdextra here (for additional math support in bookmarks) 2021/12/01 - \hypersetup{% unicode, % Unicode encoded PDF strings pdfborder={0 0 0},% |