0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Define element <progdoc> which initializes different formatting for the

programmer's guide (\raggedbottom etc.).

Also, omit "\usepackage{t1enc}", so that bullets work now.
This commit is contained in:
Martin Mares 2000-06-05 21:02:57 +00:00
parent 854128a5ed
commit a13eaf219a
6 changed files with 24 additions and 3 deletions

View File

@ -7,6 +7,7 @@
--> -->
<book> <book>
<progdoc>
<title>BIRD Programmer's Documentation <title>BIRD Programmer's Documentation
<author> <author>

View File

@ -159,6 +159,9 @@
<manpage> + ".nr il -1" + <manpage> + ".nr il -1" +
</manpage> </manpage>
<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

View File

@ -26,6 +26,9 @@
<manpage> <manpage>
</manpage> </manpage>
<progdoc>
</progdoc>
<titlepag> <titlepag>
</titlepag> </titlepag>

View File

@ -6,7 +6,6 @@
"\\usepackage{qwertz}\n" "\\usepackage{qwertz}\n"
"\\usepackage{url}\n" "\\usepackage{url}\n"
"\\usepackage\[latin1\]{inputenc}\n" "\\usepackage\[latin1\]{inputenc}\n"
"\\usepackage{t1enc}\n"
"\\usepackage{epsfig}\n" "\\usepackage{epsfig}\n"
"\\usepackage{[OPTS]}\n" "\\usepackage{[OPTS]}\n"
"\\pagestyle{headings}%end-preamble\n" + "\\pagestyle{headings}%end-preamble\n" +
@ -19,6 +18,9 @@
<manpage> <manpage>
</manpage> </manpage>
<progdoc> "\\progdoc"
</progdoc>
<titlepag> <titlepag>
</titlepag> + "\n\n\\begin{document}\n" </titlepag> + "\n\n\\begin{document}\n"
"\\maketitle\n" + "\\maketitle\n" +

View File

@ -12,7 +12,13 @@ anywhere else. <pavel@ucw.cz>
Tom Gordon. Tom Gordon.
$Log$ $Log$
Revision 1.3 2000-05-31 14:24:21 mj Revision 1.4 2000-06-05 21:02:58 mj
Define element <progdoc> which initializes different formatting for the
programmer's guide (\raggedbottom etc.).
Also, omit "\usepackage{t1enc}", so that bullets work now.
Revision 1.3 2000/05/31 14:24:21 mj
Formatting of progdoc works in both HTML and LaTeX. The LaTeX output Formatting of progdoc works in both HTML and LaTeX. The LaTeX output
still has somewhat weird spacing, but it will be hopefully easy still has somewhat weird spacing, but it will be hopefully easy
to fix. to fix.
@ -526,7 +532,7 @@ anywhere else. <pavel@ucw.cz>
opts cdata "null"> opts cdata "null">
<!-- Hacked by mdw, abstract now part of titlepag --> <!-- Hacked by mdw, abstract now part of titlepag -->
<!element titlepag o o (title, author, date?, abstract?)> <!element titlepag o o (progdoc?, title, author, date?, abstract?)>
<!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>
@ -543,6 +549,8 @@ anywhere else. <pavel@ucw.cz>
<!element newline - o empty > <!element newline - o empty >
<!entity nl "<newline>"> <!entity nl "<newline>">
<!element progdoc - o empty>
<!-- Hacked by mdw --> <!-- Hacked by mdw -->
<!element abstract - o (%inline)> <!element abstract - o (%inline)>
<!usemap oneline abstract> <!usemap oneline abstract>

View File

@ -81,6 +81,10 @@
%% Needs to be here for the previous ps@headings defs to work. %% Needs to be here for the previous ps@headings defs to work.
\pagestyle{headings} \pagestyle{headings}
\def\progdoc{
\raggedbottom
}
%%% USEFUL MACROS %%% USEFUL MACROS
\newcommand{\linux}{Linux} % Always use this when \newcommand{\linux}{Linux} % Always use this when