Merge remote-tracking branch 'origin/test' into xespd
This commit is contained in:
commit
784b3df1cf
@ -81,6 +81,7 @@
|
||||
\DeclareSymbolFont{letters}{\encodingdefault}{\rmdefault}{m}{it}
|
||||
\usepackage{unicode-math}
|
||||
\setmathfont{XITS Math}
|
||||
\usepackage[T2A]{fontenc}
|
||||
\else
|
||||
\RequirePackage[T2A]{fontenc}
|
||||
\RequirePackage{mathptmx}
|
||||
|
@ -105,11 +105,18 @@
|
||||
\renewcommand{\date}[1]{\XESPDdate{#1}}
|
||||
|
||||
\RequirePackage{xespdafterpkg}
|
||||
\RequirePackage{ifxetex}
|
||||
\XESPD@after@package{hyperref}{%
|
||||
\ifxetex
|
||||
\hypersetup{xetex,%
|
||||
breaklinks,pdftitle=\XESPDtheUnitName,%
|
||||
\XESPD@lang,unicode=true,pdfusetitle,bookmarks=true,%
|
||||
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
|
||||
\else
|
||||
\hypersetup{%
|
||||
\XESPD@lang,unicode=true,pdfusetitle,breaklinks=false,%
|
||||
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,%
|
||||
pdfborder={0 0 0},pdfborderstyle={},backref=false,colorlinks=false,%
|
||||
pdftitle=\XESPDtheUnitName,pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
|
||||
breaklinks,pdftitle=\XESPDtheUnitName,%
|
||||
\XESPD@lang,unicode=true,pdfusetitle,bookmarks=true,%
|
||||
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
|
||||
\fi
|
||||
}
|
||||
|
||||
|
@ -38,13 +38,12 @@
|
||||
\RequirePackage{csquotes}
|
||||
\RequirePackage{ifxetex}
|
||||
\ifxetex
|
||||
\RequirePackage[\XESPD@lang]{babel}
|
||||
\RequirePackage{textcase}
|
||||
\RequirePackage{xltxtra}
|
||||
\RequirePackage{xunicode}
|
||||
\RequirePackage{xecyr}
|
||||
\RequirePackage{polyglossia}
|
||||
\setmainlanguage{russian}
|
||||
\setmainlanguage{\XESPD@lang}
|
||||
\setkeys{\XESPD@lang}{babelshorthands=true}
|
||||
\setotherlanguage{english}
|
||||
\else
|
||||
|
@ -73,6 +73,12 @@
|
||||
\RequirePackage{xespdinfo}
|
||||
\RequirePackage{xespdtitlebase}
|
||||
\RequirePackage{xespdtitle}
|
||||
\RequirePackage{xltabular}
|
||||
\RequirePackage{multirow}
|
||||
\newcommand{\HY}{\hyphenpenalty=25\exhyphenpenalty=25}
|
||||
\newcolumntype{Z}{>{\HY\raggedright\arraybackslash\hspace{0pt}}X}
|
||||
\newcolumntype{M}{>{\HY\RaggedRight\arraybackslash\hspace{0pt}}c}
|
||||
\newcolumntype{L}{>{\HY\RaggedRight\arraybackslash\hspace{0pt}}l}
|
||||
|
||||
\RequirePackage{xltabular}
|
||||
\RequirePackage{multirow}
|
||||
|
Loading…
Reference in New Issue
Block a user