From a13eaf219acf5b90af09b914a2182e23d5812aee Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 5 Jun 2000 21:02:57 +0000 Subject: Define element which initializes different formatting for the programmer's guide (\raggedbottom etc.). Also, omit "\usepackage{t1enc}", so that bullets work now. --- doc/prog-head.sgml | 1 + doc/sbase/dist/birddoc/groff/mapping | 3 +++ doc/sbase/dist/birddoc/html/mapping | 3 +++ doc/sbase/dist/birddoc/latex2e/mapping | 4 +++- doc/sbase/dtd/birddoc.dtd | 12 ++++++++++-- doc/tex/birddoc.sty | 4 ++++ 6 files changed, 24 insertions(+), 3 deletions(-) diff --git a/doc/prog-head.sgml b/doc/prog-head.sgml index 8e0e7922..5e527e5f 100644 --- a/doc/prog-head.sgml +++ b/doc/prog-head.sgml @@ -7,6 +7,7 @@ --> + BIRD Programmer's Documentation <author> diff --git a/doc/sbase/dist/birddoc/groff/mapping b/doc/sbase/dist/birddoc/groff/mapping index afb81bb4..71d2c935 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 9d05a76a..353d7774 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 9d662be2..94940b60 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 f7fbcc67..9cedcacc 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 a3d0ce0b..b38b879c 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 -- cgit v1.2.3