diff options
author | Norbert Preining <norbert@preining.info> | 2021-02-07 03:00:48 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-02-07 03:00:48 +0000 |
commit | e068841d2fc2976d094b382e4dd5e4d6df455506 (patch) | |
tree | a10b009fa5e01a531fa1eb92723f24ae05ba6d4e /macros/latex/contrib/babel-contrib/danish | |
parent | 27accb929aa8061d3aea791560a1bffd3876f0c7 (diff) |
CTAN sync 202102070300
Diffstat (limited to 'macros/latex/contrib/babel-contrib/danish')
-rw-r--r-- | macros/latex/contrib/babel-contrib/danish/README.md | 16 | ||||
-rw-r--r-- | macros/latex/contrib/babel-contrib/danish/danish.dtx | 36 | ||||
-rw-r--r-- | macros/latex/contrib/babel-contrib/danish/danish.pdf | bin | 127671 -> 136164 bytes |
3 files changed, 37 insertions, 15 deletions
diff --git a/macros/latex/contrib/babel-contrib/danish/README.md b/macros/latex/contrib/babel-contrib/danish/README.md new file mode 100644 index 0000000000..4a1f1b1400 --- /dev/null +++ b/macros/latex/contrib/babel-contrib/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/macros/latex/contrib/babel-contrib/danish/danish.dtx b/macros/latex/contrib/babel-contrib/danish/danish.dtx index ba05ec2f82..07793da26f 100644 --- a/macros/latex/contrib/babel-contrib/danish/danish.dtx +++ b/macros/latex/contrib/babel-contrib/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/macros/latex/contrib/babel-contrib/danish/danish.pdf b/macros/latex/contrib/babel-contrib/danish/danish.pdf Binary files differindex 2f1efd5605..40cd9bbbf4 100644 --- a/macros/latex/contrib/babel-contrib/danish/danish.pdf +++ b/macros/latex/contrib/babel-contrib/danish/danish.pdf |