diff options
author | Karl Berry <karl@freefriends.org> | 2013-02-20 00:00:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-02-20 00:00:32 +0000 |
commit | ad27edfd2887add9f658b9cc08bd0cbccc57530e (patch) | |
tree | c77046b22477d953fb72223ce915a648aa90f936 /Master | |
parent | d24efd195926bc27fce42bd899447db644e65fbe (diff) |
fnumprint (19feb13)
git-svn-id: svn://tug.org/texlive/trunk@29173 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/fnumprint/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fnumprint/fnumprint.pdf | bin | 261696 -> 253967 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/fnumprint/fnumprint.dtx | 46 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fnumprint/fnumprint.sty | 2 |
4 files changed, 27 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/latex/fnumprint/README b/Master/texmf-dist/doc/latex/fnumprint/README index 3fa912f1cdc..fc6022882bc 100644 --- a/Master/texmf-dist/doc/latex/fnumprint/README +++ b/Master/texmf-dist/doc/latex/fnumprint/README @@ -1,6 +1,6 @@ LaTeX package 'fnumprint' ~~~~~~~~~~~~~~~~~~~~~~~~~ -Copyright (C) 2012 by Robin Schneider <ypid23@aol.de> +Copyright (C) 2012-2013 by Robin Schneider <ypid23@aol.de> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -11,7 +11,7 @@ and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later. CTAN: http://www.ctan.org/pkg/fnumprint -Code repository: https://github.com/ypid/latex-packages/fnumprint +Code repository: https://github.com/ypid/latex-packages/tree/master/fnumprint DESCRIPTION diff --git a/Master/texmf-dist/doc/latex/fnumprint/fnumprint.pdf b/Master/texmf-dist/doc/latex/fnumprint/fnumprint.pdf Binary files differindex c735cc1c872..36e7c139288 100644 --- a/Master/texmf-dist/doc/latex/fnumprint/fnumprint.pdf +++ b/Master/texmf-dist/doc/latex/fnumprint/fnumprint.pdf diff --git a/Master/texmf-dist/source/latex/fnumprint/fnumprint.dtx b/Master/texmf-dist/source/latex/fnumprint/fnumprint.dtx index 4a1e4a7abe5..88eccd6e459 100644 --- a/Master/texmf-dist/source/latex/fnumprint/fnumprint.dtx +++ b/Master/texmf-dist/source/latex/fnumprint/fnumprint.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % -% Copyright (C) 2012 by Robin Schneider <ypid23@aol.de> -% +% Copyright (C) 2012-2013 by Robin Schneider <ypid23@aol.de> +% % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 % of this license or (at your option) any later version. @@ -19,13 +19,13 @@ % % \iffalse %<*driver> -\ProvidesFile{\jobname.dtx} +\ProvidesFile{fnumprint.dtx} %</driver> %<package>%% See file 'fnumprint.dtx' for copyright and licence. %<package>\NeedsTeXFormat{LaTeX2e}[1998/12/01] %<package>\ProvidesPackage{fnumprint} %<*package> - [2012/08/27 v1.1 Printing fancy numbers] + [2012/08/27 v1.1a Printing fancy numbers] %</package> % %<*driver> @@ -34,6 +34,7 @@ \newcommand{\PackageCTANURL}{http://www.ctan.org/pkg/fnumprint} \newcommand{\PackageAuthor}{Robin Schneider} \newcommand{\PackageAuthorEmail}{ypid23@aol.de} +\newcommand{\PackageName}{\PrintPackage{fnumprint}} \newcommand{\PrintPackage}[1]{\textsf{#1}} \usepackage{fnumprint} \usepackage{ @@ -43,20 +44,21 @@ url, hypdoc, } -\GetFileInfo{\jobname.dtx} +\GetFileInfo{fnumprint.dtx} \hypersetup{ - pdftitle={A manual for \jobname}, + pdftitle={A manual for \PackageName}, pdfauthor={\PackageAuthor{} <\PackageAuthorEmail>}, pdfsubject={\fileinfo}, baseurl={\PackageURL}, - pdfkeywords={This document corresponds to \textsf{\jobname}~\fileversion, + pdfkeywords={This document corresponds to \PackageName~\fileversion, dated \filedate} } -\title{The \PrintPackage{\jobname} package\thanks{This document -corresponds to \textsf{\jobname}~\fileversion, dated \filedate.}} +\title{The \PackageName{} package\thanks{This document +corresponds to \PackageName~\fileversion, dated \filedate.}} \author{\PackageAuthor \\ - \texttt{\href{mailto:\PackageAuthorEmail?subject=LaTeX package \jobname}% + \texttt{\href{mailto:\PackageAuthorEmail?subject=LaTeX package fnumprint% + \&body=Dear Robin Schneider,}% {\PackageAuthorEmail}% }% } @@ -65,7 +67,7 @@ corresponds to \textsf{\jobname}~\fileversion, dated \filedate.}} \CodelineIndex \RecordChanges \begin{document} - \DocInput{\jobname.dtx} + \DocInput{fnumprint.dtx} \PrintChanges \PrintIndex \end{document} @@ -110,13 +112,13 @@ corresponds to \textsf{\jobname}~\fileversion, dated \filedate.}} % \begin{abstract} % The \PrintPackage{fnumprint} package can decide to typeset a % number either as number or as word name (only in English or German). \\ -% Location on CTAN: \url{\PackageCTANURL} \\ +% Information site on CTAN: \url{\PackageCTANURL} \\ % Fork me on GitHub: \url{\PackageURL} \end{abstract} -% +% % \tableofcontents -% +% % \section{Introduction} -% The \PrintPackage{\jobname} package defines two macros which decide to +% The \PackageName{} package defines two macros which decide to % typeset a number either as Arabic number or as word name for the number. If % the number is between zero and twelve (including zero and twelve) then the % word name will be used. This package uses the \PrintPackage{zahl2string} @@ -124,20 +126,20 @@ corresponds to \textsf{\jobname}~\fileversion, dated \filedate.}} % number (0--12) to the English word name is implemented by this package. If % the number is outside of the range then it will be typesetted with the % \PrintPackage{numprint} package. -% +% % \section{Usage} % Just load the package placing % \begin{quote} % |\usepackage{fnumprint}| % \end{quote} % in the preamble of your \LaTeXe{} source file. In this case the last by -% \PrintPackage{fnumprint} supported language given as class option will be +% \PackageName{} supported language given as class option will be % used. You can overwrite this with a package option like -% this: +% this: % \begin{quote} % |\usepackage[english]{fnumprint}| % \end{quote} -% +% % \DescribeMacro{\fnumprintc} % The macro |\fnumprintc| \oarg{eins} \marg{\LaTeX{} counter name} takes a % name of a LaTeX counter as not optional parameter and typesets it's @@ -145,12 +147,12 @@ corresponds to \textsf{\jobname}~\fileversion, dated \filedate.}} % selected. In this case it can be used to typeset \enquote{ein} instead of % \enquote{eins}. This is for example necessary if you would like to typeset % \enquote{ein Jahr}. -% +% % \DescribeMacro{\fnumprint} % The macro |\fnumprint| \oarg{eins} \marg{number} is like the |\fnumprintc| % macro but it takes a number or a macro that expands to a number. A \TeX{} % counter can also be used with this macro. -% +% % \section{Examples} % \begin{tabular}{ll} % \textbf{macro} & \textbf{expanded macro} \\ @@ -186,7 +188,7 @@ corresponds to \textsf{\jobname}~\fileversion, dated \filedate.}} \RequirePackage[autolanguage]{numprint} % \end{macrocode} % \subsection{Language checking} -% I used a counter |fnumprint@language| to save the (last) selected language. +% I used the counter |fnumprint@language| to save the (last) selected language. % Meaning from the counter values: % % \begin{tabular}{rl} diff --git a/Master/texmf-dist/tex/latex/fnumprint/fnumprint.sty b/Master/texmf-dist/tex/latex/fnumprint/fnumprint.sty index e20e228a486..968cfa2a0e2 100644 --- a/Master/texmf-dist/tex/latex/fnumprint/fnumprint.sty +++ b/Master/texmf-dist/tex/latex/fnumprint/fnumprint.sty @@ -1,7 +1,7 @@ %% See file 'fnumprint.dtx' for copyright and licence. \NeedsTeXFormat{LaTeX2e}[1998/12/01] \ProvidesPackage{fnumprint} - [2012/08/27 v1.1 Printing fancy numbers] + [2012/08/27 v1.1a Printing fancy numbers] \RequirePackage{xifthen} \RequirePackage[autolanguage]{numprint} \newcounter{fnumprint@language} |