diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-06 22:30:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-06 22:30:33 +0000 |
commit | 6d6fd6a62898b67a568bfdc3df628e7e7be4d179 (patch) | |
tree | d4438709d545ee5a12d61f99d9062c4e1a7e5eb7 | |
parent | d2832a2ca2d1ce27ae9fa339fee9e1adf9fe29bd (diff) |
babel-danish (6feb21)
git-svn-id: svn://tug.org/texlive/trunk@57642 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-danish/README.md | 16 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-danish/danish.pdf | bin | 127671 -> 136164 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/generic/babel-danish/danish.dtx | 36 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel-danish/danish.ldf | 8 |
4 files changed, 42 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-danish/README.md b/Master/texmf-dist/doc/generic/babel-danish/README.md new file mode 100644 index 00000000000..4a1f1b1400c --- /dev/null +++ b/Master/texmf-dist/doc/generic/babel-danish/README.md @@ -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. diff --git a/Master/texmf-dist/doc/generic/babel-danish/danish.pdf b/Master/texmf-dist/doc/generic/babel-danish/danish.pdf Binary files differindex 2f1efd5605c..40cd9bbbf4f 100644 --- a/Master/texmf-dist/doc/generic/babel-danish/danish.pdf +++ b/Master/texmf-dist/doc/generic/babel-danish/danish.pdf diff --git a/Master/texmf-dist/source/generic/babel-danish/danish.dtx b/Master/texmf-dist/source/generic/babel-danish/danish.dtx index ba05ec2f826..07793da26fa 100644 --- a/Master/texmf-dist/source/generic/babel-danish/danish.dtx +++ b/Master/texmf-dist/source/generic/babel-danish/danish.dtx @@ -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,24 +261,30 @@ % 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@shorthand{danish}{"-}{\nobreak-\bbl@allowhyphens} \declare@shorthand{danish}{""}{\hskip\z@skip} -\declare@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@shorthand{danish}{"~}{% + \texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}} \declare@shorthand{danish}{"=}{\nobreak-\hskip\z@skip} % \end{macrocode} % And we want to have a shorthand for disabling a ligature. % \begin{macrocode} \declare@shorthand{danish}{"|}{% - \textormath{\discretionary{-}{}{\kern.03em}}{}} + \texorpdfstring{\textormath{\discretionary{-}{}{\kern.03em}}{}}{}} % \end{macrocode} % % To enable hyphenation in two words, written together but % 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@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@finish} to wrap -% up} +% up} % \begin{macrocode} \ldf@finish{danish} %</code> diff --git a/Master/texmf-dist/tex/generic/babel-danish/danish.ldf b/Master/texmf-dist/tex/generic/babel-danish/danish.ldf index 98e36d4cdcf..12c61aceb16 100644 --- a/Master/texmf-dist/tex/generic/babel-danish/danish.ldf +++ b/Master/texmf-dist/tex/generic/babel-danish/danish.ldf @@ -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@shorthand{danish}{"-}{\nobreak-\bbl@allowhyphens} \declare@shorthand{danish}{""}{\hskip\z@skip} -\declare@shorthand{danish}{"~}{\textormath{\leavevmode\hbox{-}}{-}} +\providecommand\texorpdfstring[2]{#1} +\declare@shorthand{danish}{"~}{% + \texorpdfstring{\textormath{\leavevmode\hbox{-}}{-}}{-}} \declare@shorthand{danish}{"=}{\nobreak-\hskip\z@skip} \declare@shorthand{danish}{"|}{% - \textormath{\discretionary{-}{}{\kern.03em}}{}} + \texorpdfstring{\textormath{\discretionary{-}{}{\kern.03em}}{}}{}} \declare@shorthand{danish}{"/}{\textormath {\bbl@allowhyphens\discretionary{/}{}{/}\bbl@allowhyphens}{}} \expandafter\addto\csname extras\CurrentOption\endcsname{% |