Reorganizing info mapping file. First cut.

parent 81f05d80
% qwertz to texinfo replacement file
% linuxdoc to texinfo replacement file
% Heavily based on qwertz one
<qwertz> +
</qwertz> +
<qwertz> +
</qwertz> +
<article> + "\\input texinfo\n" +
</article> + "@bye" +
<article> + "\\input texinfo\n" +
</article> + "@bye" +
<dina4> + "@afourpaper" +
<dina4> + "@afourpaper" +
</dina4>
% Manual Pages are expected to be formatted using nroff (or groff), unless
......@@ -16,7 +17,7 @@
</manpage>
%<titlepag> + "@node Top\n@top" +
<titlepag> + "@TOP" +
<titlepag> + "@TOP" +
</titlepag> +
<title> + "@title "
......@@ -38,17 +39,30 @@
</thanks>
% ???
<inst> " \\\\\n\\\\" +
<inst> " \\\\\n\\\\" +
</inst>
<date> + "@subtitle "
</date>
<abstract> + "\n\n"
</abstract> "" +
<newline> "@*"
</newline>
<label> + "@LABEL [ID]"
</label> +
% ----------
<toc>
</toc>
<lof>
</lof>
<lot>
</lot>
% ----------
<header> + "@c %% "
</header>
......@@ -57,25 +71,10 @@
</lhead> "}"
<rhead> "{"
</rhead> "}" +
<comment> + "@example" +
</comment> + "@end example" +
</rhead> "}" +
<abstract> + "\n\n"
</abstract> "" +
<appendix> + "\n@appendix "
</appendix>
<toc>
</toc>
% <lof> + "\\listoffigures" +
% </lof>
% <lot> + "\\listoftables" +
% </lot>
<heading> ""
</heading> "\n\n"
<sect> + "\n@SUB "
</sect> + "@ENDSUB" +
......@@ -92,8 +91,11 @@
<sect4> + "\n@SUB "
</sect4> + "@ENDSUB" +
<heading> ""
</heading> "\n\n"
<appendix> + "\n@appendix "
</appendix>
<biblio>
</biblio>
<p>
</p> "\n\n"
......@@ -118,14 +120,6 @@
<tag> + "@item "
</tag> "\n"
% ------------
<cite> "\\cite{[ID]"
</cite> "}"
<ncite> "\\cite\[[NOTE]\]{[ID]"
</ncite> "}"
% -- index commands are ignored for non LaTeX backends --
<idx>
......@@ -140,6 +134,29 @@
<ncdx>
</ncdx>
% ------------- referencing things ------------------
<label> + "@LABEL [ID]"
</label> +
<ref> + "@REF [ID]" +
</ref>
<pageref> "@REF [ID]"
</pageref>
<cite> "\\cite{[ID]"
</cite> "}"
<ncite> "\\cite\[[NOTE]\]{[ID]"
</ncite> "}"
<url> "@uref{[URL],[NAME]}"
</url>
<htmlurl> "@uref{[NAME]}"
</htmlurl>
% The idea here is to automatically insert soft hyphens after every slash in
% the filename, so long filenames will break naturally. The url{} macro is
% a kluge but it works,
......@@ -152,30 +169,23 @@
<sq> "``"
</sq> "''"
<lq> + "@quotation" +
</lq> + "@end quotation" +
% ------------- Different emphasis ------------------------
<em> "@emph{"
</em> "}"
<bf> "@strong{"
</bf> "}"
<sc> "@sc{"
</sc> "}"
<it> "`"
</it> "'"
<bf> "@strong{"
</bf> "}"
<sf> ""
</sf> ""
<sl> "`"
</sl> "'"
<rm> "`"
</rm> "'"
<tt> "`"
</tt> "'"
......@@ -183,11 +193,13 @@
<cparam> "\\cparam{"
</cparam> "}"
<ref> + "@REF [ID]" +
</ref>
<sc> "@sc{"
</sc> "}"
<pageref> "@REF [ID]"
</pageref>
<rm> "`"
</rm> "'"
% ------------
<x>
</x>
......@@ -195,22 +207,25 @@
<mc>
</mc>
<biblio>
</biblio>
<code> + "@example" +
</code> + "@end example" +
<code> + "@example" +
</code> + "@end example" +
<verb>
</verb>
<tscreen> + "@example" +
</tscreen> + "@end example" +
<tscreen> + "@example" +
</tscreen> + "@end example" +
<quote> + "@quotation" +
</quote> + "@end quotation" +
<lq> + "@quotation" +
</lq> + "@end quotation" +
<quote> + "@quotation" +
</quote> + "@end quotation" +
<comment> + "@example" +
</comment> + "@end example" +
% theorems and such
% ------------ theorems and such ---------------------
<def> + "@deffn"
</def> + "@end deffn" +
......@@ -233,13 +248,13 @@
<thtag> "\["
</thtag> "\]" +
% mathematics
% ------------ mathematics. Unused by linuxdoc ?? --
<f> "$"
</f> "$"
<dm> + "\\\["
</dm> "\\\]" +
</dm> "\\\]" +
<eq> + "\\begin{equation}" +
</eq> + "\\end{equation}\n" +
......@@ -317,7 +332,7 @@
<tu> "\\\\ \n"
</tu>
% figures
% --------------- figures and tables ---------------------------
% <figure> + "\\begin{figure}\[[LOC]\]" +
% </figure> + "\\end{figure}\n" +
......@@ -330,7 +345,7 @@
% </ph>
% <caption> + "\\caption{"
% </caption> "}" +
% </caption> "}" +
% tables
......@@ -343,13 +358,13 @@
% "\\end{center}" +
<tabular> + "@table @asis \n"
"@item " +
</tabular> + "@end table" +
"@item " +
</tabular> + "@end table" +
% <rowsep> "\\\\ " +
% <rowsep> "\\\\ " +
% </rowsep>
<rowsep> " @*\n" +
<rowsep> " @*\n" +
</rowsep>
% <colsep> "& "
......@@ -359,16 +374,11 @@
</colsep>
<caption> + "@*\n@center "
</caption> "\n" +
</caption> "\n" +
% <hline> + "\\hline" +
% </hline>
<url> "@uref{[URL],[NAME]}"
</url>
<htmlurl> "@uref{[NAME]}"
</htmlurl>
% end of texinfo replacement file
% =============== end of texinfo replacement file ==============
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment