Statistics
| Branch: | Revision:

iof-bird-daemon / doc / sbase / dist / birddoc / latex2e / mapping @ 1632f1fe

History | View | Annotate | Download (6.27 KB)

1

    
2
% birddoc to LaTeX replacement file
3

    
4
% The \relax is there to avoid sgml2latex rewriting the class
5
<book>		+ "\\relax\\documentclass\[a4paper,10pt,openany\]{book}\n"
6
			"\\usepackage{birddoc}\n"
7
			"\\usepackage{qwertz}\n"
8
			"\\usepackage{url}\n"
9
			"\\usepackage\[latin1\]{inputenc}\n"
10
			"\\usepackage{epsfig}\n"
11
			"\\usepackage{[OPTS]}\n"
12
			"\\pagestyle{headings}%end-preamble\n" 	+
13

    
14
</book>		+	"\\end{document}"	+
15

    
16
% Manual Pages are expected to be formatted using nroff (or groff), unless
17
% they are included  as sections of other qwertz documents.  
18

    
19
<manpage>
20
</manpage>
21

    
22
<progdoc>		"\\progdoc"
23
</progdoc>
24

    
25
<titlepag>
26
</titlepag>	+	"\n\n\\begin{document}\n"
27
			"\\maketitle\n"		+
28

    
29
<title>		+	"\\title{"	
30
</title>		"}"		+
31

    
32
<subtitle>		"\\\\\n"
33
			"{\\large "
34
</subtitle>		"}" +
35

    
36
<author>	+	"\\author{"	
37
</author>		"}"	+
38

    
39
<name>		
40
</name>
41

    
42
<and>			"\\and "	+
43
</and>
44

    
45
<thanks>		"\\thanks{"
46
</thanks>		"}"
47

    
48
<inst>			" \\\\\n\\\\" 	+
49
</inst>
50

    
51
<date>		+	"\\date{"
52
</date>			"}"		  +
53

    
54
<newline>		"\\\\ "		  
55
</newline>
56

    
57
<label>			"\\label{[ID]}"
58
</label>	
59

    
60
<header>	+	"\\markboth"
61
</header>	
62

    
63
<lhead>			"{"
64
</lhead>		"}"
65

    
66
<rhead>			"{"
67
</rhead>		"}"	+
68

    
69
% <comment>	+	"\n\n\\begin{verbatim}"	+
70
% </comment>	+	"\\end{verbatim}\n\n"	+
71

    
72
<comment>		"{\\tt "
73
</comment>		"}"
74

    
75
% Hacked by mdw to use linuxdoc-sgml \abstract{...}
76
<abstract>	+	"\\abstract{"	
77
</abstract>	 	"}"	+
78

    
79
<appendix>	+	"\n \\appendix \n"	+
80
</appendix>
81

    
82
<toc>		+	"\\tableofcontents"	+
83
</toc>
84

    
85
<lof>		+	"\\listoffigures"	+
86
</lof>
87

    
88
<lot>		+	"\\listoftables"	+
89
</lot>
90

    
91
<chapt>		+	"\n\\chapter"
92
</chapt>
93

    
94
<sect>		+	"\n\\section"
95
</sect>
96

    
97
<sect1>		+	"\n\\subsection"
98
</sect1>
99

    
100
<sect2>		+	"\n\\subsubsection"
101
</sect2>
102

    
103
<sect3>		+	"\n\\paragraph"
104
</sect3>	
105

    
106
<sect4>		+	"\n\\subparagraph"
107
</sect4>
108

    
109
<heading>		"{"
110
</heading>		"}\n\n" 
111

    
112
<p>		
113
</p>			"\n\n"
114

    
115
<itemize>	+	"\\begin{itemize}"	+
116
</itemize>	+	"\\end{itemize}"	+
117

    
118
<enum>		+	"\\begin{enumerate}"	+
119
</enum>		+	"\\end{enumerate}"	+
120

    
121
<list>		+	"\\begin{list}{}{}\n"     +
122
</list>		+	"\\end{list}"		+
123

    
124
<descrip>	+	"\\begin{description}"	+
125
</descrip>	+	"\\end{description}"	+
126

    
127
<item>		+	"\\item "
128
</item>
129

    
130
<tag>		+	"\\item\[{\\ttfamily "
131
</tag>			"}\] \\hfil\\break\n"	+
132

    
133
<tagp>		+	"\\item\[ "
134
</tagp>			"\] \\hfil\\break\n"	+
135

    
136
<cite>			"\\cite{[ID]"
137
</cite>			"}"
138

    
139
<ncite>			"\\cite\[[NOTE]\]{[ID]"
140
</ncite>		"}"
141

    
142
<idx>	                "\\idx{"
143
</idx>                  "}"
144

    
145
<cdx>			"\\cdx{"
146
</cdx>			"}"
147

    
148
<nidx>	                "\\nidx{"
149
</nidx>                  "}"
150

    
151
<ncdx>			"\\ncdx{"
152
</ncdx>			"}"
153

    
154
% The idea here is to automatically insert soft hyphens after every slash in
155
% the filename, so long filenames will break naturally.  The url{} macro is
156
% a kluge but it works,
157
<file>			"\\url{"
158
</file>			"}"
159

    
160
<footnote>		"\\footnote{"
161
</footnote>		"}"
162

    
163
<sq>			"``"
164
</sq>			"''"
165

    
166
<lq>		+	"\\begin{quotation}\n"	+
167
</lq>		+	"\n\\end{quotation}\n\n"	+
168

    
169
<em>		 	"{\\it "
170
</em>			"\\/}"
171

    
172
<m>		 	"{\\it "
173
</m>			"\\/}"
174

    
175
<bf>			"{\\bf "
176
</bf>			"}"
177

    
178
<it>			"{\\it "
179
</it>			"\\/}"
180

    
181
<sf>			"{\\sf "
182
</sf>			"}"
183

    
184
<sl>			"{\\sl "
185
</sl>			"}"
186

    
187
<rm>                    "{\\rm "
188
</rm>                   "}"
189

    
190
<tt>			"{\\tt "
191
</tt>			"}"
192

    
193
<cf>			"{\\tt "
194
</cf>			"}"
195

    
196
<const>			"{\\tt "
197
</const>		"}"
198

    
199
<func>			"{\\it "
200
</func>			"\\/}"
201

    
202
<struct>		"{\\tt "
203
</struct>		"}"
204

    
205
<param>			"{\\it "
206
</param>		"\\/}"
207

    
208
<type>			"{\\rm "
209
</type>			"}"
210

    
211
<funcdef>		"{\\it "
212
</funcdef>		"\\/}"
213

    
214
<function>		"{\\function "
215
</function>		"}\n\n"
216

    
217
<funcsect>		"\n\\funcsect{"
218
</funcsect>		"}"
219

    
220
<hrule>			"\\hrule"
221

    
222
% Added by mdw
223
<cparam>		"\\cparam{"
224
</cparam>		"}"
225

    
226
<ref>			"\\ref{[ID]} {([NAME])}"
227
</ref>
228

    
229
<pageref>		"\\pageref{[ID]}"
230
</pageref>
231

    
232
%url added by HG
233
<url>			"\\nameurl{[URL]}{[NAME]}"
234
</url>
235

    
236
<htmlurl>		"\\onlynameurl{[NAME]}"
237
</htmlurl>
238

    
239
<x>	
240
</x>
241

    
242
<mc>			
243
</mc>
244

    
245
<biblio>	+	"\\bibliographystyle{[STYLE]}\n"
246
			"\\bibliography{[FILES]}\n"
247
			"\\addbibtoc{}"	+
248
</biblio>	
249

    
250
% <macro>		+	"\\macro{[ID]}{\\qw[ID]}"
251
% </macro>
252

    
253
% <main>		+	"\\macro{qwmain}{\\qwmain}"
254
% </main>
255

    
256
%<code>		+	"\\par\n"
257
%			"\\medbreak\\hrule\\nopagebreak\n"
258
%			"\\begin{verbatim}"	+
259
%
260
%</code>		+	"\\end{verbatim}\n"
261
%			"\\nopagebreak\\hrule\\medbreak\n" +
262

    
263
<code>		+	"\\par\n"
264
			"\\goodbreak{\\birdnarrow\n"
265
			"\\begin{verbatim}"	+
266

    
267
</code>		+	"\\end{verbatim}\n"
268
			"}\\smallbreak\n" +
269

    
270
<verb>		+	"\\begin{verbatim}"	+
271
</verb>		+	"\\end{verbatim}"	+
272

    
273
% tscreen added by mdw
274
<tscreen>	+	"\\begin{tscreen}"	+
275
</tscreen>	+	"\\end{tscreen}"	+
276

    
277
<quote> +       "\\begin{quotation}"    +
278
</quote>        +       "\\end{quotation}"      +
279

    
280
% theorems and such
281

    
282
<def>		+	"\\begin{definition}"
283
</def>		+	"\\end{definition}\n\n" 	+
284

    
285
<prop>		+	"\\begin{proposition}"	+
286
</prop>		+	"\\end{proposition}"	+
287

    
288
<lemma>		+	"\\begin{lemma}"
289
</lemma>	+	"\\end{lemma}\n\n"	+
290

    
291
<coroll>	+	"\\begin{corollary}"
292
</coroll>	+	"\\end{corollary}\n\n"	+
293

    
294
<proof>		+	"\n{\\noindent{\\bf Proof.}  "	+
295
</proof>	+	"}"
296

    
297
<theorem>	+	"\\begin{theorem}"
298
</theorem>	+	"\\end{theorem}\n\n"	+
299

    
300
<thtag>			"\["
301
</thtag>		"\]"			+
302

    
303
% mathematics 
304

    
305
<f>			"$"
306
</f>			"$"
307

    
308
<dm>		+	"\\\["	
309
</dm>			"\\\]"  +
310

    
311
<eq>		+	"\\begin{equation}"	+
312
</eq>		+	"\\end{equation}\n"	+
313

    
314
<fr>			"\\frac"
315
</fr>		
316

    
317
<nu>			"{"
318
</nu>			"}"
319

    
320
<de>			"{"
321
</de>			"}"
322

    
323
<lim>			
324
</lim>
325

    
326
<op>
327
</op>
328

    
329
<ll>			"_{"
330
</ll>			"}"
331

    
332
<ul>			"^{"
333
</ul>			"}"
334

    
335
<opd>
336
</opd>
337

    
338
<pr>			"\\prod"
339
</pr>
340

    
341
<in>			"\\int"
342
</in>
343

    
344
<sum>			"\\sum"
345
</sum>		
346

    
347
<root>			"\\sqrt\[[n]\]{"
348
</root>			"}"
349

    
350
<ar>		+	"\\begin{array}{[ca]}"	+
351
</ar>		+	"\\end{array}"		+
352

    
353
<arr>                   " \\\\ " +
354
</arr>
355

    
356
<arc>                   " & "
357
</arc>
358

    
359

    
360
<sup>			"^{"
361
</sup>			"}"
362

    
363
<inf>			"_{"
364
</inf>			"}"
365

    
366
<unl>			"\\underline{"
367
</unl>			"}"
368

    
369
<ovl>			"\\overline{"
370
</ovl>			"}"
371

    
372
<rf>			"\\mbox{\\tt "
373
</rf>			"}"
374

    
375
<v>			"\\vec{"
376
</v>			"}"
377

    
378
<fi>			"{\\cal "
379
</fi>			"}"
380

    
381
<phr>			"{\\rm "
382
</phr>			"}"
383

    
384
<tu>			"\\\\ \n"
385
</tu>
386

    
387
% figures
388

    
389
<figure>	+	"\\begin{figure}\[[LOC]\]"	+
390
</figure>	+	"\\end{figure}\n"		+
391

    
392
<eps>		+   	"\\centerline{\\epsfig{file=[FILE],height=[HEIGHT],angle=[ANGLE]}}"  +
393
</eps>                	
394
            	
395

    
396
<ph>		+	"\\vspace{[VSPACE]}\n\\par"	+
397
</ph>	
398

    
399
<caption>	+	"\\caption{"
400
</caption>		"}" 	+
401

    
402
% tables
403

    
404
<table>		+ 	"\\begin{table}\[[LOC]\]"	+
405
</table>	+	"\\end{table}"		+
406

    
407
<tabular>	+	"\\begin{center}\n"
408
			"\\begin{tabular}{[ca]}"	+
409
</tabular>	+	"\\end{tabular}\n"
410
			"\\end{center}"		+
411

    
412
<rowsep>		"\\\\ "		+
413
</rowsep>
414

    
415
<colsep>		"& "
416
</colsep>
417

    
418
<hline>		+	"\\hline"	+
419
</hline>
420

    
421
% end of latex replacement file