summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-05 21:17:37 +0200
committerMartin Mares <mj@ucw.cz>2000-06-05 21:17:37 +0200
commit2debcb9eb0d76362003726ca8b0f5f43ee275dee (patch)
tree4b0cc821ada76b50eded2ad93a1e70b5b7ec8647
parentfdb0c540a82d9732d4d1d36c83e186f36d756d08 (diff)
downloadbird-2debcb9eb0d76362003726ca8b0f5f43ee275dee.tar
bird-2debcb9eb0d76362003726ca8b0f5f43ee275dee.zip
Move TeX trickery for typesetting of function descriptions to where
it belongs.
-rw-r--r--doc/sbase/dist/birddoc/latex2e/mapping6
-rw-r--r--doc/tex/birddoc.sty5
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/sbase/dist/birddoc/latex2e/mapping b/doc/sbase/dist/birddoc/latex2e/mapping
index 45c65d6..9d662be 100644
--- a/doc/sbase/dist/birddoc/latex2e/mapping
+++ b/doc/sbase/dist/birddoc/latex2e/mapping
@@ -208,11 +208,11 @@
<funcdef> "{\\it "
</funcdef> "\\/}"
-<function> "\\bigbreak\\hrule\\nobreak\\bigskip\\nobreak\\leftline{\\bf Function}\\nobreak\\smallskip\\nobreak{\\parskip=0pt "
+<function> "{\\function "
</function> "}\n\n"
-<funcsect> "\n\\medbreak\\leftline{\\bf "
-</funcsect> "}\\nobreak "
+<funcsect> "\n\\funcsect{"
+</funcsect> "}"
<hrule> "\\hrule"
diff --git a/doc/tex/birddoc.sty b/doc/tex/birddoc.sty
index 3cb7403..9429759 100644
--- a/doc/tex/birddoc.sty
+++ b/doc/tex/birddoc.sty
@@ -111,3 +111,8 @@
\newenvironment{tscreen}%
{\begin{quote}\bgroup\small\tt}%
{\egroup\end{quote}}
+
+%% Typesetting of function descriptions
+
+\def\function{\bigbreak\hrule\nobreak\bigskip\nobreak\leftline{\bf Function}\nobreak\smallskip\nobreak\parskip=0pt\relax}
+\def\funcsect#1{\medbreak\leftline{\bf #1}\nobreak}