Commit 6e06e6ee authored by Pavel Machek's avatar Pavel Machek

Critical files from linuxdoc1 distribution checked in.

parent 0e7a720a
% Converts qwertz files to html files ready for fixref and html2html.
%
% This file is R-Rated because of uglyness.
%
% -Magnus <magnus@ii.uib.no>
<qwertz>
</qwertz> + "<@@enddoc>" +
<article>
</article> + "<@@enddoc>" +
<report>
</report> + "<@@enddoc>" +
<book>
</book> + "<@@enddoc>" +
<notes>
</notes> + "<@@enddoc>" +
% Manual Pages are expected to be formatted using nroff (or groff), unless
% they are included as sections of other qwertz documents.
<manpage>
</manpage>
<titlepag>
</titlepag>
<title> + "<@@title>"
</title>
<subtitle> + "<H2>"
</subtitle> "</H2>" +
<author>
</author>
<name> + "<H2>"
</name> "</H2>"
<and> " and "
</and>
<thanks> + "Thanks "
</thanks>
<inst> + "<H3>"
</inst> "</H3>" +
<newline> "<BR>"
<label> + "<@@label>[ID]" +
<header>
</header>
<lhead> + "<!-- "
</lhead> " -->" +
<rhead> + "<!-- "
</rhead> " -->" +
<comment> + "<H4>Comment</H4>" +
</comment>
<abstract> + "<P><HR>\n<EM>"
</abstract> "</EM>\n<HR>" +
<appendix> + "<H2>Appendix</H2>" +
</appendix>
<toc>
</toc>
<lof>
</lof>
<lot>
</lot>
<chapt> + "<@@chapt>"
</chapt> + "<@@endchapt>" +
<sect> + "<@@sect>"
</sect> + "<@@endsect>" +
<sect1> + "<@@ssect>"
</sect1> + "<@@endssect>" +
<sect2> + "<@@head>"
</sect2>
<sect3> + "<@@head>"
</sect3>
<sect4> + "<@@head>"
</sect4>
<heading>
</heading> + "<@@endhead>" +
<p> "<P>"
</p> "" +
<itemize> + "<UL>" +
</itemize> + "</UL>" +
<enum> + "<OL>" +
</enum> + "</OL>" +
<descrip> + "<DL>" +
</descrip> + "</DL>" +
<item> + "<LI>"
</item> "</LI>" +
<tag> "<DT><CODE>"
</tag> "</CODE><DD>"
<cite> "[<I>[ID]</I>]"
</cite>
<ncite> "[<I>[NOTE] ([ID])</I>]"
</ncite>
<footnote> + "<BLOCKQUOTE>"
</footnote> "</BLOCKQUOTE>" +
<sq> "\""
</sq> "\""
<lq> + "<LQ>" +
</lq> + "</LQ>" +
<em> "<EM>"
</em> "</EM>"
<bf> "<B>"
</bf> "</B>"
<it> "<I>"
</it> "</I>"
<sf> "<SF>"
</sf> "</SF>"
<sl> "<I>"
</sl> "</I>"
<tt> "<CODE>"
</tt> "</CODE>"
<cf> "<CODE>"
</cf> "</CODE>"
<m> "<I>"
</m> "</I>"
% url support by HG
<url> + "<@@url>[URL]\n"
"[NAME]</A>\n"
"<@@endurl>" +
</url>
<htmlurl> + "<@@url>[URL]\n"
"[NAME]</A>\n"
"<@@endurl>" +
</htmlurl>
% ref modified to have an optional name field
<ref> + "<@@ref>[ID]\n"
"[NAME]</A>\n"
"<@@endref>" +
</ref>
<href> + "<@@ref>[ID]" +
</href>
<pageref> + "<@@ref>[ID]" +
</pageref>
<nidx> + "<!--" +
</nidx> + "-->" +
<ncdx> + "<!--" +
</ncdx> + "-->" +
<x>
</x>
<mc> "<MC>"
</mc> "</MC>"
<biblio> + "<BIBLIO STYLE=\"[STYLE]\" FILES=\"[FILES]\">" +
</biblio>
<code> + "<HR>\n<PRE>" +
</code> + "</PRE>\n<HR>" +
<verb> + "<PRE>" +
</verb> + "</PRE>" +
<tscreen> + "<BLOCKQUOTE><CODE>" +
</tscreen> + "</CODE></BLOCKQUOTE>" +
<quote> + "<BLOCKQUOTE>" +
</quote> + "</BLOCKQUOTE>" +
% theorems and such
<def> + "<DEF>"
</def> + "</DEF>" +
<prop> + "<PROP>"
</prop> + "</PROP>" +
<lemma> + "<LEMMA>"
</lemma> + "</LEMMA>" +
<coroll> + "<COROLL>"
</coroll> + "</COROLL>" +
<proof> + "<PROOF>"
</proof> + "</PROOF>" +
<theorem> + "<THEOREM>"
</theorem> + "</THEOREM>" +
<thtag> "<THTAG>"
</thtag> "</THTAG>"
% mathematics
<f>
</f>
<dm> + "<DM>" +
</dm> + "</DM>" +
<eq> + "<EQ>" +
</eq> + "</EQ>" +
<fr> "<FR>"
</fr> "</FR>"
<nu> "<NU>"
</nu> "</NU>"
<de> "<DE>"
</de> "</DE>"
<lim> "<LIM>"
</lim> "</LIM>"
<op> "<OP>"
</op> "</OP>"
<ll> "<LL>"
</ll> "</LL>"
<ul> "<UL>"
</ul> "</UL>"
<opd> "<OPD>"
</opd> "</OPD>"
<pr> "<PR>"
</pr> "</PR>"
<in> "<INT>"
</in> "</INT>"
<sum> "<SUM>"
</sum> "</SUM>"
<root> "<ROOT>"
</root> "</ROOT>"
<ar> "<AR>"
</ar> "</AR>"
<arr> "<ARR>"
</arr>
<arc> "<ARC>"
</arc>
<sup> "<SUP>"
</sup> "</SUP>"
<inf> "<SUB>"
</inf> "</SUB>"
<unl> "<UNL>"
</unl> "</UNL>"
<ovl> "<OVL>"
</ovl> "</OVL>"
<rf> "<RF>"
</rf> "</RF>"
<v> "<V>"
</v> "</V>"
<fi> "<FI>"
</fi> "</FI>"
<phr> "<PHR>"
</phr> "</PHR>"
<tu> "<TU>"
</tu>
% figures
<figure> + "<FIGURE>" +
</figure> + "</FIGURE>" +
<eps> + "<EPS FILE=\"[FILE]\">" +
</eps>
<img> + "<IMG SRC=\"[SRC]\">" +
</img>
<ph> + "<PH VSPACE=\"[VSPACE]\">" +
</ph>
<caption> + "<CAPTION>"
</caption> "</CAPTION>" +
% tables
<table> + "<CENTER><TABLE BORDER><TR><TD>\n" +
</table> + "</TD></TR></TABLE></CENTER>\n" +
<tabular> + "<BR>\n" +
</tabular> + "\n" +
<rowsep> "</TD></TR><TR><TD>" +
</rowsep>
<colsep> "</TD><TD>"
</colsep>
<hline> + "" +
</hline>
% slides
<slides> + "<SLIDES>" +
</slides> + "</SLIDES>" +
<slide> + "<SLIDE>" +
</slide> + "</SLIDE>" +
% letters
<letter> + "<LETTER OPTS=\"[OPTS]\">" +
</letter> + "</LETTER>" +
<telefax> + "<TELEFAX OPTS=\"[OPTS]\">" +
</telefax> + "</TELEFAX>" +
<opening> + "<OPENING>"
</opening> "</OPENING>" +
<from> + "<FROM>"
</from> + "</FROM>" +
<to> + "<TO>"
</to> + "</TO>" +
% first end definition of name
<address> + "<ADDRESS>" +
</address> + "</ADDRESS>" +
<email> + "<EMAIL>"
</email> "</EMAIL>" +
<phone> + "<PHONE>"
</phone> "</PHONE>" +
<fax> + "<FAX>"
</fax> "</FAX>" +
<subject> + "<SUBJECT>"
</subject> "</SUBJECT>" +
<sref> + "<SREF>"
</sref> "</SREF>" +
<rref> + "<RREF>"
</rref> "</RREF>" +
<rdate> + "<RDATE>"
</rdate> "</RDATE>" +
<closing> + "<CLOSING>"
</closing> "</CLOSING>" +
<cc> + "<CC>"
</cc> "</CC>" +
<encl> + "<ENCL>"
</encl> "</ENCL>" +
<ps> + "<PS>" +
</ps> + "</PS>" +
% end of html replacement file
This diff is collapsed.
This diff is collapsed.
#!/usr/bin/perl
#
# sgmltools.in
#
# $Id$
#
# SGML-Tools driver. Calls all other SGML-Tools components, contains
# configuration information, etcetera.
#
package main;
sub BEGIN
{
require 5.004;
}
use strict;
use vars qw($prefix $LibDir $BinDir $progs);
$prefix = "/usr";
$LibDir = "sbase";
$BinDir = "/usr/bin";
use lib "/usr/lib/sgml-tools";
use lib "/usr/perl5";
use lib "/usr/lib/perl5";
$progs = {
"NSGMLS" => "/usr/bin/nsgmls",
"SGMLSASP" => "/usr/bin/sgmlsasp",
"GROFF" => "/usr/bin/groff",
"GROFFMACRO" => "-mgs"
};
require SGMLTools;
&SGMLTools::init;
my @FileList = SGMLTools::process_options ($0, @ARGV);
for my $curfile (@FileList)
{
SGMLTools::process_file ($curfile);
}
exit 0;
#!/usr/bin/perl
#
# sgmltools.in
#
# $Id$
#
# SGML-Tools driver. Calls all other SGML-Tools components, contains
# configuration information, etcetera.
#
package main;
sub BEGIN
{
require 5.004;
}
use strict;
use vars qw($prefix $LibDir $BinDir $progs);
$prefix = "/usr";
$LibDir = "sbase";
$BinDir = "/usr/bin";
use lib "/usr/lib/sgml-tools";
use lib "/usr/perl5";
use lib "/usr/lib/perl5";
$progs = {
"NSGMLS" => "/usr/bin/nsgmls",
"SGMLSASP" => "/usr/bin/sgmlsasp",
"GROFF" => "/usr/bin/groff",
"GROFFMACRO" => "-mgs"
};
require SGMLTools;
&SGMLTools::init;
my @FileList = SGMLTools::process_options ($0, @ARGV);
for my $curfile (@FileList)
{
SGMLTools::process_file ($curfile);
}
exit 0;
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