update.
[elisp/sinfo.git] / texi-mapping
1 % sinfo to texinfo replacement file
2 % by MORIOKA Tomohiko
3 % $Id: texi-mapping,v 1.1 1996-12-23 20:13:11 morioka Exp $:
4
5 <qwertz>        +     
6 </qwertz>       +
7
8 <head>          "\\input texinfo.tex\n@setfilename\n@settitle{}\n"      +
9 </head>
10
11 <body>          +       "@node Top\n@top\n"     +
12 </body>         +       "@bye"                  +
13
14 <dina4>         + "@afourpaper"         +
15 </dina4>
16
17 % Manual Pages are expected to be formatted using nroff (or groff), unless
18 % they are included  as sections of other qwertz documents.  
19
20 <manpage>
21 </manpage>
22
23 <titlepag>      +       "@titlepage"            +
24 </titlepag>     +       "@end titlepage"        +
25
26 <title>         +       "@title "
27 </title>        
28
29 <subtitle>      +       "@subtitle "
30 </subtitle>     
31
32 <author>        +       "@author "
33 </author>
34
35 <name>          
36 </name>
37
38 <and>                   " and "
39 </and>
40
41 <thanks>                " thanks to "
42 </thanks>
43
44 % ???
45 <inst>                  " \\\\\n\\\\"   +
46 </inst>
47
48 <date>          +       "@subtitle "
49 </date>         
50
51 <newline>               "@*"
52 </newline>
53
54 <label>         +       "@LABEL [ID]"
55 </label>        +
56
57 <header>        +       "@c %% "
58 </header>       
59
60 <lhead>                 "{"
61 </lhead>                "}"
62
63 <rhead>                 "{"
64 </rhead>                "}"     +
65
66 <comment>       +       "@example"              +
67 </comment>      +       "@end example"          +
68
69 <abstract>      +       "\n@ifinfo"             +
70 </abstract>     +       "@end ifinfo"           +
71
72 <appendix>      +       "\n@appendix "
73 </appendix>
74
75 <toc>
76 </toc>
77
78 <cindex>        +       "@printindex cp"        +
79 </cindex>
80
81 <findex>        +       "@printindex fn"        +
82 </findex>
83
84 <vindex>        +       "@printindex vr"        +
85 </vindex>
86
87 <lof>           +       "\\listoffigures"       +
88 </lof>
89
90 <lot>           +       "\\listoftables"        +
91 </lot>
92
93 <h1>            +       "\n@chapter "
94 </h1>
95
96 <h2>            +       "\n@section "
97 </h2>
98
99 <h3>            +       "\n@subsection "
100 </h3>
101
102 <h4>            +       "\n@subsubsection "
103 </h4>
104
105 <h5>            +       "\n@subsubsubsection "
106 </h4>
107
108 <node>          +       "@node "
109 </node>
110
111 <heading>               ""
112 </heading>              "\n" 
113
114 <p>             +       "\n"            +
115 </p>                    "{@refill}"     +
116
117 <noindent>      +       "@noindent"             +
118 </noindent>             
119
120 <ul>            +       "@itemize @bullet"      +
121 </ul>           +       "@end itemize"          +
122
123 <ol>            +       "@enumerate"    +
124 </ol>           +       "@end enumerate"        +
125
126 <list>          +       "\\begin{list}{}{}\n"     +
127 </list>         +       "\\end{list}"           +
128
129 <dl>            +       "@table @samp"  +
130 </dl>           +       "@end table"    +
131 <dt>            +       "@item "
132 <dd>            +
133 </dd>           +       "\n"
134 <vl>            +       "@table @var"   +
135 </vl>           +       "@end table"    +
136 <kl>            +       "@table @kbd"   +
137 </kl>           +       "@end table"    +
138 <kt>            +       "@item @key{"
139 <kd>                    "}\n"
140 </kd>           +       "\n"
141 <li>            +       "@item\n"
142 </li>           +
143
144 <tag>           +       "@item "
145 </tag>                  "\n"
146
147 <cite>                  "\\cite{[ID]"
148 </cite>                 "}"
149
150 <ncite>                 "\\cite\[[NOTE]\]{[ID]"
151 </ncite>                "}"
152
153 <idx>                   "\\idx{"
154 </idx>                  "}"
155
156 <cdx>                   "\\cdx{"
157 </cdx>                  "}"
158
159 <footnote>              "\\footnote{"
160 </footnote>             "}"
161
162 <sq>                    "``"
163 </sq>                   "''"
164
165 <lq>            +       "\\begin{quotation}\n"  +
166 </lq>           +       "\n\\end{quotation}\n\n"        +
167
168 <em>                    "`"
169 </em>                   "'"
170
171 <bf>                    "@strong{"
172 </bf>                   "}"
173
174 <it>                    "@emph{"
175 </it>                   "}"
176
177 <sf>                    ""
178 </sf>                   ""
179
180 <sl>                    "`"
181 </sl>                   "'"
182
183 <rm>                    "`"
184 </rm>                   "'"
185
186 <tt>                    "`"
187 </tt>                   "'"
188
189 % Added by mdw
190 <cparam>                "\\cparam{"
191 </cparam>               "}"
192
193 <concept>               "@CONCEPT{"
194 </concept>              "}"
195
196 <a>             "@AREF{([file])[node]}{<URL:[href]>}"
197 </a>            "@end AREF"
198
199 <cf>            "(cf. [p]@ref{([file])[node]}{<URL:[href]>}"
200 </cf>           "{@refill})"    +
201
202 <ref>           "@ref{([file])[node]}"
203 </ref>
204
205 <dref>          "@DREF{([file])"
206 </dref>         "}@end DREF{@refill}"
207
208 <x>     
209 </x>
210
211 <mc>                    
212 </mc>
213
214 <biblio>
215 </biblio>
216
217 <code>                  "@code{"
218 </code>                 "}"
219
220 <verb>          +       "@example"      +
221 </verb>         +       "@end example"  +
222
223 <tscreen>       +       "@example"      +
224 </tscreen>      +       "@end example"  +
225
226 <quote>         +       "@quotation"    +
227 </quote>        +       "@end quotation" +
228
229 % theorems and such
230
231 <def>           +       "@deffn"
232 </def>          +       "@end deffn"            +
233
234 <defun>         +       "@defun [name]"
235 </defun>        +       "@end defun"            +
236
237 <opts>                  " &optional "
238 <rest>                  " &rest "
239
240 <define>        +       "@deffn{[type]} [name]"
241 </define>       +       "@end deffn"            +
242
243 <defvar>        +       "@defvar [name]"        +
244 </defvar>       +       "@end defvar"           +
245
246 <prop>          +       "\\begin{proposition}"  +
247 </prop>         +       "\\end{proposition}"    +
248
249 <lemma>         +       "\\begin{lemma}"
250 </lemma>        +       "\\end{lemma}\n\n"      +
251
252 <coroll>        +       "\\begin{corollary}"
253 </coroll>       +       "\\end{corollary}\n\n"  +
254
255 <proof>         +       "\n{\\noindent{\\bf Proof.}  "  +
256 </proof>        +       "}"
257
258 <theorem>       +       "\\begin{theorem}"
259 </theorem>      +       "\\end{theorem}\n\n"    +
260
261 <thtag>                 "\["
262 </thtag>                "\]"                    +
263
264 <var>                   "@var{"
265 </var>                  "}"
266
267 <lisp>          +       "@lisp"         +
268 </lisp>         +       "@end lisp"     +
269
270 <mail>                  "<"
271 </mail>                 ">"
272
273 <file>                  "@file{"
274 </file>                 "}"
275
276 <kbd>                   "@kbd{"
277 </kbd>                  "}"
278
279 <key>                   "@key{"
280 </key>                  "}"
281
282 <memo>          +       "@noindent\n@strong{\[[title]\]}\n@quotation\n" +
283 </memo>         +       "@end quotation"        +
284
285 <rfc>           "@cindex{[name]}@cindex{[type]}@cindex{RFC [number]}\n@noindent\n\[[name]: RFC [number]\]\n@quotation\n[author], ``[title]'', [date], [type] (obsolete RFC [obsolete]).\n@end quotation"        +
286
287 <standard>      "@cindex{[abbrev]}@cindex{[number]:[year]}\n@noindent\n\[[abbrev]]\n@quotation\n[org],\92¡Ø[title-cn]\92¡Ù,\92¡Ø[title-ja]\92¡Ù, ``[title-fr]'', ``[title-en]'', [number]:[year].\n@end quotation"      +
288
289 <report>        "@cindex{[abbrev]}\n@noindent\n\[[abbrev]]\n@quotation\n[author],\92¡Ø[title-cn]\92¡Ù,\92¡Ø[title-ja]\92¡Ù, ``[title-fr]'', ``[title-en]'', [date].\n@end quotation"    +
290
291 <inproc>        "@cindex{[abbrev]}\n@noindent\n\[[abbrev]]\n@quotation\n[author],\92¡Ø[title-cn]\92¡Ù,\92¡Ø[title-ja]\92¡Ù, ``[title-fr]'', ``[title-en]'', [book-cn], [book-en], [book-ja], [book-fr], [date].\n@end quotation"        +
292
293 % mathematics 
294
295 <f>                     "$"
296 </f>                    "$"
297
298 <dm>            +       "\\\["  
299 </dm>                   "\\\]"  +
300
301 <eq>            +       "\\begin{equation}"     +
302 </eq>           +       "\\end{equation}\n"     +
303
304 <fr>                    "\\frac"
305 </fr>           
306
307 <nu>                    "{"
308 </nu>                   "}"
309
310 <de>                    "{"
311 </de>                   "}"
312
313 <lim>                   
314 </lim>
315
316 <op>
317 </op>
318
319 <sub>                   "_{"
320 </sub>                  "}"
321
322 <super>                 "^{"
323 </super>                "}"
324
325 <opd>
326 </opd>
327
328 <pr>                    "\\prod"
329 </pr>
330
331 <in>                    "\\int"
332 </in>
333
334 <sum>                   "\\sum"
335 </sum>          
336
337 <root>                  "\\sqrt\[[n]\]{"
338 </root>                 "}"
339
340 <ar>            +       "\\begin{array}{[ca]}"  +
341 </ar>           +       "\\end{array}"          +
342
343 <arr>                   " \\\\ " +
344 </arr>
345
346 <arc>                   " & "
347 </arc>
348
349
350 <sup>                   "^("
351 </sup>                  ")"
352
353 <inf>                   "_("
354 </inf>                  ")"
355
356 <unl>                   "*"
357 </unl>                  "*"
358
359 <ovl>                   "ol("
360 </ovl>                  ")"
361
362 <rf>                    "\\mbox{\\tt "
363 </rf>                   "}"
364
365 <v>                     "\\vec{"
366 </v>                    "}"
367
368 <fi>                    ""
369 </fi>                   ""
370
371 <phr>                   "{@r{}"
372 </phr>                  "}"
373
374 <tu>                    "\\\\ \n"
375 </tu>
376
377 % figures
378
379 <figure>        +       "\\begin{figure}\[[LOC]\]"      +
380 </figure>       +       "\\end{figure}\n"               +
381
382 <eps>           +       "\\centerline{\\epsffile{[FILE].ps}}"  +
383 </eps>                  
384                 
385
386 <ph>            +       "\\vspace{[VSPACE]}\n\\par"     +
387 </ph>   
388
389 <caption>       +       "\\caption{"
390 </caption>              "}"     +
391
392 % tables
393
394 <table>         +       "\\begin{table}\[[LOC]\]"       +
395 </table>        +       "\\end{table}"          +
396
397 <tabular>       +       "\\begin{center}\n"
398                         "\\begin{tabular}{[ca]}"        +
399 </tabular>      +       "\\end{tabular}\n"
400                         "\\end{center}"         +
401
402 <rowsep>                "\\\\ "         +
403 </rowsep>
404
405 <colsep>                "& "
406 </colsep>
407
408 <hline>         +       "\\hline"       +
409 </hline>
410
411 % end of texinfo replacement file
412