From 9d9325044d4f254830803e5ad00d4e4cbf610bae Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 21 Apr 2012 22:47:19 +0000 Subject: nameauth 1.24 (21apr12) git-svn-id: svn://tug.org/texlive/trunk@26085 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/nameauth/nameauth.dtx | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/source/latex/nameauth') diff --git a/Master/texmf-dist/source/latex/nameauth/nameauth.dtx b/Master/texmf-dist/source/latex/nameauth/nameauth.dtx index 81712f58a8b..15389b0f4e8 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> - [2012/04/20 v1.22 name authority macros to aid consistent display and indexing of names] + [2012/04/21 v1.24 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}[2012/04/20] +\usepackage{nameauth}[2012/03/25] \usepackage{hypdoc} \makeindex \frenchspacing @@ -73,7 +73,7 @@ % % \fi % -% \CheckSum{986} +% \CheckSum{983} % % \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 @@ -105,7 +105,8 @@ % \changes{v1.0}{2012/02/20}{Works fully with \textsf{microtype} and \textsf{memoir}} % \changes{v1.1}{2012/03/08}{Fixed errors when emitting warnings} % \changes{v1.2}{2012/03/25}{Added tagging features; extensively edited documentation} -% \changes{v1.22}{2012/04/20}{Also capitalize particles on first use} +% \changes{v1.22}{2012/04/20}{Attempted first-use particle caps} +% \changes{v1.24}{2012/04/21}{Reverted functionality and suggested workaround} % % \DoNotIndex{\@empty, \@gobble, \@period, \@token, \if@nameauth@DoComma, \if@nameauth@DoFormat, \if@nameauth@Punct, \if@nameauth@DoIndex, \if@nameauth@Comma, \if@nameauth@DoCaps, \protected@edef, \zap@space, \bfseries, \bgroup, \csgdef, \csundef, \DeclareDocumentCommand, \DeclareOption, \def, \detokenize, \edef, \egroup, \else, \endcsname, \endinput, \ExecuteOptions, \expandafter, \fi, \Forenames, \futurelet \if, \IfBooleanTF, \ifcsname,\IfValueTF, \ifx, \index, \itshape, \let, \newcommand, \newenvironment, \newif, \PackageWarning, \ProcessOptions, \relax, \renewcommand, \RequirePackage, \scshape, \space, \Shortnames, \Surnames, \Surnamesi, \Surnamesii, \Test, \TestDot, \TestEnd, \TestPunct, \TestStop, \uppercase} % @@ -409,7 +410,7 @@ % \subsubsection{Naming Conventions} % % \DescribeMacro{\CapThis} -% English names with the particles \emph{de}, \emph{de\ la}, \emph{d'}, \emph{von}, \emph{van}, and \emph{ten} generally keep them with the last name, using varied capitalization. \emph{Le}, \emph{La}, and \emph{L'} are capitalized unless preceded by \emph{de}. In English, these particles go in the \meta{SNN} field of \cmd{\Name}, e.g., \ForgetName[Walter]{de la Mare}\Name[Walter]{de la Mare}. To capitalize the first particle in a subsequent \cmd{\Name} reference at the beginning of a sentence, use |\CapThis\Name[Walter]{de la Mare}|. \CapThis\Name[Walter]{de la Mare} will think it fair. +% English names with the particles \emph{de}, \emph{de\ la}, \emph{d'}, \emph{von}, \emph{van}, and \emph{ten} generally keep them with the last name, using varied capitalization. \emph{Le}, \emph{La}, and \emph{L'} are capitalized unless preceded by \emph{de}. In English, these particles go in the \meta{SNN} field of \cmd{\Name}, e.g., \ForgetName[Walter]{de la Mare}\Name[Walter]{de la Mare}. To capitalize the first particle in a subsequent \cmd{\Name} reference at the beginning of a sentence, use |\CapThis\Name[Walter]{de la Mare}|. \CapThis\Name[Walter]{de la Mare} will think it fair. \textsc{Du Cange}\IndexName{du Cange}\SubvertName{du Cange} (\AKA{du Cange}[Charles]{du Fresne}) might disagree. For the present, at the start of a sentence, use |\textsc{Du Cange}\IndexName{du Cange}\SubvertName{du Cange}|. % % Names foreign to English usually put these particles in the \meta{FNN} field of \cmd{\Name}. Yet these particles are not first names. Using \cmd{\FName} with alternate forenames avoids the particles. See the examples on page \pageref{FirstVonLast}. @@ -478,8 +479,8 @@ % Ś Ş ş Š š Ţ ţ Ť ť & Ů ů Ű ű & Ź ź Ż ż Ž ž & second use \\ % \end{tabular} % \end{quote} -% -% \noindent One may add control sequences to names, thanks to the help of \Name*[Robert]{Schlicht}. The next example adds more accented characters under \textsf{inputenc}/\textsf{fontenc}: +% \clearpage +% One may add control sequences to names, thanks to the help of \Name*[Robert]{Schlicht}. The next example adds more accented characters under \textsf{inputenc}/\textsf{fontenc}: % \begin{quote}\small % |\usepackage{newunicodechar}|\\ % |\DeclareTextSymbolDefault{\textlongs}{TS1}|\\ @@ -513,9 +514,9 @@ % \hbox{\quad}|\fi|\\ % |\fi| % \end{tabular}\\ -% \medskip +% \clearpage % -% \noindent I used the following in the text itself to allow for conditional processing that helps one document work under multiple engines:\\ +% I used the following in the text itself to allow for conditional processing that helps one document work under multiple engines:\\ % % \begin{tabular}{l} % |\ifxetex |\meta{xelatex text}|%|\\ @@ -839,7 +840,8 @@ % \item Using \cmd{\TagName} to tag a cross-reference. % \item Using \cmd{\ExcludeName} to exclude a name that has already been used. % \end{enumerate} -% +% \clearpage +% % \StopEventually{\PrintChanges\clearpage\PrintIndex} % % \section{Implementation} @@ -1076,14 +1078,12 @@ % \changes{v0.95}{2012/02/17}{Fixed incompatibility with \textsf{microtype}} % \changes{v0.96}{2012/02/19}{Fixed occasional incompatibility with \textsf{memoir}.} % \changes{v1.0}{2012/02/20}{Fixed compatibility issues.} -% \changes{v1.22}{2012/04/20}{Capitalize particles on first use.} % \begin{macrocode} \DeclareDocumentCommand\Name{s o m o}% {% \protected@edef\Surnames{#3}% \if@nameauth@DoCaps% \protected@edef\Shortnames{\@nameauth@CapRoot{#3,}}% - \protected@edef\Surnames{\@nameauth@CapRoot{#3,}}% \else% \protected@edef\Shortnames{\@nameauth@Root{#3,}}% \fi% -- cgit v1.2.3