summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/prog-head.sgml1
-rw-r--r--doc/sbase/dist/birddoc/groff/mapping3
-rw-r--r--doc/sbase/dist/birddoc/html/mapping3
-rw-r--r--doc/sbase/dist/birddoc/latex2e/mapping4
-rw-r--r--doc/sbase/dtd/birddoc.dtd12
-rw-r--r--doc/tex/birddoc.sty4
6 files changed, 24 insertions, 3 deletions
diff --git a/doc/prog-head.sgml b/doc/prog-head.sgml
index 8e0e792..5e527e5 100644
--- a/doc/prog-head.sgml
+++ b/doc/prog-head.sgml
@@ -7,6 +7,7 @@
-->
<book>
+<progdoc>
<title>BIRD Programmer's Documentation
<author>
diff --git a/doc/sbase/dist/birddoc/groff/mapping b/doc/sbase/dist/birddoc/groff/mapping
index afb81bb..71d2c93 100644
--- a/doc/sbase/dist/birddoc/groff/mapping
+++ b/doc/sbase/dist/birddoc/groff/mapping
@@ -159,6 +159,9 @@
<manpage> + ".nr il -1" +
</manpage>
+<progdoc>
+</progdoc>
+
% Hacked up titlepag stuff to look more reasonable. Titles and author
% 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
diff --git a/doc/sbase/dist/birddoc/html/mapping b/doc/sbase/dist/birddoc/html/mapping
index 9d05a76..353d777 100644
--- a/doc/sbase/dist/birddoc/html/mapping
+++ b/doc/sbase/dist/birddoc/html/mapping
@@ -26,6 +26,9 @@
<manpage>
</manpage>
+<progdoc>
+</progdoc>
+
<titlepag>
</titlepag>
diff --git a/doc/sbase/dist/birddoc/latex2e/mapping b/doc/sbase/dist/birddoc/latex2e/mapping
index 9d662be..94940b6 100644
--- a/doc/sbase/dist/birddoc/latex2e/mapping
+++ b/doc/sbase/dist/birddoc/latex2e/mapping
@@ -6,7 +6,6 @@
"\\usepackage{qwertz}\n"
"\\usepackage{url}\n"
"\\usepackage\[latin1\]{inputenc}\n"
- "\\usepackage{t1enc}\n"
"\\usepackage{epsfig}\n"
"\\usepackage{[OPTS]}\n"
"\\pagestyle{headings}%end-preamble\n" +
@@ -19,6 +18,9 @@
<manpage>
</manpage>
+<progdoc> "\\progdoc"
+</progdoc>
+
<titlepag>
</titlepag> + "\n\n\\begin{document}\n"
"\\maketitle\n" +
diff --git a/doc/sbase/dtd/birddoc.dtd b/doc/sbase/dtd/birddoc.dtd
index f7fbcc6..9cedcac 100644
--- a/doc/sbase/dtd/birddoc.dtd
+++ b/doc/sbase/dtd/birddoc.dtd
@@ -12,7 +12,13 @@ anywhere else. <pavel@ucw.cz>
Tom Gordon.
$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
still has somewhat weird spacing, but it will be hopefully easy
to fix.
@@ -526,7 +532,7 @@ anywhere else. <pavel@ucw.cz>
opts cdata "null">
<!-- 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 subtitle - o (%inline)>
<!usemap oneline titlepag>
@@ -543,6 +549,8 @@ anywhere else. <pavel@ucw.cz>
<!element newline - o empty >
<!entity nl "<newline>">
+<!element progdoc - o empty>
+
<!-- Hacked by mdw -->
<!element abstract - o (%inline)>
<!usemap oneline abstract>
diff --git a/doc/tex/birddoc.sty b/doc/tex/birddoc.sty
index a3d0ce0..b38b879 100644
--- a/doc/tex/birddoc.sty
+++ b/doc/tex/birddoc.sty
@@ -81,6 +81,10 @@
%% Needs to be here for the previous ps@headings defs to work.
\pagestyle{headings}
+\def\progdoc{
+\raggedbottom
+}
+
%%% USEFUL MACROS
\newcommand{\linux}{Linux} % Always use this when