From 219f4d3b5633ec6d9b845de0dfb58c5e32087960 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 3 Apr 2013 22:38:54 +0000 Subject: nameauth (3apr13) git-svn-id: svn://tug.org/texlive/trunk@29632 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/nameauth/README | 2 +- Master/texmf-dist/doc/latex/nameauth/nameauth.pdf | Bin 667343 -> 667039 bytes .../texmf-dist/source/latex/nameauth/nameauth.dtx | 11 +++++++---- Master/texmf-dist/tex/latex/nameauth/nameauth.sty | 5 +++-- 4 files changed, 11 insertions(+), 7 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/nameauth/README b/Master/texmf-dist/doc/latex/nameauth/README index 0c1bd0e7bd2..77cb72a447f 100644 --- a/Master/texmf-dist/doc/latex/nameauth/README +++ b/Master/texmf-dist/doc/latex/nameauth/README @@ -1,7 +1,7 @@ The nameauth package Charles P. Schaum charles dot schaum at att dot net -v1.6 from 2013/03/10 +v1.7 from 2013/04/02 Abstract diff --git a/Master/texmf-dist/doc/latex/nameauth/nameauth.pdf b/Master/texmf-dist/doc/latex/nameauth/nameauth.pdf index 9db0878ff09..780a24f75e2 100644 Binary files a/Master/texmf-dist/doc/latex/nameauth/nameauth.pdf and b/Master/texmf-dist/doc/latex/nameauth/nameauth.pdf differ diff --git a/Master/texmf-dist/source/latex/nameauth/nameauth.dtx b/Master/texmf-dist/source/latex/nameauth/nameauth.dtx index 903fa0d4c6d..2a5201715e8 100644 --- a/Master/texmf-dist/source/latex/nameauth/nameauth.dtx +++ b/Master/texmf-dist/source/latex/nameauth/nameauth.dtx @@ -26,7 +26,7 @@ %\NeedsTeXFormat{LaTeX2e}[2005/12/01] %\ProvidesPackage{nameauth} %<*package> - [2013/03/10 v1.6 name authority macros to aid consistent display and indexing of names] + [2013/04/02 v1.7 name authority macros to aid consistent display and indexing of names] % % %<*driver> @@ -58,7 +58,7 @@ \usepackage{makeidx} \usepackage{multicol} \usepackage[toc]{multitoc} -\usepackage{nameauth}[2013/03/10] +\usepackage{nameauth}[2013/04/02] \usepackage{hypdoc} \usepackage{tikz} \makeindex @@ -101,7 +101,7 @@ % % \fi % -% \CheckSum{1676} +% \CheckSum{1678} % % \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 @@ -136,6 +136,7 @@ % \changes{v1.4}{2012/07/24}{Fixed issues moving argument problems, added several features} % \changes{v1.5}{2013/02/22}{Minor bugfixes; added several features} % \changes{v1.6}{2013/03/10}{Added |nameauth| environment} +% \changes{v1.7}{2013/04/02}{Change options processing to prevent errors} % % \DoNotIndex{\@empty, \@gobble, \@period, \@token, \protected@edef, \zap@space, \bfseries, \bgroup, \csgdef, \csname, \csundef, \DeclareOption, \def, \detokenize, \edef, \egroup, \else, \endcsname, \endinput, \ExecuteOptions, \expandafter, \fi, \Forenames, \futurelet, \hbox, \if, \ifcsname, \ifx, \ignorespaces, \index, \itshape, \leavevmode, \let, \newcommand, \newcommandx, \newenvironment, \newif, \PackageWarning, \ProcessOptions, \relax, \renewcommand, \RequirePackage, \scshape, \space, \textbackslash, \uppercase, \WithSuffix} % @@ -1109,10 +1110,12 @@ % \end{macrocode} % This Boolean triggers capitalization in \cmd{\Name} of particles like \emph{de la} that may occur at the start of a sentence. It is triggered with \cmd{\CapThis}.\\ % +% \changes{v1.7}{2013/04/02}{Change options processing to prevent errors} % \begin{macrocode} +\newcommand{\NamesFormat}{} \DeclareOption{mainmatter}{\@nameauth@DoFormattrue} \DeclareOption{frontmatter}{\@nameauth@DoFormatfalse} -\DeclareOption{smallcaps}{\newcommand{\NamesFormat}{\scshape}} +\DeclareOption{smallcaps}{\renewcommand{\NamesFormat}{\scshape}} \DeclareOption{italic}{\renewcommand{\NamesFormat}{\itshape}} \DeclareOption{boldface}{\renewcommand{\NamesFormat}{\bfseries}} \DeclareOption{noformat}{\renewcommand{\NamesFormat}{}} diff --git a/Master/texmf-dist/tex/latex/nameauth/nameauth.sty b/Master/texmf-dist/tex/latex/nameauth/nameauth.sty index 641a3411c72..e48110191a5 100644 --- a/Master/texmf-dist/tex/latex/nameauth/nameauth.sty +++ b/Master/texmf-dist/tex/latex/nameauth/nameauth.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{nameauth} - [2013/03/10 v1.6 name authority macros to aid consistent display and indexing of names] + [2013/04/02 v1.7 name authority macros to aid consistent display and indexing of names] \newif\if@nameauth@FullName \newif\if@nameauth@FirstName \newif\if@nameauth@AltAKA @@ -39,9 +39,10 @@ \newif\if@nameauth@RevThis \newif\if@nameauth@RevAllComma \newif\if@nameauth@RevThisComma +\newcommand{\NamesFormat}{} \DeclareOption{mainmatter}{\@nameauth@DoFormattrue} \DeclareOption{frontmatter}{\@nameauth@DoFormatfalse} -\DeclareOption{smallcaps}{\newcommand{\NamesFormat}{\scshape}} +\DeclareOption{smallcaps}{\renewcommand{\NamesFormat}{\scshape}} \DeclareOption{italic}{\renewcommand{\NamesFormat}{\itshape}} \DeclareOption{boldface}{\renewcommand{\NamesFormat}{\bfseries}} \DeclareOption{noformat}{\renewcommand{\NamesFormat}{}} -- cgit v1.2.3