Doc: Fix whitespaces

This commit is contained in:
Pavel Tvrdik 2016-09-29 11:20:04 +02:00
parent a998836d4b
commit 9faf72c8cc
4 changed files with 174 additions and 174 deletions

View file

@ -6,7 +6,7 @@
% Based on qwertz replacement file by Tom Gordon % Based on qwertz replacement file by Tom Gordon
% linuxdoc mods by mdw % linuxdoc mods by mdw
% Groff dependencies are few. To port to another roff: % Groff dependencies are few. To port to another roff:
% 1. Check and modify, if necessary, font changes. (e.g. In psroff the % 1. Check and modify, if necessary, font changes. (e.g. In psroff the
% same fonts have other names.) % same fonts have other names.)
% 2. Check the code for including Encapsulated PostScript, generated % 2. Check the code for including Encapsulated PostScript, generated
@ -19,13 +19,13 @@
% Hacked by mdw % Hacked by mdw
".nr PI 3n\n" ".nr PI 3n\n"
".ds CF \\\\n\%\n" ".ds CF \\\\n\%\n"
".ds CH \\&\n" ".ds CH \\&\n"
".ds dR $\n" % dollar, to avoid EQN conflicts ".ds dR $\n" % dollar, to avoid EQN conflicts
% Start with no TOC % Start with no TOC
".ds printtoc\n" ".ds printtoc\n"
% Footnote style % Footnote style
".nr FF 1\n" ".nr FF 1\n"
@ -51,16 +51,16 @@
".nr HM 0i\n" ".nr HM 0i\n"
".nr FM 0i\n" ".nr FM 0i\n"
% Turn off right-margin filling % Turn off right-margin filling
".na\n" ".na\n"
% h is 1 if first paragraph after heading % h is 1 if first paragraph after heading
".nr h 0\n" ".nr h 0\n"
% initialize heading level % initialize heading level
".nr il 1\n" ".nr il 1\n"
% Number registers for list % Number registers for list
@ -68,20 +68,20 @@
".nr ll 0\n" % list level, stores current level ".nr ll 0\n" % list level, stores current level
".nr el 0\n" % current enumeration level ".nr el 0\n" % current enumeration level
% Not all list levels are enumerations, as % Not all list levels are enumerations, as
% itemizations can be embedded within enumerations % itemizations can be embedded within enumerations
% and vice versa % and vice versa
% type of list level is in \n(t\n(ll, where % type of list level is in \n(t\n(ll, where
% 0 : itemize, 1 : enumerate, 2: description % 0 : itemize, 1 : enumerate, 2: description
% enumerator for an enumeration level is in % enumerator for an enumeration level is in
% \n(e\n(el -- i.e. \n(e1=2 means current item of % \n(e\n(el -- i.e. \n(e1=2 means current item of
% enumeration level 1 is 2 % enumeration level 1 is 2
% context-sensitive paragraph macro % context-sensitive paragraph macro
% Bug: There's some problem using this to re-start paragraphs after the % Bug: There's some problem using this to re-start paragraphs after the
% </verb> and </code>, so after verb and code I insert .LP. That's fine % </verb> and </code>, so after verb and code I insert .LP. That's fine
% except that is loses indentation when using verb or code inside of a list. % except that is loses indentation when using verb or code inside of a list.
@ -95,21 +95,21 @@
% for this enumeration level % for this enumeration level
".if \\\\n(t\\\\n(ll=1 \\{.IP \\\\n+(e\\\\n(el.\\}\n" ".if \\\\n(t\\\\n(ll=1 \\{.IP \\\\n+(e\\\\n(el.\\}\n"
% if first par element of descrip, do nothing % if first par element of descrip, do nothing
".\\}\n" ".\\}\n"
".el .sp \n" % subsequent par element of item ".el .sp \n" % subsequent par element of item
".\\}\n" ".\\}\n"
".el \\{\\\n" % not within list ".el \\{\\\n" % not within list
".ie \\\\nh=1 \\{\\\n" % first par after heading ".ie \\\\nh=1 \\{\\\n" % first par after heading
".LP\n" ".LP\n"
".nr h 0\n" % reset h flag ".nr h 0\n" % reset h flag
".\\}\n" ".\\}\n"
".el .LP \n" % Changed from .PP, mdw ".el .LP \n" % Changed from .PP, mdw
".\\}\n" ".\\}\n"
".nh\n" ".nh\n"
"..\n" "..\n"
% for each level, a number register is created % for each level, a number register is created
% to store its type and current item number, where % to store its type and current item number, where
% -1=bullet of an itemized list. % -1=bullet of an itemized list.
@ -141,7 +141,7 @@
% set initial level of headings, in register il % set initial level of headings, in register il
<article> + ".nr il 0" + <article> + ".nr il 0" +
</article> + ".if '\\*[printtoc]'true' .PX\n" </article> + ".if '\\*[printtoc]'true' .PX\n"
<report> + ".nr il 1" + <report> + ".nr il 1" +
</report> + ".bp\n" </report> + ".bp\n"
@ -153,23 +153,23 @@
".bp\n" ".bp\n"
".TC" + ".TC" +
<notes> <notes>
</notes> </notes>
<manpage> + ".nr il -1" + <manpage> + ".nr il -1" +
</manpage> </manpage>
<progdoc> <progdoc>
</progdoc> </progdoc>
% Hacked up titlepag stuff to look more reasonable. Titles and author % Hacked up titlepag stuff to look more reasonable. Titles and author
% names are now stored in strings, printed by the end of </titlepag>. % names are now stored in strings, printed by the end of </titlepag>.
% Wake up! This uses groff-like long string names. You must use groff % Wake up! This uses groff-like long string names. You must use groff
% to format this. % to format this.
<titlepag> + ".ds mdwtitle\n" <titlepag> + ".ds mdwtitle\n"
".ds mdwsubtitle\n" ".ds mdwsubtitle\n"
".ds mdwdate\n" ".ds mdwdate\n"
".de printabstract\n" ".de printabstract\n"
"..\n" + "..\n" +
</titlepag> + "\\*[mdwtitle]\n" </titlepag> + "\\*[mdwtitle]\n"
@ -181,10 +181,10 @@
"\\*[mdwdate]\n" "\\*[mdwdate]\n"
".br\n" ".br\n"
".printabstract\n" ".printabstract\n"
".br\n" ".br\n"
%<title> + ".TL" + %<title> + ".TL" +
%</title> %</title>
<title> + ".ds mdwtitle " <title> + ".ds mdwtitle "
</title> + </title> +
@ -194,13 +194,13 @@
% ".SM" + % ".SM" +
%</subtitle> + ".LG" + %</subtitle> + ".LG" +
<subtitle> + ".ds mdwsubtitle " <subtitle> + ".ds mdwsubtitle "
</subtitle> + </subtitle> +
<date> + ".ds mdwdate " <date> + ".ds mdwdate "
</date> + </date> +
<abstract> + ".de printabstract\n" <abstract> + ".de printabstract\n"
".LP\n" ".LP\n"
</abstract> + ".." + </abstract> + ".." +
@ -215,10 +215,10 @@
<name> + ".br" + <name> + ".br" +
</name> </name>
<and> <and>
</and> </and>
<thanks> "\\**\n" <thanks> "\\**\n"
".FS" + ".FS" +
</thanks> + ".FE" + </thanks> + ".FE" +
@ -229,11 +229,11 @@
<newline> + ".br" <newline> + ".br"
</newline> </newline>
<label> <label>
</label> </label>
<header> <header>
</header> </header>
<lhead> + ".EH '" <lhead> + ".EH '"
</lhead> "'''" + </lhead> "'''" +
@ -263,13 +263,13 @@
<toc> <toc>
</toc> </toc>
<lof> <lof>
</lof> </lof>
<lot> <lot>
</lot> </lot>
<chapt> + ".bp\n" <chapt> + ".bp\n"
".NH \\n(il " + ".NH \\n(il " +
</chapt> </chapt>
@ -283,7 +283,7 @@
</sect2> </sect2>
<sect3> + ".NH 4+\\n(il" + <sect3> + ".NH 4+\\n(il" +
</sect3> </sect3>
<sect4> + ".NH 5+\\n(il" + <sect4> + ".NH 5+\\n(il" +
</sect4> </sect4>
@ -292,10 +292,10 @@
</heading> + "\\*h\n" </heading> + "\\*h\n"
".XS \\n%\n" ".XS \\n%\n"
"\\*(SN \\*h\n" "\\*(SN \\*h\n"
".XE\n" ".XE\n"
".nr h 1\n" % set heading flag to true ".nr h 1\n" % set heading flag to true
<p> + ".Pp" + <p> + ".Pp" +
</p> </p>
<itemize> + ".nr ll +1\n" % increment list level <itemize> + ".nr ll +1\n" % increment list level
@ -309,9 +309,9 @@
".af e\\n(el \\*(f\\n(el\n" % style of enumerator ".af e\\n(el \\*(f\\n(el\n" % style of enumerator
".if \\n(ll>1 .RS" + ".if \\n(ll>1 .RS" +
</enum> + ".if \\n(ll>1 .RE\n" </enum> + ".if \\n(ll>1 .RE\n"
".br\n" ".br\n"
".nr el -1\n" % decrement enumeration level ".nr el -1\n" % decrement enumeration level
".nr ll -1\n" % decrement list level ".nr ll -1\n" % decrement list level
<descrip> + ".RS\n" <descrip> + ".RS\n"
".nr ll +1\n" % increment list level ".nr ll +1\n" % increment list level
@ -324,7 +324,7 @@
% If bi=1 then the paragraph is the first one of the item. % If bi=1 then the paragraph is the first one of the item.
<item> + ".nr bi 1\n.Pp" + <item> + ".nr bi 1\n.Pp" +
</item> </item>
<tag> + ".IP \"\\fB" <tag> + ".IP \"\\fB"
</tag> "\\fR\"\n" </tag> "\\fR\"\n"
@ -337,12 +337,12 @@
</cf> "" </cf> ""
<cite> + ".\[\n[ID]\n.\]" + <cite> + ".\[\n[ID]\n.\]" +
</cite> </cite>
<ncite> + ".\[\n[ID]\n.\]\n([NOTE])" <ncite> + ".\[\n[ID]\n.\]\n([NOTE])"
</ncite> </ncite>
<footnote> " (-- " <footnote> " (-- "
</footnote> "--)" + </footnote> "--)" +
<sq> "\\*Q" <sq> "\\*Q"
@ -353,20 +353,20 @@
</lq> + ".nr LL \\n(LL+\\n(PI\n" </lq> + ".nr LL \\n(LL+\\n(PI\n"
".RE" + ".RE" +
<em> "\\fI" <em> "\\fI"
</em> "\\fP" </em> "\\fP"
<bf> "\\fB" <bf> "\\fB"
</bf> "\\fR" </bf> "\\fR"
<it> "\\fI" <it> "\\fI"
</it> "\\fR" </it> "\\fR"
<sf> "\\fR" <sf> "\\fR"
</sf> "\\fR" </sf> "\\fR"
<sl> "\\fI" <sl> "\\fI"
</sl> "\\fR" </sl> "\\fR"
% Changed by mdw % Changed by mdw
<tt> "\\fC" <tt> "\\fC"
@ -394,10 +394,10 @@
<pageref> "??" <pageref> "??"
</pageref> </pageref>
<x> <x>
</x> </x>
<mc> <mc>
</mc> </mc>
<biblio> + ".\[\n" <biblio> + ".\[\n"
@ -423,7 +423,7 @@
% ".Pp" + % continue previous paragraph (changed mdw) % ".Pp" + % continue previous paragraph (changed mdw)
".LP" ".LP"
% tscreen added by mdw % tscreen added by mdw
<tscreen> + ".br\n" <tscreen> + ".br\n"
".po 0.75i\n" ".po 0.75i\n"
".ll 6.0i\n" ".ll 6.0i\n"
@ -487,8 +487,8 @@
% mathematics -- this nroff version needs work. % mathematics -- this nroff version needs work.
<f> <f>
</f> </f>
<dm> + ".DS L" + <dm> + ".DS L" +
</dm> + ".DE" + </dm> + ".DE" +
@ -496,8 +496,8 @@
<eq> + ".DS L" + <eq> + ".DS L" +
</eq> + ".DE" + </eq> + ".DE" +
<fr> <fr>
</fr> </fr>
<nu> "{" <nu> "{"
</nu> "} over " </nu> "} over "
@ -505,7 +505,7 @@
<de> "{" <de> "{"
</de> "}" </de> "}"
<lim> <lim>
</lim> </lim>
<op> <op>
@ -527,7 +527,7 @@
</in> </in>
<sum> " sum " <sum> " sum "
</sum> </sum>
% limitation: eqn only does square roots! % limitation: eqn only does square roots!
@ -539,7 +539,7 @@
"[ca]." + "[ca]." +
</ar> + ".TE" + </ar> + ".TE" +
<arr> "\n" <arr> "\n"
</arr> </arr>
<arc> "|" <arc> "|"
@ -567,8 +567,8 @@
% limitation: no calligraphic characters, using helvetica italics instead. Is there a better font? % limitation: no calligraphic characters, using helvetica italics instead. Is there a better font?
<fi> "\\fI" <fi> "\\fI"
</fi> "\\fP" </fi> "\\fP"
<phr> " roman }" <phr> " roman }"
</phr> "}" </phr> "}"
@ -584,12 +584,12 @@
<eps> + ".if t .PSPIC [file].ps\n" <eps> + ".if t .PSPIC [file].ps\n"
".if n .sp 4" + ".if n .sp 4" +
</eps> </eps>
% Are TeX units properly handled by this translation of ph? % Are TeX units properly handled by this translation of ph?
<ph> + ".sp [VSPACE]" + <ph> + ".sp [VSPACE]" +
</ph> </ph>
<caption> + ".sp\n.ce" + <caption> + ".sp\n.ce" +
</caption> </caption>
@ -619,7 +619,7 @@
<slides> + ".nr PS 18" + <slides> + ".nr PS 18" +
</slides> </slides>
<slide> <slide>
</slide> + ".bp\n\\&" + </slide> + ".bp\n\\&" +
% letters -- replacement for email, using mh format. % letters -- replacement for email, using mh format.

View file

@ -21,7 +21,7 @@
</notes> + "<@@enddoc>" + </notes> + "<@@enddoc>" +
% Manual Pages are expected to be formatted using nroff (or groff), unless % Manual Pages are expected to be formatted using nroff (or groff), unless
% they are included as sections of other qwertz documents. % they are included as sections of other qwertz documents.
<manpage> <manpage>
</manpage> </manpage>
@ -35,7 +35,7 @@
<title> + "<@@title>" <title> + "<@@title>"
</title> </title>
<subtitle> + "<H2>" <subtitle> + "<H2>"
</subtitle> "</H2>" + </subtitle> "</H2>" +
<author> <author>
@ -48,26 +48,26 @@
</and> </and>
<thanks> + "Thanks " <thanks> + "Thanks "
</thanks> </thanks>
<inst> + "<H3>" <inst> + "<H3>"
</inst> "</H3>" + </inst> "</H3>" +
<newline> "<BR>" <newline> "<BR>"
<label> + "<@@label>[ID]" + <label> + "<@@label>[ID]" +
<header> <header>
</header> </header>
<lhead> + "<!-- " <lhead> + "<!-- "
</lhead> " -->" + </lhead> " -->" +
<rhead> + "<!-- " <rhead> + "<!-- "
</rhead> " -->" + </rhead> " -->" +
<comment> + "<H4>Comment</H4>" + <comment> + "<H4>Comment</H4>" +
</comment> </comment>
<abstract> + "<P><HR>\n<EM>" <abstract> + "<P><HR>\n<EM>"
</abstract> "</EM>\n<HR>" + </abstract> "</EM>\n<HR>" +
@ -99,7 +99,7 @@
<sect3> + "<@@head>" <sect3> + "<@@head>"
</sect3> </sect3>
<sect4> + "<@@head>" <sect4> + "<@@head>"
</sect4> </sect4>
<heading> <heading>
@ -203,7 +203,7 @@
"<@@endurl>" + "<@@endurl>" +
</htmlurl> </htmlurl>
% ref modified to have an optional name field % ref modified to have an optional name field
<ref> + "<@@ref>[ID]\n" <ref> + "<@@ref>[ID]\n"
"[NAME]</A>\n" "[NAME]</A>\n"
"<@@endref>" + "<@@endref>" +
@ -228,7 +228,7 @@
</mc> "</MC>" </mc> "</MC>"
<biblio> + "<BIBLIO STYLE=\"[STYLE]\" FILES=\"[FILES]\">" + <biblio> + "<BIBLIO STYLE=\"[STYLE]\" FILES=\"[FILES]\">" +
</biblio> </biblio>
<code> + "<HR>\n<PRE>" + <code> + "<HR>\n<PRE>" +
</code> + "</PRE>\n<HR>" + </code> + "</PRE>\n<HR>" +
@ -244,28 +244,28 @@
% theorems and such % theorems and such
<def> + "<DEF>" <def> + "<DEF>"
</def> + "</DEF>" + </def> + "</DEF>" +
<prop> + "<PROP>" <prop> + "<PROP>"
</prop> + "</PROP>" + </prop> + "</PROP>" +
<lemma> + "<LEMMA>" <lemma> + "<LEMMA>"
</lemma> + "</LEMMA>" + </lemma> + "</LEMMA>" +
<coroll> + "<COROLL>" <coroll> + "<COROLL>"
</coroll> + "</COROLL>" + </coroll> + "</COROLL>" +
<proof> + "<PROOF>" <proof> + "<PROOF>"
</proof> + "</PROOF>" + </proof> + "</PROOF>" +
<theorem> + "<THEOREM>" <theorem> + "<THEOREM>"
</theorem> + "</THEOREM>" + </theorem> + "</THEOREM>" +
<thtag> "<THTAG>" <thtag> "<THTAG>"
</thtag> "</THTAG>" </thtag> "</THTAG>"
% mathematics % mathematics
<f> <f>
</f> </f>
@ -315,11 +315,11 @@
<ar> "<AR>" <ar> "<AR>"
</ar> "</AR>" </ar> "</AR>"
<arr> "<ARR>" <arr> "<ARR>"
</arr> </arr>
<arc> "<ARC>" <arc> "<ARC>"
</arc> </arc>
<sup> "<SUP>" <sup> "<SUP>"
</sup> "</SUP>" </sup> "</SUP>"
@ -354,13 +354,13 @@
</figure> + "</FIGURE>" + </figure> + "</FIGURE>" +
<eps> + "<EPS FILE=\"[FILE]\">" + <eps> + "<EPS FILE=\"[FILE]\">" +
</eps> </eps>
<img> + "<IMG SRC=\"[SRC]\">" + <img> + "<IMG SRC=\"[SRC]\">" +
</img> </img>
<ph> + "<PH VSPACE=\"[VSPACE]\">" + <ph> + "<PH VSPACE=\"[VSPACE]\">" +
</ph> </ph>
<caption> + "<CAPTION>" <caption> + "<CAPTION>"
</caption> "</CAPTION>" + </caption> "</CAPTION>" +
@ -403,7 +403,7 @@
</opening> "</OPENING>" + </opening> "</OPENING>" +
<from> + "<FROM>" <from> + "<FROM>"
</from> + "</FROM>" + </from> + "</FROM>" +
@ -419,7 +419,7 @@
<email> + "<EMAIL>" <email> + "<EMAIL>"
</email> "</EMAIL>" + </email> "</EMAIL>" +
<phone> + "<PHONE>" <phone> + "<PHONE>"
</phone> "</PHONE>" + </phone> "</PHONE>" +
@ -430,16 +430,16 @@
</subject> "</SUBJECT>" + </subject> "</SUBJECT>" +
<sref> + "<SREF>" <sref> + "<SREF>"
</sref> "</SREF>" + </sref> "</SREF>" +
<rref> + "<RREF>" <rref> + "<RREF>"
</rref> "</RREF>" + </rref> "</RREF>" +
<rdate> + "<RDATE>" <rdate> + "<RDATE>"
</rdate> "</RDATE>" + </rdate> "</RDATE>" +
<closing> + "<CLOSING>" <closing> + "<CLOSING>"
</closing> "</CLOSING>" + </closing> "</CLOSING>" +
<cc> + "<CC>" <cc> + "<CC>"

View file

@ -14,7 +14,7 @@
</book> + "\\end{document}" + </book> + "\\end{document}" +
% Manual Pages are expected to be formatted using nroff (or groff), unless % Manual Pages are expected to be formatted using nroff (or groff), unless
% they are included as sections of other qwertz documents. % they are included as sections of other qwertz documents.
<manpage> <manpage>
</manpage> </manpage>
@ -26,17 +26,17 @@
</titlepag> + "\n\n\\begin{document}\n" </titlepag> + "\n\n\\begin{document}\n"
"\\maketitle\n" + "\\maketitle\n" +
<title> + "\\title{" <title> + "\\title{"
</title> "}" + </title> "}" +
<subtitle> "\\\\\n" <subtitle> "\\\\\n"
"{\\large " "{\\large "
</subtitle> "}" + </subtitle> "}" +
<author> + "\\author{" <author> + "\\author{"
</author> "}" + </author> "}" +
<name> <name>
</name> </name>
<and> "\\and " + <and> "\\and " +
@ -51,14 +51,14 @@
<date> + "\\date{" <date> + "\\date{"
</date> "}" + </date> "}" +
<newline> "\\\\ " <newline> "\\\\ "
</newline> </newline>
<label> "\\label{[ID]}" <label> "\\label{[ID]}"
</label> </label>
<header> + "\\markboth" <header> + "\\markboth"
</header> </header>
<lhead> "{" <lhead> "{"
</lhead> "}" </lhead> "}"
@ -73,7 +73,7 @@
</comment> "}" </comment> "}"
% Hacked by mdw to use linuxdoc-sgml \abstract{...} % Hacked by mdw to use linuxdoc-sgml \abstract{...}
<abstract> + "\\abstract{" <abstract> + "\\abstract{"
</abstract> "}" + </abstract> "}" +
<appendix> + "\n \\appendix \n" + <appendix> + "\n \\appendix \n" +
@ -101,15 +101,15 @@
</sect2> </sect2>
<sect3> + "\n\\paragraph" <sect3> + "\n\\paragraph"
</sect3> </sect3>
<sect4> + "\n\\subparagraph" <sect4> + "\n\\subparagraph"
</sect4> </sect4>
<heading> "{" <heading> "{"
</heading> "}\n\n" </heading> "}\n\n"
<p> <p>
</p> "\n\n" </p> "\n\n"
<itemize> + "\\begin{itemize}" + <itemize> + "\\begin{itemize}" +
@ -236,16 +236,16 @@
<htmlurl> "\\onlynameurl{[NAME]}" <htmlurl> "\\onlynameurl{[NAME]}"
</htmlurl> </htmlurl>
<x> <x>
</x> </x>
<mc> <mc>
</mc> </mc>
<biblio> + "\\bibliographystyle{[STYLE]}\n" <biblio> + "\\bibliographystyle{[STYLE]}\n"
"\\bibliography{[FILES]}\n" "\\bibliography{[FILES]}\n"
"\\addbibtoc{}" + "\\addbibtoc{}" +
</biblio> </biblio>
% <macro> + "\\macro{[ID]}{\\qw[ID]}" % <macro> + "\\macro{[ID]}{\\qw[ID]}"
% </macro> % </macro>
@ -300,19 +300,19 @@
<thtag> "\[" <thtag> "\["
</thtag> "\]" + </thtag> "\]" +
% mathematics % mathematics
<f> "$" <f> "$"
</f> "$" </f> "$"
<dm> + "\\\[" <dm> + "\\\["
</dm> "\\\]" + </dm> "\\\]" +
<eq> + "\\begin{equation}" + <eq> + "\\begin{equation}" +
</eq> + "\\end{equation}\n" + </eq> + "\\end{equation}\n" +
<fr> "\\frac" <fr> "\\frac"
</fr> </fr>
<nu> "{" <nu> "{"
</nu> "}" </nu> "}"
@ -320,7 +320,7 @@
<de> "{" <de> "{"
</de> "}" </de> "}"
<lim> <lim>
</lim> </lim>
<op> <op>
@ -342,7 +342,7 @@
</in> </in>
<sum> "\\sum" <sum> "\\sum"
</sum> </sum>
<root> "\\sqrt\[[n]\]{" <root> "\\sqrt\[[n]\]{"
</root> "}" </root> "}"
@ -390,11 +390,11 @@
</figure> + "\\end{figure}\n" + </figure> + "\\end{figure}\n" +
<eps> + "\\centerline{\\epsfig{file=[FILE],height=[HEIGHT],angle=[ANGLE]}}" + <eps> + "\\centerline{\\epsfig{file=[FILE],height=[HEIGHT],angle=[ANGLE]}}" +
</eps> </eps>
<ph> + "\\vspace{[VSPACE]}\n\\par" + <ph> + "\\vspace{[VSPACE]}\n\\par" +
</ph> </ph>
<caption> + "\\caption{" <caption> + "\\caption{"
</caption> "}" + </caption> "}" +

View file

@ -1,6 +1,6 @@
<!-- This is a DTD, but will be read as -*- sgml -*- --> <!-- This is a DTD, but will be read as -*- sgml -*- -->
<!-- ================================================= --> <!-- ================================================= -->
<!-- $Id$ <!-- $Id$
This was heavilly modified for use with bird! Don't you dare to use it This was heavilly modified for use with bird! Don't you dare to use it
anywhere else. <pavel@ucw.cz> anywhere else. <pavel@ucw.cz>
@ -79,7 +79,7 @@ anywhere else. <pavel@ucw.cz>
weren't in the original linuxdoc 1.3 DTD, and are weren't in the original linuxdoc 1.3 DTD, and are
superseded by the new if/unless facility. --> superseded by the new if/unless facility. -->
<!-- BK/97/05/09: this is the original Linuxdoc DTD, <!-- BK/97/05/09: this is the original Linuxdoc DTD,
as of SGML Tools 0.99.0. It is not longer as of SGML Tools 0.99.0. It is not longer
supported. Use only if in dire need, for backwards supported. Use only if in dire need, for backwards
compabitlity. Backend support for undocumented compabitlity. Backend support for undocumented
QWERTZ leftovers not in the strict Linuxdoc DTD's QWERTZ leftovers not in the strict Linuxdoc DTD's
@ -92,7 +92,7 @@ anywhere else. <pavel@ucw.cz>
any changes to this, just replacing. --> any changes to this, just replacing. -->
<!-- ================================================= --> <!-- ================================================= -->
<!entity % emph <!entity % emph
" em|it|bf|sf|sl|tt|cf|m|cparam|const|func|struct|param|type|funcdef " > " em|it|bf|sf|sl|tt|cf|m|cparam|const|func|struct|param|type|funcdef " >
<!entity % index "idx|cdx|nidx|ncdx" > <!entity % index "idx|cdx|nidx|ncdx" >
@ -101,27 +101,27 @@ anywhere else. <pavel@ucw.cz>
<!entity % xref <!entity % xref
" label|ref|pageref|cite|url|htmlurl|ncite " > " label|ref|pageref|cite|url|htmlurl|ncite " >
<!entity % inline <!entity % inline
" (#pcdata | f| x| %emph; |sq| %xref | %index | file )* " > " (#pcdata | f| x| %emph; |sq| %xref | %index | file )* " >
<!entity % list <!entity % list
" list | itemize | enum | descrip " > " list | itemize | enum | descrip " >
<!entity % par <!entity % par
" %list; | comment | lq | quote | tscreen | hrule " > " %list; | comment | lq | quote | tscreen | hrule " >
<!entity % mathpar " dm | eq " > <!entity % mathpar " dm | eq " >
<!entity % thrm <!entity % thrm
" def | prop | lemma | coroll | proof | theorem " > " def | prop | lemma | coroll | proof | theorem " >
<!entity % litprog " code | verb " > <!entity % litprog " code | verb " >
<!entity % sectpar <!entity % sectpar
" %par; | figure | tabular | table | %mathpar; | " %par; | figure | tabular | table | %mathpar; |
%thrm; | %litprog; | function "> %thrm; | %litprog; | function ">
<!element birddoc o o <!element birddoc o o
(sect | chapt | article | report | (sect | chapt | article | report |
book | letter | telefax | slides | notes | manpage ) > book | letter | telefax | slides | notes | manpage ) >
<!-- `general' entity replaced with ISO entities - kwm --> <!-- `general' entity replaced with ISO entities - kwm -->
@ -150,7 +150,7 @@ anywhere else. <pavel@ucw.cz>
<!element hrule - - EMPTY> <!element hrule - - EMPTY>
<!shortref pmap <!shortref pmap
"&#RS;B" null "&#RS;B" null
"&#RS;B&#RE;" psplit "&#RS;B&#RE;" psplit
"&#RS;&#RE;" psplit "&#RS;&#RE;" psplit
-- '"' qtag -- -- '"' qtag --
@ -189,7 +189,7 @@ anywhere else. <pavel@ucw.cz>
<!entity ftag '<f>' -- formula begin -- > <!entity ftag '<f>' -- formula begin -- >
<!entity qendtag '</sq>'> <!entity qendtag '</sq>'>
<!shortref sqmap <!shortref sqmap
"&#RS;B" null "&#RS;B" null
-- '"' qendtag -- -- '"' qendtag --
"[" lsqb "[" lsqb
@ -249,7 +249,7 @@ anywhere else. <pavel@ucw.cz>
<!shortref bodymap <!shortref bodymap
"&#RS;B&#RE;" ptag "&#RS;B&#RE;" ptag
"&#RS;&#RE;" ptag "&#RS;&#RE;" ptag
'"' qtag '"' qtag
"[" lsqb "[" lsqb
"~" nbsp "~" nbsp
"_" lowbar "_" lowbar
@ -285,7 +285,7 @@ anywhere else. <pavel@ucw.cz>
<!shortref oneline <!shortref oneline
"B&#RE;" space "B&#RE;" space
"&#RS;&#RE;" null "&#RS;&#RE;" null
"&#RS;B&#RE;" null "&#RS;B&#RE;" null
-- '"' qtag -- -- '"' qtag --
"[" ftag "[" ftag
@ -302,7 +302,7 @@ anywhere else. <pavel@ucw.cz>
<!usemap oneline caption> <!usemap oneline caption>
<!entity % tabrow "(%inline, (colsep, %inline)*)" > <!entity % tabrow "(%inline, (colsep, %inline)*)" >
<!element tabular - - <!element tabular - -
(hline?, %tabrow, (rowsep, hline?, %tabrow)*, caption?) > (hline?, %tabrow, (rowsep, hline?, %tabrow)*, caption?) >
<!attlist tabular <!attlist tabular
@ -323,7 +323,7 @@ anywhere else. <pavel@ucw.cz>
"B&#RE;" null "B&#RE;" null
"BB" space "BB" space
"@" rowsep "@" rowsep
"|" colsep "|" colsep
"[" ftag "[" ftag
-- '"' qtag -- -- '"' qtag --
"_" thinsp "_" thinsp
@ -344,7 +344,7 @@ anywhere else. <pavel@ucw.cz>
<!shortref ttmap -- also on one-line -- <!shortref ttmap -- also on one-line --
"B&#RE;" space "B&#RE;" space
"&#RS;&#RE;" null "&#RS;&#RE;" null
"&#RS;B&#RE;" null "&#RS;B&#RE;" null
"&#RS;B" null "&#RS;B" null
'#' num '#' num
@ -365,14 +365,14 @@ anywhere else. <pavel@ucw.cz>
<!entity % limits "pr|in|sum" > <!entity % limits "pr|in|sum" >
<!entity % fbu "fr|lim|ar|root" > <!entity % fbu "fr|lim|ar|root" >
<!entity % fph "unl|ovl|sup|inf" > <!entity % fph "unl|ovl|sup|inf" >
<!entity % fbutxt "(%fbu;) | (%limits;) | <!entity % fbutxt "(%fbu;) | (%limits;) |
(%fcstxt;)|(%fscs;)|(%fph;)" > (%fcstxt;)|(%fscs;)|(%fph;)" >
<!entity % fphtxt "p|#pcdata" > <!entity % fphtxt "p|#pcdata" >
<!element f - - ((%fbutxt;)*) > <!element f - - ((%fbutxt;)*) >
<!entity fendtag '</f>' -- formula end -- > <!entity fendtag '</f>' -- formula end -- >
<!shortref fmap <!shortref fmap
"&#RS;B" null "&#RS;B" null
"&#RS;B&#RE;" null "&#RS;B&#RE;" null
"&#RS;&#RE;" null "&#RS;&#RE;" null
@ -432,7 +432,7 @@ anywhere else. <pavel@ucw.cz>
<!shortref arrmap <!shortref arrmap
"&#RE;" space "&#RE;" space
"@" arr "@" arr
"|" arc "|" arc
"_" thinsp "_" thinsp
"~" nbsp "~" nbsp
"#" num "#" num
@ -448,7 +448,7 @@ anywhere else. <pavel@ucw.cz>
<!element ovl - - ((%fbutxt;)*) > <!element ovl - - ((%fbutxt;)*) >
<!element rf - o (#pcdata) > <!element rf - o (#pcdata) >
<!element phr - o ((%fphtxt;)*) > <!element phr - o ((%fphtxt;)*) >
<!element v - o ((%fcstxt;)*) <!element v - o ((%fcstxt;)*)
-(tu|%limits;|%fbu;|%fph;) > -(tu|%limits;|%fbu;|%fph;) >
<!element fi - o (#pcdata) > <!element fi - o (#pcdata) >
<!element tu - o empty > <!element tu - o empty >
@ -468,7 +468,7 @@ anywhere else. <pavel@ucw.cz>
<!shortref global <!shortref global
"&#RS;B" null -- delete leading blanks -- "&#RS;B" null -- delete leading blanks --
-- '"' qtag -- -- '"' qtag --
"[" ftag "[" ftag
"~" nbsp "~" nbsp
"_" lowbar "_" lowbar
@ -485,19 +485,19 @@ anywhere else. <pavel@ucw.cz>
<!-- ref modified to have an optional name field HG --> <!-- ref modified to have an optional name field HG -->
<!element ref - o empty> <!element ref - o empty>
<!attlist ref <!attlist ref
id cdata #required id cdata #required
name cdata "&refnam"> name cdata "&refnam">
<!-- url entity added to have direct url references HG --> <!-- url entity added to have direct url references HG -->
<!element url - o empty> <!element url - o empty>
<!attlist url <!attlist url
url cdata #required url cdata #required
name cdata "&urlnam" > name cdata "&urlnam" >
<!-- htmlurl entity added to have quieter url references esr --> <!-- htmlurl entity added to have quieter url references esr -->
<!element htmlurl - o empty> <!element htmlurl - o empty>
<!attlist htmlurl <!attlist htmlurl
url cdata #required url cdata #required
name cdata "&urlnam" > name cdata "&urlnam" >
@ -510,22 +510,22 @@ anywhere else. <pavel@ucw.cz>
<!-- Hacked by mdw to exclude abstract; abstract now part of titlepag --> <!-- Hacked by mdw to exclude abstract; abstract now part of titlepag -->
<!element article - - <!element article - -
(titlepag, header?, (titlepag, header?,
toc?, lof?, lot?, p*, sect*, toc?, lof?, lot?, p*, sect*,
(appendix, sect+)?, biblio?) +(footnote)> (appendix, sect+)?, biblio?) +(footnote)>
<!attlist article <!attlist article
opts cdata "null"> opts cdata "null">
<!-- Hacked by mdw to exclude abstract; abstract now part of titlepag --> <!-- Hacked by mdw to exclude abstract; abstract now part of titlepag -->
<!element report - - <!element report - -
(titlepag, header?, toc?, lof?, lot?, p*, (titlepag, header?, toc?, lof?, lot?, p*,
chapt*, (appendix, chapt+)?, biblio?) +(footnote)> chapt*, (appendix, chapt+)?, biblio?) +(footnote)>
<!attlist report <!attlist report
opts cdata "null"> opts cdata "null">
<!element book - - <!element book - -
(titlepag, header?, toc?, lof?, lot?, p*, chapt*, (titlepag, header?, toc?, lof?, lot?, p*, chapt*,
(appendix, chapt+)?, biblio?) +(footnote) > (appendix, chapt+)?, biblio?) +(footnote) >
<!attlist book <!attlist book
@ -536,7 +536,7 @@ anywhere else. <pavel@ucw.cz>
<!element title - o (%inline, subtitle?) +(newline)> <!element title - o (%inline, subtitle?) +(newline)>
<!element subtitle - o (%inline)> <!element subtitle - o (%inline)>
<!usemap oneline titlepag> <!usemap oneline titlepag>
<!element author - o (name, thanks?, inst?, <!element author - o (name, thanks?, inst?,
(and, name, thanks?, inst?)*)> (and, name, thanks?, inst?)*)>
<!element name o o (%inline) +(newline)> <!element name o o (%inline) +(newline)>
<!element and - o empty> <!element and - o empty>
@ -545,9 +545,9 @@ anywhere else. <pavel@ucw.cz>
<!element date - o (#pcdata) > <!element date - o (#pcdata) >
<!usemap global thanks> <!usemap global thanks>
<!element newline - o empty > <!element newline - o empty >
<!entity nl "<newline>"> <!entity nl "<newline>">
<!element progdoc - o empty> <!element progdoc - o empty>
@ -575,11 +575,11 @@ anywhere else. <pavel@ucw.cz>
<!element footnote - - (%inline)> <!element footnote - - (%inline)>
<!usemap global footnote> <!usemap global footnote>
<!element cite - o empty> <!element cite - o empty>
<!attlist cite <!attlist cite
id cdata #required> id cdata #required>
<!element ncite - o empty> <!element ncite - o empty>
<!attlist ncite <!attlist ncite
id cdata #required id cdata #required
note cdata #required> note cdata #required>
@ -599,41 +599,41 @@ anywhere else. <pavel@ucw.cz>
<!attlist slides <!attlist slides
opts cdata "null"> opts cdata "null">
<!element slide - o (title?, p+) > <!element slide - o (title?, p+) >
<!entity % addr "(address?, email?, phone?, fax?)" > <!entity % addr "(address?, email?, phone?, fax?)" >
<!element letter - - <!element letter - -
(from, %addr, to, %addr, cc?, subject?, sref?, rref?, (from, %addr, to, %addr, cc?, subject?, sref?, rref?,
rdate?, opening, p+, closing, encl?, ps?)> rdate?, opening, p+, closing, encl?, ps?)>
<!attlist letter <!attlist letter
opts cdata "null"> opts cdata "null">
<!element from - o (#pcdata) > <!element from - o (#pcdata) >
<!element to - o (#pcdata) > <!element to - o (#pcdata) >
<!usemap oneline (from,to)> <!usemap oneline (from,to)>
<!element address - o (#pcdata) +(newline) > <!element address - o (#pcdata) +(newline) >
<!element email - o (#pcdata) > <!element email - o (#pcdata) >
<!element phone - o (#pcdata) > <!element phone - o (#pcdata) >
<!element fax - o (#pcdata) > <!element fax - o (#pcdata) >
<!element subject - o (%inline;) > <!element subject - o (%inline;) >
<!element sref - o (#pcdata) > <!element sref - o (#pcdata) >
<!element rref - o (#pcdata) > <!element rref - o (#pcdata) >
<!element rdate - o (#pcdata) > <!element rdate - o (#pcdata) >
<!element opening - o (%inline;) > <!element opening - o (%inline;) >
<!usemap oneline opening> <!usemap oneline opening>
<!element closing - o (%inline;) > <!element closing - o (%inline;) >
<!element cc - o (%inline;) +(newline) > <!element cc - o (%inline;) +(newline) >
<!element encl - o (%inline;) +(newline) > <!element encl - o (%inline;) +(newline) >
<!element ps - o (p+) > <!element ps - o (p+) >
<!element telefax - - <!element telefax - -
(from, %addr, to, address, email?, (from, %addr, to, address, email?,
phone?, fax, cc?, subject?, phone?, fax, cc?, subject?,
opening, p+, closing, ps?)> opening, p+, closing, ps?)>
@ -644,8 +644,8 @@ anywhere else. <pavel@ucw.cz>
<!element notes - - (title?, p+) > <!element notes - - (title?, p+) >
<!attlist notes <!attlist notes
opts cdata "null" > opts cdata "null" >
<!element manpage - - (sect1*) <!element manpage - - (sect1*)
-(sect2 | f | %mathpar | figure | tabular | -(sect2 | f | %mathpar | figure | tabular |
table | %xref | %thrm )> table | %xref | %thrm )>
@ -673,5 +673,5 @@ anywhere else. <pavel@ucw.cz>
<!-- <!--
Local Variables: Local Variables:
mode: sgml mode: sgml
End: --> End: -->
<!-- ================================================= --> <!-- ================================================= -->