summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/frankenstein/abbrevs.cfg
blob: 7c3143045c2e17ea50efefef735fa7e3f62199c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
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?