texlive[56650] Master/texmf-dist: babel-ukrainian (13oct20)

commits+karl at tug.org commits+karl at tug.org
Tue Oct 13 22:52:08 CEST 2020


Revision: 56650
          http://tug.org/svn/texlive?view=revision&revision=56650
Author:   karl
Date:     2020-10-13 22:52:08 +0200 (Tue, 13 Oct 2020)
Log Message:
-----------
babel-ukrainian (13oct20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/babel-ukrainian/README.md
    trunk/Master/texmf-dist/doc/generic/babel-ukrainian/ukraineb.pdf
    trunk/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx
    trunk/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf

Modified: trunk/Master/texmf-dist/doc/generic/babel-ukrainian/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/babel-ukrainian/README.md	2020-10-13 20:51:46 UTC (rev 56649)
+++ trunk/Master/texmf-dist/doc/generic/babel-ukrainian/README.md	2020-10-13 20:52:08 UTC (rev 56650)
@@ -81,6 +81,9 @@
 
 5. CHANGES
 
+2020-10-13 version 1.4d
+   * Added support for pdfstings.
+
 2018-04-11 version 1.4с
    * Fixed unprotected endlines.
 

Modified: trunk/Master/texmf-dist/doc/generic/babel-ukrainian/ukraineb.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx	2020-10-13 20:51:46 UTC (rev 56649)
+++ trunk/Master/texmf-dist/source/generic/babel-ukrainian/ukraineb.dtx	2020-10-13 20:52:08 UTC (rev 56650)
@@ -1,5 +1,5 @@
 % \iffalse meta-comment
-% !TEX program  = LuaLaTeX
+% !TEX program  = lualatex
 %<*internal>
 \iffalse
 %</internal>
@@ -90,6 +90,9 @@
 
 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 @@
 %</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 @@
 % \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 @@
 % 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 at shorthand{ukrainian}{""}{\hskip\z at skip}
-\declare at shorthand{ukrainian}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
+\declare at shorthand{ukrainian}{"~}{%
+      \texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}}
 \declare at shorthand{ukrainian}{"=}{\nobreak-\hskip\z at skip}
 \declare at 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 @@
 %\iffalse
 %</code>
 %\fi
-% \CheckSum{1088}
+% \CheckSum{1092}
 %\Finale
 %
 %%

Modified: trunk/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf	2020-10-13 20:51:46 UTC (rev 56649)
+++ trunk/Master/texmf-dist/tex/generic/babel-ukrainian/ukraineb.ldf	2020-10-13 20:52:08 UTC (rev 56650)
@@ -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 at ukr@uni at ode
     \PackageError{babel}{if at ukr@uni at ode already defined.\MessageBreak
@@ -125,11 +125,13 @@
 \declare at shorthand{ukrainian}{"'}{\textquotedblleft}
 \declare at shorthand{ukrainian}{"<}{\guillemotleft}
 \declare at shorthand{ukrainian}{">}{\guillemotright}
+\providecommand\texorpdfstring[2]{#1}
 \declare at shorthand{ukrainian}{""}{\hskip\z at skip}
-\declare at shorthand{ukrainian}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
+\declare at shorthand{ukrainian}{"~}{%
+      \texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}}
 \declare at shorthand{ukrainian}{"=}{\nobreak-\hskip\z at skip}
 \declare at shorthand{ukrainian}{"|}{%
-    \textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}
+    \texorpdfstring{\textormath{\nobreak\discretionary{-}{}{\kern.03em}\allowhyphens}{}}{}}
 \declare at shorthand{ukrainian}{"-}{%
     \def\ukrainian at sh@tmp{%
         \if\ukrainian at sh@next-\expandafter\ukrainian at sh@emdash



More information about the tex-live-commits mailing list.