Настройка hyperref
This commit is contained in:
parent
c4b4a79740
commit
fee1c77737
@ -96,7 +96,18 @@
|
|||||||
\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,%
|
||||||
|
\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