texlive[57642] Master/texmf-dist: babel-danish (6feb21)

commits+karl at tug.org commits+karl at tug.org
Sat Feb 6 23:30:33 CET 2021


Revision: 57642
          http://tug.org/svn/texlive?view=revision&revision=57642
Author:   karl
Date:     2021-02-06 23:30:33 +0100 (Sat, 06 Feb 2021)
Log Message:
-----------
babel-danish (6feb21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/babel-danish/danish.pdf
    trunk/Master/texmf-dist/source/generic/babel-danish/danish.dtx
    trunk/Master/texmf-dist/tex/generic/babel-danish/danish.ldf

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/babel-danish/README.md

Added: trunk/Master/texmf-dist/doc/generic/babel-danish/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/babel-danish/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/babel-danish/README.md	2021-02-06 22:30:33 UTC (rev 57642)
@@ -0,0 +1,16 @@
+# babel-danish – Babel contributed support for Danish
+
+Version: 2021-02-06 v1.3s
+
+The package provides a language definition, file for use with babel, 
+which establishes Danish conventions in a document 
+(or a subset of the conventions, 
+if Danish is not the main language of the document).
+
+
+
+## Copyright (C)
+* 1989–2009 Johannes L. Braams
+
+## License
+LATEX Project Public License, version 1.3 or later.


Property changes on: trunk/Master/texmf-dist/doc/generic/babel-danish/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/generic/babel-danish/danish.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/generic/babel-danish/danish.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-danish/danish.dtx	2021-02-06 22:30:16 UTC (rev 57641)
+++ trunk/Master/texmf-dist/source/generic/babel-danish/danish.dtx	2021-02-06 22:30:33 UTC (rev 57642)
@@ -2,10 +2,10 @@
 %
 % Copyright 1989-2009 Johannes L. Braams and any individual authors
 % listed elsewhere in this file.  All rights reserved.
-% 
+%
 % This file is part of the Babel system.
 % --------------------------------------
-% 
+%
 % It may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
 % of this license or (at your option) any later version.
@@ -13,20 +13,20 @@
 %   http://www.latex-project.org/lppl.txt
 % and version 1.3 or later is part of all distributions of LaTeX
 % version 2003/12/01 or later.
-% 
+%
 % This work has the LPPL maintenance status "maintained".
-% 
+%
 % The Current Maintainer of this work is Johannes Braams.
-% 
+%
 % The list of all files belonging to the Babel system is
 % given in the file `manifest.bbl. See also `legal.bbl' for additional
 % information.
-% 
+%
 % The list of derived (unpacked) files belonging to the distribution
 % and covered by LPPL is defined by the unpacking scripts (with
 % extension .ins) which are part of the distribution.
 % \fi
-% \CheckSum{160}
+% \CheckSum{164}
 % \iffalse
 %    Tell the \LaTeX\ system who we are and write an entry on the
 %    transcript.
@@ -36,7 +36,7 @@
 %<code>\ProvidesLanguage{danish}
 %\fi
 %\ProvidesFile{danish.dtx}
-        [2009/09/19 v1.3r Danish support from the babel system]
+        [2021/02/06 v1.3s Danish support from the babel system]
 %\iffalse
 %% File `danish.dtx'
 %% Babel package for LaTeX version 2e
@@ -114,7 +114,7 @@
 %    loaded more than once, checking the category code of the
 %    \texttt{@} sign, etc.
 % \changes{danish-1.3j}{1996/11/02}{Now use \cs{LdfInit} to perform
-%    initial checks} 
+%    initial checks}
 %    \begin{macrocode}
 %<*code>
 \LdfInit{danish}\captionsdanish
@@ -245,7 +245,7 @@
 %    First we define access to the low opening double quote and
 %    guillemets for quotations,
 % \changes{danish-1.3j}{1996/08/15}{Changed definition of \texttt{"'}
-%    to print \texttt{``} instead of \texttt{''}} 
+%    to print \texttt{``} instead of \texttt{''}}
 % \changes{danish-1.3k}{1997/04/03}{Removed empty groups after double
 %    quote and guillemot characters}
 %    \begin{macrocode}
@@ -261,17 +261,23 @@
 %    then we define commands to be able to specify hyphenation
 %    breakpoints that behave a little different from |\-|.
 % \changes{danish-1.3j}{1996/08/15}{Added definition of
-%    \texttt{"\char126} and \texttt{"\char61}} 
+%    \texttt{"\char126} and \texttt{"\char61}}
 %    \begin{macrocode}
 \declare at shorthand{danish}{"-}{\nobreak-\bbl at allowhyphens}
 \declare at shorthand{danish}{""}{\hskip\z at skip}
-\declare at shorthand{danish}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
+%    \end{macrocode}
+% \changes{danish-1.3s}{2021/02/06}{Adapted some shorthands to changes in hyperref}
+% To avoid problems in bookmarks some shorthands should be hyperref aware.
+%    \begin{macrocode}
+\providecommand\texorpdfstring[2]{#1}
+\declare at shorthand{danish}{"~}{%
+  \texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}}
 \declare at shorthand{danish}{"=}{\nobreak-\hskip\z at skip}
 %    \end{macrocode}
 %    And we want to have a shorthand for disabling a ligature.
 %    \begin{macrocode}
 \declare at shorthand{danish}{"|}{%
-  \textormath{\discretionary{-}{}{\kern.03em}}{}}
+  \texorpdfstring{\textormath{\discretionary{-}{}{\kern.03em}}{}}{}}
 %    \end{macrocode}
 %
 %    To enable hyphenation in two words, written together but
@@ -278,7 +284,7 @@
 %    separated by a slash, as in `uitdrukking/opmerking' we define the
 %    command |"/|.
 % \changes{danish-1.3q}{2008/03/17}{Added definition of \texttt{"/}
-%    from \texttt{dutch.ldf}} 
+%    from \texttt{dutch.ldf}}
 % \changes{danish-1.3r}{2009/09/19}{Made "/ a real Danish shorthand}
 %    \begin{macrocode}
 \declare at shorthand{danish}{"/}{\textormath
@@ -310,7 +316,7 @@
 %    at |\begin{document}| and resetting the category code of
 %    \texttt{@} to its original value.
 % \changes{danish-1.3j}{1996/11/02}{Now use \cs{ldf at finish} to wrap
-%    up} 
+%    up}
 %    \begin{macrocode}
 \ldf at finish{danish}
 %</code>

Modified: trunk/Master/texmf-dist/tex/generic/babel-danish/danish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-danish/danish.ldf	2021-02-06 22:30:16 UTC (rev 57641)
+++ trunk/Master/texmf-dist/tex/generic/babel-danish/danish.ldf	2021-02-06 22:30:33 UTC (rev 57642)
@@ -37,7 +37,7 @@
 %% and covered by LPPL is defined by the unpacking scripts (with
 %% extension .ins) which are part of the distribution.
 \ProvidesLanguage{danish}
-        [2009/09/19 v1.3r Danish support from the babel system]
+        [2021/02/06 v1.3s Danish support from the babel system]
 %% File `danish.dtx'
 %% Babel package for LaTeX version 2e
 %% Copyright (C) 1989 - 2009
@@ -93,10 +93,12 @@
   \textormath{\guillemotright}{\mbox{\guillemotright}}}
 \declare at shorthand{danish}{"-}{\nobreak-\bbl at allowhyphens}
 \declare at shorthand{danish}{""}{\hskip\z at skip}
-\declare at shorthand{danish}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
+\providecommand\texorpdfstring[2]{#1}
+\declare at shorthand{danish}{"~}{%
+  \texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}}
 \declare at shorthand{danish}{"=}{\nobreak-\hskip\z at skip}
 \declare at shorthand{danish}{"|}{%
-  \textormath{\discretionary{-}{}{\kern.03em}}{}}
+  \texorpdfstring{\textormath{\discretionary{-}{}{\kern.03em}}{}}{}}
 \declare at shorthand{danish}{"/}{\textormath
   {\bbl at allowhyphens\discretionary{/}{}{/}\bbl at allowhyphens}{}}
 \expandafter\addto\csname extras\CurrentOption\endcsname{%



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