summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/onedown
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/onedown')
-rw-r--r--macros/latex/contrib/onedown/Examples/Bidding.tex (renamed from macros/latex/contrib/onedown/examples/Bidding.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/CardSymbols.tex (renamed from macros/latex/contrib/onedown/examples/CardSymbols.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/Compass.tex (renamed from macros/latex/contrib/onedown/examples/Compass.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/ExpertQuiz.tex (renamed from macros/latex/contrib/onedown/examples/ExpertQuiz.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/FancyColors.tex49
-rw-r--r--macros/latex/contrib/onedown/Examples/Fontsizes.tex (renamed from macros/latex/contrib/onedown/examples/Fontsizes.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/Hands.tex (renamed from macros/latex/contrib/onedown/examples/Hands.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/Languages.tex (renamed from macros/latex/contrib/onedown/examples/Languages.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/Legends.tex (renamed from macros/latex/contrib/onedown/examples/Legends.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/Play.tex (renamed from macros/latex/contrib/onedown/examples/Play.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/Select-Hands.tex (renamed from macros/latex/contrib/onedown/examples/Select-Hands.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/Suits.tex (renamed from macros/latex/contrib/onedown/examples/Suits.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/Wrapping.tex (renamed from macros/latex/contrib/onedown/examples/Wrapping.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/bidAll.tex (renamed from macros/latex/contrib/onedown/examples/bidAll.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/bidEW.tex (renamed from macros/latex/contrib/onedown/examples/bidEW.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/bidNE.tex (renamed from macros/latex/contrib/onedown/examples/bidNE.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/bidNS.tex (renamed from macros/latex/contrib/onedown/examples/bidNS.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/bidNW.tex (renamed from macros/latex/contrib/onedown/examples/bidNW.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/onedown-examples.pdfbin0 -> 903899 bytes
-rw-r--r--macros/latex/contrib/onedown/Examples/onedown-examples.tex (renamed from macros/latex/contrib/onedown/examples/onedown-examples.tex)50
-rw-r--r--macros/latex/contrib/onedown/Examples/onedown-ref.pdfbin0 -> 397989 bytes
-rw-r--r--macros/latex/contrib/onedown/Examples/onedown-ref.tex (renamed from macros/latex/contrib/onedown/examples/onedown-ref.tex)37
-rw-r--r--macros/latex/contrib/onedown/Examples/showAll.tex (renamed from macros/latex/contrib/onedown/examples/showAll.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/showNS-align.tex (renamed from macros/latex/contrib/onedown/examples/showNS-align.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/showNS-warn-I.tex (renamed from macros/latex/contrib/onedown/examples/showNS-warn-I.tex)0
-rw-r--r--macros/latex/contrib/onedown/Examples/showNS-warn-II.tex (renamed from macros/latex/contrib/onedown/examples/showNS-warn-II.tex)2
-rw-r--r--macros/latex/contrib/onedown/ODw-French.dict2
-rw-r--r--macros/latex/contrib/onedown/ODw-Italian.dict174
-rw-r--r--macros/latex/contrib/onedown/README6
-rw-r--r--macros/latex/contrib/onedown/examples/Compass.pdfbin415404 -> 0 bytes
-rw-r--r--macros/latex/contrib/onedown/examples/Fontsizes.pdfbin245668 -> 0 bytes
-rw-r--r--macros/latex/contrib/onedown/examples/onedown-examples.pdfbin874153 -> 0 bytes
-rw-r--r--macros/latex/contrib/onedown/examples/onedown-ref.pdfbin227662 -> 0 bytes
-rw-r--r--macros/latex/contrib/onedown/onedown.dtx33
-rw-r--r--macros/latex/contrib/onedown/onedown.pdfbin1026845 -> 1106351 bytes
35 files changed, 315 insertions, 38 deletions
diff --git a/macros/latex/contrib/onedown/examples/Bidding.tex b/macros/latex/contrib/onedown/Examples/Bidding.tex
index 18ca0f7c3c..18ca0f7c3c 100644
--- a/macros/latex/contrib/onedown/examples/Bidding.tex
+++ b/macros/latex/contrib/onedown/Examples/Bidding.tex
diff --git a/macros/latex/contrib/onedown/examples/CardSymbols.tex b/macros/latex/contrib/onedown/Examples/CardSymbols.tex
index 5ecca8a55d..5ecca8a55d 100644
--- a/macros/latex/contrib/onedown/examples/CardSymbols.tex
+++ b/macros/latex/contrib/onedown/Examples/CardSymbols.tex
diff --git a/macros/latex/contrib/onedown/examples/Compass.tex b/macros/latex/contrib/onedown/Examples/Compass.tex
index cbb19739b5..cbb19739b5 100644
--- a/macros/latex/contrib/onedown/examples/Compass.tex
+++ b/macros/latex/contrib/onedown/Examples/Compass.tex
diff --git a/macros/latex/contrib/onedown/examples/ExpertQuiz.tex b/macros/latex/contrib/onedown/Examples/ExpertQuiz.tex
index ad52dc9b29..ad52dc9b29 100644
--- a/macros/latex/contrib/onedown/examples/ExpertQuiz.tex
+++ b/macros/latex/contrib/onedown/Examples/ExpertQuiz.tex
diff --git a/macros/latex/contrib/onedown/Examples/FancyColors.tex b/macros/latex/contrib/onedown/Examples/FancyColors.tex
new file mode 100644
index 0000000000..4dfaa12562
--- /dev/null
+++ b/macros/latex/contrib/onedown/Examples/FancyColors.tex
@@ -0,0 +1,49 @@
+\documentclass[onedown-examples]{subfiles}
+
+\begin{document}
+\FancyColors
+\begin{HBox}{Fancy colors for card symbols\hfill File: \FileName}
+Due to the definition of the card symbols, a simple redefinition like:\\
+\verb|\let\MyClub\Cl|\\
+\verb|\renewcommand{\Cl}{%|\\
+\verb|\textcolor{green}{\MyClub}}|\\
+will \textbf{not} change the color of the symbol.
+For details refer to the \OneDown manual, section 6.2.1 \emph{Suit Symbols}.
+
+Instead put in your preamble e.g. this code to get \textcolor{green}{green}
+clubs, \textcolor{orange}{orange} diamonds, \textcolor{red}{red} hearts and
+\textcolor{blue}{blue} spades.
+\\[\baselineskip]
+\verb|\makeatletter|\\
+\verb|\renewrobustcmd\Cl{%|\\
+\verb|\textcolor{green}%|\\
+\verb|{\,[0.3]\ensuremath{%|\\
+\verb|\ODw@clubsuit}}\xspace}%|\\[2mm]
+\verb|\renewrobustcmd\Di{%|\\
+\verb|\textcolor{orange}%|\\
+\verb|{\,[0.3]\ensuremath{%|\\
+\verb|\ODw@vardiamond}}\xspace}%|\\[2mm]
+\verb|\renewrobustcmd\He{%|\\
+\verb|\textcolor{red}%|\\
+\verb|{\,[0.3]\ensuremath{%|\\
+\verb|\ODw@varheart}}\xspace}%|\\[2mm]
+\verb|\renewrobustcmd\Sp{%|\\
+\verb|\textcolor{blue}%|\\
+\verb|{\,[0.3]\ensuremath{%|\\
+\verb|\ODw@spadesuit}}\xspace}%|\\
+\verb|\makeatother|
+\\[\baselineskip]
+Now you will get yor own fancy colors:
+
+1\Cl, 2\Di, 3\He, 4\Sp\\
+
+\setdefaults{bidlong=off,bidfirst=N}
+\begin{bidding}[t]
+1C & 1D & 1H & 1S \\
+1N & X & p & p \\
+R & P \\
+\end{bidding}
+
+\end{HBox}
+\end{document}
+
diff --git a/macros/latex/contrib/onedown/examples/Fontsizes.tex b/macros/latex/contrib/onedown/Examples/Fontsizes.tex
index 24f4fd4ced..24f4fd4ced 100644
--- a/macros/latex/contrib/onedown/examples/Fontsizes.tex
+++ b/macros/latex/contrib/onedown/Examples/Fontsizes.tex
diff --git a/macros/latex/contrib/onedown/examples/Hands.tex b/macros/latex/contrib/onedown/Examples/Hands.tex
index f40721a3a0..f40721a3a0 100644
--- a/macros/latex/contrib/onedown/examples/Hands.tex
+++ b/macros/latex/contrib/onedown/Examples/Hands.tex
diff --git a/macros/latex/contrib/onedown/examples/Languages.tex b/macros/latex/contrib/onedown/Examples/Languages.tex
index 0e5d0e6702..0e5d0e6702 100644
--- a/macros/latex/contrib/onedown/examples/Languages.tex
+++ b/macros/latex/contrib/onedown/Examples/Languages.tex
diff --git a/macros/latex/contrib/onedown/examples/Legends.tex b/macros/latex/contrib/onedown/Examples/Legends.tex
index 9d9f603eed..9d9f603eed 100644
--- a/macros/latex/contrib/onedown/examples/Legends.tex
+++ b/macros/latex/contrib/onedown/Examples/Legends.tex
diff --git a/macros/latex/contrib/onedown/examples/Play.tex b/macros/latex/contrib/onedown/Examples/Play.tex
index 7c0a157d3d..7c0a157d3d 100644
--- a/macros/latex/contrib/onedown/examples/Play.tex
+++ b/macros/latex/contrib/onedown/Examples/Play.tex
diff --git a/macros/latex/contrib/onedown/examples/Select-Hands.tex b/macros/latex/contrib/onedown/Examples/Select-Hands.tex
index 51260bfb31..51260bfb31 100644
--- a/macros/latex/contrib/onedown/examples/Select-Hands.tex
+++ b/macros/latex/contrib/onedown/Examples/Select-Hands.tex
diff --git a/macros/latex/contrib/onedown/examples/Suits.tex b/macros/latex/contrib/onedown/Examples/Suits.tex
index 457ab27332..457ab27332 100644
--- a/macros/latex/contrib/onedown/examples/Suits.tex
+++ b/macros/latex/contrib/onedown/Examples/Suits.tex
diff --git a/macros/latex/contrib/onedown/examples/Wrapping.tex b/macros/latex/contrib/onedown/Examples/Wrapping.tex
index 753eea7685..753eea7685 100644
--- a/macros/latex/contrib/onedown/examples/Wrapping.tex
+++ b/macros/latex/contrib/onedown/Examples/Wrapping.tex
diff --git a/macros/latex/contrib/onedown/examples/bidAll.tex b/macros/latex/contrib/onedown/Examples/bidAll.tex
index 24060a5263..24060a5263 100644
--- a/macros/latex/contrib/onedown/examples/bidAll.tex
+++ b/macros/latex/contrib/onedown/Examples/bidAll.tex
diff --git a/macros/latex/contrib/onedown/examples/bidEW.tex b/macros/latex/contrib/onedown/Examples/bidEW.tex
index e91d8ff5f8..e91d8ff5f8 100644
--- a/macros/latex/contrib/onedown/examples/bidEW.tex
+++ b/macros/latex/contrib/onedown/Examples/bidEW.tex
diff --git a/macros/latex/contrib/onedown/examples/bidNE.tex b/macros/latex/contrib/onedown/Examples/bidNE.tex
index 6e53b8fccd..6e53b8fccd 100644
--- a/macros/latex/contrib/onedown/examples/bidNE.tex
+++ b/macros/latex/contrib/onedown/Examples/bidNE.tex
diff --git a/macros/latex/contrib/onedown/examples/bidNS.tex b/macros/latex/contrib/onedown/Examples/bidNS.tex
index ca00038328..ca00038328 100644
--- a/macros/latex/contrib/onedown/examples/bidNS.tex
+++ b/macros/latex/contrib/onedown/Examples/bidNS.tex
diff --git a/macros/latex/contrib/onedown/examples/bidNW.tex b/macros/latex/contrib/onedown/Examples/bidNW.tex
index e107d0c44e..e107d0c44e 100644
--- a/macros/latex/contrib/onedown/examples/bidNW.tex
+++ b/macros/latex/contrib/onedown/Examples/bidNW.tex
diff --git a/macros/latex/contrib/onedown/Examples/onedown-examples.pdf b/macros/latex/contrib/onedown/Examples/onedown-examples.pdf
new file mode 100644
index 0000000000..dddbf20904
--- /dev/null
+++ b/macros/latex/contrib/onedown/Examples/onedown-examples.pdf
Binary files differ
diff --git a/macros/latex/contrib/onedown/examples/onedown-examples.tex b/macros/latex/contrib/onedown/Examples/onedown-examples.tex
index 12a00a6e24..4923e36421 100644
--- a/macros/latex/contrib/onedown/examples/onedown-examples.tex
+++ b/macros/latex/contrib/onedown/Examples/onedown-examples.tex
@@ -1,6 +1,7 @@
%%
%% onedown-examples.tex
-%% Oct 04, 2019
+%% Dec 06, 2023 Added example Fancy Colors and language italian
+%% Oct 04, 2019 Initial version
%% Requires the onedown bundle
%% Part of the OneDown bundle (mirror.ctan.org/onedown)
%% author: J. Wiersma
@@ -15,6 +16,8 @@
dutch,%
french,%
german,%
+ ngerman,%
+ italian,%
norsk,%
spanish,%
swedish,%
@@ -30,10 +33,8 @@
\usepackage{subfiles}% can compile stand-alone/combined
\usepackage{babel}%
-%\usepackage[mono=false]{libertine}% verbatim needs option mono=false
-% 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{onedown}% our own style to set bridge stuff
+\usepackage[most]{tcolorbox}% show examples with code
%\usepackage{tcolorbox}% show examples with code
\usepackage{enumitem}%
\usepackage{wrapfig}%
@@ -50,7 +51,7 @@
% To get a PDF for printing on a monochrome printer
% comment out these commands
%
-\setdefaults{colors=4A}
+%\setdefaults{colors=mono}
%-------------
% set the look of the example boxes
%
@@ -89,7 +90,22 @@
\def\Xfer#1{\ODw@Xfer{#1}}
\makeatother
-
+%
+% Define macro FancyColors, that set the colors to green, orange, red and blue
+% for the card symbols ♣, ♦, ♥ and ♠ resp. as used in example Fancy Colors.
+%
+\makeatletter
+\def\FancyColors{%
+\renewrobustcmd\Cl{\textcolor{green}%
+{\,[0.3]\ensuremath{\ODw@clubsuit}}\xspace}%
+\renewrobustcmd\Di{\textcolor{orange}%
+{\,[0.3]\ensuremath{\ODw@vardiamond}}\xspace}%
+\renewrobustcmd\He{\textcolor{red}%
+{\,[0.3]\ensuremath{\ODw@varheart}}\xspace}%
+\renewrobustcmd\Sp{\textcolor{blue}%
+{\,[0.3]\ensuremath{\ODw@spadesuit}}\xspace}%
+}%FancyColors
+\makeatother
\usepackage[pdfencoding=auto]{hyperref}
\hypersetup{%
@@ -119,7 +135,8 @@
% 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:
-% danish, dutch, english, french, german, norsk, spanish, swedish, turkish
+% danish, dutch, english, french, (n)german, italian, norsk, spanish, swedish,
+% turkish
%
\expandafter\selectlanguage\expandafter{\ExLang}
\pdfbookmark[1]{Title}{Title}
@@ -129,8 +146,8 @@ use the following command: \newline \texttt{\$ pdflatex \jobname.tex}}
\\[1em]
\normalsize\url{www.ctan.org/pkg/onedown}
}
-\author{J.\,Wiersma\footnote{email: \textsf{jack@schuli-wirsi.de}}}
-\date{29 January 2020 (v0.5)}
+\author{J.\,Wiersma\footnote{email: \textsf{jack46@schuli-wirsi.de}}}
+\date{07 December 2023 (v0.6)}
\maketitle
\section*{Introduction}
@@ -155,10 +172,14 @@ 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: 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\ExLang{YourLanguage}}\input{onedown-examples.tex}'|
+These are: danish, dutch, english, french, (n)german, italian, norsk, spanish,
+swedish, turkish. \\
+You obtain this output in \emph{YourLanguage} by compiling onedown-examples.tex with: \\[0.2em]
+
+\verb|pdflatex '\AtBeginDocument{\def\ExLang{YourLanguage}}\input{onedown-examples.tex}'|\\
+Beware: Copy\&Paste may use wrong quotes! Replace them by the right ones from your keybord.
+\\[0.7em]
+\centerline{\textbf{This document shows the commands for the \emph{\languagename}\ language}}
\par\vspace{1\baselineskip}
\setlength\columnseprule{.8pt}% rule between cols
\begin{multicols}{3}[{\centering \textbf{\Large List of Examples}}]
@@ -190,6 +211,7 @@ You obtain this output in \emph{YourLanguage} by compiling onedown-ref.tex with:
\SubFile{ExpertQuiz}
\SubFile{Languages}
\SubFile{Compass}
+\SubFile{FancyColors}
\SubFile{CardSymbols}
\end{document}
diff --git a/macros/latex/contrib/onedown/Examples/onedown-ref.pdf b/macros/latex/contrib/onedown/Examples/onedown-ref.pdf
new file mode 100644
index 0000000000..bd8d90a892
--- /dev/null
+++ b/macros/latex/contrib/onedown/Examples/onedown-ref.pdf
Binary files differ
diff --git a/macros/latex/contrib/onedown/examples/onedown-ref.tex b/macros/latex/contrib/onedown/Examples/onedown-ref.tex
index 95d6918172..e562055cba 100644
--- a/macros/latex/contrib/onedown/examples/onedown-ref.tex
+++ b/macros/latex/contrib/onedown/Examples/onedown-ref.tex
@@ -14,6 +14,8 @@
dutch,%
french,%
german,%
+ ngerman,%
+ italian,%
norsk,%
spanish,%
swedish,%
@@ -32,9 +34,14 @@
\usepackage{shortvrb}
\MakeShortVerb{\|}
\usepackage{enumitem}%
-%\fi
-%
-%%%
+\usepackage[pdfencoding=auto]{hyperref}
+\hypersetup{%
+ pdftitle={onedown-ref.pdf},
+ pdfsubject={Bridge Diagrams, OneDown bundle},
+ pdfkeywords={OneDown Bridge LaTeX},
+ colorlinks,
+ linkcolor=red,
+}
%
\usepackage[Q=yes]{examplep}
\makeatletter
@@ -63,17 +70,27 @@
% pdflatex '\AtBeginDocument{\def\RefLang{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
+% english, danish, dutch, french, (n)german, italian, norsk, spanish, % swedish,
+% turkish.
%
\expandafter\selectlanguage\expandafter{\RefLang}
%
\larger
\newgeometry{total={150mm, 265mm},left=25mm,top=15mm}
\pagestyle{empty}
-%\iffalse
-\centerline{\larger\larger\textbf{\OneDown Reference Guide}}
+%
+\title{Reference Guide for the\\\OneDown package%
+\footnote{This file is part of the \OneDown bundle. To generate this file,
+use the following command: \newline \texttt{\$ pdflatex \jobname.tex}}
+\\[1em]
+\normalsize\url{www.ctan.org/pkg/onedown}
+}
+\author{J.\,Wiersma\footnote{email: \textsf{jack46@schuli-wirsi.de}}}
+\date{07 December 2023 (v0.6)}
+\maketitle
+%
\par\vspace{1\baselineskip}\noindent
-Here we show all user commands of the package |onedown| in alphabetical
+Here we show all \textbf{user commands} of the package |onedown| in alphabetical
order. If we only show the ouput that a command produces, then this output
is shown directly behind the command on the same line. If a description of
the command is given, then this description starts on a new line. Optional
@@ -84,10 +101,12 @@ as:
\quad|\macro|\Oarg{*!}|: \macro, \macro*, \macro!, \macro*!|\\
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. \\
+These are: english, danish, dutch, french, (n)german, italian, norsk, spanish,
+swedish, turkish. \\
You obtain this output in \emph{YourLanguage} by compiling onedown-ref.tex with: \\[0.5em]
%
-\verb|pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-ref.tex}'|
+\verb|pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-ref.tex}'|\\
+Beware: Copy\&Paste may use wrong quotes! Replace them by the right ones from your keybord.
\\[0.7em]
\centerline{\textbf{This document shows the commands for the \emph{\languagename}\ language}}
\begin{description}[itemsep=-0.3em]
diff --git a/macros/latex/contrib/onedown/examples/showAll.tex b/macros/latex/contrib/onedown/Examples/showAll.tex
index e7571f6d3c..e7571f6d3c 100644
--- a/macros/latex/contrib/onedown/examples/showAll.tex
+++ b/macros/latex/contrib/onedown/Examples/showAll.tex
diff --git a/macros/latex/contrib/onedown/examples/showNS-align.tex b/macros/latex/contrib/onedown/Examples/showNS-align.tex
index 47234eb1d0..47234eb1d0 100644
--- a/macros/latex/contrib/onedown/examples/showNS-align.tex
+++ b/macros/latex/contrib/onedown/Examples/showNS-align.tex
diff --git a/macros/latex/contrib/onedown/examples/showNS-warn-I.tex b/macros/latex/contrib/onedown/Examples/showNS-warn-I.tex
index a24c9a0066..a24c9a0066 100644
--- a/macros/latex/contrib/onedown/examples/showNS-warn-I.tex
+++ b/macros/latex/contrib/onedown/Examples/showNS-warn-I.tex
diff --git a/macros/latex/contrib/onedown/examples/showNS-warn-II.tex b/macros/latex/contrib/onedown/Examples/showNS-warn-II.tex
index 516e959005..c7e6475d63 100644
--- a/macros/latex/contrib/onedown/examples/showNS-warn-II.tex
+++ b/macros/latex/contrib/onedown/Examples/showNS-warn-II.tex
@@ -26,7 +26,7 @@ Now warnings are switched off explicitly and the size is reset by calling
\end{HBox}
%
\vfill
-|\newgame| clears the hands. A hand with no cards at all is completelly
+|\newgame| clears the hands. A hand with no cards at all is completely
suppressed, so we see only the compass. With |\setdefaults{compmid=text}|
we can write 'text' in the middle of the compass. We enlarged the compass,
so you can see that it \emph{is} on the vertical line through the mids of
diff --git a/macros/latex/contrib/onedown/ODw-French.dict b/macros/latex/contrib/onedown/ODw-French.dict
index 4f75bfe53f..3a9f502654 100644
--- a/macros/latex/contrib/onedown/ODw-French.dict
+++ b/macros/latex/contrib/onedown/ODw-French.dict
@@ -68,7 +68,7 @@
\providetranslation{game forcing-(ODw)}{forcing de manche}
\providetranslation{Game Forcing-(ODw)}{Forcing de Manche}
\providetranslation{GF-(ODw)}{FM}
-\providetranslation{gf-(ODw)}{gf}
+\providetranslation{gf-(ODw)}{fm}
\providetranslation{hand-(ODw)}{main}
\providetranslation{Hand-(ODw)}{Main}
\providetranslation{hcp-(ODw)}{h}
diff --git a/macros/latex/contrib/onedown/ODw-Italian.dict b/macros/latex/contrib/onedown/ODw-Italian.dict
new file mode 100644
index 0000000000..016f7d01a3
--- /dev/null
+++ b/macros/latex/contrib/onedown/ODw-Italian.dict
@@ -0,0 +1,174 @@
+% this is file ODw-Italian.dict from the OneDown bundle
+% made available by Nicola Lombardi
+%
+% Entries with a "!" denote an abreviated form
+%
+% retrieve with e.g. \translation{dealer-(ODw)} to get dealer
+%
+\ProvidesDictionary{ODw}{Italian}[V0.2-2024/12/06]
+
+\providetranslation{1st-(ODw)}{1.}
+\providetranslation{2nd-(ODw)}{2.}
+\providetranslation{3rd-(ODw)}{3.}
+\providetranslation{4th-(ODw)}{4.}
+\providetranslation{ace-(ODw)}{asso}
+\providetranslation{Ace-(ODw)}{Asso}
+\providetranslation{all-(ODw)}{tutti}
+\providetranslation{All-(ODw)}{Tutti}
+\providetranslation{all!-(ODw)}{tutti}
+\providetranslation{All!-(ODw)}{Tutti}
+\providetranslation{all pass-(ODw)}{tutti passano}
+\providetranslation{All pass-(ODw)}{Tutti passano}
+\providetranslation{a-(ODw)}{a}
+\providetranslation{A-(ODw)}{A}
+\providetranslation{ap-(ODw)}{tp}
+\providetranslation{AP-(ODw)}{TP}
+%(JW) \providetranslation{Award-(ODw)}{Risultato}
+\providetranslation{Award-(ODw)}{Premio}
+%(JW) \providetranslation{award-(ODw)}{risultato}% = points you earn in a quiz
+\providetranslation{award-(ODw)}{premio}% = points you earn in a quiz
+\providetranslation{Bid-(ODw)}{Licita}
+\providetranslation{bid-(ODw)}{licita}% = e.g. 2C, 4H or 6NT
+\providetranslation{Board-(ODw)}{Board}
+\providetranslation{board-(ODw)}{board}% = equipment that holds 1 deal
+\providetranslation{Brd-(ODw)}{Brd}
+\providetranslation{brd-(ODw)}{brd}% = equipment that holds 1 deal
+\providetranslation{by-(ODw)}{da}
+%(JW) \providetranslation{Call-(ODw)}{Licita}
+\providetranslation{Call-(ODw)}{Dichiarazione}
+\providetranslation{call-(ODw)}{dichiarazione}% = bid + pass, (re)double
+\providetranslation{-card-(ODw)}{-carta}
+\providetranslation{contract-(ODw)}{contratto}
+\providetranslation{Contract-(ODw)}{Contratto}
+\providetranslation{contr-(ODw)}{contr}
+\providetranslation{Contr-(ODw)}{Contr}
+%(JW) \providetranslation{Dbl-(ODw)}{X}
+\providetranslation{Dbl-(ODw)}{Contr}
+\providetranslation{dealer-(ODw)}{dichiarante}
+%\providetranslation{dealer-(ODw)}{mazziere}
+\providetranslation{Dealer-(ODw)}{Dichiarante}
+%\providetranslation{Dealer-(ODw)}{Mazziere}
+\providetranslation{Deal-(ODw)}{Smazzata}
+\providetranslation{Deal!-(ODw)}{Smazzata}
+\providetranslation{deal-(ODw)}{smazzata}% = 4 hands
+\providetranslation{deal!-(ODw)}{smazzata}% = 4 hands
+\providetranslation{declarer-(ODw)}{giocante}
+%\providetranslation{declarer-(ODw)}{dichiarante}
+\providetranslation{Declarer-(ODw)}{Giocante}
+%\providetranslation{Declarer-(ODw)}{Dichiarante}
+\providetranslation{decl-(ODw)}{gioc}
+%\providetranslation{decl-(ODw)}{dich}
+\providetranslation{Decl-(ODw)}{Gioc}
+%\providetranslation{Decl-(ODw)}{Dich}
+\providetranslation{distribution points-(ODw)}{punti distribuzionali}
+\providetranslation{Distribution Points-(ODw)}{Punti Distribuzionali}
+\providetranslation{doubled-(ODw)}{contrato}
+\providetranslation{Doubled-(ODw)}{Contrato}
+\providetranslation{double-(ODw)}{contro}
+\providetranslation{Double-(ODw)}{Contro}
+\providetranslation{dp-(ODw)}{pd}
+\providetranslation{DP-(ODw)}{PD}
+\providetranslation{east-(ODw)}{est}
+\providetranslation{East-(ODw)}{Est}
+\providetranslation{e-(ODw)}{e}
+\providetranslation{E-(ODw)}{E}
+\providetranslation{fourth suit forcing-(ODw)}{quarto colore forzante}
+\providetranslation{Fourth Suit Forcing-(ODw)}{Quarto Colore Forzante}
+\providetranslation{fsf-(ODw)}{4.\,cf}
+\providetranslation{FSF-(ODw)}{4.\,CF}
+\providetranslation{game forcing-(ODw)}{forzante manche}
+\providetranslation{Game Forcing-(ODw)}{Forzante Manche}
+\providetranslation{gf-(ODw)}{fm}
+\providetranslation{GF-(ODw)}{FM}
+\providetranslation{Hand-(ODw)}{Mano}
+\providetranslation{hand-(ODw)}{mano}% = 13 cards of 1 player
+\providetranslation{hcp-(ODw)}{po}
+\providetranslation{HCP-(ODw)}{PO}
+\providetranslation{high card points-(ODw)}{punti onore}
+\providetranslation{High Card Points-(ODw)}{Punti Onore}
+%(JW) \providetranslation{HLP-(ODw)}{por}
+\providetranslation{hlp-(ODw)}{pol}% HCP+LP (punti onore + punti di lunghezza)
+%(JW) \providetranslation{HLP-(ODw)}{POR}
+\providetranslation{HLP-(ODw)}{POL}
+\providetranslation{jack-(ODw)}{fante}
+\providetranslation{Jack-(ODw)}{Fante}
+\providetranslation{j-(ODw)}{f}
+\providetranslation{J-(ODw)}{F}
+\providetranslation{king-(ODw)}{re}
+\providetranslation{King-(ODw)}{Re}
+\providetranslation{k-(ODw)}{r}
+\providetranslation{K-(ODw)}{R}
+\providetranslation{lead-(ODw)}{attacco}
+\providetranslation{Lead-(ODw)}{Attacco}
+\providetranslation{lead!-(ODw)}{attacco}
+\providetranslation{Lead!-(ODw)}{Attacco}
+\providetranslation{length points-(ODw)}{punti di lunghezza}
+\providetranslation{Length Points-(ODw)}{Punti di Lunghezza}
+\providetranslation{lp-(ODw)}{pl}
+\providetranslation{LP-(ODw)}{PL}
+\providetranslation{new minor forcing-(ODw)}{nuovo minore forzante}
+\providetranslation{New Minor Forcing-(ODw)}{Nuovo Minore Forzante}
+\providetranslation{nmf-(ODw)}{nmf}
+\providetranslation{NMF-(ODw)}{NMF}
+\providetranslation{n-(ODw)}{n}
+\providetranslation{N-(ODw)}{N}
+\providetranslation{none-(ODw)}{nessuno}
+\providetranslation{None-(ODw)}{Nessuno}
+\providetranslation{none!-(ODw)}{nessuno}
+\providetranslation{None!-(ODw)}{Nessuno}
+\providetranslation{north-(ODw)}{nord}
+\providetranslation{North-(ODw)}{Nord}
+\providetranslation{no trump-(ODw)}{sans atout}
+\providetranslation{No Trump-(ODw)}{Sans Atout}
+\providetranslation{Nr-(ODw)}{\textnumero}
+\providetranslation{Nr.-(ODw)}{\textnumero.}
+\providetranslation{NT-(ODw)}{S\kern-0.01emA}
+\providetranslation{nt-(ODw)}{sa}
+\providetranslation{pass-(ODw)}{passo}
+\providetranslation{Pass-(ODw)}{Passo}
+\providetranslation{pass!-(ODw)}{p}
+\providetranslation{Pass!-(ODw)}{P}
+\providetranslation{q-(ODw)}{d}
+\providetranslation{Q-(ODw)}{D}
+\providetranslation{queen-(ODw)}{dama}
+\providetranslation{Queen-(ODw)}{Dama}
+%(JW) \providetranslation{ReDbl-(ODw)}{XX}
+\providetranslation{ReDbl-(ODw)}{SurCon}
+\providetranslation{redoubled-(ODw)}{surcontrato}
+\providetranslation{Redoubled-(ODw)}{Surcontrato}
+\providetranslation{redouble-(ODw)}{surcontro}
+\providetranslation{ReDouble-(ODw)}{Surcontro}
+\providetranslation{semi forcing-(ODw)}{semi forzante}
+\providetranslation{Semi Forcing-(ODw)}{Semi Forzante}
+\providetranslation{sf-(ODw)}{sf}
+\providetranslation{SF-(ODw)}{SF}
+\providetranslation{s-(ODw)}{s}
+\providetranslation{S-(ODw)}{S}
+\providetranslation{south-(ODw)}{sud}
+\providetranslation{South-(ODw)}{Sud}
+\providetranslation{suiter-(ODw)}{colore}
+\providetranslation{Suiter-(ODw)}{Colore}
+\providetranslation{suit-(ODw)}{colore}
+\providetranslation{Suit-(ODw)}{Colore}
+\providetranslation{third suit forcing-(ODw)}{terzo colore forzante}
+\providetranslation{Third Suit Forcing-(ODw)}{Terzo Colore Forzante}
+\providetranslation{total points-(ODw)}{punti totali}
+\providetranslation{Total Points-(ODw)}{Punti Totali}
+\providetranslation{tp-(ODw)}{pt}
+\providetranslation{TP-(ODw)}{PT}
+\providetranslation{trial bid-(ODw)}{tentativo di manche}
+\providetranslation{Trial bid-(ODw)}{Tentativo di Manche}
+\providetranslation{trick-(ODw)}{presa}
+\providetranslation{Trick-(ODw)}{Presa}
+\providetranslation{tsf-(ODw)}{3.\,cf}
+\providetranslation{TSF-(ODw)}{3.\,CF}
+\providetranslation{vulnerable-(ODw)}{vulnerabile}
+\providetranslation{Vulnerable-(ODw)}{Vulnerabile}
+\providetranslation{vul-(ODw)}{vul}
+\providetranslation{Vul-(ODw)}{Vul}
+\providetranslation{west-(ODw)}{ovest}
+\providetranslation{West-(ODw)}{Ovest}
+\providetranslation{w-(ODw)}{o}
+\providetranslation{W-(ODw)}{O}
+%
+\endinput
diff --git a/macros/latex/contrib/onedown/README b/macros/latex/contrib/onedown/README
index fdc16ef9f6..b563b49098 100644
--- a/macros/latex/contrib/onedown/README
+++ b/macros/latex/contrib/onedown/README
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------
-The OneDown package v1.6 - 2021/04/27
+The OneDown package v1.7 - 2023/12/07
A package to typeset diagrams for the game of bridge
--------------------------------------------------------------------------
@@ -7,7 +7,7 @@ Jacob Wiersma
Web:
E-Mail: jack46@schuli-wirsi.de
--------------------------------------------------------------------------
-Copyright 2018-21 Jacob Wiersma
+Copyright 2018-2023 Jacob Wiersma
This work has the LPPL maintenance status `maintained'.
@@ -31,7 +31,7 @@ the files
onedown.sty, onedown.pdf
- ODw-Danish.dict, ODw-Dutch.dict, ODw-English.dict,
- ODw-French.dict, ODw-German.dict ODw-Norsk.dict,
+ ODw-French.dict, ODw-German.dict ODw-Italian.dict, ODw-Norsk.dict,
ODw-Spanish.dict, ODw-Swedish.dict, ODw-Turkish.dict
the directory examples with the files
diff --git a/macros/latex/contrib/onedown/examples/Compass.pdf b/macros/latex/contrib/onedown/examples/Compass.pdf
deleted file mode 100644
index c9d613f276..0000000000
--- a/macros/latex/contrib/onedown/examples/Compass.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/onedown/examples/Fontsizes.pdf b/macros/latex/contrib/onedown/examples/Fontsizes.pdf
deleted file mode 100644
index d2accbc38c..0000000000
--- a/macros/latex/contrib/onedown/examples/Fontsizes.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/onedown/examples/onedown-examples.pdf b/macros/latex/contrib/onedown/examples/onedown-examples.pdf
deleted file mode 100644
index 1aab50b8d1..0000000000
--- a/macros/latex/contrib/onedown/examples/onedown-examples.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/onedown/examples/onedown-ref.pdf b/macros/latex/contrib/onedown/examples/onedown-ref.pdf
deleted file mode 100644
index 92ec145e0a..0000000000
--- a/macros/latex/contrib/onedown/examples/onedown-ref.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/onedown/onedown.dtx b/macros/latex/contrib/onedown/onedown.dtx
index 92ffa66155..7f1afcfc7a 100644
--- a/macros/latex/contrib/onedown/onedown.dtx
+++ b/macros/latex/contrib/onedown/onedown.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2018 by Jacob Wiersma <jack46@online.de>
+% Copyright (C) 2018 by Jacob Wiersma <jack46@schuli-wirsi.de>
% ---------------------------------------------------------------------------
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -24,10 +24,10 @@
\ProvidesFile{onedown.dtx}
%</driver>
%<package>\NeedsTeXFormat{LaTeX2e}[2014/05/01]
-%<package>\def\ODwstyleversion{1.6}\def\ODwstyledate{2021/04/27}
+%<package>\def\ODwstyleversion{1.7}\def\ODwstyledate{2023/12/07}
%<package>\ProvidesPackage{onedown}
%<package> [\ODwstyledate\space v\ODwstyleversion\space
-%<package> Typeset Bridge Diagrams - Jacob Wiersma (C) 2016-2021]
+%<package> Typeset Bridge Diagrams - Jacob Wiersma (C) 2016-2023]
%
%<*driver>
\PassOptionsToPackage{shorthands=off}{babel}
@@ -35,12 +35,13 @@
% with draft no hyperrefs
\documentclass[a4paper,12pt,%
german,dutch,french,swedish,english]{ltxdoc}
+% Of all available languages, we use only thes few in some examples
% the package |shortvrb| is auto-loaded, providing |...| as shorthand
\usepackage[utf8]{inputenc}
%
\usepackage[T1]{fontenc}
\usepackage{babel}
-\usepackage{onedown}[2021/04/27]
+\usepackage{onedown}[2023/12/07]
\usepackage[normalem]{ulem}% for strikeout todos that are done
\usepackage{needspace}% keep contiguous lines on one page
\usepackage[inline]{enumitem}% Control various parameters of lists
@@ -212,7 +213,7 @@ german,dutch,french,swedish,english]{ltxdoc}
%</driver>
% \fi
%
-% \CheckSum{3810}
+% \CheckSum{3814}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -399,6 +400,10 @@ german,dutch,french,swedish,english]{ltxdoc}
% - Translation files are named like: ODw-German.dict\\
% - Adapted the code to read them on the fly
% }
+% \changes{v1.7}{2023/12/07}{\\
+% - Added support for the italian language \\
+% - Added an example showing how to define own colors for card symbols
+% }
% ^^A Note: ^^21 denotes the exclamation mark (!)
% ^^A Note: Char ' is not allowed within changes
%
@@ -757,14 +762,15 @@ pdflatex --shell-escape onedown.dtx
% translate often appearing brigde terms like e.g.\ \emph{declarer}. It does
% so by looking up these terms in the special |ODw|-dictionary for the
% active language. The current \OneDown version supports English, German,
-% Dutch, French, Spanish, most Scandinavian languages and Turkish. Some
+% Dutch, French, Italian, Spanish, most Scandinavian languages and Turkish. Some
% dictionaries may not be complete or may contain errors, please send
% corrections/additions to the maintainer.
%
% In order to make \packname{translator} do its job (automatically select the
-% right translation when the current language switches to another), it is
-% necessary to specify the languages with the |documentclass|, and not with
-% |babel|!
+% right translation when the current language switches to another),
+% \textbf{\larger it is
+% necessary to specify the languages with the \texttt{documentclass}, and not with
+% \texttt{babel}! }
%
% \needspace{5\baselineskip}
%
@@ -1731,6 +1737,8 @@ pdflatex --shell-escape onedown.dtx
% \subsection{ToDo}
%
% \begin{itemize}[itemsep=-2mm]
+% \item \textbf{Correct the description how to enable automatic language
+% switching (since we use package translator)}
% \item Add the High Points to card diagrams (like Turnier in KA)
% \item Check if |\def\xspace{}| is also needed in bidding...?
% \item Make a template for showing 16 hands on 1 DIN A4 (3x5+1 or 4x4
@@ -1765,6 +1773,7 @@ pdflatex --shell-escape onedown.dtx
%
% \StopEventually{}
%
+% \newpage
% \section{Implementation}
%
% \iffalse
@@ -1785,7 +1794,6 @@ pdflatex --shell-escape onedown.dtx
moresize,% add \HUGE and \ssmall to font-sizes
relsize,% relative font-sizes. (e.g. \smaller)
makecmds,% needed for provideenvironment
-% expl3,% needed for LaTeX3 packages (xparse)
xparse,% optional params and starred commands
xspace,% handling of spacing behind a command
calc,% makes calculations and lengths easier
@@ -5971,6 +5979,11 @@ pdflatex --shell-escape onedown.dtx
\PackageInfo{ODw}{Dictionary ODw-German.dict loaded}
}{\PackageWarning{ODw}{Dictionary ODw-German.dict missing}}}%
%
+ {italian}{\IfFileExists{ODw-Italian.dict}%
+ {\uselanguage{Italian}%
+ \PackageInfo{ODw}{Dictionary ODw-Italian.dict loaded}
+ }{\PackageWarning{ODw}{Dictionary ODw-Italian.dict missing}}}%
+%
{norsk}{\IfFileExists{ODw-Norsk.dict}%
{\uselanguage{Norsk}%
\PackageInfo{ODw}{Dictionary ODw-Norsk.dict loaded}
diff --git a/macros/latex/contrib/onedown/onedown.pdf b/macros/latex/contrib/onedown/onedown.pdf
index 726f4bb0d3..10ec860396 100644
--- a/macros/latex/contrib/onedown/onedown.pdf
+++ b/macros/latex/contrib/onedown/onedown.pdf
Binary files differ