[xml/sgml-commit] [SCM] linuxdoc-tools package for Debian. branch, master, updated. debian/0.9.51-16-g264d63e
Agustin Martin Domingo
agmartin at debian.org
Tue Jul 1 16:59:17 UTC 2008
The following commit has been merged in the master branch:
commit 9caf949e5dad04d7c6aa5c4ff825cc98bac4a84e
Author: Agustin Martin Domingo <agmartin at debian.org>
Date: Wed Jun 11 22:23:44 2008 +0200
Reorganizing info mapping file. First cut.
diff --git a/lib/dist/linuxdoc-tools/info/mapping b/lib/dist/linuxdoc-tools/info/mapping
index bfbb843..c8e3fb1 100644
--- a/lib/dist/linuxdoc-tools/info/mapping
+++ b/lib/dist/linuxdoc-tools/info/mapping
@@ -1,12 +1,13 @@
-% 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 at 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 at appendix "
-</appendix>
-
-<toc>
-</toc>
-
-% <lof> + "\\listoffigures" +
-% </lof>
-
-% <lot> + "\\listoftables" +
-% </lot>
+<heading> ""
+</heading> "\n\n"
<sect> + "\n at SUB "
</sect> + "@ENDSUB" +
@@ -92,8 +91,11 @@
<sect4> + "\n at SUB "
</sect4> + "@ENDSUB" +
-<heading> ""
-</heading> "\n\n"
+<appendix> + "\n at 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 at 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 ==============
--
linuxdoc-tools package for Debian.
More information about the debian-xml-sgml-commit
mailing list