Statistics
| Branch: | Revision:

iof-bird-daemon / doc / sbase / dist / birddoc / latex2e / mapping @ 963929df

History | View | Annotate | Download (6.42 KB)

1 6e06e6ee Pavel Machek
2 6cba2d5e Martin Mares
% birddoc to LaTeX replacement file
3 6e06e6ee Pavel Machek
4 1632f1fe Pavel Machek
% The \relax is there to avoid sgml2latex rewriting the class
5 70104ef4 Pavel Tvrdik
<book>		+ "\\relax\\documentclass\[a4paper,10pt,openany,oneside\]{book}\n"
6 a2df7c03 Pavel Tvrdik
			"\\usepackage\[colorlinks=true,linkcolor=blue,pdftitle={BIRD User's Guide}\]{hyperref}\n"
7 f15dc681 Pavel Tvrdik
			"\\usepackage{enumitem}\n"
8 6cba2d5e Martin Mares
			"\\usepackage{birddoc}\n"
9 6e06e6ee Pavel Machek
			"\\usepackage{qwertz}\n"
10
			"\\usepackage{url}\n"
11
			"\\usepackage\[latin1\]{inputenc}\n"
12
			"\\usepackage{epsfig}\n"
13
			"\\usepackage{[OPTS]}\n"
14
			"\\pagestyle{headings}%end-preamble\n" 	+
15
16
</book>		+	"\\end{document}"	+
17
18
% Manual Pages are expected to be formatted using nroff (or groff), unless
19 9faf72c8 Pavel Tvrdik
% they are included  as sections of other qwertz documents.
20 6e06e6ee Pavel Machek
21
<manpage>
22
</manpage>
23
24 a13eaf21 Martin Mares
<progdoc>		"\\progdoc"
25
</progdoc>
26
27 6e06e6ee Pavel Machek
<titlepag>
28
</titlepag>	+	"\n\n\\begin{document}\n"
29
			"\\maketitle\n"		+
30
31 9faf72c8 Pavel Tvrdik
<title>		+	"\\title{"
32 6e06e6ee Pavel Machek
</title>		"}"		+
33
34
<subtitle>		"\\\\\n"
35
			"{\\large "
36
</subtitle>		"}" +
37
38 9faf72c8 Pavel Tvrdik
<author>	+	"\\author{"
39 6e06e6ee Pavel Machek
</author>		"}"	+
40
41 9faf72c8 Pavel Tvrdik
<name>
42 6e06e6ee Pavel Machek
</name>
43
44
<and>			"\\and "	+
45
</and>
46
47
<thanks>		"\\thanks{"
48
</thanks>		"}"
49
50
<inst>			" \\\\\n\\\\" 	+
51
</inst>
52
53
<date>		+	"\\date{"
54
</date>			"}"		  +
55
56 9faf72c8 Pavel Tvrdik
<newline>		"\\\\ "
57 6e06e6ee Pavel Machek
</newline>
58
59
<label>			"\\label{[ID]}"
60 b9864aa8 Pavel Tvrdik
</label>
61 6e06e6ee Pavel Machek
62
<header>	+	"\\markboth"
63 9faf72c8 Pavel Tvrdik
</header>
64 6e06e6ee Pavel Machek
65
<lhead>			"{"
66
</lhead>		"}"
67
68
<rhead>			"{"
69
</rhead>		"}"	+
70
71
% <comment>	+	"\n\n\\begin{verbatim}"	+
72
% </comment>	+	"\\end{verbatim}\n\n"	+
73
74
<comment>		"{\\tt "
75
</comment>		"}"
76
77
% Hacked by mdw to use linuxdoc-sgml \abstract{...}
78 9faf72c8 Pavel Tvrdik
<abstract>	+	"\\abstract{"
79 6e06e6ee Pavel Machek
</abstract>	 	"}"	+
80
81
<appendix>	+	"\n \\appendix \n"	+
82
</appendix>
83
84
<toc>		+	"\\tableofcontents"	+
85
</toc>
86
87
<lof>		+	"\\listoffigures"	+
88
</lof>
89
90
<lot>		+	"\\listoftables"	+
91
</lot>
92
93
<chapt>		+	"\n\\chapter"
94
</chapt>
95
96
<sect>		+	"\n\\section"
97
</sect>
98
99
<sect1>		+	"\n\\subsection"
100
</sect1>
101
102
<sect2>		+	"\n\\subsubsection"
103
</sect2>
104
105
<sect3>		+	"\n\\paragraph"
106 9faf72c8 Pavel Tvrdik
</sect3>
107 6e06e6ee Pavel Machek
108
<sect4>		+	"\n\\subparagraph"
109
</sect4>
110
111
<heading>		"{"
112 9faf72c8 Pavel Tvrdik
</heading>		"}\n\n"
113 6e06e6ee Pavel Machek
114 b9864aa8 Pavel Tvrdik
<p>			"\\phantomsection{}"
115 6e06e6ee Pavel Machek
</p>			"\n\n"
116
117
<itemize>	+	"\\begin{itemize}"	+
118
</itemize>	+	"\\end{itemize}"	+
119
120
<enum>		+	"\\begin{enumerate}"	+
121
</enum>		+	"\\end{enumerate}"	+
122
123
<list>		+	"\\begin{list}{}{}\n"     +
124
</list>		+	"\\end{list}"		+
125
126 f15dc681 Pavel Tvrdik
<descrip>	+	"\\begin{description}\[style=unboxed\]"	+
127 6e06e6ee Pavel Machek
</descrip>	+	"\\end{description}"	+
128
129
<item>		+	"\\item "
130
</item>
131
132 b9864aa8 Pavel Tvrdik
<tag>		+	"\\phantomsection\\item\[{\\ttfamily "
133 6cba2d5e Martin Mares
</tag>			"}\] \\hfil\\break\n"	+
134 6e06e6ee Pavel Machek
135 fcdddff5 Martin Mares
<tagp>		+	"\\item\[ "
136 6cba2d5e Martin Mares
</tagp>			"\] \\hfil\\break\n"	+
137 fcdddff5 Martin Mares
138 6e06e6ee Pavel Machek
<cite>			"\\cite{[ID]"
139
</cite>			"}"
140
141
<ncite>			"\\cite\[[NOTE]\]{[ID]"
142
</ncite>		"}"
143
144
<idx>	                "\\idx{"
145
</idx>                  "}"
146
147
<cdx>			"\\cdx{"
148
</cdx>			"}"
149
150
<nidx>	                "\\nidx{"
151
</nidx>                  "}"
152
153
<ncdx>			"\\ncdx{"
154
</ncdx>			"}"
155
156
% The idea here is to automatically insert soft hyphens after every slash in
157
% the filename, so long filenames will break naturally.  The url{} macro is
158
% a kluge but it works,
159 963929df Pavel Tvrdik
<file>			"{\\tt "
160 6e06e6ee Pavel Machek
</file>			"}"
161
162
<footnote>		"\\footnote{"
163
</footnote>		"}"
164
165
<sq>			"``"
166
</sq>			"''"
167
168
<lq>		+	"\\begin{quotation}\n"	+
169
</lq>		+	"\n\\end{quotation}\n\n"	+
170
171 1605f043 Martin Mares
<em>		 	"{\\it "
172 6e06e6ee Pavel Machek
</em>			"\\/}"
173
174 1605f043 Martin Mares
<m>		 	"{\\it "
175 6e06e6ee Pavel Machek
</m>			"\\/}"
176
177 1605f043 Martin Mares
<bf>			"{\\bf "
178 6e06e6ee Pavel Machek
</bf>			"}"
179
180 1605f043 Martin Mares
<it>			"{\\it "
181 6e06e6ee Pavel Machek
</it>			"\\/}"
182
183 1605f043 Martin Mares
<sf>			"{\\sf "
184 6e06e6ee Pavel Machek
</sf>			"}"
185
186 1605f043 Martin Mares
<sl>			"{\\sl "
187 6e06e6ee Pavel Machek
</sl>			"}"
188
189 1605f043 Martin Mares
<rm>                    "{\\rm "
190 6e06e6ee Pavel Machek
</rm>                   "}"
191
192 1605f043 Martin Mares
<tt>			"{\\tt "
193 6e06e6ee Pavel Machek
</tt>			"}"
194
195 1605f043 Martin Mares
<cf>			"{\\tt "
196 6e06e6ee Pavel Machek
</cf>			"}"
197
198 fcdddff5 Martin Mares
<const>			"{\\tt "
199
</const>		"}"
200
201
<func>			"{\\it "
202
</func>			"\\/}"
203
204
<struct>		"{\\tt "
205
</struct>		"}"
206
207
<param>			"{\\it "
208 6cba2d5e Martin Mares
</param>		"\\/}"
209 fcdddff5 Martin Mares
210
<type>			"{\\rm "
211
</type>			"}"
212
213
<funcdef>		"{\\it "
214
</funcdef>		"\\/}"
215
216 2debcb9e Martin Mares
<function>		"{\\function "
217 fcdddff5 Martin Mares
</function>		"}\n\n"
218
219 2debcb9e Martin Mares
<funcsect>		"\n\\funcsect{"
220
</funcsect>		"}"
221 fcdddff5 Martin Mares
222
<hrule>			"\\hrule"
223
224 6e06e6ee Pavel Machek
% Added by mdw
225
<cparam>		"\\cparam{"
226
</cparam>		"}"
227
228 b9864aa8 Pavel Tvrdik
<ref>			"\\hyperref\[[ID]\]{[NAME]} (p.\\,\\getpagerefnumber{[ID]})"
229 6e06e6ee Pavel Machek
</ref>
230
231
<pageref>		"\\pageref{[ID]}"
232
</pageref>
233
234
%url added by HG
235 b9864aa8 Pavel Tvrdik
<url>			"\\href{[URL]}{[NAME]}"
236 6e06e6ee Pavel Machek
</url>
237
238 b9864aa8 Pavel Tvrdik
<htmlurl>		"\\href{[URL]}{[NAME]}"
239 6e06e6ee Pavel Machek
</htmlurl>
240
241 9faf72c8 Pavel Tvrdik
<x>
242 6e06e6ee Pavel Machek
</x>
243
244 9faf72c8 Pavel Tvrdik
<mc>
245 6e06e6ee Pavel Machek
</mc>
246
247
<biblio>	+	"\\bibliographystyle{[STYLE]}\n"
248
			"\\bibliography{[FILES]}\n"
249
			"\\addbibtoc{}"	+
250 9faf72c8 Pavel Tvrdik
</biblio>
251 6e06e6ee Pavel Machek
252
% <macro>		+	"\\macro{[ID]}{\\qw[ID]}"
253
% </macro>
254
255
% <main>		+	"\\macro{qwmain}{\\qwmain}"
256
% </main>
257
258 6cba2d5e Martin Mares
%<code>		+	"\\par\n"
259
%			"\\medbreak\\hrule\\nopagebreak\n"
260
%			"\\begin{verbatim}"	+
261
%
262
%</code>		+	"\\end{verbatim}\n"
263
%			"\\nopagebreak\\hrule\\medbreak\n" +
264
265 6e06e6ee Pavel Machek
<code>		+	"\\par\n"
266 6cba2d5e Martin Mares
			"\\goodbreak{\\birdnarrow\n"
267 6e06e6ee Pavel Machek
			"\\begin{verbatim}"	+
268
269 6cba2d5e Martin Mares
</code>		+	"\\end{verbatim}\n"
270
			"}\\smallbreak\n" +
271 6e06e6ee Pavel Machek
272
<verb>		+	"\\begin{verbatim}"	+
273
</verb>		+	"\\end{verbatim}"	+
274
275
% tscreen added by mdw
276
<tscreen>	+	"\\begin{tscreen}"	+
277
</tscreen>	+	"\\end{tscreen}"	+
278
279
<quote> +       "\\begin{quotation}"    +
280
</quote>        +       "\\end{quotation}"      +
281
282
% theorems and such
283
284
<def>		+	"\\begin{definition}"
285
</def>		+	"\\end{definition}\n\n" 	+
286
287
<prop>		+	"\\begin{proposition}"	+
288
</prop>		+	"\\end{proposition}"	+
289
290
<lemma>		+	"\\begin{lemma}"
291
</lemma>	+	"\\end{lemma}\n\n"	+
292
293
<coroll>	+	"\\begin{corollary}"
294
</coroll>	+	"\\end{corollary}\n\n"	+
295
296
<proof>		+	"\n{\\noindent{\\bf Proof.}  "	+
297
</proof>	+	"}"
298
299
<theorem>	+	"\\begin{theorem}"
300
</theorem>	+	"\\end{theorem}\n\n"	+
301
302
<thtag>			"\["
303
</thtag>		"\]"			+
304
305 9faf72c8 Pavel Tvrdik
% mathematics
306 6e06e6ee Pavel Machek
307
<f>			"$"
308
</f>			"$"
309
310 9faf72c8 Pavel Tvrdik
<dm>		+	"\\\["
311 6e06e6ee Pavel Machek
</dm>			"\\\]"  +
312
313
<eq>		+	"\\begin{equation}"	+
314
</eq>		+	"\\end{equation}\n"	+
315
316
<fr>			"\\frac"
317 9faf72c8 Pavel Tvrdik
</fr>
318 6e06e6ee Pavel Machek
319
<nu>			"{"
320
</nu>			"}"
321
322
<de>			"{"
323
</de>			"}"
324
325 9faf72c8 Pavel Tvrdik
<lim>
326 6e06e6ee Pavel Machek
</lim>
327
328
<op>
329
</op>
330
331
<ll>			"_{"
332
</ll>			"}"
333
334
<ul>			"^{"
335
</ul>			"}"
336
337
<opd>
338
</opd>
339
340
<pr>			"\\prod"
341
</pr>
342
343
<in>			"\\int"
344
</in>
345
346
<sum>			"\\sum"
347 9faf72c8 Pavel Tvrdik
</sum>
348 6e06e6ee Pavel Machek
349
<root>			"\\sqrt\[[n]\]{"
350
</root>			"}"
351
352
<ar>		+	"\\begin{array}{[ca]}"	+
353
</ar>		+	"\\end{array}"		+
354
355
<arr>                   " \\\\ " +
356
</arr>
357
358
<arc>                   " & "
359
</arc>
360
361
362
<sup>			"^{"
363
</sup>			"}"
364
365
<inf>			"_{"
366
</inf>			"}"
367
368
<unl>			"\\underline{"
369
</unl>			"}"
370
371
<ovl>			"\\overline{"
372
</ovl>			"}"
373
374
<rf>			"\\mbox{\\tt "
375
</rf>			"}"
376
377
<v>			"\\vec{"
378
</v>			"}"
379
380
<fi>			"{\\cal "
381
</fi>			"}"
382
383
<phr>			"{\\rm "
384
</phr>			"}"
385
386
<tu>			"\\\\ \n"
387
</tu>
388
389
% figures
390
391
<figure>	+	"\\begin{figure}\[[LOC]\]"	+
392
</figure>	+	"\\end{figure}\n"		+
393
394
<eps>		+   	"\\centerline{\\epsfig{file=[FILE],height=[HEIGHT],angle=[ANGLE]}}"  +
395 9faf72c8 Pavel Tvrdik
</eps>
396
397 6e06e6ee Pavel Machek
398
<ph>		+	"\\vspace{[VSPACE]}\n\\par"	+
399 9faf72c8 Pavel Tvrdik
</ph>
400 6e06e6ee Pavel Machek
401
<caption>	+	"\\caption{"
402
</caption>		"}" 	+
403
404
% tables
405
406
<table>		+ 	"\\begin{table}\[[LOC]\]"	+
407
</table>	+	"\\end{table}"		+
408
409
<tabular>	+	"\\begin{center}\n"
410
			"\\begin{tabular}{[ca]}"	+
411
</tabular>	+	"\\end{tabular}\n"
412
			"\\end{center}"		+
413
414
<rowsep>		"\\\\ "		+
415
</rowsep>
416
417
<colsep>		"& "
418
</colsep>
419
420
<hline>		+	"\\hline"	+
421
</hline>
422
423
% end of latex replacement file