diff options
author | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-06-09 14:57:19 +0000 |
---|---|---|
committer | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-06-09 14:57:19 +0000 |
commit | dec737ce7bd9d840dd8d37ed8e09dca1d2efa7b7 (patch) | |
tree | c586b5abbba4cb46372ea5ad2fe35d7e4f1478d6 /doc/latex | |
parent | c8ee2b431559344fa088bfa3dbccaf205d844863 (diff) |
fix a bug in the latex formatting noted by Erik Schnetter,
where an environment was defined like
\newenvironment{Synopsis}[1]{\item[\bf ##1]}{}
which causes trouble if ##1 expands to something that starts with a [
The fix is to change the code to
\newenvironment{Synopsis}[1]{\item[\bf{##1}]}{}
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3239 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/latex')
-rw-r--r-- | doc/latex/cactus.sty | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/latex/cactus.sty b/doc/latex/cactus.sty index a0dfdfbd..737c246a 100644 --- a/doc/latex/cactus.sty +++ b/doc/latex/cactus.sty @@ -251,7 +251,7 @@ \begin{FunctionDescriptionEntry} }%%% {\end{FunctionDescriptionEntry}} -\newenvironment{Synopsis}[1]{\item[\bf ##1]}{} +\newenvironment{Synopsis}[1]{\item[\bf{##1}]}{} % \newenvironment{ResultSection} {%%% @@ -260,7 +260,7 @@ }%%% {\end{FunctionDescriptionEntry}} \newenvironment{ResultNote}{\item[]\hskip-\leftmargin{}}{} -\newenvironment{Result}[1]{\item[\tt ##1]}{} +\newenvironment{Result}[1]{\item[\tt{##1}]}{} % \newenvironment{ParameterSection} {%%% @@ -268,7 +268,7 @@ \begin{FunctionDescriptionEntry} }%%% {\end{FunctionDescriptionEntry}} -\newenvironment{Parameter}[1]{\item[\tt ##1]}{} +\newenvironment{Parameter}[1]{\item[\tt{##1}]}{} % \newenvironment{Discussion}%%% {%%% @@ -284,7 +284,7 @@ \begin{FunctionDescriptionWideEntry} }%%% {\end{FunctionDescriptionWideEntry}} -\newenvironment{SeeAlso}[1]{\item[\tt ##1]}{} +\newenvironment{SeeAlso}[1]{\item[\tt{##1}]}{} % \newenvironment{ErrorSection} {%%% @@ -292,7 +292,7 @@ \begin{FunctionDescriptionWideEntry} }%%% {\end{FunctionDescriptionWideEntry}} -\newenvironment{Error}[1]{\item[\tt ##1]}{} +\newenvironment{Error}[1]{\item[\tt{##1}]}{} % \newenvironment{ExampleSection} {%%% @@ -300,7 +300,7 @@ \begin{FunctionDescriptionEntry} }%%% {\end{FunctionDescriptionEntry}} -\newenvironment{Example}[1]{\item[\bf ##1]}{} +\newenvironment{Example}[1]{\item[\bf{##1}]}{} % }%%% % end of \begin{FunctionDescription} expansion {%%% |