summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/onedown/onedown.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/onedown/onedown.dtx')
-rw-r--r--Master/texmf-dist/source/latex/onedown/onedown.dtx25
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/onedown/onedown.dtx b/Master/texmf-dist/source/latex/onedown/onedown.dtx
index bd640cec8c2..9e5e53941d5 100644
--- a/Master/texmf-dist/source/latex/onedown/onedown.dtx
+++ b/Master/texmf-dist/source/latex/onedown/onedown.dtx
@@ -24,7 +24,7 @@
\ProvidesFile{onedown.dtx}
%</driver>
%<package>\NeedsTeXFormat{LaTeX2e}[2014/05/01]
-%<package>\def\ODwstyleversion{1.2}\def\ODwstyledate{2018/10/31}
+%<package>\def\ODwstyleversion{1.3}\def\ODwstyledate{2019/02/21}
%<package>\ProvidesPackage{onedown}
%<package> [\ODwstyledate\space v\ODwstyleversion\space
%<package> Typeset Bridge Diagrams - Jacob Wiersma (C) 2016-2018]
@@ -209,8 +209,7 @@
%</driver>
% \fi
%
-% ^^A \CheckSum{3733}
-% \CheckSum{3723}
+% \CheckSum{3731}
%
% \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
@@ -358,7 +357,15 @@
% \cmd{\ODw@LongCalls}\\
% - In command \cmd{\suit} changed 'JW \cmd{\ODw@GameSize}' into
% '\cmd{\ODw@GameSize}'}
-%
+% \changes{v1.3}{2019/02/21}{\\
+% - Added \cmd{\HLP} \\
+% - Changed/Added in all relevant ODw-lang.trsl: \\
+% - FP into F and fp into f (entry HCP/hcp) \\
+% - Figuren-Punkte into Figurenpunkte and figuren-punkte into figurenpunkte \\
+% - FL into L and f{}l into l \\
+% - \cmd{\NewDictTranslation\\
+% \{HLP-(ODw)\}\{FL\}} (e.g. for german)
+% }
% ^^A Note: ^^21 denotes the exclamation mark (!)
%
% \DoNotIndex{\newcommand,\newenvironment,\BODY,\boolean,\IfEqCase,\IfInteger,
@@ -872,6 +879,8 @@ pdflatex --shell-escape onedown.dtx
% \par\vspace{0.5\baselineskip}\noindent
% \DescribeMacro{\HCP}\MacroDef*+{HCP}[\hfill \HCP]
% \par\noindent
+% \DescribeMacro{\HLP}\MacroDef*+{HLP}[\hfill \HLP]
+% \par\noindent
% \DescribeMacro{\LP}\MacroDef*+{LP}[\hfill \LP]
% \par\noindent
% \DescribeMacro{\DP}\MacroDef*+{DP}[\hfill \DP]
@@ -928,6 +937,9 @@ pdflatex --shell-escape onedown.dtx
% \textbf{10}. On output, some kerning takes care that the output looks
% like \suit{T} and not like a \textbf{1} followed by a \textbf{0}. So
% |\suit{AKJT8}| produces \example{\suit{AKJT8}}.
+% It is also possible to use a small 'x' as symbol for a spot card: |\suit{AKxxx}|
+% produces \example{\suit{AKxxx}}.
+%
% These commands also have an optional argument, an offset which by default
% is 0pt. This offset is meant to finetune the layout of the hands in the
% card diagrams. They change the distance between a hand and the compass.
@@ -5016,7 +5028,7 @@ pdflatex --shell-escape onedown.dtx
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\setdefaults}\MacroDef{setdefaults}[*{\ttfamily[}\meta{key1=val1},\meta{key2=val2}\ldots{\ttfamily]}]
+% \begin{macro}{\setdefaults}\MacroDef{setdefaults}[\Oarg{*}\string{\meta{key1=val1},\meta{key2=val2},\ldots\string}]
% The available keys are those defined in |\pgfkeys| some lines up from
% here. For the fonts they are: |bidder|, |compass|, |game|, |legend|,
% |name| and |other|. They store the new default value in the corresponding
@@ -5585,6 +5597,7 @@ pdflatex --shell-escape onedown.dtx
%
% \begin{macro}{\lpts}
% \begin{macro}{\LP}
+% \begin{macro}{\HLP}
% \begin{macrocode}
\NewDocumentCommand{\lpts}{s t!}{%
\bgroup%
@@ -5603,9 +5616,11 @@ pdflatex --shell-escape onedown.dtx
}% Length Points
%
\def\LP{\,\lpts*!}
+\def\HLP{\,\bgroup\ODw@OtherFont\GetTranslation{HLP-(ODw)}\egroup\xspace}
% \end{macrocode}
% \end{macro}
% \end{macro}
+% \end{macro}
%
% \begin{macro}{\dpts}
% \begin{macro}{\DP}