texlive[76172] Master/texmf-dist: nameauth (28aug25)
commits+karl at tug.org
commits+karl at tug.org
Fri Aug 29 16:01:41 CEST 2025
Revision: 76172
https://tug.org/svn/texlive?view=revision&revision=76172
Author: karl
Date: 2025-08-29 16:01:40 +0200 (Fri, 29 Aug 2025)
Log Message:
-----------
nameauth (28aug25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/nameauth/README.md
trunk/Master/texmf-dist/doc/latex/nameauth/compat.tex
trunk/Master/texmf-dist/doc/latex/nameauth/examples.tex
trunk/Master/texmf-dist/doc/latex/nameauth/nameauth.pdf
trunk/Master/texmf-dist/source/latex/nameauth/Makefile
trunk/Master/texmf-dist/source/latex/nameauth/nameauth.dtx
trunk/Master/texmf-dist/tex/latex/nameauth/nameauth.sty
Modified: trunk/Master/texmf-dist/doc/latex/nameauth/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/nameauth/README.md 2025-08-29 13:59:28 UTC (rev 76171)
+++ trunk/Master/texmf-dist/doc/latex/nameauth/README.md 2025-08-29 14:01:40 UTC (rev 76172)
@@ -134,7 +134,7 @@
* Type `make uninstall` to remove the package files in the site-wide, local TDS-compliant directory tree. The user will be prompted for the `sudo` password.
-The approach of `Makefile` is not to get too aggressive with deletions from the texmf tree, just in case. One may see harmless, extra, empty directories after removal. One can delete them manually.
+`Makefile` will produce listings from the remaining texmf trees after uninstalling the package.
## 4.2 Manual Building and Installation
@@ -275,7 +275,7 @@
* This release was tested on Linux (Pop! OS; vanilla TL, both current and 2017) and Windows 10 (MikTeX using shells from both Cygwin and WSL). Using TL 2017, this release was tested on the full manuscript of the published volume, *Breath of God, Yet Work of Man: Scripture, Philosophy, Dialogue, and Conflict*, with Dr. Albert B. Collver III.
-* The CTAN release was created with the current vanilla TL on Pop! OS. See also [this page](https://tug.org/texlive/debian.html) for Debian-based systems. For Arch-based systems, the AUR has a package that takes care of dependencies.
+* The CTAN release was created with the current vanilla TL on Pop! OS. See also [this page](https://wiki.debian.org/TeXLive) for Debian-based systems. For Arch-based systems, the AUR has a package that takes care of dependencies.
* TeXlive versions are managed on Pop! OS using [tl-switch](https://github.com/ServusCarolus/tl-switch).
Modified: trunk/Master/texmf-dist/doc/latex/nameauth/compat.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/nameauth/compat.tex 2025-08-29 13:59:28 UTC (rev 76171)
+++ trunk/Master/texmf-dist/doc/latex/nameauth/compat.tex 2025-08-29 14:01:40 UTC (rev 76172)
@@ -40,11 +40,11 @@
% Check against the latex version date. Create a macro
% if the date is at least 2018/10/05 because that is
% when Unicode processing changed for the better.
- \@ifl at t@r\fmtversion{2018/10/05}{\newcommand\nameauthltx{}}{}
+ \@ifl at t@r\fmtversion{2018/10/05}{\newcommand*\nameauthltx{}}{}
% Here we check for 2018/04/30 because that is when xparse
% added the ! modifier.
- \@ifl at t@r\fmtversion{2018/04/30}{\newcommand\nameauthxp{}}{}
+ \@ifl at t@r\fmtversion{2018/04/30}{\newcommand*\nameauthxp{}}{}
% Here we assist backward compatibility for older
% distributions of LaTeX and compatibility for multiple
@@ -51,7 +51,7 @@
% LaTeX engines.
% If we want to use TikZ, this flag will help us.
- % We use this method to avoid crashing some \texttt{dvi}
+ % We use this method to avoid crashing some dvi
% viewers. Define the macro \noTikZ to bypass this check.
\newif\ifDoTikZ
Modified: trunk/Master/texmf-dist/doc/latex/nameauth/examples.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/nameauth/examples.tex 2025-08-29 13:59:28 UTC (rev 76171)
+++ trunk/Master/texmf-dist/doc/latex/nameauth/examples.tex 2025-08-29 14:01:40 UTC (rev 76172)
@@ -418,21 +418,22 @@
\subsection{New Format, Front Matter}
\NamesInactive
+The new format (front matter):\NamesInactive
+
\Name{Vlad, III}[III Dracula], known as
-\IndexRef{Vlad, Ţepeş}{Vlad III}
-\SubvertThis\Name*{Vlad, Ţepeş}
-(\Name*{Vlad, Ţepeş}[the Impaler])
+\IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}%
+\SubvertThis\Name*{Vlad, {\c T}epe{\c s}}
+(\Name*{Vlad, {\c T}epe{\c s}}[the Impaler])
after his death, was the son of \Name{Vlad, II}[II Dracul],
a member of the Order of the Dragon. Later instances of
``\Name*{Vlad, III}'' and ``\Name{Vlad, III}'' appear thus.
-\subsection{New Format, Main Matter}
-\NamesActive
+The new format (main matter):\NamesActive
\Name{Vlad, III}[III Dracula], known as
-\IndexRef{Vlad, Ţepeş}{Vlad III}
-\SubvertThis\Name*{Vlad, Ţepeş}
-(\Name*{Vlad, Ţepeş}[the Impaler])
+\IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}%
+\SubvertThis\Name*{Vlad, {\c T}epe{\c s}}
+(\Name*{Vlad, {\c T}epe{\c s}}[the Impaler])
after his death, was the son of \Name{Vlad, II}[II Dracul],
a member of the Order of the Dragon. Later instances of
``\Name*{Vlad, III}'' and ``\Name{Vlad, III}'' appear thus.
@@ -440,13 +441,13 @@
\let\NamesFormat\OldFormat
\let\FrontNamesFormat\OldFrontNames
-\subsection{Old Format, Front and Main}
+We are back in the old format.
-\NamesInactive In the front matter we see:
+in the front matter we see: \NamesInactive
\ForgetThis\Name{Vlad, III}[III Dracula],
-\Name*{Vlad, III}, and \Name{Vlad, III}.\\
+\Name*{Vlad, III}, and \Name{Vlad, III}.
-\NamesActive\noindent In the main matter we see:
+in the main matter we see: \NamesActive
\ForgetThis\Name{Vlad, III}[III Dracula],
\Name*{Vlad, III}, and \Name{Vlad, III}.
Modified: trunk/Master/texmf-dist/doc/latex/nameauth/nameauth.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/nameauth/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/latex/nameauth/Makefile 2025-08-29 13:59:28 UTC (rev 76171)
+++ trunk/Master/texmf-dist/source/latex/nameauth/Makefile 2025-08-29 14:01:40 UTC (rev 76172)
@@ -59,7 +59,7 @@
#
# make examples
#
-# Compile examples file with all different engines.
+# Compile examples file with different engines.
#
# make examples ENGINE=xelatex
# make examples ENGINE=lualatex
@@ -71,7 +71,7 @@
#
# make tests
#
-# Compile test files with all different engines.
+# Compile test files with different engines.
#
# make tests ENGINE=xelatex
# make tests ENGINE=lualatex
@@ -108,7 +108,7 @@
#
# -----------------------------------------------
#
-# Programs necessary to execute this make file:
+# Programs necessary to make this package:
#
# POSIX Build Utilities
# bash
@@ -115,6 +115,7 @@
# make
# sed
# zip
+#
# TeX Distro Programs
# pdflatex
# pdftex
@@ -139,6 +140,7 @@
#
# POSIX Build Utilities
# dvipdf
+#
# TeX Distro Programs
# pdfjam
#
@@ -164,41 +166,27 @@
# LaTeX engines to use for building the package and for typesetting
# the examples file and testing files; below is the default.
-# One can choose from latex, pdflatex, xelatex, lualatex, dvilualatex.
+# We ttest if we are on Windows by adding a .exe extension.
+
+EXT = .exe
+
ENGINE ?= pdflatex
-BUILDENGINE := $(shell command -v pdflatex 2> /dev/null)
-TESTENGINE := $(shell command -v $(ENGINE) 2> /dev/null)
+BUILDENGINE := $(shell command -v pdflatex$(EXT) 2> /dev/null)
+TESTENGINE := $(shell command -v $(ENGINE)$(EXT) 2> /dev/null)
-# If we cannot find the engine, add a .exe extension and try that instead.
-# This usually occurs only when using WSL and a Windows-native TeX distro.
+# If we cannot find the engine, try the version without an extension.
ifeq ($(strip $(BUILDENGINE)),)
- BUILDENGINE = pdflatex
- EXT = .exe
-else
- BUILDENGINE = pdflatex
- EXT =
+EXT =
+BUILDENGINE := $(shell command -v pdflatex$(EXT) 2> /dev/null)
endif
ifeq ($(strip $(TESTENGINE)),)
- TESTENGINE = $(ENGINE)
- EXT = .exe
-else
- TESTENGINE = $(ENGINE)
- EXT =
+EXT =
+TESTENGINE := $(shell command -v $(ENGINE)$(EXT) 2> /dev/null)
endif
-# Now if we still can't find things, something is very wrong.
-
-ifeq ($(strip $(BUILDENGINE)$(EXT)),)
- $(error Cannot find $(BUILDENGINE). Please check your installation.")
-endif
-
-ifeq ($(strip $(TESTENGINE)$(EXT)),)
- $(error Cannot find $(TESTENGINE). Please check your installation.")
-endif
-
# Get package version info; check if not available in some environments.
# Create a zip file name that will not cause problems, e.g., in Windows.
@@ -211,7 +199,7 @@
endif
# Determine which dvi to pdf converter to use. If Ghostscript is installed
-# use dvipdf, otherwise dvipdfmx.
+# use dvipdf, otherwise dvipdfmx. Do not use Ghostscript on Windows.
DVIPDF := $(shell command -v dvipdf 2> /dev/null)
@@ -218,8 +206,12 @@
ifeq ($(strip $(DVIPDF)),)
DVIPDF = dvipdfmx
else
+ifneq ($(strip $(EXT)),)
+ DVIPDF = dvipdfmx
+else
DVIPDF = dvipdf
endif
+endif
# Test if pdfjam is available.
@@ -267,11 +259,15 @@
# This is the recipe for the package and the docs.
$(NAME).pdf : $(NAME).sty
- $(BUILDENGINE)$(EXT) $(BUILDOPTS) $(ADDOPTS) $(NAME).dtx > /dev/null
+ifeq ($(strip $(BUILDENGINE)),)
+ $(error Cannot find engine for building.\
+ Please check your installation)
+endif
+ $(BUILDENGINE) $(BUILDOPTS) $(ADDOPTS) $(NAME).dtx > /dev/null
makeindex$(EXT) -q -s gglo.ist -o $(NAME).gls $(NAME).glo
makeindex$(EXT) -q -s gind.ist -o $(NAME).ind $(NAME).idx
- $(BUILDENGINE)$(EXT) $(BUILDOPTS) $(ADDOPTS) $(NAME).dtx > /dev/null
- $(BUILDENGINE)$(EXT) $(BUILDOPTS) $(ADDOPTS) $(NAME).dtx > /dev/null
+ $(BUILDENGINE) $(BUILDOPTS) $(ADDOPTS) $(NAME).dtx > /dev/null
+ $(BUILDENGINE) $(BUILDOPTS) $(ADDOPTS) $(NAME).dtx > /dev/null
# This is the core dependency. When run we get all extracted files:
# README.md, nameauth.ins, nameauth.sty, examples.tex, and the test
@@ -278,7 +274,7 @@
# files as well.
$(NAME).sty : $(NAME).dtx
- $(BUILDENGINE)$(EXT) $(COREOPTS) $(ADDOPTS) $(NAME).dtx > /dev/null
+ $(BUILDENGINE) $(COREOPTS) $(ADDOPTS) $(NAME).dtx > /dev/null
#
# Examples and Testing Section
@@ -303,7 +299,7 @@
# Regardless of what engine is used for tests, one must use the
# build engine (pdflatex) to extract the tests.
-TESTFILES = $(BUILDENGINE)$(EXT) \
+TESTFILES = $(BUILDENGINE) \
"\def\NameauthDoTestFiles{}\input{nameauth.dtx}" \
> /dev/null
@@ -317,14 +313,18 @@
# indexes, those with multiple indexes, and with or without TOC.
%.pdf : %.tex
- $(TESTENGINE)$(EXT) $(TESTOPTS) $< > /dev/null
- $(TESTENGINE)$(EXT) $(TESTOPTS) $< > /dev/null
+ifeq ($(strip $(TESTENGINE)),)
+ $(error Cannot find engine $(ENGINE) for building.\
+ Please check your installation)
+endif
+ $(TESTENGINE) $(TESTOPTS) $< > /dev/null
+ $(TESTENGINE) $(TESTOPTS) $< > /dev/null
if [ -f $*.idx ]; \
then makeindex$(EXT) -q -o $*.ind $*.idx > /dev/null; fi
if [ -f $*.rdx ]; \
then makeindex$(EXT) -q -o $*.rnd $*.rdx > /dev/null; fi
- $(TESTENGINE)$(EXT) $(TESTOPTS) $< > /dev/null
- $(TESTENGINE)$(EXT) $(TESTOPTS) $< > /dev/null
+ $(TESTENGINE) $(TESTOPTS) $< > /dev/null
+ $(TESTENGINE) $(TESTOPTS) $< > /dev/null
if [ -f $*.dvi ]; then $(DVIPDF)$(EXT) $*; fi
if [ -f $*.out.ps ]; then rm $*.out.ps; fi
@@ -422,8 +422,8 @@
$(error "Unable to install; no path to user tree." )
else
mkdir -p $(UTREE)/{tex,source,doc}/latex/$(NAME)
+ cp Makefile $(UTREE)/source/latex/$(NAME)
cp $(NAME).dtx $(UTREE)/source/latex/$(NAME)
- cp Makefile $(UTREE)/source/latex/$(NAME)
cp $(NAME).sty $(UTREE)/tex/latex/$(NAME)
cp $(NAME).pdf $(UTREE)/doc/latex/$(NAME)
cp *.tex $(UTREE)/doc/latex/$(NAME)
@@ -495,9 +495,10 @@
rm -f $(NAME)*.zip
ln -sf . $(NAME)
zip -Drq $(PWD)/$(ZIPNAME).zip \
- $(NAME)/{Makefile,\
+ $(NAME)/{Makefile,README.md,\
cat01.pdf,beamer01.pdf,beamer02.pdf,beamer03.pdf,\
- $(NAME).dtx,\
- compat.tex,examples.tex,$(NAME).pdf,README.md}
+ compat.tex,examples.tex,\
+ $(NAME).{dtx,pdf}}
rm $(NAME)
@echo "Zip file has been made successfully."
+
Modified: trunk/Master/texmf-dist/source/latex/nameauth/nameauth.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/nameauth/nameauth.dtx 2025-08-29 13:59:28 UTC (rev 76171)
+++ trunk/Master/texmf-dist/source/latex/nameauth/nameauth.dtx 2025-08-29 14:01:40 UTC (rev 76172)
@@ -159,7 +159,7 @@
* Type `make uninstall` to remove the package files in the site-wide, local TDS-compliant directory tree. The user will be prompted for the `sudo` password.
-The approach of `Makefile` is not to get too aggressive with deletions from the texmf tree, just in case. One may see harmless, extra, empty directories after removal. One can delete them manually.
+`Makefile` will produce listings from the remaining texmf trees after uninstalling the package.
## 4.2 Manual Building and Installation
@@ -300,7 +300,7 @@
* This release was tested on Linux (Pop! OS; vanilla TL, both current and 2017) and Windows 10 (MikTeX using shells from both Cygwin and WSL). Using TL 2017, this release was tested on the full manuscript of the published volume, *Breath of God, Yet Work of Man: Scripture, Philosophy, Dialogue, and Conflict*, with Dr. Albert B. Collver III.
-* The CTAN release was created with the current vanilla TL on Pop! OS. See also [this page](https://tug.org/texlive/debian.html) for Debian-based systems. For Arch-based systems, the AUR has a package that takes care of dependencies.
+* The CTAN release was created with the current vanilla TL on Pop! OS. See also [this page](https://wiki.debian.org/TeXLive) for Debian-based systems. For Arch-based systems, the AUR has a package that takes care of dependencies.
* TeXlive versions are managed on Pop! OS using [tl-switch](https://github.com/ServusCarolus/tl-switch).
@@ -539,7 +539,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<package>\ProvidesPackage{nameauth}
%<*package>
- [2025/02/04 4.1 Name authority mechanism for consistency in text and index]
+ [2025/08/27 4.2 Name authority mechanism for consistency in text and index]
%</package>
%
%<*driver>
@@ -652,7 +652,7 @@
%^^A ----- Names, the reason for it all -----
%^^A Include specifically the current version of the package.
-\usepackage{\jobname}[2025/02/04]
+\usepackage{\jobname}[2025/08/27]
%^^A Set up the ``actual'' character
\IndexActual{=}
@@ -961,7 +961,7 @@
\noexpand\textSC{Medici} & >
\< Miyazaki & & Miyazaki, Hayao & >
\< MSens & & Miyazaki, Hayao & Sensei >
- \< Molnar & Frenec & Molnár & >
+ \< Molnar & Ferenc & Molnár & >
\< Noguchi & Hideyo & Noguchi & >
\< Patton & George S. & Patton, Jr. & >
\< Plato & & Plato & >
@@ -1041,6 +1041,7 @@
\PretagName[Jean de]{La Fontaine}{LaFontaine, Jean de}
\PretagName[Manuel Antonio]{Las Heras}{LasHeras, Manuel}
+\PretagName[Werner]{\noexpand\textSC{Lemberg}}{Lemberg, Werner}
\PretagName[Pierre]{L'Enfant}{LEnfant, Pierre}
\PretagName[Ada]{\noexpand\textIT{Lovelace}}{Lovelace, Ada}
\PretagName[Martin]{\noexpand\textSC{Luther}}{Luther, Martin}
@@ -1048,11 +1049,12 @@
\PretagName[Catherine \noexpand\AltCaps{d}e']{\noexpand\textSC{Medici}}
{Medici, Catherine de}
\PretagName{\noexpand\textSC{Misora}, Hibari}{Misora Hibari}
-\PretagName[Frenec]{Molnár}{Molnar, Frenec}
+\PretagName[Ferenc]{Molnár}{Molnar, Ferenc}
\PretagName[Sandra Day]{O'Connor}{OConnor, Sandra}
\PretagName{Ptolemy, IV}{Ptolemy 4}
+
\PretagName{Ptolemy, V}{Ptolemy 5}
\PretagName[J.D.]{Rockefeller, IV}{Rockefeller, John D 4}
@@ -1173,10 +1175,11 @@
\TagName[Jean de]{La Fontaine}{|hyperpage}
\TagName{Lao-tzu}{|hyperpage}
\TagName[Manuel Antonio]{Las Heras}{|hyperpage}
+\TagName[Werner]{\noexpand\textSC{Lemberg}}{|hyperpage}
\TagName[Pierre]{L'Enfant}{|hyperpage}
\TagName[Clive Staples]{Lewis}{|hyperpage}
\TagName[Abraham]{Lincoln}{, pres.|hyperpage}
-\TagName[Frenec]{Liszt}{\dag|hyperpage}
+\TagName[Ferenc]{Liszt}{\dag|hyperpage}
\TagName[Titus]{Livius}{|hyperpage}
\TagName{Llywelyn, ap Gruffudd}{, prince|hyperpage}
\TagName{Louis, XIV}{, king|hyperpage}
@@ -1194,7 +1197,7 @@
\TagName{\noexpand\textSC{Mencius}}{|hyperpage}
\TagName{Miyazaki, Hayao}{|hyperpage}
\TagName[L.M.]{Montgomery}{|hyperpage}
-\TagName[Frenec]{Molnár}{\dag|hyperpage}
+\TagName[Ferenc]{Molnár}{\dag|hyperpage}
\TagName[Nancy C.]{Mulvany}{|hyperpage}
\TagName{Nippon Gakki}{|hyperpage}
@@ -1307,6 +1310,7 @@
% \changes{3.7}{2023/02/03}{Major updates to all files}
% \changes{4.0}{2024/02/09}{Update included files}
% \changes{4.1}{2025/02/04}{Update included files}
+% \changes{4.2}{2025/08/27}{Update included files}
%
%
%^^A @@@@@ Administrative Setup @@@@@
@@ -1488,7 +1492,7 @@
%
% \subsection*{Thanks}
%
-% For assistance at various times, thanks to \Name[Marc van]{Dongen}, \Name[Enrico]{Gregorio}, \Name[Philipp]{Stephani}, \Name[Heiko]{Oberdiek}, \Name[Uwe]{Lueck}, \Name[Dan]{Luecking}, \Name[Robert]{Schlicht}, and others.\\[1ex]
+% For assistance, thanks to \Name[Marc van]{Dongen}, \Name[Enrico]{Gregorio}, \Name[Philipp]{Stephani}, \Name[Heiko]{Oberdiek}, \Name[Uwe]{Lueck}, \Name[Dan]{Luecking}, \Name[Robert]{Schlicht}, \AltFormatActive \Name[Werner]{\noexpand\textSC{Lemberg}}, \AltFormatInactive and others.\\[1ex]
% \hbox{}\hfil \LA{In memoriam} \Name[Robin]{Fairbairns}\\[1ex]
% He was very kind when I first uploaded \textsf{nameauth}, and gracious thereafter as well.
%
@@ -1599,6 +1603,7 @@
% \newpage
%
% \VerbatimInput[gobble=0,firstline=16]{\NameauthTestFile}
+% \end{Quote}
%
% \textbf{Group 1}
% \begin{enumerate}
@@ -1627,7 +1632,6 @@
% of character and talents that neither slavery nor caste
% proscription could crush.
% \end{enumerate}
-% \end{Quote}
%
% The goal of this example is to suggest that, if one has a project typeset using \LaTeX, it takes a lot of time and attention to ensure the proper appearance of names. If a unit of text gets moved somewhere else, the knock-on effect could involve re-examining many names to see if their forms are acceptable. Our mission is to automate the editing process to a degree and let names take care of themselves.
%
@@ -1829,7 +1833,7 @@
%
% Name forms in the text can be changed independently of their index entries. This is necessary for cases like Hungarian names, Roman names, or when a publisher wants to use Western index entry forms with Eastern names.
%
-% For example, the Hungarian name \RevName\Name[Frenec]{Liszt}\dag\ has the index entry ``\ShowIdxPageref*{}''. We used the macro arguments for Western names to get the correct index entry, but we reversed the name in the text via |\RevName\Name[Frenec]{Liszt}|. \IndexRef[Franz]{Liszt}{Liszt, Frenec}\Name[Franz]{Liszt} is his equivalent German name, cross-referenced to the Hungarian form.
+% For example, the Hungarian name \RevName\Name[Ferenc]{Liszt}\dag\ has the index entry ``\ShowIdxPageref*{}''. We used the macro arguments for Western names to get the correct index entry, but we reversed the name in the text via |\RevName\Name[Ferenc]{Liszt}|. \IndexRef[Franz]{Liszt}{Liszt, Ferenc}\Name[Franz]{Liszt} is his equivalent German name, cross-referenced to the Hungarian form.
%
% \subsubsection*{\hfil \textbf{Name arguments determine index entries.}}
%
@@ -2209,17 +2213,17 @@
%
% \subsubsection*{\hfil Starting with Western Name Forms}
%
-% Reversed Western forms (as with Hungarian and other names) start out as Western names before we put them into reverse order. They retain Western index entries [\hyperlink{Mulvany}{Mulvany}, 166]. Without being reversed, they look like:\footnote{Regarding the margin note that shows name patterns, with \texttt{pdflatex} and \texttt{latex} using \textsf{inputenc} and \textsf{fontenc}, in \texttt{\ShowPattern[Frenec]{Molnár}} the glyphs \texttt{Ãą} correspond to \cmd{\IeC\{\textbackslash\textquotesingle a\}}.}
+% Reversed Western forms (as with Hungarian and other names) start out as Western names before we put them into reverse order. They retain Western index entries [\hyperlink{Mulvany}{Mulvany}, 166]. Without being reversed, they look like:\footnote{Regarding the margin note that shows name patterns, with \texttt{pdflatex} and \texttt{latex} using \textsf{inputenc} and \textsf{fontenc}, in \texttt{\ShowPattern[Ferenc]{Molnár}} the glyphs \texttt{Ãą} correspond to \cmd{\IeC\{\textbackslash\textquotesingle a\}}.}
%
-% \BothInfo[5ex]{\ShowPattern[Frenec]{Molnár}\break
+% \BothInfo[5ex]{\ShowPattern[Ferenc]{Molnár}\break
% \ShowPattern[Hideyo]{Noguchi}}
% {\ShowIdxPageref*[Hideyo]{Noguchi}\break
-% \ShowIdxPageref*[Frenec]{Molnár}}
+% \ShowIdxPageref*[Ferenc]{Molnár}}
% \begin{Block}
-% \FUse \Name[Frenec]{Molnár}\dotfill^^A
-% |\Name[Frenec]{Molnár}|\\
-% \LUse \Name[Frenec]{Molnár}\dotfill^^A
-% |\Name[Frenec]{Molnár}|\\
+% \FUse \Name[Ferenc]{Molnár}\dotfill^^A
+% |\Name[Ferenc]{Molnár}|\\
+% \LUse \Name[Ferenc]{Molnár}\dotfill^^A
+% |\Name[Ferenc]{Molnár}|\\
% \FUse \Name[Hideyo]{Noguchi}\dotfill^^A
% |\Name[Hideyo]{Noguchi}|\\
% \LUse \Name[Hideyo]{Noguchi}\dotfill^^A
@@ -2233,10 +2237,10 @@
% We use \cmd{\RevName} and optionally \cmd{\CapName} (Section~\ref{sec:AllCaps}) to print reversed names in the text without changing the Western forms of their index entries. They function well in context, not arbitrarily:
%
% \begin{Block}
-% \FUse \ForgetThis\RevName\Name[Frenec]{Molnár}\dag\\
-% \UseB |\RevName\Name[Frenec]{Molnár}\dag|\\
-% \LUse \RevName\Name[Frenec]{Molnár}\dag\\
-% \UseB |\RevName\Name[Frenec]{Molnár}\dag|\\
+% \FUse \ForgetThis\RevName\Name[Ferenc]{Molnár}\dag\\
+% \UseB |\RevName\Name[Ferenc]{Molnár}\dag|\\
+% \LUse \RevName\Name[Ferenc]{Molnár}\dag\\
+% \UseB |\RevName\Name[Ferenc]{Molnár}\dag|\\
% \FUse \ForgetThis\CapName\RevName\Name[Hideyo]{Noguchi}[Sensei]\dag\\
% \UseB |\CapName\RevName\Name[Hideyo]{Noguchi}[Sensei]\dag|\\
% \LUse \CapName\RevName\Name[Hideyo]{Noguchi}[Sensei]\dag\\
@@ -2578,7 +2582,7 @@
% \< JWG & J.W. von & Goethe & >
% % Reversed Western Forms
% \< Noguchi & Hideyo & Noguchi & >
-% \< Molnar & Frenec & Molnár & >
+% \< Molnar & Ferenc & Molnár & >
% % ``Native'' Eastern Forms
% \< Miyazaki & & Miyazaki, Hayao & >
% % Royal, Medieval, and Ancient Forms
@@ -3599,8 +3603,8 @@
% \NewDocumentCommand{\Nameii}{O{} m !O{}}
% {\providecommand\Opt{#3}\ifx\Opt\empty #1\ #2\else \Opt\ #2\fi}
%
-% |\Namei: | \Namei[Person1]{Family1} [something1]\\[1ex]
-% |\Nameii:| \Nameii[Person2]{Family2} [something2]
+% \cmd{\Namei: } \Namei[Person1]{Family1} [something1]\\[1ex]
+% \cmd{\Nameii:} \Nameii[Person2]{Family2} [something2]
% \end{Verbatim}
%
% \ifdefined\nameauthxp%^^A
@@ -3608,13 +3612,13 @@
% {\providecommand\Opt{#3}\ifx\Opt\empty #1\ #2\else \Opt\ #2\fi}
% \NewDocumentCommand{\Nameii}{O{} m !O{}}
% {\providecommand\Opt{#3}\ifx\Opt\empty #1\ #2\else \Opt\ #2\fi}
-% |\Namei: | \Namei[Person1]{Family1} [something1]\\[1ex]
-% |\Nameii:| \Nameii[Person2]{Family2} [something2]%^^A
+% \cmd{\Namei: } \Namei[Person1]{Family1} [something1]\\[1ex]
+% \cmd{\Nameii:} \Nameii[Person2]{Family2} [something2]%^^A
% \else
% \NewDocumentCommand {\Namei}{O{} m O{}}
% {\providecommand\Opt{#3}\ifx\Opt\empty #1\ #2\else \Opt\ #2\fi}
-% |\Namei: | \Namei[Person1]{Family1} [something1]\\[1ex]
-% |\Nameii:| (\LaTeX\ too old)%^^A
+% \cmd{\Namei: } \Namei[Person1]{Family1} [something1]\\[1ex]
+% \cmd{\Nameii:} (\LaTeX\ too old)%^^A
% \fi
% \end{Quote}
% \begin{itemize}
@@ -4912,7 +4916,7 @@
%
% \item We use \cmd{\TagName} (Section~\ref{sec:IndexTag}) to ensure that added information is displayed in the index:
% \PatInfo[1ex]{\ShowPattern{Antiochus, IV}!TAG}
-% \item[] \cmd{\TagName\{Antiochus, IV]\}\{ Epiphanes, king\}}.
+% \item[] \cmd{\TagName\{Antiochus, IV\}\{ Epiphanes, king\}}.
%
% \item Using \cmd{\PretagName} and \cmd{\TagName} in the preamble ensures consistency.
%
@@ -4987,7 +4991,7 @@
% \subsection{Roman Names I}
% \label{sec:Romani}
%
-% In this section we take a simple approach. Later on we will useh macros in the arguments (Section~\ref{sec:Romanii}). Roman names consist of the following elements:
+% In this section we take a simple approach. Later on we will use macros in the arguments (Section~\ref{sec:Romanii}). Roman names consist of the following elements:
% \begin{itemize}
% \item A personal name (\LA{praenomen})
%
@@ -5380,9 +5384,11 @@
%^^A
% \begin{Quote}
% \VerbatimInput[gobble=0]{\jobname.tmp}
+% \end{Quote}
%
+% \bgroup\small
% \input{\jobname.tmp}
-% \end{Quote}
+% \egroup
%
% This demonstrates the basic functioning of \textsf{nameauth}. The base name pattern always has an affix that tells what kind of name or related element it is, and in what context it belongs. Basic name patterns correlate with consistent index entries; printed name forms may vary. Western name patterns have a bang and a comma; Non-Western name patterns have a comma or nothing.
% \begin{Center}
@@ -5517,7 +5523,7 @@
% \end{enumerate}\IndexActive
% \negmedskip
% \begin{InfoBox}
-% In \meta{SNN\textbf{,}Affix} apply macros seperately to \meta{SNN} and \meta{Affix}.
+% In \meta{SNN\textbf{,}Affix} apply macros separately to \meta{SNN} and \meta{Affix}.
% \end{InfoBox}
%
% There are several ways to make different names out of otherwise identical names. They vary in complexity. Among the methods we have:
@@ -5742,7 +5748,7 @@
%
% (Quantum mechanics is quite significant. But an inner voice tells me
% that it is not yet the right [path]. The theory delivers much, but
-% it brings us hardly any closer to the secret of the Ancient of Days.
+% it brings us hardly any closer to the secret of God.
% In any case, I am convinced that He does not throw dice.)
% \index{scientists, quotes of\noexpand\string|hyperpage}
% \end{Quotation}
@@ -6280,8 +6286,8 @@
% {\meta{destroyed}}}}
% {\meta{excluded}}.
%
-% \item Making another xref\IndexRef{Mr. Baseball}{Uecker, Bob} creates
-% \IfAKA{Mr. Baseball}
+% \item Making another xref\IndexRef{Mr. Baseball}{Uecker, Bob}
+% creates \IfAKA{Mr. Baseball}
% {\meta{an xref}}{\meta{a name}}{\meta{excluded}}.
% \end{itemize}
% \end{VerbatimOut}
@@ -6290,9 +6296,9 @@
% \Info[3ex]{\hrule\strut Here we test indexing rules:\break
% \Name{Yamaha, Torakusu}\label{page:Idx4}\strut\hrule}
% \VerbatimInput[gobble=0]{\jobname.tmp}
+% \end{Quote}
%
% \input{\jobname.tmp}
-% \end{Quote}
%
% Cross-references get more protection than exclusions:
% \PatInfo[3ex]{\ShowPattern[J.D.]{Rockefeller, IV}!MN\break
@@ -6320,11 +6326,13 @@
% \end{VerbatimOut}
%^^A
% \begin{Quote}
-% \VerbatimInput[gobble=0]{\jobname.tmp}
+% \VerbatimInput[gobble=0,lastline=14]{\jobname.tmp}
%
-% \input{\jobname.tmp}
+% \VerbatimInput[gobble=0,firstline=15]{\jobname.tmp}
% \end{Quote}
%
+% \input{\jobname.tmp}
+%
% \begin{InfoBox}
% Using \cmd{\IncludeName*} is necessary when creating index sub-entries for a name using \cmd{\IndexTag}. If one creates a cross-reference in any sub-entry of a name, \cmd{\IncludeName*} will permit additional page entries to be made for the other sub-entries of that name or for the name itself. See Section~\ref{sec:CatSub}.
% \end{InfoBox}
@@ -7861,25 +7869,21 @@
% \input{\jobname.tmp}
% \end{Quote}
%
-% Now we test for |\Name{Elizabeth,I}|, a name that has occurred, and we also show the difference between local and global test paths. We see that the default keeps local any assignments made in the test paths:
+% Now we test for |\Name{Elizabeth,I}|, which has occurred, and show how local and global test paths differ with respect to scope. At least some \LaTeX\ commands that define macros will behave differently than \cmd{\def}:
%^^A
% \begin{VerbatimOut}{\jobname.tmp}
% \GlobalNameTest
-% \providecommand\msg{We are unsure about \LEliz}
-%
+% \def\msg{We reserve judgment on \LEliz}
% \IfMainName{Elizabeth,I}
-% {\providecommand\msg{We really do know of \LEliz}}
-% {\providecommand\msg{We do not know of \LEliz}}
-%
+% {\def\msg{\LEliz\ is Gloriana!}}
+% {\def\msg{We do not know of \LEliz}}
% \parbox{0.4\textwidth}{\msg} (\cmd{\GlobalNameTest}).
%
% \LocalNameTest
-% \providecommand\msg{We are unsure about \LEliz}
-%
+% \def\msg{We reserve judgment on \LEliz}
% \IfMainName{Elizabeth,I}
-% {\providecommand\msg{We really do know of \LEliz}}
-% {\providecommand\msg{We do not know of \LEliz}}
-%
+% {\def\msg{\LEliz\ is Gloriana!}}
+% {\def\msg{We do not know of \LEliz}}
% \parbox{0.4\textwidth}{\msg} (\cmd{\LocalNameTest}).
% \end{VerbatimOut}
%^^A
@@ -8646,7 +8650,7 @@
% The new format (front matter):\NamesInactive
%
% \Name{Vlad, III}[III Dracula], known as
-% \IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}
+% \IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}%
% \SubvertThis\Name*{Vlad, {\c T}epe{\c s}}
% (\Name*{Vlad, {\c T}epe{\c s}}[the Impaler])
% after his death, was the son of \Name{Vlad, II}[II Dracul],
@@ -8656,7 +8660,7 @@
% The new format (main matter):\NamesActive
%
% \Name{Vlad, III}[III Dracula], known as
-% \IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}
+% \IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}%
% \SubvertThis\Name*{Vlad, {\c T}epe{\c s}}
% (\Name*{Vlad, {\c T}epe{\c s}}[the Impaler])
% after his death, was the son of \Name{Vlad, II}[II Dracul],
@@ -8699,7 +8703,7 @@
% The new format (front matter):\NamesInactive
%
% \Name{Vlad, III}[III Dracula], known as
-% \IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}
+% \IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}^^A
% \SubvertThis\Name*{Vlad, {\c T}epe{\c s}}
% (\Name*{Vlad, {\c T}epe{\c s}}[the Impaler])
% after his death, was the son of \Name{Vlad, II}[II Dracul],
@@ -8709,7 +8713,7 @@
% The new format (main matter):\NamesActive
%
% \Name{Vlad, III}[III Dracula], known as
-% \IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}
+% \IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}^^A
% \SubvertThis\Name*{Vlad, {\c T}epe{\c s}}
% (\Name*{Vlad, {\c T}epe{\c s}}[the Impaler])
% after his death, was the son of \Name{Vlad, II}[II Dracul],
@@ -8798,7 +8802,7 @@
%
% We mention \Name[Mustafa]{Kemal}
% and \Name{Atat\"urk} again. Likewise, we can trigger a
-% first use, but with no name tag tag:
+% first use, but with no name tag:
% \NoTagtrue\ForgetThis\Name{Atat\"urk}.
%
% \printindex
@@ -15293,11 +15297,11 @@
% Check against the latex version date. Create a macro
% if the date is at least 2018/10/05 because that is
% when Unicode processing changed for the better.
- \@ifl at t@r\fmtversion{2018/10/05}{\newcommand\nameauthltx{}}{}
+ \@ifl at t@r\fmtversion{2018/10/05}{\newcommand*\nameauthltx{}}{}
% Here we check for 2018/04/30 because that is when xparse
% added the ! modifier.
- \@ifl at t@r\fmtversion{2018/04/30}{\newcommand\nameauthxp{}}{}
+ \@ifl at t@r\fmtversion{2018/04/30}{\newcommand*\nameauthxp{}}{}
% Here we assist backward compatibility for older
% distributions of LaTeX and compatibility for multiple
@@ -15304,7 +15308,7 @@
% LaTeX engines.
% If we want to use TikZ, this flag will help us.
- % We use this method to avoid crashing some \texttt{dvi}
+ % We use this method to avoid crashing some dvi
% viewers. Define the macro \noTikZ to bypass this check.
\newif\ifDoTikZ
@@ -15798,21 +15802,22 @@
\subsection{New Format, Front Matter}
\NamesInactive
+The new format (front matter):\NamesInactive
+
\Name{Vlad, III}[III Dracula], known as
-\IndexRef{Vlad, Ţepeş}{Vlad III}
-\SubvertThis\Name*{Vlad, Ţepeş}
-(\Name*{Vlad, Ţepeş}[the Impaler])
+\IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}%
+\SubvertThis\Name*{Vlad, {\c T}epe{\c s}}
+(\Name*{Vlad, {\c T}epe{\c s}}[the Impaler])
after his death, was the son of \Name{Vlad, II}[II Dracul],
a member of the Order of the Dragon. Later instances of
``\Name*{Vlad, III}'' and ``\Name{Vlad, III}'' appear thus.
-\subsection{New Format, Main Matter}
-\NamesActive
+The new format (main matter):\NamesActive
\Name{Vlad, III}[III Dracula], known as
-\IndexRef{Vlad, Ţepeş}{Vlad III}
-\SubvertThis\Name*{Vlad, Ţepeş}
-(\Name*{Vlad, Ţepeş}[the Impaler])
+\IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}%
+\SubvertThis\Name*{Vlad, {\c T}epe{\c s}}
+(\Name*{Vlad, {\c T}epe{\c s}}[the Impaler])
after his death, was the son of \Name{Vlad, II}[II Dracul],
a member of the Order of the Dragon. Later instances of
``\Name*{Vlad, III}'' and ``\Name{Vlad, III}'' appear thus.
@@ -15820,13 +15825,13 @@
\let\NamesFormat\OldFormat
\let\FrontNamesFormat\OldFrontNames
-\subsection{Old Format, Front and Main}
+We are back in the old format.
-\NamesInactive In the front matter we see:
+in the front matter we see: \NamesInactive
\ForgetThis\Name{Vlad, III}[III Dracula],
-\Name*{Vlad, III}, and \Name{Vlad, III}.\\
+\Name*{Vlad, III}, and \Name{Vlad, III}.
-\NamesActive\noindent In the main matter we see:
+in the main matter we see: \NamesActive
\ForgetThis\Name{Vlad, III}[III Dracula],
\Name*{Vlad, III}, and \Name{Vlad, III}.
Modified: trunk/Master/texmf-dist/tex/latex/nameauth/nameauth.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/nameauth/nameauth.sty 2025-08-29 13:59:28 UTC (rev 76171)
+++ trunk/Master/texmf-dist/tex/latex/nameauth/nameauth.sty 2025-08-29 14:01:40 UTC (rev 76172)
@@ -25,7 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{nameauth}
- [2025/02/04 4.1 Name authority mechanism for consistency in text and index]
+ [2025/08/27 4.2 Name authority mechanism for consistency in text and index]
\newif\if at nameauth@InAKA
\newif\if at nameauth@InName
\newif\if at nameauth@Lock
More information about the tex-live-commits
mailing list.