diff options
author | Karl Berry <karl@freefriends.org> | 2023-12-08 21:36:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-12-08 21:36:31 +0000 |
commit | 80eeac967619312ea77f4c190de259f68f2dcdc1 (patch) | |
tree | 8e4671f74a630eafbb92edb5b1199e9b1cc7f5a8 | |
parent | 801627f1bc8e15dbaf9dabf3eb66d5926b77171d (diff) |
onedown (8dec23)
git-svn-id: svn://tug.org/texlive/trunk@69067 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Bidding.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Bidding.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/CardSymbols.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/CardSymbols.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Compass.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Compass.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/ExpertQuiz.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/ExpertQuiz.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/FancyColors.tex | 49 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Fontsizes.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Hands.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Hands.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Languages.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Languages.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Legends.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Legends.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Play.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Play.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Select-Hands.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Select-Hands.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Suits.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Suits.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/Wrapping.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/Wrapping.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/bidAll.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/bidAll.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/bidEW.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/bidEW.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/bidNE.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/bidNE.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/bidNS.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/bidNW.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/bidNW.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/onedown-examples.pdf | bin | 0 -> 903899 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/onedown-examples.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex) | 50 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/onedown-ref.pdf | bin | 0 -> 397989 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/onedown-ref.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex) | 37 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/showAll.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/showAll.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/showNS-align.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/showNS-align.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/showNS-warn-I.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-I.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/Examples/showNS-warn-II.tex (renamed from Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-II.tex) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/README | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/Compass.pdf | bin | 415404 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.pdf | bin | 245668 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf | bin | 874153 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf | bin | 227662 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/onedown.pdf | bin | 1026845 -> 1106351 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/onedown/onedown.dtx | 33 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/onedown/ODw-French.dict | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/onedown/ODw-Italian.dict | 174 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/onedown/onedown.sty | 8 |
36 files changed, 321 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Bidding.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Bidding.tex index 18ca0f7c3c8..18ca0f7c3c8 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Bidding.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Bidding.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/CardSymbols.tex b/Master/texmf-dist/doc/latex/onedown/Examples/CardSymbols.tex index 5ecca8a55d5..5ecca8a55d5 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/CardSymbols.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/CardSymbols.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Compass.tex index cbb19739b55..cbb19739b55 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Compass.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/ExpertQuiz.tex b/Master/texmf-dist/doc/latex/onedown/Examples/ExpertQuiz.tex index ad52dc9b29d..ad52dc9b29d 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/ExpertQuiz.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/ExpertQuiz.tex diff --git a/Master/texmf-dist/doc/latex/onedown/Examples/FancyColors.tex b/Master/texmf-dist/doc/latex/onedown/Examples/FancyColors.tex new file mode 100644 index 00000000000..4dfaa125622 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Fontsizes.tex index 24f4fd4ced8..24f4fd4ced8 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Fontsizes.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Hands.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Hands.tex index f40721a3a07..f40721a3a07 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Hands.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Hands.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Languages.tex index 0e5d0e67024..0e5d0e67024 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Languages.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Legends.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Legends.tex index 9d9f603eed3..9d9f603eed3 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Legends.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Legends.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Play.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Play.tex index 7c0a157d3da..7c0a157d3da 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Play.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Play.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Select-Hands.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Select-Hands.tex index 51260bfb31c..51260bfb31c 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Select-Hands.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Select-Hands.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Suits.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Suits.tex index 457ab273320..457ab273320 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Suits.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Suits.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Wrapping.tex b/Master/texmf-dist/doc/latex/onedown/Examples/Wrapping.tex index 753eea76853..753eea76853 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Wrapping.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/Wrapping.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidAll.tex b/Master/texmf-dist/doc/latex/onedown/Examples/bidAll.tex index 24060a52634..24060a52634 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/bidAll.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/bidAll.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidEW.tex b/Master/texmf-dist/doc/latex/onedown/Examples/bidEW.tex index e91d8ff5f82..e91d8ff5f82 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/bidEW.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/bidEW.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidNE.tex b/Master/texmf-dist/doc/latex/onedown/Examples/bidNE.tex index 6e53b8fccda..6e53b8fccda 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/bidNE.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/bidNE.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex b/Master/texmf-dist/doc/latex/onedown/Examples/bidNS.tex index ca00038328e..ca00038328e 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/bidNS.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidNW.tex b/Master/texmf-dist/doc/latex/onedown/Examples/bidNW.tex index e107d0c44e7..e107d0c44e7 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/bidNW.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/bidNW.tex diff --git a/Master/texmf-dist/doc/latex/onedown/Examples/onedown-examples.pdf b/Master/texmf-dist/doc/latex/onedown/Examples/onedown-examples.pdf Binary files differnew file mode 100644 index 00000000000..dddbf209048 --- /dev/null +++ b/Master/texmf-dist/doc/latex/onedown/Examples/onedown-examples.pdf diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex b/Master/texmf-dist/doc/latex/onedown/Examples/onedown-examples.tex index 12a00a6e247..4923e36421f 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/onedown/Examples/onedown-ref.pdf b/Master/texmf-dist/doc/latex/onedown/Examples/onedown-ref.pdf Binary files differnew file mode 100644 index 00000000000..bd8d90a8928 --- /dev/null +++ b/Master/texmf-dist/doc/latex/onedown/Examples/onedown-ref.pdf diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex b/Master/texmf-dist/doc/latex/onedown/Examples/onedown-ref.tex index 95d69181725..e562055cba3 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/onedown/examples/showAll.tex b/Master/texmf-dist/doc/latex/onedown/Examples/showAll.tex index e7571f6d3cf..e7571f6d3cf 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/showAll.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/showAll.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/showNS-align.tex b/Master/texmf-dist/doc/latex/onedown/Examples/showNS-align.tex index 47234eb1d04..47234eb1d04 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/showNS-align.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/showNS-align.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-I.tex b/Master/texmf-dist/doc/latex/onedown/Examples/showNS-warn-I.tex index a24c9a0066a..a24c9a0066a 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-I.tex +++ b/Master/texmf-dist/doc/latex/onedown/Examples/showNS-warn-I.tex diff --git a/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-II.tex b/Master/texmf-dist/doc/latex/onedown/Examples/showNS-warn-II.tex index 516e9590056..c7e6475d633 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-II.tex +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/onedown/README b/Master/texmf-dist/doc/latex/onedown/README index fdc16ef9f6c..b563b490981 100644 --- a/Master/texmf-dist/doc/latex/onedown/README +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/onedown/examples/Compass.pdf b/Master/texmf-dist/doc/latex/onedown/examples/Compass.pdf Binary files differdeleted file mode 100644 index c9d613f2767..00000000000 --- a/Master/texmf-dist/doc/latex/onedown/examples/Compass.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.pdf b/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.pdf Binary files differdeleted file mode 100644 index d2accbc38ca..00000000000 --- a/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf Binary files differdeleted file mode 100644 index 1aab50b8d18..00000000000 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf Binary files differdeleted file mode 100644 index 92ec145e0ab..00000000000 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/onedown/onedown.pdf b/Master/texmf-dist/doc/latex/onedown/onedown.pdf Binary files differindex 726f4bb0d33..10ec8603969 100644 --- a/Master/texmf-dist/doc/latex/onedown/onedown.pdf +++ b/Master/texmf-dist/doc/latex/onedown/onedown.pdf diff --git a/Master/texmf-dist/source/latex/onedown/onedown.dtx b/Master/texmf-dist/source/latex/onedown/onedown.dtx index 92ffa661559..7f1afcfc7a4 100644 --- a/Master/texmf-dist/source/latex/onedown/onedown.dtx +++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/tex/latex/onedown/ODw-French.dict b/Master/texmf-dist/tex/latex/onedown/ODw-French.dict index 4f75bfe53f4..3a9f502654f 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-French.dict +++ b/Master/texmf-dist/tex/latex/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/Master/texmf-dist/tex/latex/onedown/ODw-Italian.dict b/Master/texmf-dist/tex/latex/onedown/ODw-Italian.dict new file mode 100644 index 00000000000..016f7d01a3c --- /dev/null +++ b/Master/texmf-dist/tex/latex/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/Master/texmf-dist/tex/latex/onedown/onedown.sty b/Master/texmf-dist/tex/latex/onedown/onedown.sty index 85bba6706cf..cf1ef758dc2 100644 --- a/Master/texmf-dist/tex/latex/onedown/onedown.sty +++ b/Master/texmf-dist/tex/latex/onedown/onedown.sty @@ -21,10 +21,10 @@ %% 2005/12/01 or later. %% \NeedsTeXFormat{LaTeX2e}[2014/05/01] -\def\ODwstyleversion{1.6}\def\ODwstyledate{2021/04/27} +\def\ODwstyleversion{1.7}\def\ODwstyledate{2023/12/07} \ProvidesPackage{onedown} [\ODwstyledate\space v\ODwstyleversion\space - Typeset Bridge Diagrams - Jacob Wiersma (C) 2016-2021] + Typeset Bridge Diagrams - Jacob Wiersma (C) 2016-2023] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2208,6 +2208,10 @@ {\uselanguage{German}% \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} |