summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/frankenstein/abbrevs.cfg
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/frankenstein/abbrevs.cfg
Initial commit
Diffstat (limited to 'macros/latex/contrib/frankenstein/abbrevs.cfg')
-rw-r--r--macros/latex/contrib/frankenstein/abbrevs.cfg290
1 files changed, 290 insertions, 0 deletions
diff --git a/macros/latex/contrib/frankenstein/abbrevs.cfg b/macros/latex/contrib/frankenstein/abbrevs.cfg
new file mode 100644
index 0000000000..7c3143045c
--- /dev/null
+++ b/macros/latex/contrib/frankenstein/abbrevs.cfg
@@ -0,0 +1,290 @@
+% \iffalse
+%%
+% Even if you don't want any code in this file, leave the empty file, or else
+% loading the \package{abbrevs} package will consume extra time as it searches
+% for this file.
+%%
+% \fi
+% \begin{macrocode}
+\def\fileinfo{Abbrevs package configuration}
+\def\fileversion{v1.2}
+\def\filedate{2001/08/31}
+\def\docdate{1997/10/18}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ProvidesFile{abbrevs.cfg}
+% \end{macrocode}
+%
+% \AddToCheckSum{25}
+%
+% \section{\cname{DateMarkSize}}
+%
+% \begin{macro}{\DateMarkSize}
+% I like to use this definition instead of the one in the main file, but I
+% didn't want to require \package{abbrevs} to depend on \package{relsize}.
+% \begin{macrocode}
+\RequirePackage{relsize}
+\def\DateMarkSize {%
+ \relsize{-1}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \section{Backwards compatibility}
+%
+% \begin{macro}{\TMNewCategory}
+% \begin{macro}{\TMDefineAbbrevPlain}
+% This can be uncommented to deal with anything you might have written that
+% referred to these variables before I changed their names.
+% \begin{macrocode}
+% \newlet\TMNewCategory\NewAbbrevCategory
+% \newlet\TMDefineAbbrevPlain\TMDefineAbbrevStandard
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \section{Suggestions}
+%
+% Here are ideas commented out that you might want to try.
+%
+% You can learn a helpful general strategy about how to work with hooks in
+% \LaTeX{} from this example. If you put the inhibitor directly into
+% \cs\PreFootnote, you could never take it out without either losing whatever
+% else had been put into \cs\PreFootnote, or using some thorny procedure that
+% stepped through the macro and removed just the inhibitor (you don't want to
+% try that). If you add a ``subhook'' to \cs\PreFootnote, you can turn the
+% subhook on or off without even knowing what else in in \cs\PreFootnote. You
+% can't redefine \cs\TMInhibitSwitchingtrue. A \cs\newcommand would work as
+% well as the \cs\newlet here, a tad less efficient.
+% \begin{macrocode}
+% \newlet\FootnoteTMHook\TMInhibitSwitchingtrue
+% \addto@macro\PreFootnote {%
+% \FootnoteTMHook
+% }
+% \end{macrocode}
+% To undo the effect later, say \code{\let\FootnoteTMHook\relax} or
+% \code{\global\let}\lips as appropriate.
+%
+% \part{Testing}
+%
+% \ResetAbbrevs{All}
+%
+% I'm presently writing a dissertation on \beckett. Although there is
+% comparatively little biographical material available, it is well known that
+% he spent several years under the wing of \joyce, another of the great writers
+% in English this century. \joyce and \beckett, it is curious, like other
+% great writers, both had trouble with their vision, and both were exiles in
+% some sense. One of my favorite pieces by \beckett is \worst, a short work
+% written in the 1980's not long before his death: ``Fail again. Fail
+% better.'' \worst is lyric and exalting to me. A work I feel is underrated
+% is the radio play \fall (all but his three long plays are collected in \csp).
+% It's extremely funny, and very touchingly compassionate. Because it is a
+% radio play, it loses less from performance to reading. I would recommend
+% \fall to anyone. His later plays (and fiction) are famously enigmatic, but
+% with a little practice, it is not hard to see the same lyric beauty and
+% compassion. Take the brief television play \nacht (in \csp of course), which
+% has no dialogue, only a few murmured bars of the Schubert song, also brief,
+% and also called \nacht---it's one of the most hauntingly beautiful few
+% minutes of music I've ever heard, and I particularly recommend Cheryl
+% Studer's recording on Deutsche Grammophone. Every other recording I've heard
+% plays too fast.
+%
+% \ResetAbbrevs{All}
+%
+% \joyceshort is short for \joyce, not \joyce Smith.
+%
+% \ResetAbbrevs{All}
+%
+% Now some more rigious and boring testing. Each pair should be identical.
+%
+% \newbook\aaa{initial}[subsequent]
+% \newname\www{tmacro}[tmacro-subsequent]
+%
+% {\parindent0pt
+%
+% ^^A\def\ldebug#1{\tracingmacros#1\tracingcommands#1\VerboseErrors\relax}
+% \let\ldebug\Gobble
+%
+% \textit{\textitswitch{initial} hello}\\
+% \ldebug1\relax
+% \textit{\aaa hello}
+% \ldebug0\relax
+%
+% \textup{\textitswitch{subsequent} hello}\\
+% \ldebug1\relax
+% \textup{\aaa hello}
+% \ldebug0\relax
+%
+% \textit{subsequent}~tie\\
+% \ldebug1\relax
+% \aaa~tie
+% \ldebug0\relax
+%
+% \textit{subsequent} regular text\\
+% \ldebug1\relax
+% \aaa regular text
+% \ldebug0\relax
+%
+% \textit{subsequent}: colon\\
+% \ldebug1\relax
+% \aaa: colon
+% \ldebug0\relax
+%
+% \textit{subsequent}; semicolon\\
+% \ldebug1\relax
+% \aaa; semicolon
+% \ldebug0\relax
+%
+% \textit{subsequent}. Period.\\
+% \ldebug1\relax
+% \aaa. Period.
+% \ldebug0\relax
+%
+% \textit{subsequent}! Exclamation point.\\
+% \ldebug1\relax
+% \aaa! Exclamation point.
+% \ldebug0\relax
+%
+% \textit{subsequent}? Question mark.\\
+% \ldebug1\relax
+% \aaa? Question mark.
+% \ldebug0\relax
+%
+% \textit{subsequent}-hyphen.\\
+% \ldebug1\relax
+% \aaa-hyphen.
+% \ldebug0\relax
+%
+% \textit{subsequent} \texttt{texttt}\\
+% \ldebug1\relax
+% \aaa \texttt{texttt}
+% \ldebug0\relax
+%
+% \textit{subsequent} (leftparen)\\
+% \ldebug1\relax
+% \aaa (leftparen)
+% \ldebug0\relax
+%
+% (\textit{subsequent}) rightparen\\
+% \ldebug1\relax
+% (\aaa) rightparen
+% \ldebug0\relax
+%
+% \textit{subsequent}, comma\\
+% \ldebug1\relax
+% \aaa, comma.
+% \ldebug0\relax
+%
+% \textit{subsequent} tmacro\\
+% \ldebug1\relax
+% \aaa \www
+% \ldebug0\relax
+%
+% \textit{subsequent}'s face\\
+% \ldebug1\relax
+% \aaa's face
+% \ldebug0\relax
+%
+% \textit{subsequent} ``quote''\\
+% \ldebug1\relax
+% \aaa ``quote''
+% \ldebug0\relax
+%
+% \textit{subsequent} [leftbracket]\\
+% \ldebug1\relax
+% \aaa [leftbracket]
+% \ldebug0\relax
+%
+% [\textit{subsequent}] rightbracket\\
+% \ldebug1\relax
+% [\aaa] rightbracket
+% \ldebug0\relax
+%
+% \textit{subsequent}{open group}\\
+% \ldebug1\relax
+% \aaa {opengroup}
+% \ldebug0\relax
+%
+% {\textit{subsequent}} close group\\
+% \ldebug1\relax
+% {\aaa} close group
+% \ldebug0\relax
+%
+% \textit{subsequent} \{realbrace\}\\
+% \ldebug1\relax
+% \aaa \{realbrace\}
+% \ldebug0\relax
+%
+% \textit{subsequent} 666 number\\
+% \ldebug1\relax
+% \aaa 666 number
+% \ldebug0\relax
+%
+% \textit{subsequent} $x=y^2$ math\\
+% \ldebug1\relax
+% \aaa $x=y^2$ math
+% \ldebug0\relax
+%
+% \textit{subsequent} \$realdollar\\
+% \ldebug1\relax
+% \aaa \$realdollar
+% \ldebug0\relax
+%
+% \textit{subsequent} \#numbersign\\
+% \ldebug1\relax
+% \aaa \#numbersign
+% \ldebug0\relax
+%
+% \textit{subsequent}/slash\\
+% \ldebug1\relax
+% \aaa /slash
+% \ldebug0\relax
+%
+% \textit{subsequent}\/ italic correction\\
+% \ldebug1\relax
+% \aaa \/ italic correction
+% \ldebug0\relax
+%
+% \textit{subsequent}\ explicit space\\
+% \ldebug1\relax
+% \aaa \ explicit space
+% \ldebug0\relax
+%
+% \textit{subsequent}\space \cs\space\\
+% \ldebug1\relax
+% \aaa \space \cs\space
+% \ldebug0\relax
+%
+% \makeatletter
+%
+% \textit{subsequent}\@xobeysp \cname{@xobeysp}\\
+% \ldebug1\relax
+% \aaa \@xobeysp \cname{@xobeysp}
+% \ldebug0\relax
+%
+% \def\ACRcnta{1}
+% \def\ACRcntb{3}
+% \acromake{CIA}{{\ttfamily CIA}}{Central Intelligence Agency}
+% \newcommand\TMacromakebugit {%
+% \Debug1
+% \typeout{CIA \expandafter\meaning\csname CIA\endcsname}
+% \typeout{LONG \expandafter\meaning\csname CIAlong \endcsname}
+% \typeout{SHORT \expandafter\meaning\csname CIAshort \endcsname}
+% \typeout{secondary \expandafter\meaning\csname CIAsecondary \endcsname}
+% }
+%
+% The \CIA is overthrowing Nigeria.
+%
+% The \CIA is watching in your window right now.
+%
+% The \CIA will stop that missile.
+%
+% The \CIA! The \CIA! The \CIA. The \CIA guys.
+%
+% Resetting Acromake abbrevs.
+% \TMResetAcromake
+%
+% The \CIA! The \CIA! The \CIA. The \CIA guys.
+%
+% } ^^A closes testing group?