summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx')
-rw-r--r--Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx21
1 files changed, 15 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx b/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx
index 126924480cb..f99ce29dbb2 100644
--- a/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx
+++ b/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx
@@ -1,5 +1,5 @@
% \iffalse meta-comment
-% !TEX program = LuaLaTeX
+% !TEX program = lualatex
%<*internal>
\iffalse
%</internal>
@@ -90,6 +90,9 @@ files as they might have stored incompatible internal encodings.
5. CHANGES
+2020-10-13 version 1.4d
+ * Added support for pdfstings.
+
2018-04-11 version 1.4с
* Fixed unprotected endlines.
@@ -197,8 +200,8 @@ and the derived files ukraineb.ins,
%</internal>
%<*code>
\NeedsTeXFormat{LaTeX2e}
-%\ProvidesLanguage{\jobname}[2018/04/11 1.4c Ukrainian support for the Babel system]
-\ProvidesLanguage{ukraineb}[2018/04/11 1.4c Ukrainian support for the Babel system]
+%\ProvidesLanguage{\jobname}[2020/10/13 1.4d Ukrainian support for the Babel system]
+\ProvidesFile{ukraineb.ldf}[2020/10/13 1.4d Ukrainian support for the Babel system]
%</code>
%<*driver>
\documentclass[a4paper]{ltxdoc}
@@ -706,6 +709,7 @@ and the derived files ukraineb.ins,
% \fi
%
% \section{Implementation}
+% \changes{1.4d}{2020/10/13}{Added support for pdfstings}
% \changes{1.4a}{2017/06/13}{Removing \cs{week<roman number>day} macro, since it is should be define in \cls{datetime2} class}
% \changes{1.4a}{2017/06/13}{Removing \cls{revtex4(4-1)} classes ukrainization because it unused in ukainian text typesetting}
% \changes{1.4a}{2017/06/13}{Adding \cs{acronymname}, \cs{lstlistingname} and \csc{lstlistlistingname} macros to nonunicode captions}
@@ -1083,12 +1087,17 @@ and the derived files ukraineb.ins,
% which indicates explicitly breakpoint for hyphenation in a word. Meaning
% of these shorthands is explained in table~\ref{tab:ukrainian-quote}.
%
+% Because of pdfstrings patches for ukrainian shorthands were removed from |hyperref|,
+% the support for them was added to the |ukrainian.ldf| file.
+%
% \begin{macrocode}
+\providecommand\texorpdfstring[2]{#1}
\declare@shorthand{ukrainian}{""}{\hskip\z@skip}
-\declare@shorthand{ukrainian}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
+\declare@shorthand{ukrainian}{"~}{%
+ \texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}}
\declare@shorthand{ukrainian}{"=}{\nobreak-\hskip\z@skip}
\declare@shorthand{ukrainian}{"|}{%
- \textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}
+ \texorpdfstring{\textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}{}}
% \end{macrocode}
%
% \subsubsection{Emdash, endash and hyphenation sign}
@@ -1582,7 +1591,7 @@ and the derived files ukraineb.ins,
%\iffalse
%</code>
%\fi
-% \CheckSum{1088}
+% \CheckSum{1092}
%\Finale
%
%%