Информация о документе

This commit is contained in:
Andrei Astafev 2020-03-14 16:41:47 +03:00
parent a12df3b5bc
commit 1e6be68f0d

View File

@ -96,7 +96,16 @@
\renewcommand{\date}[1]{\XESPDdate{#1}} \renewcommand{\date}[1]{\XESPDdate{#1}}
\RequirePackage{xespdafterpkg} \RequirePackage{xespdafterpkg}
\RequirePackage{ifxetex}
\XESPD@after@package{hyperref}{% \XESPD@after@package{hyperref}{%
\hypersetup{breaklinks,pdftitle=\XESPDtheUnitName,% \ifxetex
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}} \hypersetup{xetex,%
breaklinks,pdftitle=\XESPDtheUnitName,%
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
\else
\hypersetup{%
breaklinks,pdftitle=\XESPDtheUnitName,%
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
\fi
}