Statistics
| Branch: | Revision:

iof-bird-daemon / doc / sbase / dist / birddoc / latex2e / mapping @ 2debcb9e

History | View | Annotate | Download (6.2 KB)

1

    
2
% birddoc to LaTeX replacement file
3

    
4
<book>		+ "\\documentclass\[a4paper,10pt,openany\]{book}\n"
5
			"\\usepackage{birddoc}\n"
6
			"\\usepackage{qwertz}\n"
7
			"\\usepackage{url}\n"
8
			"\\usepackage\[latin1\]{inputenc}\n"
9
			"\\usepackage{t1enc}\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
<titlepag>
23
</titlepag>	+	"\n\n\\begin{document}\n"
24
			"\\maketitle\n"		+
25

    
26
<title>		+	"\\title{"	
27
</title>		"}"		+
28

    
29
<subtitle>		"\\\\\n"
30
			"{\\large "
31
</subtitle>		"}" +
32

    
33
<author>	+	"\\author{"	
34
</author>		"}"	+
35

    
36
<name>		
37
</name>
38

    
39
<and>			"\\and "	+
40
</and>
41

    
42
<thanks>		"\\thanks{"
43
</thanks>		"}"
44

    
45
<inst>			" \\\\\n\\\\" 	+
46
</inst>
47

    
48
<date>		+	"\\date{"
49
</date>			"}"		  +
50

    
51
<newline>		"\\\\ "		  
52
</newline>
53

    
54
<label>			"\\label{[ID]}"
55
</label>	
56

    
57
<header>	+	"\\markboth"
58
</header>	
59

    
60
<lhead>			"{"
61
</lhead>		"}"
62

    
63
<rhead>			"{"
64
</rhead>		"}"	+
65

    
66
% <comment>	+	"\n\n\\begin{verbatim}"	+
67
% </comment>	+	"\\end{verbatim}\n\n"	+
68

    
69
<comment>		"{\\tt "
70
</comment>		"}"
71

    
72
% Hacked by mdw to use linuxdoc-sgml \abstract{...}
73
<abstract>	+	"\\abstract{"	
74
</abstract>	 	"}"	+
75

    
76
<appendix>	+	"\n \\appendix \n"	+
77
</appendix>
78

    
79
<toc>		+	"\\tableofcontents"	+
80
</toc>
81

    
82
<lof>		+	"\\listoffigures"	+
83
</lof>
84

    
85
<lot>		+	"\\listoftables"	+
86
</lot>
87

    
88
<chapt>		+	"\n\\chapter"
89
</chapt>
90

    
91
<sect>		+	"\n\\section"
92
</sect>
93

    
94
<sect1>		+	"\n\\subsection"
95
</sect1>
96

    
97
<sect2>		+	"\n\\subsubsection"
98
</sect2>
99

    
100
<sect3>		+	"\n\\paragraph"
101
</sect3>	
102

    
103
<sect4>		+	"\n\\subparagraph"
104
</sect4>
105

    
106
<heading>		"{"
107
</heading>		"}\n\n" 
108

    
109
<p>		
110
</p>			"\n\n"
111

    
112
<itemize>	+	"\\begin{itemize}"	+
113
</itemize>	+	"\\end{itemize}"	+
114

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

    
118
<list>		+	"\\begin{list}{}{}\n"     +
119
</list>		+	"\\end{list}"		+
120

    
121
<descrip>	+	"\\begin{description}"	+
122
</descrip>	+	"\\end{description}"	+
123

    
124
<item>		+	"\\item "
125
</item>
126

    
127
<tag>		+	"\\item\[{\\ttfamily "
128
</tag>			"}\] \\hfil\\break\n"	+
129

    
130
<tagp>		+	"\\item\[ "
131
</tagp>			"\] \\hfil\\break\n"	+
132

    
133
<cite>			"\\cite{[ID]"
134
</cite>			"}"
135

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

    
139
<idx>	                "\\idx{"
140
</idx>                  "}"
141

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

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

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

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

    
157
<footnote>		"\\footnote{"
158
</footnote>		"}"
159

    
160
<sq>			"``"
161
</sq>			"''"
162

    
163
<lq>		+	"\\begin{quotation}\n"	+
164
</lq>		+	"\n\\end{quotation}\n\n"	+
165

    
166
<em>		 	"{\\it "
167
</em>			"\\/}"
168

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

    
172
<bf>			"{\\bf "
173
</bf>			"}"
174

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

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

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

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

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

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

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

    
196
<func>			"{\\it "
197
</func>			"\\/}"
198

    
199
<struct>		"{\\tt "
200
</struct>		"}"
201

    
202
<param>			"{\\it "
203
</param>		"\\/}"
204

    
205
<type>			"{\\rm "
206
</type>			"}"
207

    
208
<funcdef>		"{\\it "
209
</funcdef>		"\\/}"
210

    
211
<function>		"{\\function "
212
</function>		"}\n\n"
213

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

    
217
<hrule>			"\\hrule"
218

    
219
% Added by mdw
220
<cparam>		"\\cparam{"
221
</cparam>		"}"
222

    
223
<ref>			"\\ref{[ID]} {([NAME])}"
224
</ref>
225

    
226
<pageref>		"\\pageref{[ID]}"
227
</pageref>
228

    
229
%url added by HG
230
<url>			"\\nameurl{[URL]}{[NAME]}"
231
</url>
232

    
233
<htmlurl>		"\\onlynameurl{[NAME]}"
234
</htmlurl>
235

    
236
<x>	
237
</x>
238

    
239
<mc>			
240
</mc>
241

    
242
<biblio>	+	"\\bibliographystyle{[STYLE]}\n"
243
			"\\bibliography{[FILES]}\n"
244
			"\\addbibtoc{}"	+
245
</biblio>	
246

    
247
% <macro>		+	"\\macro{[ID]}{\\qw[ID]}"
248
% </macro>
249

    
250
% <main>		+	"\\macro{qwmain}{\\qwmain}"
251
% </main>
252

    
253
%<code>		+	"\\par\n"
254
%			"\\medbreak\\hrule\\nopagebreak\n"
255
%			"\\begin{verbatim}"	+
256
%
257
%</code>		+	"\\end{verbatim}\n"
258
%			"\\nopagebreak\\hrule\\medbreak\n" +
259

    
260
<code>		+	"\\par\n"
261
			"\\goodbreak{\\birdnarrow\n"
262
			"\\begin{verbatim}"	+
263

    
264
</code>		+	"\\end{verbatim}\n"
265
			"}\\smallbreak\n" +
266

    
267
<verb>		+	"\\begin{verbatim}"	+
268
</verb>		+	"\\end{verbatim}"	+
269

    
270
% tscreen added by mdw
271
<tscreen>	+	"\\begin{tscreen}"	+
272
</tscreen>	+	"\\end{tscreen}"	+
273

    
274
<quote> +       "\\begin{quotation}"    +
275
</quote>        +       "\\end{quotation}"      +
276

    
277
% theorems and such
278

    
279
<def>		+	"\\begin{definition}"
280
</def>		+	"\\end{definition}\n\n" 	+
281

    
282
<prop>		+	"\\begin{proposition}"	+
283
</prop>		+	"\\end{proposition}"	+
284

    
285
<lemma>		+	"\\begin{lemma}"
286
</lemma>	+	"\\end{lemma}\n\n"	+
287

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

    
291
<proof>		+	"\n{\\noindent{\\bf Proof.}  "	+
292
</proof>	+	"}"
293

    
294
<theorem>	+	"\\begin{theorem}"
295
</theorem>	+	"\\end{theorem}\n\n"	+
296

    
297
<thtag>			"\["
298
</thtag>		"\]"			+
299

    
300
% mathematics 
301

    
302
<f>			"$"
303
</f>			"$"
304

    
305
<dm>		+	"\\\["	
306
</dm>			"\\\]"  +
307

    
308
<eq>		+	"\\begin{equation}"	+
309
</eq>		+	"\\end{equation}\n"	+
310

    
311
<fr>			"\\frac"
312
</fr>		
313

    
314
<nu>			"{"
315
</nu>			"}"
316

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

    
320
<lim>			
321
</lim>
322

    
323
<op>
324
</op>
325

    
326
<ll>			"_{"
327
</ll>			"}"
328

    
329
<ul>			"^{"
330
</ul>			"}"
331

    
332
<opd>
333
</opd>
334

    
335
<pr>			"\\prod"
336
</pr>
337

    
338
<in>			"\\int"
339
</in>
340

    
341
<sum>			"\\sum"
342
</sum>		
343

    
344
<root>			"\\sqrt\[[n]\]{"
345
</root>			"}"
346

    
347
<ar>		+	"\\begin{array}{[ca]}"	+
348
</ar>		+	"\\end{array}"		+
349

    
350
<arr>                   " \\\\ " +
351
</arr>
352

    
353
<arc>                   " & "
354
</arc>
355

    
356

    
357
<sup>			"^{"
358
</sup>			"}"
359

    
360
<inf>			"_{"
361
</inf>			"}"
362

    
363
<unl>			"\\underline{"
364
</unl>			"}"
365

    
366
<ovl>			"\\overline{"
367
</ovl>			"}"
368

    
369
<rf>			"\\mbox{\\tt "
370
</rf>			"}"
371

    
372
<v>			"\\vec{"
373
</v>			"}"
374

    
375
<fi>			"{\\cal "
376
</fi>			"}"
377

    
378
<phr>			"{\\rm "
379
</phr>			"}"
380

    
381
<tu>			"\\\\ \n"
382
</tu>
383

    
384
% figures
385

    
386
<figure>	+	"\\begin{figure}\[[LOC]\]"	+
387
</figure>	+	"\\end{figure}\n"		+
388

    
389
<eps>		+   	"\\centerline{\\epsfig{file=[FILE],height=[HEIGHT],angle=[ANGLE]}}"  +
390
</eps>                	
391
            	
392

    
393
<ph>		+	"\\vspace{[VSPACE]}\n\\par"	+
394
</ph>	
395

    
396
<caption>	+	"\\caption{"
397
</caption>		"}" 	+
398

    
399
% tables
400

    
401
<table>		+ 	"\\begin{table}\[[LOC]\]"	+
402
</table>	+	"\\end{table}"		+
403

    
404
<tabular>	+	"\\begin{center}\n"
405
			"\\begin{tabular}{[ca]}"	+
406
</tabular>	+	"\\end{tabular}\n"
407
			"\\end{center}"		+
408

    
409
<rowsep>		"\\\\ "		+
410
</rowsep>
411

    
412
<colsep>		"& "
413
</colsep>
414

    
415
<hline>		+	"\\hline"	+
416
</hline>
417

    
418
% end of latex replacement file