summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-14 20:32:32 +0000
committerKarl Berry <karl@freefriends.org>2022-05-14 20:32:32 +0000
commit5dca4e7630eb96406d4235a6a02efda33d47d886 (patch)
tree1ab7a8eb7b36d6e589340fe8797ae2ca8d519ae9 /Master/texmf-dist/doc
parentd3589ab6f2fce7147d841db1dac3287e93f11565 (diff)
phonenumbers (14may22)
git-svn-id: svn://tug.org/texlive/trunk@63299 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/phonenumbers/README4
-rw-r--r--Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.pdfbin1927261 -> 1940511 bytes
-rw-r--r--Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.tex172
-rw-r--r--Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.pdfbin1913835 -> 1939243 bytes
-rw-r--r--Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.tex172
5 files changed, 194 insertions, 154 deletions
diff --git a/Master/texmf-dist/doc/latex/phonenumbers/README b/Master/texmf-dist/doc/latex/phonenumbers/README
index d39c143524b..6b8a40416e9 100644
--- a/Master/texmf-dist/doc/latex/phonenumbers/README
+++ b/Master/texmf-dist/doc/latex/phonenumbers/README
@@ -9,8 +9,8 @@ number is valid according to the national rules. It also allows to link phone
numbers using the hyperref package.
Package author: K. Wehr
-Version: 2.3
-Date: 20th August 2021
+Version: 2.4
+Date: 13th May 2022
The phonenumbers package is subject to the LaTeX Project Public License,
version 1.3 or later.
diff --git a/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.pdf b/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.pdf
index bc0f466a74b..2cc505c3c2b 100644
--- a/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.pdf
+++ b/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.tex b/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.tex
index ea51e371aac..6e945537d30 100644
--- a/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.tex
+++ b/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.tex
@@ -1,6 +1,6 @@
% phonenumbers package: German manual
-% Version 2.3
-% Datum: 20. August 2021
+% Version 2.4
+% Datum: 13. Mai 2022
\documentclass[numbers=noenddot]{scrreprt}
\usepackage[french,ngerman]{babel}
\usepackage{fontspec}
@@ -16,15 +16,15 @@
\usepackage{cnltx-example}
\usepackage{cnltx-tools}
\usepackage[colorlinks=true,
- allcolors=black,
- bookmarksopen=true,
- bookmarksopenlevel=0,
- bookmarksnumbered=true,
- pdfencoding=auto,
- pdftitle={Setzen von Telefonnummern mit LaTeX},
- pdfsubject={Anleitung zum Paket PHONENUMBERS},
- pdfkeywords={latex phonenumbers Telefonnummern},
- pdfauthor={K. Wehr}]{hyperref}
+ allcolors=black,
+ bookmarksopen=true,
+ bookmarksopenlevel=0,
+ bookmarksnumbered=true,
+ pdfencoding=auto,
+ pdftitle={Setzen von Telefonnummern mit LaTeX},
+ pdfsubject={Anleitung zum Paket PHONENUMBERS},
+ pdfkeywords={latex phonenumbers Telefonnummern},
+ pdfauthor={K. Wehr}]{hyperref}
\setmainfont{TeX Gyre Bonum}
\setmonofont{Latin Modern Mono}[Scale=MatchLowercase]
@@ -53,16 +53,16 @@
\renewcommand{\labelnamepunct}{\addcolon\space}
\definecolorscheme{phonecolor}{
- cs => cnltxformalblue,
- option => cnltxbrown,
- cnltx => cnltxgreen
+ cs => cnltxformalblue,
+ option => cnltxbrown,
+ cnltx => cnltxgreen
}
\setcnltx{
- add-cmds = {setphonenumbers,phonenumber,href},
- color-scheme = phonecolor,
- add-listings-options = {numbers=none},
- pre-output = {\raggedright}
+ add-cmds = {setphonenumbers,phonenumber,href},
+ color-scheme = phonecolor,
+ add-listings-options = {numbers=none},
+ pre-output = {\raggedright}
}
\makeatletter
@@ -71,7 +71,7 @@
\makeatother
\DeclareNewLayer[background,bottommargin,mode=picture,hoffset=7cm,
- contents={\includegraphics{Telefonhoerer}}]{Telefonebene}
+ contents={\includegraphics{Telefonhoerer}}]{Telefonebene}
\AddLayersToPageStyle{plain}{Telefonebene}
\AddLayersToPageStyle{scrheadings}{Telefonebene}
@@ -79,103 +79,107 @@
\ExplSyntaxOn
\NewDocumentEnvironment {Befehlsliste} { }
- {
- \begin{list}{ }
- {
- \setlength{\leftmargin}{0pt}
- \setlength{\itemindent}{-1em}
- \setlength{\parsep}{0pt}
- \setlength{\listparindent}{\parindent}
- \setlength{\itemsep}{\topsep}
- }
- }
- {
- \end{list}
- }
+ {
+ \begin{list}{ }
+ {
+ \setlength{\leftmargin}{0pt}
+ \setlength{\itemindent}{-1em}
+ \setlength{\parsep}{0pt}
+ \setlength{\listparindent}{\parindent}
+ \setlength{\itemsep}{\topsep}
+ }
+ }
+ {
+ \end{list}
+ }
\NewDocumentCommand \Befehlsbeschreibung {m o}
- {
- \item
- \cs{#1}
- \IfValueT{#2}{#2}
- \\
- }
+ {
+ \item
+ \cs{#1}
+ \IfValueT{#2}{#2}
+ \\
+ }
\NewDocumentCommand \Optionsbeschreibung {m m m}
- {
- \item
- \option{#1}~=~\choices{#2}
- \hfill
- Voreinstellung:~\code{#3}
- \\
- }
+ {
+ \item
+ \option{#1}~=~\choices{#2}
+ \hfill
+ Voreinstellung:~\code{#3}
+ \\
+ }
\ExplSyntaxOff
-\newcommand*{\Paket}[1]{\textsc{#1}}
-\newcommand{\phone}{\textcolor{cnltx}{\Paket{phone\-numbers}}}
+\newcommand*\Paket[1]{\textsc{#1}}
+\newcommand\phone{\textcolor{cnltx}{\Paket{phone\-numbers}}}
-\newcommand{\UeberschriftGeltungsbereich}{\section{Geltungsbereich}}
+\newcommand\UeberschriftGeltungsbereich{\section{Geltungsbereich}}
-\newcommand{\UeberschriftAufbau}{\section{Aufbau der Nummern}}
+\newcommand\UeberschriftAufbau{\section{Aufbau der Nummern}}
-\newcommand*{\UeberschriftOptionen}[1]{\section{Optionen}\label{optionen-#1}}
+\newcommand*\UeberschriftOptionen[1]{\section{Optionen}\label{optionen-#1}}
-\newcommand{\UeberschriftUngueltig}{\section{Ungültige Nummern}}
+\newcommand\UeberschriftUngueltig{\section{Ungültige Nummern}}
-\newcommand{\UeberschriftOrtsvorwahlen}{\section{Ortsvorwahlen}}
+\newcommand\UeberschriftOrtsvorwahlen{\section{Ortsvorwahlen}}
-\newcommand{\UeberschriftRegionalvorwahlen}{\section{Regionalvorwahlen}}
+\newcommand\UeberschriftRegionalvorwahlen{\section{Regionalvorwahlen}}
-\newcommand{\UeberschriftSondervorwahlen}{\section{Sondervorwahlen}}
+\newcommand\UeberschriftSondervorwahlen{\section{Sondervorwahlen}}
-\newcommand{\OptionsvariantenAreaCodeSep}{\Optionsbeschreibung{area-code-sep}{slash,brackets,space,hyphen}{slash}}
+\newcommand\OptionsvariantenAreaCodeSep{\Optionsbeschreibung{area-code-sep}{slash,brackets,space,hyphen}{slash}}
-\newcommand{\OptionsbeschreibungAreaCodeSep}{Legt fest, wie die Vorwahl von der Teilnehmerrufnummer abgetrennt wird.}
+\newcommand\OptionsbeschreibungAreaCodeSep{Legt fest, wie die Vorwahl von der Teilnehmerrufnummer abgetrennt wird.}
-\newcommand{\HinweisForeignAreaCodeSep}{Für Nummern mit Auslandsvorwahl gibt es die Option
+\newcommand\HinweisForeignAreaCodeSep{Für Nummern mit Auslandsvorwahl gibt es die Option
\option{foreign-area-code-sep}
\sieheAbschnitt{optionen-allgemein}.}
-\newcommand{\OptionsvariantenAreaCode}{\Optionsbeschreibung{area-code}{number,place,place-and-number}{number}}
+\newcommand\OptionsvariantenAreaCode{\Optionsbeschreibung{area-code}{number,place,place-and-number}{number}}
-\newcommand{\OptionsbeschreibungAreaCode}{Legt fest, wie die Vorwahl dargestellt werden soll: als Nummer, als Ortsname oder als Ortsname mit Nummer.}
+\newcommand\OptionsbeschreibungAreaCode{Legt fest, wie die Vorwahl dargestellt werden soll: als Nummer, als Ortsname oder als Ortsname mit Nummer.}
-\newcommand{\WertbeschreibungBrackets}{Die Variante \code{brackets} setzt bei Festnetznummern Klammern um die Vorwahl. Bei Mobilfunk- und Sondernummern wird sie wie \code{space} behandelt, da bei solchen Nummern die Vorwahl stets mitgewählt werden muss.}
+\newcommand\WertbeschreibungBrackets{Die Variante \code{brackets} setzt bei Festnetznummern Klammern um die Vorwahl. Bei Mobilfunk- und Sondernummern wird sie wie \code{space} behandelt, da bei solchen Nummern die Vorwahl stets mitgewählt werden muss.}
-\newcommand{\WertbeschreibungPlaceAndNumber}{Die Variante \code{place-and-number} gibt für Nummern ohne Auslandsvorwahl den Ortsnamen bzw. die Bedeutung der Vorwahl zusätzlich zur Vorwahlnummer aus.}
+\newcommand\WertbeschreibungPlaceAndNumber{Die Variante \code{place-and-number} gibt für Nummern ohne Auslandsvorwahl den Ortsnamen bzw. die Bedeutung der Vorwahl zusätzlich zur Vorwahlnummer aus.}
-\newcommand{\WertbeschreibungPlace}{Die Variante \code{place} gibt bei Festnetznummern ohne Auslandsvorwahl den Ortsnamen anstelle der Vorwahlnummer aus. In anderen Fällen bleibt es bei der Ausgabe der Nummer.}
+\newcommand\WertbeschreibungPlace{Die Variante \code{place} gibt bei Festnetznummern ohne Auslandsvorwahl den Ortsnamen anstelle der Vorwahlnummer aus. In anderen Fällen bleibt es bei der Ausgabe der Nummer.}
-\newcommand{\KeineVerlinkung}{Nummern ohne Vorwahl können allerdings nicht verlinkt werden
+\newcommand\KeineVerlinkung{Nummern ohne Vorwahl können allerdings nicht verlinkt werden
\vglAbschnitt{verlinkung}.}
-\newcommand{\WarnungWenn}{Eine Warnung wird ausgegeben, wenn}
+\newcommand\WarnungWenn{Eine Warnung wird ausgegeben, wenn}
-\newcommand*{\vglAbschnitt}[1]{(\cf\ Abschnitt \ref{#1})}
+\newcommand*\vglAbschnitt[1]{(\cf\ Abschnitt \ref{#1})}
-\newcommand*{\sieheAbschnitt}[1]{(siehe Abschnitt \ref{#1})}
+\newcommand*\sieheAbschnitt[1]{(siehe Abschnitt \ref{#1})}
-\newcommand*{\vglAnhang}[1]{(\cf\ Anhang~\ref{#1})}
+\newcommand*\vglAnhang[1]{(\cf\ Anhang~\ref{#1})}
-\newcommand{\Quelle}{\noindent\emph{Quelle: }}
+\newcommand\Quelle{\noindent\emph{Quelle: }}
-\newcommand*{\Quellen}{\noindent\emph{Quellen: }}
+\newcommand*\Quellen{\noindent\emph{Quellen: }}
-\newcommand{\Schmalschrift}{\small\fontspec{Libertinus Serif}[Ligatures=TeX]}
+\newcommand\Schmalschrift{\small\fontspec{Libertinus Serif}[Ligatures=TeX]}
-\newcommand*{\AufbauDEATA}[6]{Eine #1 Telefonnummer besteht in der Regel aus einer Vorwahl, die mit einer 0 beginnt, und einer Teilnehmerrufnummer. Die Vorwahl kann zwischen #2 und #3 Stellen haben, die Teilnehmerrufnummer im Festznetz zwischen #4 und #5 Stellen. Zur Trennung von Vorwahl und Teilnehmerrufnummer gibt es unterschiedliche Konventionen
+\newcommand*\AufbauDEATA[6]{Eine #1 Telefonnummer besteht in der Regel aus einer Vorwahl, die mit einer 0 beginnt, und einer Teilnehmerrufnummer. Die Vorwahl kann zwischen #2 und #3 Stellen haben, die Teilnehmerrufnummer im Festznetz zwischen #4 und #5 Stellen. Zur Trennung von Vorwahl und Teilnehmerrufnummer gibt es unterschiedliche Konventionen
\vglAbschnitt{#6}.
Standardmäßig verwendet das Paket \phone\ einen Schrägstrich.}
-\newcommand{\AufbauDEATB}{Die Ortsvorwahl kann bei Anrufen innerhalb eines Ortsnetzes weggelassen werden.}
+\newcommand\AufbauDEATB{Die Ortsvorwahl kann bei Anrufen innerhalb eines Ortsnetzes weggelassen werden.}
-\newcommand{\AufbauDEATC}[1]{\KeineVerlinkung\ Als Alternative empfiehlt sich der Einsatz der Option \option{home-area-code}
+\newcommand\AufbauDEATC[1]{\KeineVerlinkung\ Als Alternative empfiehlt sich der Einsatz der Option \option{home-area-code}
\vglAbschnitt{optionen-allgemein},
die in #1 überall verwendet werden kann.\par
Am Ende der Teilnehmerrufnummer kann eine abgetrennte Durchwahlnummer stehen, die durch ein optionales Argument oder einen Bindestrich angegeben wird.}
-\newcommand*{\AufbauDEATD}[1]{Bei Anrufen aus dem Ausland wird die Auslandsvorwahl mit der Landeskennzahl #1 vorangestellt und die führende 0 der Ortsvorwahl weggelassen.}
+\newcommand*\AufbauDEATD[1]{Bei Anrufen aus dem Ausland wird die Auslandsvorwahl mit der Landeskennzahl #1 vorangestellt und die führende 0 der Ortsvorwahl weggelassen.}
+
+\newcommand\EMail{wehr}
+\newcommand\EMailDomain{abgol}
+\newcommand\EMailTopLevelDomain{de}
\begin{document}
\begin{titlepage}
@@ -189,7 +193,11 @@ Am Ende der Teilnehmerrufnummer kann eine abgetrennte Durchwahlnummer stehen, di
\smallskip
Keno Wehr
+\normalsize
+\texttt{\EMail@\EMailDomain.\EMailTopLevelDomain}
+
\bigskip
+\large
\textit{Fehlermeldungen}
\smallskip
@@ -435,13 +443,20 @@ Vor der Heimatvorwahl sollte das Heimatland mit der Option \option{home-country}
\phonenumber[country=DE]{0258163970}
\end{sidebyside}
Die Angabe einer Heimatvorwahl ist nur für Gebiete zulässig, in denen die Vorwahl bei Ortsgesprächen weggelassen werden kann.
+\Optionsbeschreibung{group-min}{3,4,5,6,7}{3}
+In mehreren Ländern werden Telefonnummern in Zweiergruppen gegliedert. Der Wert dieser Option gibt an, ab welcher Länge eines Nummernteils (Auslandsvorwahl, Ortsvorwahl, Teilnehmerrufnummer, Durchwahl) eine Gliederung stattfindet.
+\begin{sidebyside}
+ \setphonenumbers{country=AT}
+ \phonenumber{04632503}[364] \\
+ \phonenumber[group-min=5]{04632503}[364]
+\end{sidebyside}
\end{Befehlsliste}
\UeberschriftUngueltig
Um Robustheit gegenüber Fehlern zu gewährleisten, wird die Kompilierung niemals mit einer Fehlermeldung abgebrochen, wenn dem Befehl \cs{phonenumber} eine ungültige Nummer übergeben wird. Stattdessen schreibt das Paket \phone\ Warnmeldungen in die Log-Datei.
Dies ist der Fall, wenn
\begin{itemize}
-\item die Eingabe leer ist oder nicht nur Ziffern und Leerzeichen enthält (abgesehen von einem Pluszeichen am Anfang),
+\item die Eingabe leer ist oder unerlaubte Zeichen enthält,
\item eine Durchwahlnummer angegeben ist, obwohl es sich nicht um eine deutsche oder österreichische Telefonnummer handelt,
\item eine im internationalen Format eingegebene Nummer nur aus einer Landesvorwahl besteht oder keine gültige Landeskennzahl enthält,
\item die Nummer nicht den nationalen Regeln des gewählten Landes entspricht (nur für unterstützte Länder).
@@ -1195,7 +1210,7 @@ am Anfang
\item Ermöglichung von Makros als Befehlsargumenten
\item leichte Veränderung der Warnmeldungen
\end{itemize}
-\item[2.3] \today
+\item[2.3] \printdate{20.8.2021}
\begin{itemize}
\item Ergänzung der neuen deutschen Mobilfunkvorwahl 01\,50\,19
\item Entfernung der deutschen Mobilfunkvorwahlen 01\,50\,20, 01\,50\,50, 01\,50\,80, 01\,55\,55
@@ -1206,6 +1221,11 @@ am Anfang
\item Ergänzung der neuen nordamerikanischen Vorwahlen 227, 274, 341, 368, 428, 447, 448, 464, 474, 523, 524, 525, 526, 572, 582, 656, 659, 689, 730, 742, 771, 826, 839, 840, 943, 945 und 948
\item Revision des Paketcodes
\end{itemize}
+\item[2.4] \today
+\begin{itemize}
+\item Einführung der Option
+\option{group-min}, um kurze Nummern nicht zu gliedern
+\end{itemize}
\end{description}
\end{document}
diff --git a/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.pdf b/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.pdf
index 526bac2a331..1eb72f9b03b 100644
--- a/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.pdf
+++ b/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.tex b/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.tex
index f0533d6304a..7b91c39a0a7 100644
--- a/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.tex
+++ b/Master/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.tex
@@ -1,6 +1,6 @@
% phonenumbers package: English manual
-% Version 2.3
-% Datum: 20. August 2021
+% Version 2.4
+% Datum: 13. Mai 2022
\documentclass[numbers=noenddot]{scrreprt}
\usepackage[french,UKenglish]{babel}
\usepackage{fontspec}
@@ -16,15 +16,15 @@
\usepackage{cnltx-example}
\usepackage{cnltx-tools}
\usepackage[colorlinks=true,
- allcolors=black,
- bookmarksopen=true,
- bookmarksopenlevel=0,
- bookmarksnumbered=true,
- pdfencoding=auto,
- pdftitle={Typesetting telephone numbers with LaTeX},
- pdfsubject={Manual for the PHONENUMBERS package},
- pdfkeywords={latex phonenumbers telephone numbers},
- pdfauthor={K. Wehr}]{hyperref}
+ allcolors=black,
+ bookmarksopen=true,
+ bookmarksopenlevel=0,
+ bookmarksnumbered=true,
+ pdfencoding=auto,
+ pdftitle={Typesetting telephone numbers with LaTeX},
+ pdfsubject={Manual for the PHONENUMBERS package},
+ pdfkeywords={latex phonenumbers telephone numbers},
+ pdfauthor={K. Wehr}]{hyperref}
\setmainfont{TeX Gyre Bonum}
\setmonofont{Latin Modern Mono}[Scale=MatchLowercase]
@@ -53,16 +53,16 @@
\renewcommand{\labelnamepunct}{\addcolon\space}
\definecolorscheme{phonecolor}{
- cs => cnltxformalblue,
- option => cnltxbrown,
- cnltx => cnltxgreen
+ cs => cnltxformalblue,
+ option => cnltxbrown,
+ cnltx => cnltxgreen
}
\setcnltx{
- add-cmds = {setphonenumbers,phonenumber,href},
- color-scheme = phonecolor,
- add-listings-options = {numbers=none},
- pre-output = {\raggedright}
+ add-cmds = {setphonenumbers,phonenumber,href},
+ color-scheme = phonecolor,
+ add-listings-options = {numbers=none},
+ pre-output = {\raggedright}
}
\makeatletter
@@ -71,7 +71,7 @@
\makeatother
\DeclareNewLayer[background,bottommargin,mode=picture,hoffset=7cm,
- contents={\includegraphics{Telefonhoerer}}]{Telefonebene}
+ contents={\includegraphics{Telefonhoerer}}]{Telefonebene}
\AddLayersToPageStyle{plain}{Telefonebene}
\AddLayersToPageStyle{scrheadings}{Telefonebene}
@@ -79,103 +79,107 @@
\ExplSyntaxOn
\NewDocumentEnvironment {Befehlsliste} { }
- {
- \begin{list}{ }
- {
- \setlength{\leftmargin}{0pt}
- \setlength{\itemindent}{-1em}
- \setlength{\parsep}{0pt}
- \setlength{\listparindent}{\parindent}
- \setlength{\itemsep}{\topsep}
- }
- }
- {
- \end{list}
- }
+ {
+ \begin{list}{ }
+ {
+ \setlength{\leftmargin}{0pt}
+ \setlength{\itemindent}{-1em}
+ \setlength{\parsep}{0pt}
+ \setlength{\listparindent}{\parindent}
+ \setlength{\itemsep}{\topsep}
+ }
+ }
+ {
+ \end{list}
+ }
\NewDocumentCommand \Befehlsbeschreibung {m o}
- {
- \item
- \cs{#1}
- \IfValueT{#2}{#2}
- \\
- }
+ {
+ \item
+ \cs{#1}
+ \IfValueT{#2}{#2}
+ \\
+ }
\NewDocumentCommand \Optionsbeschreibung {m m m}
- {
- \item
- \option{#1}~=~\choices{#2}
- \hfill
- Default:~\code{#3}
- \\
- }
+ {
+ \item
+ \option{#1}~=~\choices{#2}
+ \hfill
+ Default:~\code{#3}
+ \\
+ }
\ExplSyntaxOff
-\newcommand*{\Paket}[1]{\textsc{#1}}
-\newcommand{\phone}{\textcolor{cnltx}{\Paket{phone\-numbers}}}
+\newcommand*\Paket[1]{\textsc{#1}}
+\newcommand\phone{\textcolor{cnltx}{\Paket{phone\-numbers}}}
-\newcommand{\UeberschriftGeltungsbereich}{\section{Scope}}
+\newcommand\UeberschriftGeltungsbereich{\section{Scope}}
-\newcommand{\UeberschriftAufbau}{\section{Structure of the Numbers}}
+\newcommand\UeberschriftAufbau{\section{Structure of the Numbers}}
-\newcommand*{\UeberschriftOptionen}[1]{\section{Options}\label{optionen-#1}}
+\newcommand*\UeberschriftOptionen[1]{\section{Options}\label{optionen-#1}}
-\newcommand{\UeberschriftUngueltig}{\section{Invalid Numbers}}
+\newcommand\UeberschriftUngueltig{\section{Invalid Numbers}}
-\newcommand{\UeberschriftOrtsvorwahlen}{\section{Geographic Area Codes}}
+\newcommand\UeberschriftOrtsvorwahlen{\section{Geographic Area Codes}}
-\newcommand{\UeberschriftRegionalvorwahlen}{\section{Geographic Area Codes}}
+\newcommand\UeberschriftRegionalvorwahlen{\section{Geographic Area Codes}}
-\newcommand{\UeberschriftSondervorwahlen}{\section{Non-Geographic Area Codes}}
+\newcommand\UeberschriftSondervorwahlen{\section{Non-Geographic Area Codes}}
-\newcommand{\OptionsvariantenAreaCodeSep}{\Optionsbeschreibung{area-code-sep}{slash,brackets,space,hyphen}{slash}}
+\newcommand\OptionsvariantenAreaCodeSep{\Optionsbeschreibung{area-code-sep}{slash,brackets,space,hyphen}{slash}}
-\newcommand{\OptionsbeschreibungAreaCodeSep}{Sets the seperator between area code and subscriber number.}
+\newcommand\OptionsbeschreibungAreaCodeSep{Sets the seperator between area code and subscriber number.}
-\newcommand{\HinweisForeignAreaCodeSep}{For numbers with country calling code use the
+\newcommand\HinweisForeignAreaCodeSep{For numbers with country calling code use the
\option{foreign-area-code-sep}
option \sieheAbschnitt{optionen-allgemein}.}
-\newcommand{\OptionsvariantenAreaCode}{\Optionsbeschreibung{area-code}{number,place,place-and-number}{number}}
+\newcommand\OptionsvariantenAreaCode{\Optionsbeschreibung{area-code}{number,place,place-and-number}{number}}
-\newcommand{\OptionsbeschreibungAreaCode}{Sets, how the area code will be typeset: as number, as place name, or as place name with number.}
+\newcommand\OptionsbeschreibungAreaCode{Sets, how the area code will be typeset: as number, as place name, or as place name with number.}
-\newcommand{\WertbeschreibungBrackets}{The choice \code{brackets} will cause the area code of landline numbers to be typeset in brackets. For mobile phone and special numbers this choice will be treated like \code{space}, since the area code has always to be dialled for these numbers.}
+\newcommand\WertbeschreibungBrackets{The choice \code{brackets} will cause the area code of landline numbers to be typeset in brackets. For mobile phone and special numbers this choice will be treated like \code{space}, since the area code has always to be dialled for these numbers.}
-\newcommand{\WertbeschreibungPlaceAndNumber}{The choice \code{place-and-number} will cause the place name or the meaning of the area code, respectively, to be output in addition to the area code for numbers without country calling code.}
+\newcommand\WertbeschreibungPlaceAndNumber{The choice \code{place-and-number} will cause the place name or the meaning of the area code, respectively, to be output in addition to the area code for numbers without country calling code.}
-\newcommand{\WertbeschreibungPlace}{The choice \code{place} will typeset landline numbers without country calling code with the place name instead of the area code. In other cases the area code will remain.}
+\newcommand\WertbeschreibungPlace{The choice \code{place} will typeset landline numbers without country calling code with the place name instead of the area code. In other cases the area code will remain.}
-\newcommand{\KeineVerlinkung}{Numbers without an area code cannot be linked though
+\newcommand\KeineVerlinkung{Numbers without an area code cannot be linked though
\vglAbschnitt{verlinkung}.}
-\newcommand{\WarnungWenn}{A warning will be issued if}
+\newcommand\WarnungWenn{A warning will be issued if}
-\newcommand*{\vglAbschnitt}[1]{(\cf\ section \ref{#1})}
+\newcommand*\vglAbschnitt[1]{(\cf\ section \ref{#1})}
-\newcommand*{\sieheAbschnitt}[1]{(see section \ref{#1})}
+\newcommand*\sieheAbschnitt[1]{(see section \ref{#1})}
-\newcommand*{\vglAnhang}[1]{(\cf\ appendix~\ref{#1})}
+\newcommand*\vglAnhang[1]{(\cf\ appendix~\ref{#1})}
-\newcommand{\Quelle}{\noindent\emph{Source: }}
+\newcommand\Quelle{\noindent\emph{Source: }}
-\newcommand*{\Quellen}{\noindent\emph{Sources: }}
+\newcommand*\Quellen{\noindent\emph{Sources: }}
-\newcommand{\Schmalschrift}{\small\fontspec{Libertinus Serif}[Ligatures=TeX]}
+\newcommand\Schmalschrift{\small\fontspec{Libertinus Serif}[Ligatures=TeX]}
-\newcommand*{\AufbauDEATA}[6]{A #1 phone number normally consists of an area code beginning with 0 and a subscriber number. The area code can have #2 to #3 digits, a landline subscriber number #4 to #5 digits. There are different conventions for the separation of the area code from the subscriber number
+\newcommand*\AufbauDEATA[6]{A #1 phone number normally consists of an area code beginning with 0 and a subscriber number. The area code can have #2 to #3 digits, a landline subscriber number #4 to #5 digits. There are different conventions for the separation of the area code from the subscriber number
\vglAbschnitt{#6}.
The default separator used by the \phone\ package is a slash.}
-\newcommand{\AufbauDEATB}{The area code is not required for calls within the local exchange area.}
+\newcommand\AufbauDEATB{The area code is not required for calls within the local exchange area.}
-\newcommand{\AufbauDEATC}[1]{\KeineVerlinkung\ As an alternative the use of the \option{home-area-code} option
+\newcommand\AufbauDEATC[1]{\KeineVerlinkung\ As an alternative the use of the \option{home-area-code} option
\vglAbschnitt{optionen-allgemein},
which can be used everywhere in #1, is recommended.\par
The subscriber number can end in a separate extension, which can be input by an optional argument or a hyphen.}
-\newcommand*{\AufbauDEATD}[1]{For calls from abroad the country code #1 has to be used and the leading 0 of the area code has to be left out.}
+\newcommand*\AufbauDEATD[1]{For calls from abroad the country code #1 has to be used and the leading 0 of the area code has to be left out.}
+
+\newcommand\EMail{wehr}
+\newcommand\EMailDomain{abgol}
+\newcommand\EMailTopLevelDomain{de}
\begin{document}
\begin{titlepage}
@@ -189,7 +193,11 @@ The subscriber number can end in a separate extension, which can be input by an
\smallskip
Keno Wehr
+\normalsize
+\texttt{\EMail@\EMailDomain.\EMailTopLevelDomain}
+
\bigskip
+\large
\textit{Bug reports}
\smallskip
@@ -435,13 +443,20 @@ The \option{home-country} option should to be set before the home area code. If
\phonenumber[country=DE]{0258163970}
\end{sidebyside}
Setting a home area code is allowed only for areas where the area code can be left out for local calls.
+\Optionsbeschreibung{group-min}{3,4,5,6,7}{3}
+In several countries telephone numbers are structured in groups of two digits. The value of this option sets the minimum length of a number part (country calling code, area code, subscriber number, extension) to which structuring shall be applied.
+\begin{sidebyside}
+ \setphonenumbers{country=AT}
+ \phonenumber{04632503}[364] \\
+ \phonenumber[group-min=5]{04632503}[364]
+\end{sidebyside}
\end{Befehlsliste}
\UeberschriftUngueltig
To ensure robustness against errors, the compilation will never be aborted with an error message if an invalid number is given to the \cs{phonenumber} command. Rather, the \phone\ package will write warnings to the log file.
This will occur if
\begin{itemize}
-\item the input is empty or contains other characters than digits and spaces (apart from a plus sign as first character),
+\item the input is empty or contains illegal characters,
\item an extension is given for a non-German and non-Austrian phone number,
\item a number input in the international format consists of a country calling code only or does not contain a valid country code,
\item the number is not in accordance with the national rules of the selected country (only for supported countries).
@@ -1195,7 +1210,7 @@ option for the area code separator in numbers with country calling code
\item Making macros possible as command arguments
\item Slight change of the warning messages
\end{itemize}
-\item[2.3] \today
+\item[2.3] \printdate{20.8.2021}
\begin{itemize}
\item Addition of the new German mobile phone area code 01\,50\,19
\item Removal of the German mobile phone area codes 01\,50\,20, 01\,50\,50, 01\,50\,80, 01\,55\,55
@@ -1206,6 +1221,11 @@ option for the area code separator in numbers with country calling code
\item Addition of the new North American area codes 227, 274, 341, 368, 428, 447, 448, 464, 474, 523, 524, 525, 526, 572, 582, 656, 659, 689, 730, 742, 771, 826, 839, 840, 943, 945, and 948
\item Revision of the package code
\end{itemize}
+\item[2.4] \today
+\begin{itemize}
+\item Introduction of the
+\option{group-min} option to suppress the structuring of short numbers
+\end{itemize}
\end{description}
\end{document}