Commit a13eaf21 authored by Martin Mareš's avatar Martin Mareš

Define element <progdoc> which initializes different formatting for the

programmer's guide (\raggedbottom etc.).

Also, omit "\usepackage{t1enc}", so that bullets work now.
parent 854128a5
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
--> -->
<book> <book>
<progdoc>
<title>BIRD Programmer's Documentation <title>BIRD Programmer's Documentation
<author> <author>
......
...@@ -159,6 +159,9 @@ ...@@ -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
......
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
<manpage> <manpage>
</manpage> </manpage>
<progdoc>
</progdoc>
<titlepag> <titlepag>
</titlepag> </titlepag>
......
...@@ -6,7 +6,6 @@ ...@@ -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 @@ ...@@ -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" +
......
...@@ -12,7 +12,13 @@ anywhere else. <pavel@ucw.cz> ...@@ -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> ...@@ -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> ...@@ -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>
......
...@@ -81,6 +81,10 @@ ...@@ -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
......
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