| 1 |
%% |
| 2 |
%% This is file `examples.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% nameauth.dtx (with options: `examples') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% Copyright (C) 2025 by Charles P. Schaum <charles[dot][email protected]> |
| 12 |
%% |
| 13 |
%% This file may be distributed and/or modified under the |
| 14 |
%% conditions of the LaTeX Project Public License, either |
| 15 |
%% version 1.3 of this license or (at your option) any |
| 16 |
%% later version. The latest version of this license is in: |
| 17 |
%% |
| 18 |
%% https://www.latex-project.org/lppl.txt |
| 19 |
%% |
| 20 |
%% and version 1.3 or later is part of all distributions |
| 21 |
%% of LaTeX version 2005/12/01 or later. |
| 22 |
%% |
| 23 |
%% This work includes all source and generated files |
| 24 |
%% described as such in README.md, included herein. |
| 25 |
%% |
| 26 |
\documentclass[oneside]{article} |
| 27 |
|
| 28 |
\input{compat.tex} % Included with nameauth; needed only if |
| 29 |
% compiling on multiple TeX distros or LaTeX engines. |
| 30 |
|
| 31 |
\usepackage[textwidth=137mm,textheight=237mm, |
| 32 |
right=40mm,marginparwidth=40mm]{geometry} |
| 33 |
|
| 34 |
\usepackage{makeidx} % Must have for defining \seealso macro. |
| 35 |
\usepackage{index} |
| 36 |
|
| 37 |
\usepackage[oldargs]{nameauth}[2025/02/04] |
| 38 |
|
| 39 |
\usepackage{fancyvrb} |
| 40 |
|
| 41 |
% Define fancyvrb defaults. |
| 42 |
\fvset{gobble=2,numbers=left,fontsize=\small} |
| 43 |
|
| 44 |
\usepackage{xcolor} |
| 45 |
\usepackage[colorlinks=true]{hyperref} |
| 46 |
|
| 47 |
% |
| 48 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 49 |
% Set up indexing and put margin paragraphs on the left. |
| 50 |
% |
| 51 |
|
| 52 |
\makeindex |
| 53 |
\newindex{per}{rdx}{rnd}{Index of Persons} |
| 54 |
\renewcommand\NameauthIndex{\index[per]} |
| 55 |
\reversemarginpar |
| 56 |
|
| 57 |
% |
| 58 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 59 |
% Create name shorthands. Note the use of \noexpand |
| 60 |
% in the macro arguments below. |
| 61 |
% |
| 62 |
|
| 63 |
\begin{nameauth} |
| 64 |
\< Doug & Frederick & Douglass & > |
| 65 |
\< Bailey & Betsey & Bailey & > |
| 66 |
\end{nameauth} |
| 67 |
|
| 68 |
\begin{nameauth} |
| 69 |
\< Wash & George & Washington & > |
| 70 |
\< Bradley & Omar N. & Bradley & > |
| 71 |
\< Aris & & Aristotle & > |
| 72 |
\< Plato & & Plato & > |
| 73 |
\< Aeth & & \AE thelred, II & > |
| 74 |
\< Linc & Abraham & Lincoln & > |
| 75 |
\< MLK & Martin Luther & King, Jr. & > |
| 76 |
\< Soto & Hernando & de Soto & > |
| 77 |
\< Patton & George S. & Patton, Jr. & > |
| 78 |
\< Ike & Dwight D. & Eisenhower & > |
| 79 |
\end{nameauth} |
| 80 |
|
| 81 |
\begin{nameauth} |
| 82 |
\< Luth & Martin & \noexpand\textSC{Luther} & > |
| 83 |
\< Cath & Catherine \noexpand\AltCaps{d}e' |
| 84 |
& \noexpand\textSC{Medici} & > |
| 85 |
\end{nameauth} |
| 86 |
|
| 87 |
\begin{nameauth} |
| 88 |
\< Jeff & Thomas & |
| 89 |
\noexpand\textSC{Jefferson}\noexpand\GEN{} & > |
| 90 |
\end{nameauth} |
| 91 |
|
| 92 |
\begin{nameauth} |
| 93 |
\< Scipio & \noexpand\SCIPi & \noexpand\SCIPii & > |
| 94 |
\< TGrac & \noexpand\TSemp & Gracchus & > |
| 95 |
\end{nameauth} |
| 96 |
|
| 97 |
\begin{nameauth} |
| 98 |
\< OScipio & Lucius & \noexpand\CSB & > % O for Oxford |
| 99 |
\end{nameauth} |
| 100 |
|
| 101 |
\begin{nameauth} |
| 102 |
\< Shak & \noexpand\WM & \noexpand\SHK & > |
| 103 |
\end{nameauth} |
| 104 |
|
| 105 |
\begin{nameauth} |
| 106 |
\< deSmet & Pierre-Jean & |
| 107 |
\noexpand\Fbox{\noexpand\AltCaps{d}e~Smet} & > |
| 108 |
\end{nameauth} |
| 109 |
|
| 110 |
% |
| 111 |
% We could add name info database tags (text tags) either |
| 112 |
% in the preamble or in the document environment. We will do |
| 113 |
% the latter in this example file. |
| 114 |
% |
| 115 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 116 |
% Below we establish sort tags for names. |
| 117 |
% |
| 118 |
|
| 119 |
% Sort these names under: US Generals. |
| 120 |
\PretagName[Omar N.]{Bradley}{US Generals!Bradley, Omar} |
| 121 |
\PretagName[George S.]{Patton, Jr.}{US Generals!Patton, George} |
| 122 |
|
| 123 |
% Sort these names under: US Presidents. |
| 124 |
\PretagName[George]{Washington}{US Presidents!Washington, George} |
| 125 |
\PretagName[Dwight D.]{Eisenhower}{US Presidents!Eisenhower, Dwight D.} |
| 126 |
\PretagName[Abraham]{Lincoln}{US Presidents!Lincoln, Abraham} |
| 127 |
|
| 128 |
% Sort these names under: Philosophers. |
| 129 |
\PretagName{Aristotle}{Philosophers!Aristotle} |
| 130 |
\PretagName{Plato}{Philosophers!Plato} |
| 131 |
|
| 132 |
% Sort these names under: Black Americans, famous. |
| 133 |
\PretagName[Frederick]{Douglass} |
| 134 |
{Black Americans, famous!Douglass, Frederick} |
| 135 |
\PretagName[Martin Luther]{King, Jr.} |
| 136 |
{Black Americans, famous!King, Martin Luther, Jr.} |
| 137 |
|
| 138 |
% Sort these names under: Europeans, historical. |
| 139 |
\PretagName{\AE thelred, II}{Europeans, historical!Aethelred 2} |
| 140 |
\PretagName[Hernando]{de Soto} |
| 141 |
{Europeans, historical!de Soto, Hernando} |
| 142 |
|
| 143 |
|
| 144 |
\PretagName{Vlad, Ţepeş}{Vlad Tepes} % for accented names |
| 145 |
|
| 146 |
|
| 147 |
\PretagName[Konrad]{\noexpand\textSC{Zuse}}{Zuse, Konrad} |
| 148 |
\PretagName[Ada]{\noexpand\textIT{Lovelace}}{Lovelace, Ada} |
| 149 |
\PretagName[Charles]{\noexpand\textBF{Babbage}} |
| 150 |
{Babbage, Charles} |
| 151 |
\PretagName{\noexpand\textUC{Kanade}, Takeo}{Kanade Takeo} |
| 152 |
|
| 153 |
|
| 154 |
\PretagName[Martin]{\noexpand\textSC{Luther}}{Luther, Martin} |
| 155 |
\PretagName[Catherine \noexpand\AltCaps{d}e'] |
| 156 |
{\noexpand\textSC{Medici}}{Medici, Catherine de} |
| 157 |
|
| 158 |
|
| 159 |
\PretagName[Thomas]{\noexpand\textSC{Jefferson}\noexpand\GEN{}} |
| 160 |
{Jefferson, Thomas} |
| 161 |
|
| 162 |
|
| 163 |
\PretagName[Greta]{\noexpand\textSC{Garbo}}{Garbo, Greta} |
| 164 |
\PretagName{\noexpand\textSC{Misora}, Hibari}{Misora Hibari} |
| 165 |
\PretagName[Heinz]{\noexpand\textSC{R\"uhmann}}{Ruehmann, Heinz} |
| 166 |
\PretagName[Heinrich Wilhelm]{\noexpand\textSC{R\"uhmann}} |
| 167 |
{Ruehmann, Heinrich Wilhelm} |
| 168 |
|
| 169 |
|
| 170 |
\PretagName[\noexpand\SCIPi]{\noexpand\SCIPii} |
| 171 |
{Scipio Africanus} |
| 172 |
\PretagName[\noexpand\TSemp]{Gracchus} |
| 173 |
{Gracchus, Tiberius Sempronius} |
| 174 |
|
| 175 |
|
| 176 |
\PretagName[Lucius]{\noexpand\CSB}{Cornelius Scipio Barbatus} |
| 177 |
|
| 178 |
|
| 179 |
\PretagName[\noexpand\WM]{\noexpand\SHK} |
| 180 |
{Shakespeare, William} |
| 181 |
\PretagName[Robert]{\textSC{Burns}}{Burns, Robert} |
| 182 |
|
| 183 |
|
| 184 |
\PretagName[Pierre-Jean]% |
| 185 |
{\noexpand\Fbox{\noexpand\AltCaps{d}e~Smet}}% |
| 186 |
{de~Smet, Pierre-Jean} |
| 187 |
|
| 188 |
% |
| 189 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 190 |
% Below we establish some index tags for names. |
| 191 |
% |
| 192 |
|
| 193 |
\TagName{Vlad, II}{ Dracul} |
| 194 |
\TagName{Vlad, III}{ Dracula} |
| 195 |
\IndexRef{Dracula}{Vlad III} |
| 196 |
|
| 197 |
|
| 198 |
\TagName[Thomas]{\noexpand\textSC{Jefferson}\noexpand\GEN{}} |
| 199 |
{, pres.} |
| 200 |
|
| 201 |
|
| 202 |
\TagName[\noexpand\TSemp]{Gracchus}{, consul} |
| 203 |
|
| 204 |
|
| 205 |
\TagName[Lucius]{\noexpand\CSB}{, consul} |
| 206 |
|
| 207 |
% |
| 208 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 209 |
% |
| 210 |
|
| 211 |
\title{\bfseries Some \textsf{nameauth} Examples} |
| 212 |
\author{Charles P. Schaum} |
| 213 |
\date{2025/02/04} |
| 214 |
|
| 215 |
\begin{document} |
| 216 |
\maketitle |
| 217 |
|
| 218 |
\phantomsection |
| 219 |
\pdfbookmark[1]{\contentsname}{toc} |
| 220 |
\tableofcontents |
| 221 |
\newpage |
| 222 |
|
| 223 |
% |
| 224 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 225 |
% |
| 226 |
|
| 227 |
\section{Minimal Example} |
| 228 |
|
| 229 |
\textbf{Group 1} |
| 230 |
\begin{enumerate} |
| 231 |
\item[\textbf{1.}] \Doug\ rose to eminence by sheer force |
| 232 |
of character and talents that neither slavery nor caste |
| 233 |
proscription could crush. |
| 234 |
\item[\textbf{2.}] \Doug's early life is perhaps the most |
| 235 |
complete indictment of the slave system ever presented at |
| 236 |
the bar of public opinion. |
| 237 |
\item[\textbf{3.}] \Doug\ was born in February, 1817. His |
| 238 |
earliest memories centered around the cabin of his |
| 239 |
grandmother, \Bailey. |
| 240 |
\end{enumerate} |
| 241 |
|
| 242 |
\medskip\noindent\textbf{Group 2} |
| 243 |
\ForgetName[Frederick]{Douglass} |
| 244 |
\ForgetName[Betsey]{Bailey} |
| 245 |
\begin{enumerate} |
| 246 |
\item[\textbf{2.}] \Doug's early life is perhaps the most |
| 247 |
complete indictment of the slave system ever presented at |
| 248 |
the bar of public opinion. |
| 249 |
\item[\textbf{3.}] \Doug\ was born in February, 1817. His |
| 250 |
earliest memories centered around the cabin of his |
| 251 |
grandmother, \Bailey. |
| 252 |
\item[\textbf{1.}] \Doug\ rose to eminence by sheer force |
| 253 |
of character and talents that neither slavery nor caste |
| 254 |
proscription could crush. |
| 255 |
\end{enumerate} |
| 256 |
|
| 257 |
% |
| 258 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 259 |
% |
| 260 |
|
| 261 |
\section{Roman Names I} |
| 262 |
|
| 263 |
Here we modify a few details from the manual in order to make |
| 264 |
all the name examples work well together. |
| 265 |
|
| 266 |
\newcommand\nri{} |
| 267 |
\newcommand\nrii{} |
| 268 |
|
| 269 |
\begin{nameauth} |
| 270 |
\< Senecai & Lucius Annaeus & Seneca\nri & > |
| 271 |
\< Senecaii & Lucius Annaeus & Seneca\nrii & > |
| 272 |
\end{nameauth} |
| 273 |
|
| 274 |
\renewcommand*\NamesFormat[1] |
| 275 |
{#1\NameQueryInfo{}} |
| 276 |
|
| 277 |
\PretagName[Lucius Annaeus]{Seneca\nri}{Seneca, Lucius Annaeus 1} |
| 278 |
\PretagName[Lucius Annaeus]{Seneca\nrii}{Seneca, Lucius Annaeus 2} |
| 279 |
\TagName[Lucius Annaeus]{Seneca\nri}{ (the Elder)} |
| 280 |
\TagName[Lucius Annaeus]{Seneca\nrii}{ (the Younger)} |
| 281 |
\NameAddInfo[Lucius Annaeus]{Seneca\nri}{ the Elder} |
| 282 |
\NameAddInfo[Lucius Annaeus]{Seneca\nrii}{ the Younger} |
| 283 |
|
| 284 |
We can differentiate between |
| 285 |
\Senecai\ and \Senecaii; |
| 286 |
\Senecai \NameQueryInfo{} and \Senecaii \NameQueryInfo{}. |
| 287 |
|
| 288 |
Their full index entries are:\\ |
| 289 |
\ShowIdxPageref[Lucius Annaeus]{Seneca\nri}\\ |
| 290 |
\ShowIdxPageref[Lucius Annaeus]{Seneca\nrii} |
| 291 |
\index{Roman names, student} |
| 292 |
|
| 293 |
|
| 294 |
\begin{nameauth} |
| 295 |
\< CatoY & Marcus Porcius & Cato, the Younger & > |
| 296 |
\< CatoYi & Marcus Porcius & Cato the Younger & > |
| 297 |
\end{nameauth} |
| 298 |
\ExcludeName[Marcus Porcius]{Cato, the Younger} |
| 299 |
\makeatletter |
| 300 |
\NameAddInfo[Marcus Porcius]{Cato, the Younger} |
| 301 |
{\if@nameauth@InHook\ (Uticensis, 94--45 \textsc{bc})% |
| 302 |
\else Uticensis\fi} |
| 303 |
\makeatother |
| 304 |
|
| 305 |
\JustIndex\CatoYi |
| 306 |
\CatoY\ is known as \CatoY\ \ForceAffix\CatoY, to distinguish him |
| 307 |
from his great-grandfather. His names include \SCatoY[Marcus] |
| 308 |
(\textit{praenomen}), \SCatoY[Porcius] (\textit{nomen}, one of the |
| 309 |
Porcia clan), and \CatoY, the \textit{cognomen} by which he is best |
| 310 |
known. His other \textit{agnomen}, \NameQueryInfo{}, means he was |
| 311 |
born in Utica. |
| 312 |
\JustIndex\CatoYi He is indexed as: \ShowIdxPageref*{} |
| 313 |
\index{Roman names, student} |
| 314 |
|
| 315 |
|
| 316 |
\begin{nameauth} |
| 317 |
\< CatoE & Marcus Porcius & Cato, the Elder & > |
| 318 |
\< CatoEi & Marcus & Porcius Cato the Elder & > |
| 319 |
\end{nameauth} |
| 320 |
\ExcludeName[Marcus Porcius]{Cato, the Elder} |
| 321 |
|
| 322 |
\JustIndex\CatoEi |
| 323 |
\DropAffix\CatoE\ (234--149 \textsc{bc}) is known as |
| 324 |
\CatoE{} \ForceAffix\CatoE, among other sobriquets. |
| 325 |
His \textit{praenomen} is \SCatoE[Marcus]. His |
| 326 |
\textit{nomen} is \SCatoE[Porcius], a member of the |
| 327 |
Porcia clan. His \textit{cognomen} is \CatoE. |
| 328 |
\JustIndex\CatoEi |
| 329 |
Index: \ShowIdxPageref*{} |
| 330 |
\index{Roman names, scholar} |
| 331 |
|
| 332 |
% |
| 333 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 334 |
% |
| 335 |
|
| 336 |
\section{Multiple Indexes} |
| 337 |
|
| 338 |
The Electric Boogaloo\index{Boogaloo, Electric} % main index |
| 339 |
was created by \Name{Ollie~\& Jerry}. % name index |
| 340 |
\index{indexes, multiple} |
| 341 |
|
| 342 |
% |
| 343 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 344 |
% |
| 345 |
|
| 346 |
\section{Index Categories} |
| 347 |
|
| 348 |
\subsection{Famous Black Americans} |
| 349 |
|
| 350 |
\Name[Frederick]{Douglass} rose to eminence by sheer force of |
| 351 |
character and talents that neither slavery nor caste |
| 352 |
proscription could crush. Circumstances made |
| 353 |
\Name[Frederick]{Douglass} a slave, but they could not prevent |
| 354 |
him from becoming a freeman and a leader among mankind.\\ |
| 355 |
|
| 356 |
We also celebrate \MLK, then \MLK. |
| 357 |
|
| 358 |
\subsection{Patres Patriae} |
| 359 |
|
| 360 |
We mention President \Wash; again, \Wash. |
| 361 |
Family and close friends called him \SWash.\\ |
| 362 |
|
| 363 |
\TagName[George]{Washington}{!as general} |
| 364 |
We can reminisce about \LWash[General]. |
| 365 |
\UntagName[George]{Washington} |
| 366 |
|
| 367 |
When speaking of \Linc, we can refer to \LLinc[Abe]. |
| 368 |
|
| 369 |
\subsection{Philosophers} |
| 370 |
|
| 371 |
Among philosophers we consider \Plato\ and \Aris. |
| 372 |
|
| 373 |
\subsection{Historical Figures} |
| 374 |
|
| 375 |
We ponder about \Aeth, then \Aeth. |
| 376 |
We note \Soto, then just \Soto. |
| 377 |
\CapThis\Soto{} starts a sentence. |
| 378 |
|
| 379 |
\subsection{Further Discussion} |
| 380 |
|
| 381 |
\TagName[George]{Washington}{!as general} |
| 382 |
\TagName[Dwight D.]{Eisenhower}{!as general} |
| 383 |
\LWash, \LIke, \LBradley, and \LPatton |
| 384 |
were high-ranking generals.\\ |
| 385 |
\SeeAlso\IndexRef[George]{Washington}{Eisenhower} |
| 386 |
\SeeAlso\IndexRef[Dwight D.]{Eisenhower}{Washington} |
| 387 |
\IncludeName*[George]{Washington} |
| 388 |
\IncludeName*[Dwight D.]{Eisenhower} |
| 389 |
|
| 390 |
\UntagName[George]{Washington} |
| 391 |
\UntagName[Dwight D.]{Eisenhower} |
| 392 |
\Wash\ and \Ike\ also were US presidents. |
| 393 |
|
| 394 |
\ForgetName[Omar N.]{Bradley} |
| 395 |
\ForgetName[George S.]{Patton, Jr.} |
| 396 |
\TagName[Omar N.]{Bradley}{!colleagues of} |
| 397 |
\TagName[George S.]{Patton, Jr.}{!colleagues of} |
| 398 |
\IndexRef[Omar N.]{Bradley}{Eisenhower, Patton} |
| 399 |
\IndexRef[George S.]{Patton, Jr.}{Bradley, Eisenhower} |
| 400 |
|
| 401 |
% |
| 402 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 403 |
% |
| 404 |
|
| 405 |
\section{More Complex Hooks} |
| 406 |
|
| 407 |
% First save main- and front-matter hooks. Then change |
| 408 |
% first-use hooks for both main matter and front matter. |
| 409 |
\let\OldFormat\NamesFormat |
| 410 |
\let\OldFrontNames\FrontNamesFormat |
| 411 |
|
| 412 |
\renewcommand*\NamesFormat[1]{\textbf{#1}\unless\ifinner |
| 413 |
\marginpar{\raggedleft\scriptsize #1}\fi} |
| 414 |
\renewcommand*\FrontNamesFormat[1]{\textit{#1}\unless\ifinner |
| 415 |
\marginpar{\raggedleft\scriptsize #1}\fi} |
| 416 |
\index{complex hooks, intro} |
| 417 |
|
| 418 |
\subsection{New Format, Front Matter} |
| 419 |
\NamesInactive |
| 420 |
|
| 421 |
The new format (front matter):\NamesInactive |
| 422 |
|
| 423 |
\Name{Vlad, III}[III Dracula], known as |
| 424 |
\IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}% |
| 425 |
\SubvertThis\Name*{Vlad, {\c T}epe{\c s}} |
| 426 |
(\Name*{Vlad, {\c T}epe{\c s}}[the Impaler]) |
| 427 |
after his death, was the son of \Name{Vlad, II}[II Dracul], |
| 428 |
a member of the Order of the Dragon. Later instances of |
| 429 |
``\Name*{Vlad, III}'' and ``\Name{Vlad, III}'' appear thus. |
| 430 |
|
| 431 |
The new format (main matter):\NamesActive |
| 432 |
|
| 433 |
\Name{Vlad, III}[III Dracula], known as |
| 434 |
\IndexRef{Vlad, {\c T}epe{\c s}}{Vlad III}% |
| 435 |
\SubvertThis\Name*{Vlad, {\c T}epe{\c s}} |
| 436 |
(\Name*{Vlad, {\c T}epe{\c s}}[the Impaler]) |
| 437 |
after his death, was the son of \Name{Vlad, II}[II Dracul], |
| 438 |
a member of the Order of the Dragon. Later instances of |
| 439 |
``\Name*{Vlad, III}'' and ``\Name{Vlad, III}'' appear thus. |
| 440 |
|
| 441 |
\let\NamesFormat\OldFormat |
| 442 |
\let\FrontNamesFormat\OldFrontNames |
| 443 |
|
| 444 |
We are back in the old format. |
| 445 |
|
| 446 |
in the front matter we see: \NamesInactive |
| 447 |
\ForgetThis\Name{Vlad, III}[III Dracula], |
| 448 |
\Name*{Vlad, III}, and \Name{Vlad, III}. |
| 449 |
|
| 450 |
in the main matter we see: \NamesActive |
| 451 |
\ForgetThis\Name{Vlad, III}[III Dracula], |
| 452 |
\Name*{Vlad, III}, and \Name{Vlad, III}. |
| 453 |
|
| 454 |
% |
| 455 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 456 |
% |
| 457 |
|
| 458 |
\section{Template Test} |
| 459 |
|
| 460 |
Here we demonstrate that fetching information by using the name pattern is better than reading the internal token registers. This is due to expansion sometimes happening in the basic interface. |
| 461 |
|
| 462 |
We set up the following test for our three templates, with indexing suppressed: |
| 463 |
|
| 464 |
\begin{itemize} |
| 465 |
\item If we see the outcome, ``Test\dots passed'', we have success. |
| 466 |
\item If we see the outcome, ``Test\dots'', we have failure. |
| 467 |
\end{itemize} |
| 468 |
|
| 469 |
\subsection{Test Setup} |
| 470 |
|
| 471 |
\begingroup |
| 472 |
|
| 473 |
\IndexInactive |
| 474 |
\begin{VerbatimOut}{\jobname.tmp} |
| 475 |
\NameAddInfo{Testi}{\dots passed} |
| 476 |
\NameAddInfo{\noexpand\testname}{\dots passed} |
| 477 |
\newcommand\testname{Testii} |
| 478 |
\begin{nameauth} |
| 479 |
\< Testi & & Testi & > |
| 480 |
\< Testii & & \noexpand\testname & > |
| 481 |
\end{nameauth} |
| 482 |
\end{VerbatimOut} |
| 483 |
|
| 484 |
\VerbatimInput[gobble=0]{\jobname.tmp} |
| 485 |
|
| 486 |
\input{\jobname.tmp} |
| 487 |
|
| 488 |
\subsection{Recommended Hook} |
| 489 |
|
| 490 |
We display the name, followed by the tag produced with the most recent name pattern vis: \Verb+\NameQueryInfo{}+ taking a null argument. |
| 491 |
|
| 492 |
\begin{VerbatimOut}{\jobname.tmp} |
| 493 |
\renewcommand*\NamesFormat[1] |
| 494 |
{#1\NameQueryInfo{}} |
| 495 |
\end{VerbatimOut} |
| 496 |
|
| 497 |
\VerbatimInput[gobble=0]{\jobname.tmp} |
| 498 |
\input{\jobname.tmp} |
| 499 |
|
| 500 |
\begin{tabular}{ll} |
| 501 |
\Verb+\ForgetThis\Name{Testi}+ & \ForgetThis\Name{Testi} \\ |
| 502 |
\Verb+\ForgetThis\Testi+ & \ForgetThis\Testi \\ |
| 503 |
\Verb+\ForgetThis\Name{\noexpand\testname}+ & |
| 504 |
\ForgetThis\Name{\noexpand\testname} \\ |
| 505 |
\Verb+\ForgetThis\Testii+ & \ForgetThis\Testii \\ |
| 506 |
\end{tabular} |
| 507 |
|
| 508 |
\subsection{Alternate Hook A} |
| 509 |
|
| 510 |
If we try to use the internal token registers, we have to get more complicated, and it does not always work: |
| 511 |
|
| 512 |
\begin{VerbatimOut}{\jobname.tmp} |
| 513 |
\makeatletter |
| 514 |
\renewcommand*\NamesFormat[1]{% |
| 515 |
\begingroup% |
| 516 |
\protected@edef\temp{\endgroup% |
| 517 |
{#1\noexpand\NameQueryInfo |
| 518 |
[\unexpanded\expandafter{\the\@nameauth@toksa}] |
| 519 |
{\unexpanded\expandafter{\the\@nameauth@toksb}} |
| 520 |
[\unexpanded\expandafter{\the\@nameauth@toksc}]% |
| 521 |
}% |
| 522 |
}% |
| 523 |
\temp% |
| 524 |
} |
| 525 |
\makeatother |
| 526 |
\end{VerbatimOut} |
| 527 |
|
| 528 |
\VerbatimInput[gobble=0]{\jobname.tmp} |
| 529 |
\input{\jobname.tmp} |
| 530 |
|
| 531 |
\begin{tabular}{ll} |
| 532 |
\Verb+\ForgetThis\Name{Testi}+ & \ForgetThis\Name{Testi} \\ |
| 533 |
\Verb+\ForgetThis\Testi+ & \ForgetThis\Testi \\ |
| 534 |
\Verb+\ForgetThis\Name{\noexpand\testname}+ & |
| 535 |
\ForgetThis\Name{\noexpand\testname} \\ |
| 536 |
\Verb+\ForgetThis\Testii+ & \ForgetThis\Testii \\ |
| 537 |
\end{tabular} |
| 538 |
|
| 539 |
|
| 540 |
\subsection{Alternate Hook B} |
| 541 |
|
| 542 |
This is an ``older'' way of using the internal token registers. It has similar problems with consistency: |
| 543 |
|
| 544 |
\begin{VerbatimOut}{\jobname.tmp} |
| 545 |
\let\ex\expandafter |
| 546 |
\makeatletter |
| 547 |
\renewcommand*\NamesFormat[1]{% |
| 548 |
#1% |
| 549 |
\ex\ex\ex\ex\ex\ex\ex\NameQueryInfo% |
| 550 |
\ex\ex\ex\ex\ex\ex\ex[\ex\ex\ex\the% |
| 551 |
\ex\ex\ex\@nameauth@toksa\ex\ex\ex]% |
| 552 |
\ex\ex\ex{\ex\the\ex\@nameauth@toksb\ex}% |
| 553 |
\ex[\the\@nameauth@etoksc]% |
| 554 |
} |
| 555 |
\makeatother |
| 556 |
\end{VerbatimOut} |
| 557 |
|
| 558 |
\VerbatimInput[gobble=0]{\jobname.tmp} |
| 559 |
\input{\jobname.tmp} |
| 560 |
|
| 561 |
\begin{tabular}{ll} |
| 562 |
\Verb+\ForgetThis\Name{Testi}+ & \ForgetThis\Name{Testi} \\ |
| 563 |
\Verb+\ForgetThis\Testi+ & \ForgetThis\Testi \\ |
| 564 |
\Verb+\ForgetThis\Name{\noexpand\testname}+ & |
| 565 |
\ForgetThis\Name{\noexpand\testname} \\ |
| 566 |
\Verb+\ForgetThis\Testii+ & \ForgetThis\Testii \\ |
| 567 |
\end{tabular} |
| 568 |
|
| 569 |
\endgroup |
| 570 |
|
| 571 |
% |
| 572 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 573 |
% |
| 574 |
|
| 575 |
\section{Life Dates in Hooks} |
| 576 |
|
| 577 |
% Add name tags to names. |
| 578 |
\NameAddInfo[George]{Washington}{ (1732--99)} |
| 579 |
\NameAddInfo[Mustafa]{Kemal}{ (1881--1938)} |
| 580 |
\NameAddInfo{Atat\"urk}{ (in 1934, a special surname)} |
| 581 |
|
| 582 |
% Ensure that Atat\"urk is a cross-reference that |
| 583 |
% has no page entries in the index. |
| 584 |
\IndexRef{Atat\"urk}{Kemal, Mustafa} |
| 585 |
|
| 586 |
% Manually suppress name tag in ``first'' instance |
| 587 |
\newif\ifNoTag |
| 588 |
|
| 589 |
% Redesign formatting hook to usually print a tag |
| 590 |
% only in ``first'' instance. On exit, It resets |
| 591 |
% the flag that suppresses tags, making that flag |
| 592 |
% work only once per name use. |
| 593 |
|
| 594 |
\renewcommand*\NamesFormat[1] |
| 595 |
{% |
| 596 |
#1\unless\ifNoTag\NameQueryInfo{}\fi |
| 597 |
\global\NoTagfalse% |
| 598 |
} |
| 599 |
|
| 600 |
\ForgetThis\Name[George]{Washington} held office as |
| 601 |
the first US president from 1789 to 1797. |
| 602 |
\Name[George]{Washington} was the only president whose |
| 603 |
term in office was completely in the eighteenth century. |
| 604 |
|
| 605 |
If we need to trigger the first use hook at some point, |
| 606 |
we can suppress dates and get an automatic long instance via: |
| 607 |
\NoTagtrue\ForgetThis\Name[George]{Washington}. |
| 608 |
|
| 609 |
Or we can trigger the first-use hook in a subsequent name use |
| 610 |
and still have dates: \ForceName\Name[George]{Washington}. |
| 611 |
|
| 612 |
We can add name info tags to names used only as cross- |
| 613 |
references. For example, \Name[Mustafa]{Kemal} was granted |
| 614 |
the name \Name{Atat\"urk}. |
| 615 |
|
| 616 |
We mention \Name[Mustafa]{Kemal} |
| 617 |
and \Name{Atat\"urk} again. Likewise, we can trigger a |
| 618 |
first use, but with no name tag tag: |
| 619 |
\NoTagtrue\ForgetThis\Name{Atat\"urk}. |
| 620 |
|
| 621 |
% |
| 622 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 623 |
% |
| 624 |
|
| 625 |
\section{Alternate Formatting} |
| 626 |
|
| 627 |
\AltFormatActive |
| 628 |
\renewcommand*\NamesFormat{} |
| 629 |
\renewcommand*\MainNameHook{\AltOff} |
| 630 |
|
| 631 |
\noindent |
| 632 |
\ForgetThis\Name[Konrad]{\noexpand\textSC{Zuse}}; |
| 633 |
\Name[Konrad]{\noexpand\textSC{Zuse}}\\ |
| 634 |
\ForgetThis\Name[Ada]{\noexpand\textIT{Lovelace}}; |
| 635 |
\Name[Ada]{\noexpand\textIT{Lovelace}}\\ |
| 636 |
\ForgetThis\Name[Charles]{\noexpand\textBF{Babbage}}; |
| 637 |
\Name[Charles]{\noexpand\textBF{Babbage}}\\ |
| 638 |
\ForgetThis\Name{\noexpand\textUC{Kanade}, Takeo}; |
| 639 |
\Name{\noexpand\textUC{Kanade}, Takeo} |
| 640 |
\index{formatting, alternate} |
| 641 |
|
| 642 |
\renewcommand*\MainNameHook{\sffamily\AltOff} |
| 643 |
|
| 644 |
\ForgetThis\Luth\ was a leading figure in the Protestant |
| 645 |
Reformation. \Luth\ believed that one is declared |
| 646 |
righteous in a forensic sense by divine grace through faith |
| 647 |
created by the Holy Spirit via the Gospel and the Sacraments. |
| 648 |
|
| 649 |
\ForgetThis\Cath\ was not only Queen of France in her own right, |
| 650 |
but she also guided the reigns of her three sons. |
| 651 |
\CapThis\LCath[\noexpand\AltCaps{d}e'] |
| 652 |
was blamed for the St.\ Bartholomew's Day massacre that saw the |
| 653 |
murder of thousands of Huguenots. |
| 654 |
\index{formatting, alternate} |
| 655 |
|
| 656 |
% |
| 657 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 658 |
% |
| 659 |
|
| 660 |
\section{Grammatical Inflections in Names} |
| 661 |
|
| 662 |
\newif\ifGenitive |
| 663 |
\newif\ifDoGenitive |
| 664 |
|
| 665 |
\newcommand*\GEN{\ifDoGenitive\textSC{'s}\fi} |
| 666 |
|
| 667 |
\renewcommand*\NamesFormat[1] |
| 668 |
{\ifGenitive\DoGenitivetrue\fi#1\global\Genitivefalse} |
| 669 |
\renewcommand*\MainNameHook[1] |
| 670 |
{\ifGenitive\DoGenitivetrue\fi\AltOff#1\global\Genitivefalse} |
| 671 |
|
| 672 |
Consider \Genitivetrue\Jeff\ legacy as the author of the |
| 673 |
colonies' Declaration of Independence and his impact as third |
| 674 |
president of the United States. \Jeff\ was a complex historical |
| 675 |
figure whose actions defy a consistent moral compass both in |
| 676 |
public policy and in personal affairs. |
| 677 |
\index{inflections, grammatical} |
| 678 |
|
| 679 |
% |
| 680 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 681 |
% |
| 682 |
|
| 683 |
\section{Sample Reference Work I} |
| 684 |
|
| 685 |
% Make a cross-reference from a variant name form to the |
| 686 |
% form of the head-words |
| 687 |
|
| 688 |
\IndexRef[Heinrich Wilhelm]{\noexpand\textSC{R\"uhmann}} |
| 689 |
{\noexpand\textSC{R\"uhmann}, Heinz} |
| 690 |
|
| 691 |
% Define the formatting hooks. Since we use the `altformat' |
| 692 |
% option, alternate formatting is turned off in later |
| 693 |
% name uses. |
| 694 |
|
| 695 |
\renewcommand*\NamesFormat{} |
| 696 |
\renewcommand*\MainNameHook{\AltOff} |
| 697 |
|
| 698 |
% Typeset head-words with a slanted font. |
| 699 |
|
| 700 |
\newcommand{\RefArticle}[3] |
| 701 |
{% |
| 702 |
\def\Check{#2}% |
| 703 |
\ifx\Check\empty |
| 704 |
\noindent\ForgetThis\textsl{#1}\ #3 |
| 705 |
\else |
| 706 |
\noindent\ForgetThis\textsl{#1}\ #2\ #3 |
| 707 |
\fi\medskip |
| 708 |
} |
| 709 |
|
| 710 |
\index{reference work} |
| 711 |
\RefArticle |
| 712 |
{\RevComma\Name[Greta]{\noexpand\textSC{Garbo}}} |
| 713 |
{} |
| 714 |
{(18 September 1905\,--\,15 April 1990) was a Swedish |
| 715 |
film actress during the 1920s and 1930s. |
| 716 |
\Name[Greta]{\noexpand\textSC{Garbo}}\dots} |
| 717 |
|
| 718 |
\RefArticle |
| 719 |
{\Name{\noexpand\textSC{Misora}, Hibari}} |
| 720 |
{(W:\,``\RevName\Name*{\noexpand\textSC{Misora}, Hibari}'';} |
| 721 |
{29 May 1937\,--\,24 June 1989) was a Japanese singer |
| 722 |
and actress noted for her positive message. |
| 723 |
\Name{\noexpand\textSC{Misora}, Hibari}\dots} |
| 724 |
|
| 725 |
\RefArticle |
| 726 |
{\RevComma\Name[Heinz]{\noexpand\textSC{R\"uhmann}}} |
| 727 |
{(\SubvertThis\ForceName |
| 728 |
\FName[Heinrich Wilhelm]{\noexpand\textSC{R\"uhmann}};} |
| 729 |
{7 March 1902\,--\,3 October 1994) was a German actor |
| 730 |
in over 100 films. |
| 731 |
\Name[Heinz]{\noexpand\textSC{R\"uhmann}}\dots} |
| 732 |
|
| 733 |
% |
| 734 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 735 |
% |
| 736 |
|
| 737 |
\section{Roman Names II} |
| 738 |
|
| 739 |
\subsection{General Reference} |
| 740 |
|
| 741 |
% Global Boolean flags need to be defined only once. |
| 742 |
\newif\ifNoPraenomen |
| 743 |
\newif\ifNoCognomen |
| 744 |
\newif\ifNoGens |
| 745 |
\newif\ifNoAgnomen |
| 746 |
|
| 747 |
% Local Boolean flags need to be defined only once. |
| 748 |
\newif\ifXPrae |
| 749 |
\newif\ifXCogn |
| 750 |
\newif\ifXGens |
| 751 |
\newif\ifXAgno |
| 752 |
|
| 753 |
% Name variant macros need to be defined uniquely for each |
| 754 |
% name. First is Scipio. Second is Gracchus. |
| 755 |
|
| 756 |
\newcommand*\SCIPi |
| 757 |
{% |
| 758 |
\ifXGens Publius\else |
| 759 |
\ifXPrae Cornelius\else |
| 760 |
Publius Cornelius% |
| 761 |
\fi |
| 762 |
\fi |
| 763 |
} |
| 764 |
|
| 765 |
\newcommand*\SCIPii |
| 766 |
{% |
| 767 |
\ifXAgno Scipio\else |
| 768 |
Scipio Africanus% |
| 769 |
\fi |
| 770 |
} |
| 771 |
|
| 772 |
\newcommand*\TSemp |
| 773 |
{% |
| 774 |
\ifXGens Tiberius\else |
| 775 |
\ifXPrae Sempronius\else |
| 776 |
Tiberius Sempronius% |
| 777 |
\fi |
| 778 |
\fi |
| 779 |
} |
| 780 |
|
| 781 |
% We add the name tag. |
| 782 |
\NameAddInfo[\noexpand\TSemp]{Gracchus} |
| 783 |
{ (consul, 177 \textsc{bc})} |
| 784 |
|
| 785 |
% Although it is helpful to set everything up |
| 786 |
% In the preamble, it is not absolutely necessary. |
| 787 |
% Here we define the simpler set of formatting hooks |
| 788 |
% for Scipio, although the complex hooks will work |
| 789 |
% for both equally as well. |
| 790 |
|
| 791 |
\renewcommand*\NamesFormat[1] |
| 792 |
{% |
| 793 |
\ifNoPraenomen\XPraetrue\fi% |
| 794 |
\ifNoGens\XGenstrue\fi% |
| 795 |
\ifNoCognomen\XCogntrue\fi% |
| 796 |
\ifNoAgnomen\XAgnotrue\fi% |
| 797 |
#1\NameQueryInfo{}% |
| 798 |
\global\NoPraenomenfalse% |
| 799 |
\global\NoGensfalse% |
| 800 |
\global\NoCognomenfalse% |
| 801 |
\global\NoAgnomenfalse% |
| 802 |
} |
| 803 |
|
| 804 |
\renewcommand*\MainNameHook[1] |
| 805 |
{% |
| 806 |
\ifNoPraenomen\XPraetrue\fi% |
| 807 |
\ifNoGens\XGenstrue\fi% |
| 808 |
\ifNoCognomen\XCogntrue\fi% |
| 809 |
\ifNoAgnomen\XAgnotrue\fi% |
| 810 |
#1% |
| 811 |
\global\NoPraenomenfalse% |
| 812 |
\global\NoGensfalse% |
| 813 |
\global\NoCognomenfalse% |
| 814 |
\global\NoAgnomenfalse% |
| 815 |
} |
| 816 |
|
| 817 |
\index{Roman names, student} |
| 818 |
\NoAgnomentrue\Scipio\ was born around 236 \textsc{bc} |
| 819 |
into the Scipiones branch of the Cornelii clan. |
| 820 |
\NoAgnomentrue\Scipio\ rose to military fame during the |
| 821 |
Second Punic War. Thereafter he was known as \Scipio. |
| 822 |
He flourished during the Egyptian reigns of |
| 823 |
\Name{Ptolemy, IV}[IV Philopator] and |
| 824 |
\Name{Ptolemy, V}[V Epiphanes], and the Syrian |
| 825 |
reigns of \Name{Seleucus, III}[III Ceraunus] and |
| 826 |
\Name{Antiochus, III}[III the Great]. |
| 827 |
|
| 828 |
\TGrac\ served as tribune of the plebs in 184 \textsc{bc}. |
| 829 |
\TGrac\ was elected praetor for 180 \textsc{bc}, |
| 830 |
after which he was appointed governor of Hispania Citerior, |
| 831 |
serving with the rank of proconsul. In 177 \textsc{bc}, |
| 832 |
he was elected consul, again in 163 \textsc{bc}. |
| 833 |
|
| 834 |
\subsection{Scholarly Work} |
| 835 |
|
| 836 |
% Name variant macros need to be defined |
| 837 |
% uniquely for each name. |
| 838 |
|
| 839 |
\newcommand*\CSB |
| 840 |
{% |
| 841 |
\ifXGens |
| 842 |
\ifXAgno Scipio\else |
| 843 |
Scipio Barbatus\fi |
| 844 |
\else |
| 845 |
\ifXCogn Cornelius\else |
| 846 |
\ifXAgno Cornelius Scipio\else |
| 847 |
Cornelius Scipio Barbatus% |
| 848 |
\fi |
| 849 |
\fi |
| 850 |
\fi |
| 851 |
} |
| 852 |
|
| 853 |
\index{Roman names, scholar} |
| 854 |
\OScipio\ was born around 337 \textsc{bc} into the |
| 855 |
Scipiones branch of the Cornelii clan, one of the large |
| 856 |
patrician clans. \NoGenstrue\NoAgnomentrue\OScipio\ was |
| 857 |
one of the two elected consuls in 298 \textsc{bc} |
| 858 |
and served during the Third Samnite War. |
| 859 |
|
| 860 |
% |
| 861 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 862 |
% |
| 863 |
|
| 864 |
\section{Reference Work II} |
| 865 |
|
| 866 |
% Boolean flags; the first sets up headwords and the second |
| 867 |
% indicates that a Non-Western form should not be reversed. |
| 868 |
\newif\ifHeadword |
| 869 |
\newif\ifAncientName |
| 870 |
|
| 871 |
% Sorting and tagging the names: |
| 872 |
|
| 873 |
% Adding name information: |
| 874 |
\NameAddInfo{Aristotle}{ (384--322 \textsc{bc})} |
| 875 |
\NameAddInfo[Charles]{\noexpand\textBF{Babbage}}{ (1791--1871)} |
| 876 |
\NameAddInfo{\noexpand\textUC{Kanade}, Takeo}{ (1945-- )} |
| 877 |
\NameAddInfo[Ada]{\noexpand\textIT{Lovelace}} |
| 878 |
{ (Augusta Ada King, Countess of Lovelace |
| 879 |
[née Byron]; 1815--52)} |
| 880 |
|
| 881 |
% Redefining the formatting hooks: |
| 882 |
\makeatletter |
| 883 |
\renewcommand\NamesFormat[1] |
| 884 |
{% |
| 885 |
\ifHeadword |
| 886 |
\ifNameauthWestern |
| 887 |
\@nameauth@RevThisCommatrue% |
| 888 |
\bfseries \NameParser% |
| 889 |
\normalfont\NameQueryInfo{}% |
| 890 |
\else |
| 891 |
\begingroup% |
| 892 |
\bfseries \NameParser% |
| 893 |
\unless\ifAncientName |
| 894 |
\normalfont; W:\AltOff\space |
| 895 |
\@nameauth@RevThistrue \NameParser% |
| 896 |
\fi |
| 897 |
\normalfont\NameQueryInfo{}% |
| 898 |
\endgroup% |
| 899 |
\fi |
| 900 |
\else |
| 901 |
\NameParser% |
| 902 |
\fi |
| 903 |
\global\Headwordfalse% |
| 904 |
\global\AncientNamefalse% |
| 905 |
} |
| 906 |
\makeatother |
| 907 |
\renewcommand\MainNameHook{\AltOff} |
| 908 |
|
| 909 |
% Define related macros: |
| 910 |
\newcommand\Headword{\Headwordtrue\ForgetThis} |
| 911 |
\renewcommand{\RefArticle}[2] |
| 912 |
{% |
| 913 |
\noindent\Headword #1 #2 |
| 914 |
\medskip |
| 915 |
} |
| 916 |
\index{reference work} |
| 917 |
|
| 918 |
\RefArticle{\AncientNametrue\Name{Aristotle}}{was the first to offer |
| 919 |
a system of logic, most notably syllogistic logic, that would |
| 920 |
become the basis for discrete states and circuitry of |
| 921 |
digital computers. \Name{Aristotle}\dots} |
| 922 |
|
| 923 |
\RefArticle{\Name[Charles]{\noexpand\textBF{Babbage}}}{designed and |
| 924 |
built the Difference Engine and began work on the Analytical |
| 925 |
Engine. \Name[Charles]{\noexpand\textBF{Babbage}}\dots} |
| 926 |
|
| 927 |
\RefArticle{\Name{\noexpand\textUC{Kanade}, Takeo}}{is one of the |
| 928 |
foremost pioneers in the field of computer vision. |
| 929 |
\Name{\noexpand\textUC{Kanade}, Takeo}\dots} |
| 930 |
|
| 931 |
\RefArticle{\Name[Ada]{\noexpand\textIT{Lovelace}}}{collaborated with |
| 932 |
\Name*[Charles]{\noexpand\textBF{Babbage}}* and wrote what some |
| 933 |
consider to be the first computer program for the Analytical |
| 934 |
Engine. \Name[Ada]{\noexpand\textIT{Lovelace}}\dots} |
| 935 |
\index{reference work} |
| 936 |
|
| 937 |
% |
| 938 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 939 |
% |
| 940 |
|
| 941 |
\section{Marginalia} |
| 942 |
|
| 943 |
% Global Boolean flags need to be defined only once. |
| 944 |
\newif\ifSpecialFN |
| 945 |
\newif\ifSpecialSN |
| 946 |
\newif\ifRevertSN |
| 947 |
|
| 948 |
% Name variant macros need to be defined |
| 949 |
% uniquely for each name. |
| 950 |
|
| 951 |
% For a long name, we want to use ``William'' in the text |
| 952 |
% and ``Wm.'' in the margin. |
| 953 |
|
| 954 |
\newcommand*\WM |
| 955 |
{% |
| 956 |
\ifSpecialFN Wm.\else |
| 957 |
William\fi |
| 958 |
} |
| 959 |
|
| 960 |
% The first surname use will be ``Shakespeare'', but ``the |
| 961 |
% Bard'' thereafter. We allow for alternate caps. |
| 962 |
% We can get ``Shakespeare'' thereafter by toggling a flag. |
| 963 |
|
| 964 |
\newcommand*\SHK |
| 965 |
{% |
| 966 |
\ifRevertSN |
| 967 |
\textSC{Shakespeare}\else |
| 968 |
\ifSpecialSN |
| 969 |
\noexpand\AltCaps{t}he Bard\else |
| 970 |
\textSC{Shakespeare}% |
| 971 |
\fi |
| 972 |
\fi |
| 973 |
} |
| 974 |
|
| 975 |
% Here is how we toggle that flag. |
| 976 |
|
| 977 |
\newcommand*\Revert{\RevertSNtrue} |
| 978 |
|
| 979 |
% The ``first-use'' hook prints a name, then tries |
| 980 |
% to insert a margin note using a different name form |
| 981 |
% and the user-accessible parser. Finally it resets |
| 982 |
% the reversion flag, which is only effective in the |
| 983 |
% ``subsequent-use'' hook. Note how macros in the |
| 984 |
% name arguments take the role of what the internal |
| 985 |
% Boolean flags might otherwise handle. |
| 986 |
|
| 987 |
\makeatletter |
| 988 |
\renewcommand*\NamesFormat[1] |
| 989 |
{% |
| 990 |
\RevertSNfalse\SpecialFNfalse\SpecialSNfalse% |
| 991 |
#1% |
| 992 |
\unless\ifinner |
| 993 |
\marginpar |
| 994 |
{% |
| 995 |
\footnotesize\raggedleft% |
| 996 |
\SpecialFNtrue\SpecialSNfalse% |
| 997 |
\NameParser% |
| 998 |
}% |
| 999 |
\fi |
| 1000 |
\global\RevertSNfalse% |
| 1001 |
} |
| 1002 |
|
| 1003 |
\renewcommand*\MainNameHook[1] |
| 1004 |
{% |
| 1005 |
\AltOff\SpecialFNfalse\SpecialSNtrue% |
| 1006 |
#1% |
| 1007 |
\unless\ifinner |
| 1008 |
\unless\ifRevertSN |
| 1009 |
\marginpar |
| 1010 |
{% |
| 1011 |
\footnotesize\raggedleft% |
| 1012 |
\SpecialFNfalse\SpecialSNfalse% |
| 1013 |
\NameParser% |
| 1014 |
}% |
| 1015 |
\fi |
| 1016 |
\fi |
| 1017 |
\global\RevertSNfalse% |
| 1018 |
} |
| 1019 |
\makeatother |
| 1020 |
|
| 1021 |
\index{special uses} |
| 1022 |
\ForgetThis\Shak\ is the national poet of England |
| 1023 |
in much the same way that \Name[Robert]{\textSC{Burns}} |
| 1024 |
is that of Scotland. With the latter's rise of influence |
| 1025 |
in the 1800s, \Revert\Shak\ became known as ``\Shak''. |
| 1026 |
|
| 1027 |
% |
| 1028 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1029 |
% |
| 1030 |
|
| 1031 |
\section{Customization Using Internals} |
| 1032 |
|
| 1033 |
\makeatletter |
| 1034 |
\newcommand*\Fbox[1]{% |
| 1035 |
\if@nameauth@DoAlt\protect\fbox{#1}\else#1\fi |
| 1036 |
} |
| 1037 |
\makeatother |
| 1038 |
|
| 1039 |
\renewcommand*\NamesFormat{} |
| 1040 |
\renewcommand*\FrontNamesFormat{} |
| 1041 |
\renewcommand*\MainNameHook{\AltOff} |
| 1042 |
\renewcommand*\FrontNameHook{\AltOff} |
| 1043 |
|
| 1044 |
\index{customization, easy} |
| 1045 |
\deSmet\ was a Jesuit missionary who arrived in North |
| 1046 |
America in 1821 at the age of twenty, after a year of seminary |
| 1047 |
education. \CapThis\deSmet\ was ordained in 1827 and worked |
| 1048 |
among American Indian nations after 1837. We can show the forms |
| 1049 |
\LdeSmet\ and \SdeSmet. |
| 1050 |
|
| 1051 |
% |
| 1052 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1053 |
% |
| 1054 |
|
| 1055 |
\section{Customization Using Separate Macros} |
| 1056 |
|
| 1057 |
We do not show this section in the manual because it starts to go farther afield of the main focus of \textsf{nameauth}. Nevertheless, we show it for completeness. |
| 1058 |
|
| 1059 |
\newif\ifFbox % Replaces \if@nameauth@DoAlt \AltOn \AltOff |
| 1060 |
\newif\ifFirstCap % Replaces \if@nameauth@DoCaps \AltCaps |
| 1061 |
\newif\ifInHook % Replaces \if@nameauth@InHook hook dispatcher |
| 1062 |
\Fboxtrue % Replaces \AltFormatActive |
| 1063 |
|
| 1064 |
% Alternate formatting macro definition |
| 1065 |
\renewcommand*\Fbox[1]{% |
| 1066 |
\ifFbox\protect\fbox{#1}\else#1\fi |
| 1067 |
} |
| 1068 |
|
| 1069 |
% Redefinition of \AltCaps and \CapThis |
| 1070 |
\renewcommand*\AltCaps[1]{% |
| 1071 |
\ifInHook |
| 1072 |
\ifFirstCap\MakeUppercase{#1}\else#1\fi |
| 1073 |
\else |
| 1074 |
#1% |
| 1075 |
\fi |
| 1076 |
} |
| 1077 |
\renewcommand*\CapThis{\FirstCaptrue} |
| 1078 |
|
| 1079 |
\renewcommand*\NamesFormat[1] |
| 1080 |
{\InHooktrue\NameParser\global\FirstCapfalse} |
| 1081 |
|
| 1082 |
\renewcommand*\MainNameHook[1] |
| 1083 |
{\Fboxfalse\InHooktrue\NameParser\global\FirstCapfalse} |
| 1084 |
|
| 1085 |
\let\FrontNamesFormat\Namesformat |
| 1086 |
\let\FrontNameHook\MainNameHook |
| 1087 |
|
| 1088 |
\index{customization, complicated} |
| 1089 |
\ForgetThis\deSmet\ was a Jesuit missionary who arrived in North |
| 1090 |
America in 1821 at the age of twenty, after a year of seminary |
| 1091 |
education. \CapThis\deSmet\ was ordained in 1827 and worked |
| 1092 |
among American Indian nations after 1837. We can show the forms |
| 1093 |
\LdeSmet\ and \SdeSmet. |
| 1094 |
|
| 1095 |
\newif\ifCaps % Replaces \if@nameauth@DoAlt |
| 1096 |
\Capstrue % Replaces \AltFormatActive |
| 1097 |
|
| 1098 |
% Alternate formatting macro definition |
| 1099 |
\renewcommand*\textSC[1]{\ifCaps\textsc{#1}\else#1\fi} |
| 1100 |
|
| 1101 |
% Redefinition of \AltCaps and \CapThis |
| 1102 |
\renewcommand*\AltCaps[1]{% |
| 1103 |
\ifInHook |
| 1104 |
\ifFirstCap\MakeUppercase{#1}\else#1\fi |
| 1105 |
\else |
| 1106 |
#1% |
| 1107 |
\fi |
| 1108 |
} |
| 1109 |
\renewcommand*\CapThis{\FirstCaptrue} |
| 1110 |
|
| 1111 |
\renewcommand*\NamesFormat[1] |
| 1112 |
{\InHooktrue#1\global\FirstCapfalse} |
| 1113 |
|
| 1114 |
\renewcommand*\MainNameHook[1] |
| 1115 |
{\Capsfalse\InHooktrue#1\global\FirstCapfalse} |
| 1116 |
|
| 1117 |
\let\FrontNamesFormat\Namesformat |
| 1118 |
\let\FrontNameHook\MainNameHook |
| 1119 |
|
| 1120 |
\ForgetThis\Luth\ was a leading figure in the Protestant |
| 1121 |
Reformation. \Luth\ believed that one is declared |
| 1122 |
righteous in a forensic sense by divine grace through faith |
| 1123 |
created by the Holy Spirit via the Gospel and the Sacraments. |
| 1124 |
|
| 1125 |
\ForgetThis\Cath\ was not only Queen of France in her own right, |
| 1126 |
but she also guided the reigns of her three sons. |
| 1127 |
\CapThis\LCath[\noexpand\AltCaps{d}e'] |
| 1128 |
was blamed for the St.\ Bartholomew's Day massacre that saw the |
| 1129 |
murder of thousands of Huguenots. |
| 1130 |
|
| 1131 |
\renewcommand*\NamesFormat{} |
| 1132 |
\newcommand*\FrontNamesFormat{} |
| 1133 |
\renewcommand*\MainNameHook{} |
| 1134 |
\renewcommand*\FrontNameHook{} |
| 1135 |
|
| 1136 |
% |
| 1137 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1138 |
% |
| 1139 |
|
| 1140 |
\section{Full Customization} |
| 1141 |
|
| 1142 |
We do not go into this much detail in the manual because it starts to go farther afield of the main focus of \textsf{nameauth}. Nevertheless, we show it for completeness. |
| 1143 |
|
| 1144 |
\subsection[With xparse]{With \textsf{xparse}} |
| 1145 |
|
| 1146 |
\makeatletter |
| 1147 |
|
| 1148 |
% Change the general-case name macro to show |
| 1149 |
% a name in a framed, colored box. |
| 1150 |
|
| 1151 |
\NewDocumentCommand{\MyName}{O{} m O{}} |
| 1152 |
{\fcolorbox{black}{gray!25!white}{\@nameauth@Name[#1]{#2}[#3]}} |
| 1153 |
|
| 1154 |
% Likewise change the macro for when names are forced long. |
| 1155 |
\NewDocumentCommand{\MyLName}{O{} m O{}} |
| 1156 |
{\fcolorbox{black}{green!25!white}{\@nameauth@Name[#1]{#2}[#3]}} |
| 1157 |
|
| 1158 |
% Likewise change the macro when personal names are desired. |
| 1159 |
\NewDocumentCommand{\MyFName}{O{} m O{}} |
| 1160 |
{\fcolorbox{black}{yellow!25!white}{\@nameauth@Name[#1]{#2}[#3]}} |
| 1161 |
\makeatother |
| 1162 |
|
| 1163 |
% Change the formatting hooks, but do not use alternate. |
| 1164 |
% formatting, which is separate from that above. |
| 1165 |
\renewcommand*\NamesFormat[1]{\scshape#1} |
| 1166 |
\renewcommand*\MainNameHook[1]{#1} |
| 1167 |
|
| 1168 |
% Change the naming macro hooks. |
| 1169 |
\renewcommand*\NameauthName{\MyName} |
| 1170 |
\renewcommand*\NameauthLName{\MyLName} |
| 1171 |
\renewcommand*\NameauthFName{\MyFName} |
| 1172 |
|
| 1173 |
\index{customization, insane} |
| 1174 |
\ForgetThis\Name[Adolf]{Harnack} was a theologian who stressed |
| 1175 |
the Fatherhood of God and the brotherhood of man. |
| 1176 |
\Name[Adolf]{Harnack} flourished in the early twentieth |
| 1177 |
century; \Name*[Adolf von]{Harnack}; \FName[Adolf]{Harnack}. |
| 1178 |
\AltFormatInactive |
| 1179 |
|
| 1180 |
\makeatletter |
| 1181 |
\renewcommand*\NameauthName{\@nameauth@Name} |
| 1182 |
\renewcommand*\NameauthLName{\@nameauth@Name} |
| 1183 |
\renewcommand*\NameauthFName{\@nameauth@Name} |
| 1184 |
\makeatother |
| 1185 |
|
| 1186 |
\renewcommand*\NamesFormat{} |
| 1187 |
\renewcommand*\MainNameHook{} |
| 1188 |
|
| 1189 |
\subsection[With xargs]{With \textsf{xargs}} |
| 1190 |
|
| 1191 |
\makeatletter |
| 1192 |
% Change the general-case name macro to show |
| 1193 |
% a name in a framed, colored box. |
| 1194 |
|
| 1195 |
\renewcommandx\MyName[3][1=\empty, 3=\empty] |
| 1196 |
{\fcolorbox{black}{gray!25!white}{\@nameauth@Name[#1]{#2}[#3]}} |
| 1197 |
|
| 1198 |
% Likewise change the macro for when names are forced long. |
| 1199 |
\renewcommandx\MyLName[3][1=\empty, 3=\empty] |
| 1200 |
{\fcolorbox{black}{green!25!white}{\@nameauth@Name[#1]{#2}[#3]}} |
| 1201 |
|
| 1202 |
% Likewise change the macro when personal names are desired. |
| 1203 |
\renewcommandx\MyFName[3][1=\empty, 3=\empty] |
| 1204 |
{\fcolorbox{black}{yellow!25!white}{\@nameauth@Name[#1]{#2}[#3]}} |
| 1205 |
\makeatother |
| 1206 |
|
| 1207 |
% Change the formatting hooks, but do not use alternate. |
| 1208 |
% formatting, which is separate from that above. |
| 1209 |
\renewcommand*\NamesFormat[1]{\scshape#1} |
| 1210 |
\renewcommand*\MainNameHook[1]{#1} |
| 1211 |
|
| 1212 |
% Change the naming macro hooks. |
| 1213 |
\renewcommand*\NameauthName{\MyName} |
| 1214 |
\renewcommand*\NameauthLName{\MyLName} |
| 1215 |
\renewcommand*\NameauthFName{\MyFName} |
| 1216 |
|
| 1217 |
\index{customization, insane} |
| 1218 |
\ForgetThis\Name[Adolf]{Harnack} was a theologian who stressed |
| 1219 |
the Fatherhood of God and the brotherhood of man. |
| 1220 |
\Name[Adolf]{Harnack} flourished in the early twentieth |
| 1221 |
century; \Name*[Adolf von]{Harnack}; \FName[Adolf]{Harnack}. |
| 1222 |
\AltFormatInactive |
| 1223 |
|
| 1224 |
\makeatletter |
| 1225 |
\renewcommand*\NameauthName{\@nameauth@Name} |
| 1226 |
\renewcommand*\NameauthLName{\@nameauth@Name} |
| 1227 |
\renewcommand*\NameauthFName{\@nameauth@Name} |
| 1228 |
\makeatother |
| 1229 |
|
| 1230 |
\renewcommand*\NamesFormat{} |
| 1231 |
\renewcommand*\MainNameHook{} |
| 1232 |
|
| 1233 |
% |
| 1234 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1235 |
% |
| 1236 |
|
| 1237 |
\section{\protect\LaTeX\ Engines} |
| 1238 |
|
| 1239 |
\subsection{\protect\texttt{compat.tex}} |
| 1240 |
|
| 1241 |
One can define \Verb+\nolangs+ before loading the file below to inhibit |
| 1242 |
the default language loading. We use Latin Modern for the font to get |
| 1243 |
a consistent look. Below we list the salient cross-engine points from |
| 1244 |
\texttt{compat.tex}, included with \textsf{nameauth}. |
| 1245 |
\index{\protect\LaTeX\ engines} |
| 1246 |
|
| 1247 |
\begin{quote}\small |
| 1248 |
\VerbatimInput[gobble=0, firstline=24]{compat.tex} |
| 1249 |
\end{quote} |
| 1250 |
|
| 1251 |
\subsection{Check Engine Tests} |
| 1252 |
|
| 1253 |
In the body text we can use something like the test below for:\quad |
| 1254 |
\fbox{\ifxetex doing \texttt{pdf} things\else |
| 1255 |
\ifpdf doing \texttt{pdf} things\else |
| 1256 |
doing \texttt{dvi} things\fi |
| 1257 |
\fi} |
| 1258 |
|
| 1259 |
\begin{quote}\small |
| 1260 |
\begin{Verbatim} |
| 1261 |
\ifxetex |
| 1262 |
doing \texttt{pdf} things |
| 1263 |
\else |
| 1264 |
\ifpdf |
| 1265 |
doing \texttt{pdf} things |
| 1266 |
\else |
| 1267 |
doing \texttt{dvi} things |
| 1268 |
\fi |
| 1269 |
\fi |
| 1270 |
\end{Verbatim} |
| 1271 |
\end{quote} |
| 1272 |
|
| 1273 |
The following equivalent conditional statements can help a macro |
| 1274 |
or just the body text to work under multiple engines: |
| 1275 |
\begin{quote}\small |
| 1276 |
\begin{Verbatim} |
| 1277 |
\ifxetex xelatex% |
| 1278 |
\else |
| 1279 |
\ifluatex |
| 1280 |
\ifpdf lualatex (pdf)% |
| 1281 |
\else lualatex (dvi)% |
| 1282 |
\fi |
| 1283 |
\else |
| 1284 |
\ifpdf pdflatex% |
| 1285 |
\else latex (dvi)% |
| 1286 |
\fi |
| 1287 |
\fi |
| 1288 |
\fi |
| 1289 |
\end{Verbatim} |
| 1290 |
|
| 1291 |
\begin{Verbatim} |
| 1292 |
\unless\ifxetex |
| 1293 |
\unless\ifluatex |
| 1294 |
\ifpdf pdflatex% |
| 1295 |
\else latex (dvi)% |
| 1296 |
\fi |
| 1297 |
\else |
| 1298 |
\ifpdf lualatex (pdf)% |
| 1299 |
\else lualatex (dvi)% |
| 1300 |
\fi |
| 1301 |
\fi |
| 1302 |
\else xelatex% |
| 1303 |
\fi |
| 1304 |
\end{Verbatim} |
| 1305 |
\end{quote} |
| 1306 |
|
| 1307 |
% |
| 1308 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1309 |
% |
| 1310 |
|
| 1311 |
\section{Miscellaneous Tests: Spaces} |
| 1312 |
|
| 1313 |
Here we test to see if any unwanted spaces exist in macros that take |
| 1314 |
name arguments. If everything is OK, one should see two vertical bars |
| 1315 |
\texttt{||} where no output in the text is produced, or no spaces |
| 1316 |
between an enclosed name and the bars. This section also tests if most |
| 1317 |
possible argument combinations work in most macros that take name arguments. |
| 1318 |
|
| 1319 |
\subsection{Western Name with Suffix} |
| 1320 |
|
| 1321 |
\begin{quote} |
| 1322 |
\Verb+\Name[FNNa]{SNNa, Affix}[Alternate]+\dotfill |
| 1323 |
|\Name[FNNa]{SNNa, Affix}[Alternate]|\\ |
| 1324 |
\Verb+\Name*[FNNa]{SNNa, Affix}+\dotfill |
| 1325 |
|\Name*[FNNa]{SNNa, Affix}|\\ |
| 1326 |
\Verb+\DropAffix\Name*[FNNa]{SNNa, Affix}[Alternate]+\dotfill |
| 1327 |
|\DropAffix\Name*[FNNa]{SNNa, Affix}[Alternate]|\\ |
| 1328 |
\Verb+\DropAffix\Name*[FNNa]{SNNa, Affix}+\dotfill |
| 1329 |
|\DropAffix\Name*[FNNa]{SNNa, Affix}|\\ |
| 1330 |
\Verb+\Name[FNNa]{SNNa, Affix}[Alternate]+\dotfill |
| 1331 |
|\Name[FNNa]{SNNa, Affix}[Alternate]|\\ |
| 1332 |
\Verb+\Name[FNNa]{SNNa, Affix}+\dotfill |
| 1333 |
|\Name[FNNa]{SNNa, Affix}|\\ |
| 1334 |
\Verb+\FName[FNNa]{SNNa, Affix}[Alternate]+\dotfill |
| 1335 |
|\FName[FNNa]{SNNa, Affix}[Alternate]|\\ |
| 1336 |
\Verb+\FName[FNNa]{SNNa, Affix}+\dotfill |
| 1337 |
|\FName[FNNa]{SNNa, Affix}| |
| 1338 |
\end{quote} |
| 1339 |
|
| 1340 |
\subsection{Western Name without Suffix} |
| 1341 |
|
| 1342 |
\begin{quote} |
| 1343 |
\Verb+\Name[FNNb]{SNNb}[Alternate]+\dotfill |
| 1344 |
|\Name[FNNb]{SNNb}[Alternate]|\\ |
| 1345 |
\Verb+\Name*[FNNb]{SNNb}+\dotfill |
| 1346 |
|\Name*[FNNb]{SNNb}|\\ |
| 1347 |
\Verb+\Name[FNNb]{SNNb}[Alternate]+\dotfill |
| 1348 |
|\Name[FNNb]{SNNb}[Alternate]|\\ |
| 1349 |
\Verb+\Name[FNNb]{SNNb}+\dotfill |
| 1350 |
|\Name[FNNb]{SNNb}|\\ |
| 1351 |
\Verb+\FName[FNNb]{SNNb}[Alternate]+\dotfill |
| 1352 |
|\FName[FNNb]{SNNb}[Alternate]|\\ |
| 1353 |
\Verb+\FName[FNNb]{SNNb}+\dotfill |
| 1354 |
|\FName[FNNb]{SNNb}| |
| 1355 |
\end{quote} |
| 1356 |
|
| 1357 |
\subsection{Non-Western Name, Current Syntax} |
| 1358 |
|
| 1359 |
\begin{quote} |
| 1360 |
\Verb+\Name{SNNc, Affix}[Alternate]+\dotfill |
| 1361 |
|\Name{SNNc, Affix}[Alternate]|\\ |
| 1362 |
\Verb+\Name*{SNNc, Affix}+\dotfill |
| 1363 |
|\Name*{SNNc, Affix}|\\ |
| 1364 |
\Verb+\Name{SNNc, Affix}[Alternate]+\dotfill |
| 1365 |
|\Name{SNNc, Affix}[Alternate]|\\ |
| 1366 |
\Verb+\Name{SNNc, Affix}+\dotfill |
| 1367 |
|\Name{SNNc, Affix}|\\ |
| 1368 |
\Verb+\FName{SNNc, Affix}[Alternate]+\dotfill |
| 1369 |
|\FName{SNNc, Affix}[Alternate]|\\ |
| 1370 |
\Verb+\FName{SNNc, Affix}+\dotfill |
| 1371 |
|\FName{SNNc, Affix}|\\ |
| 1372 |
\Verb+\ForceFN\FName{SNNc, Affix}[Alternate]+\dotfill |
| 1373 |
|\ForceFN\FName{SNNc, Affix}[Alternate]|\\ |
| 1374 |
\Verb+\ForceFN\FName{SNNc, Affix}+\dotfill |
| 1375 |
|\ForceFN\FName{SNNc, Affix}| |
| 1376 |
\end{quote} |
| 1377 |
|
| 1378 |
\subsection{Non-Western Name, Obsolete Syntax} |
| 1379 |
|
| 1380 |
\begin{quote} |
| 1381 |
\Verb+\Name{SNNd}[Alternate]+\dotfill |
| 1382 |
|\Name{SNNd}[Alternate]|\\ |
| 1383 |
\Verb+\Name*{SNNd}[Alternate]+\dotfill |
| 1384 |
|\Name*{SNNd}[Alternate]|\\ |
| 1385 |
\Verb+\Name{SNNd}[Alternate]+\dotfill |
| 1386 |
|\Name{SNNd}[Alternate]|\\ |
| 1387 |
\Verb+\FName{SNNd}[Alternate]+\dotfill |
| 1388 |
|\FName{SNNd}[Alternate]|\\ |
| 1389 |
\Verb+\ForceFN\FName{SNNd}[Alternate]+\dotfill |
| 1390 |
|\ForceFN\FName{SNNd}[Alternate]| |
| 1391 |
\end{quote} |
| 1392 |
|
| 1393 |
\subsection{Working with All Forms} |
| 1394 |
|
| 1395 |
\subsubsection{Index Names and Xrefs} |
| 1396 |
|
| 1397 |
\begin{quote} |
| 1398 |
\Verb+\IndexName[FNNe]{SNNe, Affix}[Alternate]+\dotfill |
| 1399 |
|\IndexName[FNNe]{SNNe, Affix}[Alternate]|\\ |
| 1400 |
\Verb+\IndexName[FNNe]{SNNe, Affix}+\dotfill |
| 1401 |
|\IndexName[FNNe]{SNNe, Affix}|\\ |
| 1402 |
\Verb+\IndexName{SNNf, Affix}[Alternate]+\dotfill |
| 1403 |
|\IndexName{SNNf, Affix}[Alternate]|\\ |
| 1404 |
\Verb+\IndexName{SNNf, Affix}+\dotfill |
| 1405 |
|\IndexName{SNNf, Affix}|\\ |
| 1406 |
\Verb+\IndexName{SNNf}[Alternate]+\dotfill |
| 1407 |
|\IndexName{SNNf}[Alternate]| |
| 1408 |
\end{quote} |
| 1409 |
|
| 1410 |
\begin{quote} |
| 1411 |
\Verb+\IndexRef[FNNg]{SNNg, Affix}[Alternate]{Target}+\dotfill |
| 1412 |
|\IndexRef[FNNg]{SNNg, Affix}[Alternate]{Target}|\\ |
| 1413 |
\Verb+\IndexRef[FNNg]{SNNg, Affix}{Target}+\dotfill |
| 1414 |
|\IndexRef[FNNg]{SNNg, Affix}{Target}|\\ |
| 1415 |
\Verb+\IndexRef{SNNh, Affix}[Alternate]{Target}+\dotfill |
| 1416 |
|\IndexRef{SNNh, Affix}[Alternate]{Target}|\\ |
| 1417 |
\Verb+\IndexRef{SNNh, Affix}{Target}+\dotfill |
| 1418 |
|\IndexRef{SNNh, Affix}{Target}|\\ |
| 1419 |
\Verb+\IndexRef{SNNh}[Alternate]{Target}+\dotfill |
| 1420 |
|\IndexRef{SNNh}[Alternate]{Target}| |
| 1421 |
\end{quote} |
| 1422 |
|
| 1423 |
\subsubsection{Excluding and Including} |
| 1424 |
|
| 1425 |
\begin{quote} |
| 1426 |
\Verb+\ExcludeName[FNNi]{SNNi, Affix}[Alternate]+\dotfill |
| 1427 |
|\ExcludeName[FNNi]{SNNi, Affix}[Alternate]|\\ |
| 1428 |
\Verb+\ExcludeName[FNNi]{SNNi, Affix}+\dotfill |
| 1429 |
|\ExcludeName[FNNi]{SNNi, Affix}|\\ |
| 1430 |
\Verb+\ExcludeName{SNNj, Affix}[Alternate]+\dotfill |
| 1431 |
|\ExcludeName{SNNj, Affix}[Alternate]|\\ |
| 1432 |
\Verb+\ExcludeName{SNNj, Affix}+\dotfill |
| 1433 |
|\ExcludeName{SNNj, Affix}|\\ |
| 1434 |
\Verb+\ExcludeName{SNNj}[Alternate]+\dotfill |
| 1435 |
|\ExcludeName{SNNj}[Alternate]| |
| 1436 |
\end{quote} |
| 1437 |
|
| 1438 |
\begin{quote} |
| 1439 |
\Verb+\IncludeName[FNNi]{SNNi, Affix}[Alternate]+\dotfill |
| 1440 |
|\IncludeName[FNNi]{SNNi, Affix}[Alternate]|\\ |
| 1441 |
\Verb+\IncludeName[FNNi]{SNNi, Affix}+\dotfill |
| 1442 |
|\IncludeName[FNNi]{SNNi, Affix}|\\ |
| 1443 |
\Verb+\IncludeName{SNNj, Affix}[Alternate]+\dotfill |
| 1444 |
|\IncludeName{SNNj, Affix}[Alternate]|\\ |
| 1445 |
\Verb+\IncludeName{SNNj, Affix}+\dotfill |
| 1446 |
|\IncludeName{SNNj, Affix}|\\ |
| 1447 |
\Verb+\IncludeName{SNNj}[Alternate]+\dotfill |
| 1448 |
|\IncludeName{SNNj}[Alternate]| |
| 1449 |
\end{quote} |
| 1450 |
|
| 1451 |
\begin{quote} |
| 1452 |
\Verb+\IncludeName*[FNNi]{SNNi, Affix}[Alternate]+\dotfill |
| 1453 |
|\IncludeName*[FNNi]{SNNi, Affix}[Alternate]|\\ |
| 1454 |
\Verb+\IncludeName*[FNNi]{SNNi, Affix}+\dotfill |
| 1455 |
|\IncludeName*[FNNi]{SNNi, Affix}|\\ |
| 1456 |
\Verb+\IncludeName*{SNNj, Affix}[Alternate]+\dotfill |
| 1457 |
|\IncludeName*{SNNj, Affix}[Alternate]|\\ |
| 1458 |
\Verb+\IncludeName*{SNNj, Affix}+\dotfill |
| 1459 |
|\IncludeName*{SNNj, Affix}|\\ |
| 1460 |
\Verb+\IncludeName*{SNNj}[Alternate]+\dotfill |
| 1461 |
|\IncludeName*{SNNj}[Alternate]| |
| 1462 |
\end{quote} |
| 1463 |
|
| 1464 |
\subsubsection{Index Sorting} |
| 1465 |
|
| 1466 |
\begin{quote} |
| 1467 |
\Verb+\PretagName[FNNk]{SNNk, Affix}[Alternate]{Sorta}+\dotfill |
| 1468 |
|\PretagName[FNNk]{SNNk, Affix}[Alternate]{Sorta}|\\ |
| 1469 |
\Verb+\PretagName[FNNl]{SNNl, Affix}{Sortb}+\dotfill |
| 1470 |
|\PretagName[FNNl]{SNNl, Affix}{Sortb}|\\ |
| 1471 |
\Verb+\PretagName{SNNm, Affix}[Alternate]{Sortc}+\dotfill |
| 1472 |
|\PretagName{SNNm, Affix}[Alternate]{Sortc}|\\ |
| 1473 |
\Verb+\PretagName{SNNn, Affix}{Sortd}+\dotfill |
| 1474 |
|\PretagName{SNNn, Affix}{Sortd}|\\ |
| 1475 |
\Verb+\PretagName{SNNo}[Alternate]{Sorte}+\dotfill |
| 1476 |
|\PretagName{SNNo}[Alternate]{Sorte}| |
| 1477 |
\end{quote} |
| 1478 |
|
| 1479 |
\subsubsection{Index Tagging and Untagging} |
| 1480 |
|
| 1481 |
\begin{quote} |
| 1482 |
\Verb+\TagName[FNNa]{SNNa, Affix}[Alternate]{Tag}+\dotfill |
| 1483 |
|\TagName[FNNa]{SNNa, Affix}[Alternate]{Tag}|\\ |
| 1484 |
\Verb+\TagName[FNNa]{SNNa, Affix}{Tag}+\dotfill |
| 1485 |
|\TagName[FNNa]{SNNa, Affix}{Tag}|\\ |
| 1486 |
\Verb+\TagName[FNNb]{SNNb}[Alternate]{Tag}+\dotfill |
| 1487 |
|\TagName[FNNb]{SNNb}[Alternate]{Tag}|\\ |
| 1488 |
\Verb+\TagName[FNNb]{SNNb}{Tag}+\dotfill |
| 1489 |
|\TagName[FNNb]{SNNb, Affix}{Tag}|\\ |
| 1490 |
\Verb+\TagName{SNNc, Affix}[Alternate]{Tag}+\dotfill |
| 1491 |
|\TagName{SNNc, Affix}[Alternate]{Tag}|\\ |
| 1492 |
\Verb+\TagName{SNNc, Affix}{Tag}+\dotfill |
| 1493 |
|\TagName{SNNc, Affix}{Tag}|\\ |
| 1494 |
\Verb+\TagName{SNNd}[Alternate]{Tag}+\dotfill |
| 1495 |
|\TagName{SNNd}[Alternate]{Tag}| |
| 1496 |
\end{quote} |
| 1497 |
|
| 1498 |
\begin{quote} |
| 1499 |
\Verb+\UntagName[FNNa]{SNNa, Affix}[Alternate]+\dotfill |
| 1500 |
|\UntagName[FNNa]{SNNa, Affix}[Alternate]|\\ |
| 1501 |
\Verb+\UntagName[FNNa]{SNNa, Affix}+\dotfill |
| 1502 |
|\UntagName[FNNa]{SNNa, Affix}|\\ |
| 1503 |
\Verb+\UntagName[FNNb]{SNNb}[Alternate]+\dotfill |
| 1504 |
|\UntagName[FNNb]{SNNb}[Alternate]|\\ |
| 1505 |
\Verb+\UntagName[FNNb]{SNNb}+\dotfill |
| 1506 |
|\UntagName[FNNb]{SNNb, Affix}|\\ |
| 1507 |
\Verb+\UntagName{SNNc, Affix}[Alternate]+\dotfill |
| 1508 |
|\UntagName{SNNc, Affix}[Alternate]|\\ |
| 1509 |
\Verb+\UntagName{SNNc, Affix}+\dotfill |
| 1510 |
|\UntagName{SNNc, Affix}|\\ |
| 1511 |
\Verb+\UntagName{SNNd}[Alternate]+\dotfill |
| 1512 |
|\UntagName{SNNd}[Alternate]| |
| 1513 |
\end{quote} |
| 1514 |
|
| 1515 |
\subsubsection{Name Info} |
| 1516 |
|
| 1517 |
\begin{quote} |
| 1518 |
\Verb+\NameAddInfo[FNNa]{SNNa, Affix}[Alternate]{Info1}+\dotfill |
| 1519 |
|\NameAddInfo[FNNa]{SNNa, Affixa}[Alternate]{Info1}|\\ |
| 1520 |
\Verb+\NameAddInfo[FNNa]{SNNa, Affix}{Info2}+\dotfill |
| 1521 |
|\NameAddInfo[FNNa]{SNNa, Affix}{Info2}|\\ |
| 1522 |
\Verb+\NameAddInfo[FNNb]{SNNb}[Alternate]{Info3}+\dotfill |
| 1523 |
|\NameAddInfo[FNNb]{SNNb}[Alternate]{Info3}|\\ |
| 1524 |
\Verb+\NameAddInfo[FNNb]{SNNb}{Info4}+\dotfill |
| 1525 |
|\NameAddInfo[FNNb]{SNNb}{Info4}|\\ |
| 1526 |
\Verb+\NameAddInfo{SNNc, Affix}[Alternate]{Info5}+\dotfill |
| 1527 |
|\NameAddInfo{SNNc, Affix}[Alternate]{Info5}|\\ |
| 1528 |
\Verb+\NameAddInfo{SNNc, Affix}{Info6}+\dotfill |
| 1529 |
|\NameAddInfo{SNNc, Affix}{Info6}|\\ |
| 1530 |
\Verb+\NameAddInfo{SNNd}[Alternate]{Info7}+\dotfill |
| 1531 |
|\NameAddInfo{SNNd}[Alternate]{Info7}| |
| 1532 |
\end{quote} |
| 1533 |
|
| 1534 |
\begin{quote} |
| 1535 |
\Verb+\NameQueryInfo[FNNa]{SNNa, Affix}[Alternate]+\dotfill |
| 1536 |
|\NameQueryInfo[FNNa]{SNNa, Affix}[Alternate]|\\ |
| 1537 |
\Verb+\NameQueryInfo[FNNa]{SNNa, Affix}+\dotfill |
| 1538 |
|\NameQueryInfo[FNNa]{SNNa, Affix}|\\ |
| 1539 |
\Verb+\NameQueryInfo[FNNb]{SNNb}[Alternate]+\dotfill |
| 1540 |
|\NameQueryInfo[FNNb]{SNNb}[Alternate]|\\ |
| 1541 |
\Verb+\NameQueryInfo[FNNb]{SNNb}+\dotfill |
| 1542 |
|\NameQueryInfo[FNNb]{SNNb}|\\ |
| 1543 |
\Verb+\NameQueryInfo{SNNc, Affix}[Alternate]+\dotfill |
| 1544 |
|\NameQueryInfo{SNNc, Affix}[Alternate]|\\ |
| 1545 |
\Verb+\NameQueryInfo{SNNc, Affix}+\dotfill |
| 1546 |
|\NameQueryInfo{SNNc, Affix}|\\ |
| 1547 |
\Verb+\NameQueryInfo{SNNd}[Alternate]+\dotfill |
| 1548 |
|\NameQueryInfo{SNNd}[Alternate]| |
| 1549 |
\end{quote} |
| 1550 |
|
| 1551 |
\begin{quote} |
| 1552 |
\Verb+\NameClearInfo[FNNa]{SNNa, Affix}[Alternate]+\dotfill |
| 1553 |
|\NameClearInfo[FNNa]{SNNa, Affix}[Alternate]|\\ |
| 1554 |
\Verb+\NameClearInfo[FNNa]{SNNa, Affix}+\dotfill |
| 1555 |
|\NameClearInfo[FNNa]{SNNa, Affix}|\\ |
| 1556 |
\Verb+\NameClearInfo[FNNb]{SNNb}[Alternate]+\dotfill |
| 1557 |
|\NameClearInfo[FNNb]{SNNb}[Alternate]|\\ |
| 1558 |
\Verb+\NameClearInfo[FNNb]{SNNb}+\dotfill |
| 1559 |
|\NameClearInfo[FNNb]{SNNb}|\\ |
| 1560 |
\Verb+\NameClearInfo{SNNc, Affix}[Alternate]+\dotfill |
| 1561 |
|\NameClearInfo{SNNc, Affix}[Alternate]|\\ |
| 1562 |
\Verb+\NameClearInfo{SNNc, Affix}+\dotfill |
| 1563 |
|\NameClearInfo{SNNc, Affix}|\\ |
| 1564 |
\Verb+\NameClearInfo{SNNd}[Alternate]+\dotfill |
| 1565 |
|\NameClearInfo{SNNd}[Alternate]| |
| 1566 |
\end{quote} |
| 1567 |
|
| 1568 |
\subsubsection{Forgetting, Global} |
| 1569 |
|
| 1570 |
\begin{quote} |
| 1571 |
\Verb+\ForgetName[FNNa]{SNNa, Affix}[Alternate]+\dotfill |
| 1572 |
|\ForgetName[FNNa]{SNNa, Affix}[Alternate]|\\ |
| 1573 |
\Verb+\ForgetName[FNNa]{SNNa, Affix}+\dotfill |
| 1574 |
|\ForgetName[FNNa]{SNNa, Affix}|\\ |
| 1575 |
\Verb+\ForgetName[FNNb]{SNNb}[Alternate]+\dotfill |
| 1576 |
|\ForgetName[FNNb]{SNNb}[Alternate]|\\ |
| 1577 |
\Verb+\ForgetName[FNNb]{SNNb}+\dotfill |
| 1578 |
|\ForgetName[FNNb]{SNNb}|\\ |
| 1579 |
\Verb+\ForgetName{SNNc, Affix}[Alternate]+\dotfill |
| 1580 |
|\ForgetName{SNNc, Affix}[Alternate]|\\ |
| 1581 |
\Verb+\ForgetName{SNNc, Affix}+\dotfill |
| 1582 |
|\ForgetName{SNNc, Affix}|\\ |
| 1583 |
\Verb+\ForgetName{SNNd}[Alternate]+\dotfill |
| 1584 |
|\ForgetName{SNNd}[Alternate]| |
| 1585 |
\end{quote} |
| 1586 |
|
| 1587 |
\subsubsection{Subverting, Local} |
| 1588 |
|
| 1589 |
\begin{quote} |
| 1590 |
\Verb+\LocalNames+\LocalNames\\ |
| 1591 |
\Verb+\SubvertName[FNNa]{SNNa, Affix}[Alternate]+\dotfill |
| 1592 |
|\SubvertName[FNNa]{SNNa, Affix}[Alternate]|\\ |
| 1593 |
\Verb+\SubvertName[FNNb]{SNNb}[Alternate]+\dotfill |
| 1594 |
|\SubvertName[FNNb]{SNNb}[Alternate]|\\ |
| 1595 |
\Verb+\SubvertName{SNNc, Affix}[Alternate]+\dotfill |
| 1596 |
|\SubvertName{SNNc, Affix}[Alternate]|\\ |
| 1597 |
\Verb+\SubvertName{SNNd}[Alternate]+\dotfill |
| 1598 |
|\SubvertName{SNNd}[Alternate]|\\ |
| 1599 |
\Verb+\GlobalNames+\GlobalNames |
| 1600 |
\end{quote} |
| 1601 |
|
| 1602 |
\subsubsection{Name Conditionals} |
| 1603 |
|
| 1604 |
\begin{quote} |
| 1605 |
\Verb+\IfMainName[FNNa]{SNNa, Affix}{Y}{N}+\dotfill |
| 1606 |
|\IfMainName[FNNa]{SNNa, Affix}{Y}{N}|\\ |
| 1607 |
\Verb+\IfMainName[FNNb]{SNNb}{Y}{N}+\dotfill |
| 1608 |
|\IfMainName[FNNb]{SNNb}{Y}{N}|\\ |
| 1609 |
\Verb+\IfMainName{SNNc, Affix}{Y}{N}+\dotfill |
| 1610 |
|\IfMainName{SNNc, Affix}{Y}{N}|\\ |
| 1611 |
\Verb+\IfMainName{SNNd}[Alternate]{Y}{N}+\dotfill |
| 1612 |
|\IfMainName{SNNd}[Alternate]{Y}{N}| |
| 1613 |
\end{quote} |
| 1614 |
|
| 1615 |
\begin{quote} |
| 1616 |
\Verb+\IfFrontName[FNNa]{SNNa, Affix}[Alternate]{Y}{N}+\dotfill |
| 1617 |
|\IfFrontName[FNNa]{SNNa, Affix}[Alternate]{Y}{N}|\\ |
| 1618 |
\Verb+\IfFrontName[FNNb]{SNNb}[Alternate]{Y}{N}+\dotfill |
| 1619 |
|\IfFrontName[FNNb]{SNNb}[Alternate]{Y}{N}|\\ |
| 1620 |
\Verb+\IfFrontName{SNNc, Affix}[Alternate]{Y}{N}+\dotfill |
| 1621 |
|\IfFrontName{SNNc, Affix}[Alternate]{Y}{N}|\\ |
| 1622 |
\Verb+\IfFrontName{SNNd}[Alternate]{Y}{N}+\dotfill |
| 1623 |
|\IfFrontName{SNNd}[Alternate]{Y}{N}| |
| 1624 |
\end{quote} |
| 1625 |
|
| 1626 |
\begin{quote} |
| 1627 |
\Verb+\SeeAlso\IndexRef[FNNp]{SNNp, Affix}{Target}+\dotfill |
| 1628 |
|\SeeAlso\IndexRef[FNNp]{SNNp, Affix}{Target}|\\ |
| 1629 |
\Verb+\ExcludeName{SNNq, Affix}+\dotfill |
| 1630 |
|\ExcludeName{SNNq, Affix}|\\ |
| 1631 |
\Verb+\IfAKA[FNNp]{SNNp, Affix}[Alternate]{Y}{N}{X}+\dotfill |
| 1632 |
|\IfAKA[FNNp]{SNNp, Affix}[Alternate]{Y}{N}{X}|\\ |
| 1633 |
\Verb+\IfAKA[FNNp]{SNNp, Affix}{Y}{N}{X}+\dotfill |
| 1634 |
|\IfAKA[FNNp]{SNNp, Affix}{Y}{N}{X}|\\ |
| 1635 |
\Verb+\IfAKA{SNNq, Affix}[Alternate]{Y}{N}{X}+\dotfill |
| 1636 |
|\IfAKA{SNNq, Affix}[Alternate]{Y}{N}{X}|\\ |
| 1637 |
\Verb+\IfAKA{SNNq, Affix}{Y}{N}{X}+\dotfill |
| 1638 |
|\IfAKA{SNNq, Affix}{Y}{N}{X}|\\ |
| 1639 |
\Verb+\IfAKA{SNNr}[Alternate]{Y}{N}{X}+\dotfill |
| 1640 |
|\IfAKA{SNNr}[Alternate]{Y}{N}{X}| |
| 1641 |
\end{quote} |
| 1642 |
|
| 1643 |
\subsubsection{Pseudonym Syntax: The Horror} |
| 1644 |
|
| 1645 |
\begin{quote} |
| 1646 |
\Verb+\AKA[FNN1]{SNN1, Affix1}%+\\ |
| 1647 |
\Verb+ [FNN2]{SNN2, Affix2}[Alternate2]+\dotfill |
| 1648 |
|\AKA[FNN1]{SNN1, Affix1}[FNN2]{SNN2, Affix2}[Alternate2]|\\ |
| 1649 |
\Verb+\AKA[FNN1]{SNN1, Affix1}%+\\ |
| 1650 |
\Verb+ [FNN2]{SNN2, Affix2}+\dotfill |
| 1651 |
|\AKA[FNN1]{SNN1, Affix1}[FNN2]{SNN2, Affix2}|\\ |
| 1652 |
\Verb+\DropAffix\AKA[FNN1]{SNN1, Affix1}%+\\ |
| 1653 |
\Verb+ [FNN2]{SNN2, Affix2}+\dotfill |
| 1654 |
|\DropAffix\AKA[FNN1]{SNN1, Affix1}[FNN2]{SNN2, Affix2}|\\ |
| 1655 |
\Verb+\AKA*[FNN1]{SNN1, Affix1}%+\\ |
| 1656 |
\Verb+ [FNN2]{SNN2, Affix2}[Alternate2]+\dotfill |
| 1657 |
|\AKA*[FNN1]{SNN1, Affix1}[FNN2]{SNN2, Affix2}[Alternate2]|\\ |
| 1658 |
\Verb+\AKA*[FNN1]{SNN1, Affix1}%+\\ |
| 1659 |
\Verb+ [FNN2]{SNN2, Affix2}+\dotfill |
| 1660 |
|\AKA*[FNN1]{SNN1, Affix1}[FNN2]{SNN2, Affix2}| |
| 1661 |
\end{quote} |
| 1662 |
|
| 1663 |
\begin{quote} |
| 1664 |
\Verb+\AKA[FNN1]{SNN1, Affix1}%+\\ |
| 1665 |
\Verb+ {SNN3, Affix3}[Alternate3]+\dotfill |
| 1666 |
|\AKA[FNN1]{SNN1, Affix1}{SNN3, Affix3}[Alternate3]|\\ |
| 1667 |
\Verb+\AKA[FNN1]{SNN1, Affix1}%+\\ |
| 1668 |
\Verb+ {SNN3, Affix3}+\dotfill |
| 1669 |
|\AKA[FNN1]{SNN1, Affix1}{SNN3, Affix3}|\\ |
| 1670 |
\Verb+\AKA*[FNN1]{SNN1, Affix1}%+\\ |
| 1671 |
\Verb+ {SNN3, Affix3}+\dotfill |
| 1672 |
|\AKA*[FNN1]{SNN1, Affix1}{SNN3, Affix3}|\\ |
| 1673 |
\Verb+\ForceFN\AKA*[FNN1]{SNN1, Affix1}%+\\ |
| 1674 |
\Verb+ {SNN3, Affix3}[Alternate3]+\dotfill |
| 1675 |
|\ForceFN\AKA*[FNN1]{SNN1, Affix1}{SNN3, Affix3}[Alternate3]|\\ |
| 1676 |
\Verb+\ForceFN\AKA*[FNN1]{SNN1, Affix1}%+\\ |
| 1677 |
\Verb+ {SNN3, Affix3}+\dotfill |
| 1678 |
|\ForceFN\AKA*[FNN1]{SNN1, Affix1}{SNN3, Affix3}| |
| 1679 |
\end{quote} |
| 1680 |
|
| 1681 |
\begin{quote} |
| 1682 |
\Verb+\AKA[FNN1]{SNN1, Affix1}{SNN4}[Alternate4]+\dotfill |
| 1683 |
|\AKA[FNN1]{SNN1, Affix1}{SNN4}[Alternate4]|\\ |
| 1684 |
\Verb+\AKA*[FNN1]{SNN1, Affix1}{SNN4}[Alternate4]+\dotfill |
| 1685 |
|\AKA*[FNN1]{SNN1, Affix1}{SNN4}[Alternate4]|\\ |
| 1686 |
\Verb+\ForceFN\AKA*[FNN1]{SNN1, Affix1}{SNN4}[Alternate4]+\dotfill |
| 1687 |
|\ForceFN\AKA*[FNN1]{SNN1, Affix1}{SNN4}[Alternate4]| |
| 1688 |
\end{quote} |
| 1689 |
|
| 1690 |
\begin{quote} |
| 1691 |
\Verb+\AKA{SNN5, Affix5}%+\\ |
| 1692 |
\Verb+ [FNN6]{SNN6, Affix6}[Alternate6]+\dotfill |
| 1693 |
|\AKA{SNN5, Affix5}[FNN6]{SNN6, Affix6}[Alternate6]|\\ |
| 1694 |
\Verb+\AKA{SNN5, Affix5}{SNN7, Affix7}+\dotfill |
| 1695 |
|\AKA{SNN5, Affix5}{SNN7, Affix7}|\\ |
| 1696 |
\Verb+\AKA{SNN5, Affix5}{SNN8}[Alternate8]+\dotfill |
| 1697 |
|\AKA{SNN5, Affix5}{SNN8}[Alternate8]|\\ |
| 1698 |
\end{quote} |
| 1699 |
|
| 1700 |
\subsection{Reference Targets for Completeness} |
| 1701 |
|
| 1702 |
\begin{quote} |
| 1703 |
\Verb+\IndexName{Target}+\dotfill|\IndexName{Target}|\\ |
| 1704 |
\Verb+\IndexName[FNN1]{SNN1, Affix1}+\dotfill |
| 1705 |
|\IndexName[FNN1]{SNN1, Affix1}|\\ |
| 1706 |
\Verb+\IndexName{SNN5, Affix5}+\dotfill |
| 1707 |
|\IndexName{SNN5, Affix5}| |
| 1708 |
\end{quote} |
| 1709 |
|
| 1710 |
% |
| 1711 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1712 |
% |
| 1713 |
|
| 1714 |
\phantomsection |
| 1715 |
\addcontentsline{toc}{section}{Index of Persons} |
| 1716 |
\printindex[per] |
| 1717 |
|
| 1718 |
\renewcommand\indexname{Index of Subjects} |
| 1719 |
\phantomsection |
| 1720 |
\addcontentsline{toc}{section}{Index of Subjects} |
| 1721 |
\printindex |
| 1722 |
|
| 1723 |
\end{document} |