From d929e40413ebfcbeaadd7e5469ed1eb0d867ba97 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 28 Apr 2021 03:01:33 +0000
Subject: CTAN sync 202104280301

---
 .../contrib/onedown/examples/onedown-examples.tex  | 44 +++++++++++-----------
 1 file changed, 23 insertions(+), 21 deletions(-)

(limited to 'macros/latex/contrib/onedown/examples/onedown-examples.tex')

diff --git a/macros/latex/contrib/onedown/examples/onedown-examples.tex b/macros/latex/contrib/onedown/examples/onedown-examples.tex
index 1e5f5b57ad..12a00a6e24 100644
--- a/macros/latex/contrib/onedown/examples/onedown-examples.tex
+++ b/macros/latex/contrib/onedown/examples/onedown-examples.tex
@@ -9,28 +9,29 @@
 %%-------------------------------------------------------
 
 
+\PassOptionsToPackage{shorthands=off}{babel}
+\documentclass[a4paper,fontsize=11pt,%
+  danish,%
+  dutch,%
+  french,%
+  german,%
+  norsk,%
+  spanish,%
+  swedish,%
+  turkish,%
+  english,%  this is the default language
+]{scrartcl}
 
-\documentclass[a4paper,fontsize=11pt]{scrartcl}
 \usepackage{scrlayer-scrpage}
 %
 \usepackage[utf8]{inputenc}
 \usepackage[T1]{fontenc}
 %
 \usepackage{subfiles}%               can compile stand-alone/combined
-\usepackage[%
-  danish,%
-  dutch,%
-  french,%
-  german,%
-  norsk,%
-  spanish,es-noshorthands,% unset active chars to avoid problems with '.' '’' '"' '~' '<' and '>'
-  swedish,%
-  turkish,shorthands=,%     unset active chars to avoid problems with ':', '=' and '!'
-  english,%
-]{babel}%                   introduce all known languages, default is english
+\usepackage{babel}%
 
 %\usepackage[mono=false]{libertine}%  verbatim needs option mono=false
-% linertine screws verbatim, at least I don't know how to handle that
+% libertine screws verbatim, at least I don't know how to handle that
 \usepackage{onedown}%                our own style to set bridge stuff
 \usepackage[most]{tcolorbox}%        show examples with code
 %\usepackage{tcolorbox}%        show examples with code
@@ -115,10 +116,10 @@
 \def\ExLang{english}
 \begin{document}
 % when compiled with:
-% pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-ref.tex}'
+% pdflatex '\AtBeginDocument{\def\ExLang{YourLanguage}}\input{onedown-ref.tex}'
 % you'll get the onedown commands expansions in YourLanguage
 % YourLanguage can be any language out of:
-% english, danish, dutch, french, german, norsk, spanish, swedish, turkish
+% danish, dutch, english, french, german, norsk, spanish, swedish, turkish
 %
 \expandafter\selectlanguage\expandafter{\ExLang}
 \pdfbookmark[1]{Title}{Title}
@@ -128,8 +129,8 @@ use the following command: \newline \texttt{\$ pdflatex \jobname.tex}}
 \\[1em]
 \normalsize\url{www.ctan.org/pkg/onedown}
 }
-\author{J.\,Wiersma\footnote{email: \textsf{jack46@online.de}}}
-\date{23 September 2018 (v0.5)}
+\author{J.\,Wiersma\footnote{email: \textsf{jack@schuli-wirsi.de}}}
+\date{29 January 2020 (v0.5)}
 \maketitle
 
 \section*{Introduction}
@@ -152,12 +153,12 @@ sections bear the file name, which can also be found in the list below. The
 examples are produced using the \textsf{tcolorbox} package. This enables us
 to show the code and the output of it side by side.
 
-The explanatory text is always in the English language. But you can show the output of all commands
-in any of the supported languages.\\
-These are: english, danish, dutch, french, german, norsk, spanish, swedish, turkish. \\
+The explanatory text is always in the English language. But you can show the
+output of all commands in any of the supported languages.\\
+These are: danish, dutch, english, french, german, norsk, spanish, swedish, turkish. \\
 You obtain this output in \emph{YourLanguage} by compiling onedown-ref.tex with: \\[0.2em]
 
-\verb|pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-examples.tex}'|
+\verb|pdflatex '\AtBeginDocument{\def\ExLang{YourLanguage}}\input{onedown-examples.tex}'|
 \par\vspace{1\baselineskip}
 \setlength\columnseprule{.8pt}% rule between cols
 \begin{multicols}{3}[{\centering \textbf{\Large List of Examples}}]
@@ -189,5 +190,6 @@ You obtain this output in \emph{YourLanguage} by compiling onedown-ref.tex with:
 \SubFile{ExpertQuiz}
 \SubFile{Languages}
 \SubFile{Compass}
+\SubFile{CardSymbols}
 \end{document}
 
-- 
cgit v1.2.3

