summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-13 20:52:08 +0000
committerKarl Berry <karl@freefriends.org>2020-10-13 20:52:08 +0000
commitea48f58d9244afbb607465b6c7866564a42877d9 (patch)
treecbb255e35b4bb3cd01b4ec9a995bce53e86b6166
parent7325516bca293fe6ef3e676a629d906634d93cd2 (diff)
babel-ukrainian (13oct20)
git-svn-id: svn://tug.org/texlive/trunk@56650 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/babel-ukrainian/README.md3
-rw-r--r--Master/texmf-dist/doc/generic/babel-ukrainian/ukraineb.pdfbin448707 -> 134371 bytes
-rw-r--r--Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx21
-rw-r--r--Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf8
4 files changed, 23 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-ukrainian/README.md b/Master/texmf-dist/doc/generic/babel-ukrainian/README.md
index 76f01215845..bdeb5018d77 100644
--- a/Master/texmf-dist/doc/generic/babel-ukrainian/README.md
+++ b/Master/texmf-dist/doc/generic/babel-ukrainian/README.md
@@ -81,6 +81,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.
diff --git a/Master/texmf-dist/doc/generic/babel-ukrainian/ukraineb.pdf b/Master/texmf-dist/doc/generic/babel-ukrainian/ukraineb.pdf
index 633972a3e37..a9714b7d061 100644
--- a/Master/texmf-dist/doc/generic/babel-ukrainian/ukraineb.pdf
+++ b/Master/texmf-dist/doc/generic/babel-ukrainian/ukraineb.pdf
Binary files differ
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
%
%%
diff --git a/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf b/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf
index c03d756f2d7..ec02f00cd5d 100644
--- a/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf
+++ b/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf
@@ -12,7 +12,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesLanguage{ukraineb}[2018/04/11 1.4c Ukrainian support for the Babel system]
+\ProvidesFile{ukraineb.ldf}[2020/10/13 1.4d Ukrainian support for the Babel system]
\LdfInit{ukrainian}{captionsukrainian}
\ifdefined\if@ukr@uni@ode
\PackageError{babel}{if@ukr@uni@ode already defined.\MessageBreak
@@ -125,11 +125,13 @@
\declare@shorthand{ukrainian}{"'}{\textquotedblleft}
\declare@shorthand{ukrainian}{"<}{\guillemotleft}
\declare@shorthand{ukrainian}{">}{\guillemotright}
+\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}{}}{}}
\declare@shorthand{ukrainian}{"-}{%
\def\ukrainian@sh@tmp{%
\if\ukrainian@sh@next-\expandafter\ukrainian@sh@emdash