Настройка hyperref
This commit is contained in:
parent
c4b4a79740
commit
fee1c77737
@ -96,7 +96,18 @@
|
||||
\renewcommand{\date}[1]{\XESPDdate{#1}}
|
||||
|
||||
\RequirePackage{xespdafterpkg}
|
||||
\RequirePackage{ifxetex}
|
||||
\XESPD@after@package{hyperref}{%
|
||||
\hypersetup{breaklinks,pdftitle=\XESPDtheUnitName,%
|
||||
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}}
|
||||
\ifxetex
|
||||
\hypersetup{xetex,%
|
||||
breaklinks,pdftitle=\XESPDtheUnitName,%
|
||||
\XESPD@lang,unicode=true,pdfusetitle,bookmarks=true,%
|
||||
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
|
||||
\else
|
||||
\hypersetup{%
|
||||
breaklinks,pdftitle=\XESPDtheUnitName,%
|
||||
\XESPD@lang,unicode=true,pdfusetitle,bookmarks=true,%
|
||||
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
|
||||
\fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user