summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/onedown
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-21 20:51:57 +0000
committerKarl Berry <karl@freefriends.org>2019-10-21 20:51:57 +0000
commit7873aa917069da8d1dfcc60eb5eea04a8c4e62ce (patch)
treebc285e28a2fca66d861f9af54c3127125c6168f7 /Master/texmf-dist/doc/latex/onedown
parentef2ee92ba9a13edf8ae31e3941f8a47dae5e928e (diff)
onedown (21oct19)
git-svn-id: svn://tug.org/texlive/trunk@52474 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/onedown')
-rw-r--r--Master/texmf-dist/doc/latex/onedown/README13
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdfbin847441 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex31
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdfbin210831 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex63
-rw-r--r--Master/texmf-dist/doc/latex/onedown/onedown.pdfbin1010445 -> 1025146 bytes
6 files changed, 93 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/onedown/README b/Master/texmf-dist/doc/latex/onedown/README
index a72c13ed325..e4e096028ca 100644
--- a/Master/texmf-dist/doc/latex/onedown/README
+++ b/Master/texmf-dist/doc/latex/onedown/README
@@ -1,11 +1,11 @@
--------------------------------------------------------------------------
-The OneDown package v1.3 - 2019/02/21
+The OneDown package v1.4 - 2019/10/15
A package to typeset diagrams for the game of bridge
--------------------------------------------------------------------------
Jacob Wiersma
Web:
-E-Mail: jack46@online.de
+E-Mail: jack@schuli-wirsi.de
--------------------------------------------------------------------------
Copyright 2018 Jacob Wiersma
@@ -33,6 +33,7 @@ the files
- ODw-danish.trsl ODw-english.trsl ODw-french.trsl
ODw-norwegian.trsl ODw-turkish.trsl ODw-dutch.trsl
ODw-fallback.trsl ODw-german.trsl ODw-swedish.trsl
+ ODw-spanish.trsl
the directory examples with the files
- onedown-examples.pdf onedown-ref.pdf
@@ -67,11 +68,17 @@ be generated. Use this option at your own risk.
MORE DOCUMENTATION
- examples/onedown-examples.pdf
- examples/onedown-ref.pdf
+These are in english. To get PDFs which shows the (output of) onedown commands
+in your language run
+ pdflatex '\AtBeginDocument{\def\RefLang{french}}\input{onedown-ref.tex}'
+or
+ pdflatex '\AtBeginDocument{\def\ExLang{norsk}}\input{onedown-examples.tex}'
+This works for all supported languages
--------------------------------------------------------------------------
DESCRIPTION
This packages provides macros to typeset bridge diagrams, including hands
-(stand alone or arround a compass), bidding tables (stand alone or in
+(stand alone or around a compass), bidding tables (stand alone or in
connection with hands/compass), trick tables and expert quizes.
--------------------------------------------------------------------------
REQUIREMENTS
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf
deleted file mode 100644
index 9bc5e632475..00000000000
--- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf
+++ /dev/null
Binary files differ
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 d572b06cd23..1e5f5b57ad3 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,6 @@
%%
%% onedown-examples.tex
-%% April 16, 2018
+%% Oct 04, 2019
%% Requires the onedown bundle
%% Part of the OneDown bundle (mirror.ctan.org/onedown)
%% author: J. Wiersma
@@ -17,9 +17,17 @@
\usepackage[T1]{fontenc}
%
\usepackage{subfiles}% can compile stand-alone/combined
-\usepackage[dutch,norsk,%
- turkish,shorthands=,% avoid problems with ':', '=' and '!'
- german,english]{babel}% introduce possible languages
+\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[mono=false]{libertine}% verbatim needs option mono=false
% linertine screws verbatim, at least I don't know how to handle that
@@ -104,8 +112,15 @@
\def\SubFile#1{\def\FileName{#1}\newpage\section{#1}\subfile{#1}}
\addtolength{\textheight}{1.5cm}
-
+\def\ExLang{english}
\begin{document}
+% when compiled with:
+% 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
+%
+\expandafter\selectlanguage\expandafter{\ExLang}
\pdfbookmark[1]{Title}{Title}
\title{Examples for the\\\OneDown package%
\footnote{This file is part of the \OneDown bundle. To generate this file,
@@ -137,6 +152,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. \\
+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}'|
\par\vspace{1\baselineskip}
\setlength\columnseprule{.8pt}% rule between cols
\begin{multicols}{3}[{\centering \textbf{\Large List of Examples}}]
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf
deleted file mode 100644
index c59b80f6410..00000000000
--- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf
+++ /dev/null
Binary files differ
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 44930e12e06..6d16724130e 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex
@@ -1,4 +1,41 @@
-\documentclass[onedown-examples]{subfiles}
+%%
+%% onedown-ref.tex
+%% Oct 04, 2019
+%% Requires the onedown bundle
+%% Part of the OneDown bundle (mirror.ctan.org/onedown)
+%% author: J. Wiersma
+%%--------NOTE-------------------------------------------
+%% USAGE: (pdf)latex onedown-ref.tex
+%%-------------------------------------------------------
+
+\documentclass[a4paper,fontsize=11pt]{scrartcl}
+\usepackage{scrlayer-scrpage}
+%
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+%
+\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{onedown}% our own style to set bridge stuff
+\usepackage[a4paper, total={185mm, 257mm},left=12mm,top=20mm]{geometry}
+\newcommand\OneDown{\textcolor{red}{\smaller\bfseries\textsc{OneDown}}\xspace}
+\usepackage{shortvrb}
+\MakeShortVerb{\|}
+\usepackage{enumitem}%
+%\fi
+%
+%%%
+%
\usepackage[Q=yes]{examplep}
\makeatletter
\def\verbatim@font{\ttfamily\bfseries
@@ -19,9 +56,16 @@
%
\definecolor{optbackgr}{named}{lightgray}
\newcommand\Oarg[1]{\colorbox{optbackgr}{\texttt{#1}}}
-
+% default language to show the onedown command
+\def\RefLang{english}
\begin{document}
-
+% when compiled with:
+% 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
+%
+\expandafter\selectlanguage\expandafter{\RefLang}
\larger
\newgeometry{total={150mm, 265mm},left=25mm,top=15mm}
\pagestyle{empty}
@@ -37,8 +81,14 @@ angles |<...>|. Optional tokens of a command appear with a different
background color, like \Oarg{*!}. Output of a tokenized |\macro*!| is shown
as:
\quad|\macro|\Oarg{*!}|: \macro, \macro*, \macro!, \macro*!|\\
-All output is shown for the English language.
-
+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. \\
+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}'|
+\\[0.7em]
+\centerline{\textbf{This document shows the commands for the \emph{\RefLang}\ language}}
\begin{description}[itemsep=-0.3em]
\item[ace]: \ace
\item[Ace\Oarg{*!}]: \Ace, \Ace*, \Ace!, \Ace*!
@@ -118,7 +168,7 @@ To denote the rank \suit{T}, one has to use the uppercase letter |T|.
\item[eastwest]: \eastwest
\item[Eastwest\Oarg{*!}]: \EastWest, \EastWest*, \EastWest!, \EastWest*!
-\item[expertquiz\Oarg{*!}\Q{[comment]}{award}]\\
+\item[expertquiz\Oarg{*!}\Q{[comment]{award}}]\\
Typesets a quiz, showing a
predefined hand and a predefined bidding diagram. The star version centers
the output. The token |!| forces a newline between hand and bidding
@@ -460,6 +510,7 @@ These macros, called in a bidding table\ldots
8 & {\Pass*!} & {\Double*!} & {\Redouble*!} & {\Allpass*!} \\
9 & {\pass} & {\double} & {\redouble} & {\allpass} \\
\end{tabular}\\
+
\end{document}
\endinput
diff --git a/Master/texmf-dist/doc/latex/onedown/onedown.pdf b/Master/texmf-dist/doc/latex/onedown/onedown.pdf
index 5824bb113c2..c503a279251 100644
--- a/Master/texmf-dist/doc/latex/onedown/onedown.pdf
+++ b/Master/texmf-dist/doc/latex/onedown/onedown.pdf
Binary files differ