From 2a6a7fba1491d434954a174b8a7fe2e07d6c104a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 28 Oct 2016 20:57:55 +0000 Subject: nameauth (28oct16) git-svn-id: svn://tug.org/texlive/trunk@42373 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/nameauth/nameauth.dtx | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/source/latex/nameauth/nameauth.dtx') diff --git a/Master/texmf-dist/source/latex/nameauth/nameauth.dtx b/Master/texmf-dist/source/latex/nameauth/nameauth.dtx index 7fb789ddda2..e5b7c97ac09 100644 --- a/Master/texmf-dist/source/latex/nameauth/nameauth.dtx +++ b/Master/texmf-dist/source/latex/nameauth/nameauth.dtx @@ -180,7 +180,7 @@ Running "make install" installs the files in the local TeX tree. %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{nameauth} %<*package> - [2016/10/26 v3.0 Name authority management for consistency in text and index] + [2016/10/27 v3.01 Name authority management for consistency in text and index] % %<*driver> \documentclass[11pt]{ltxdoc} @@ -407,7 +407,7 @@ Running "make install" installs the files in the local TeX tree. % % \fi % -% \CheckSum{3101} +% \CheckSum{3085} % % \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 @@ -3654,21 +3654,20 @@ Running "make install" installs the files in the local TeX tree. % \noindent{\large\bfseries Error Detection} % \begin{macro}{\@nameauth@Error} % \changes{v3.0}{2016/10/26}{Added} +% \changes{v3.01}{2016/10/27}{Fixed} % One can cause \textsf{nameauth} to halt with an error by leaving a required name argument empty, providing an argument that expands to empty, or creating a name root that is empty within a root/suffix pair. % \begin{macrocode} \newcommand*\@nameauth@Error[2] {% - \edef\msg{#2}% - \edef\pkg{nameauth}% - \let\ex\expandafter% - \protected@edef\argb{\trim@spaces{#1}}% - \protected@edef\rootb{\@nameauth@Root{#1}}% - \ifx\argb\@empty - \ex\PackageError\ex{\ex\pkg\ex}\ex{\msg SNN field empty}% - \else - \ifx\rootb\@empty - \ex\PackageError\ex{\ex\pkg\ex}\ex{\msg SNN field malformed}% - \fi + \edef\msga{#2 SNN field empty}% + \edef\msgb{#2 SNN field malformed}% + \protected@edef\testname{\trim@spaces{#1}}% + \protected@edef\testroot{\@nameauth@Root{#1}}% + \ifx\testname\@empty + \PackageError{nameauth}{\msga}% + \fi + \ifx\testroot\@empty + \PackageError{nameauth}{\msgb}% \fi } % \end{macrocode} @@ -3738,6 +3737,7 @@ Running "make install" installs the files in the local TeX tree. } % \end{macrocode} % \end{macro} +% \clearpage % % \begin{macro}{\@nameauth@Parse} % \changes{v3.0}{2016/10/26}{Added} -- cgit v1.2.3