From 3ea1b00f7467ec4128b64d1b8ffa23900f8e2f40 Mon Sep 17 00:00:00 2001 From: schinz Date: Mon, 19 Jan 2004 14:29:32 +0000 Subject: - bug fix (hopefully): make the style work with... - bug fix (hopefully): make the style work with non-book styles, which do not know about chapters --- support/latex/scaladoc.sty | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'support') diff --git a/support/latex/scaladoc.sty b/support/latex/scaladoc.sty index c5c29eecbc..343683cea5 100644 --- a/support/latex/scaladoc.sty +++ b/support/latex/scaladoc.sty @@ -94,10 +94,7 @@ \fancypagestyle{plain}{\fancyhf{}% \renewcommand{\headrulewidth}{0pt}% \renewcommand{\footrulewidth}{0pt}} -%\newcommand{\setupChaptermark}{% - \renewcommand{\chaptermark}[1]{\markboth{#1}{}}% -%} -%\@ifundefined{chaptermark}{}{\setupChaptermark} +\@ifundefined{chaptermark}{}{\renewcommand{\chaptermark}[1]{\markboth{#1}{}}} \renewcommand{\sectionmark}[1]{\markright{\thesection\ \ #1}} \fancyhf{} \fancyhead[LE,RO]{\sffamily\footnotesize\thepage} -- cgit v1.2.3