From b52ba308913f45306a054ed4cff861d1d209d1be Mon Sep 17 00:00:00 2001
From: michelou <michelou@epfl.ch>
Date: Thu, 10 Mar 2005 09:24:30 +0000
Subject: - added workaround for \spacefactor problem (se...

- added workaround for \spacefactor problem (see comment in tex source).
---
 support/latex/scaladoc.sty | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'support/latex/scaladoc.sty')

diff --git a/support/latex/scaladoc.sty b/support/latex/scaladoc.sty
index 343683cea5..bc789eac45 100644
--- a/support/latex/scaladoc.sty
+++ b/support/latex/scaladoc.sty
@@ -94,7 +94,15 @@
 \fancypagestyle{plain}{\fancyhf{}%
    \renewcommand{\headrulewidth}{0pt}%
    \renewcommand{\footrulewidth}{0pt}}
+
+%%% required on Fedora Core 2 (why?!)
+%%% (hint found at http://www.opennet.ru/docs/FAQ/soft/tex-faq.html)
+\makeatletter
+%%%
 \@ifundefined{chaptermark}{}{\renewcommand{\chaptermark}[1]{\markboth{#1}{}}}
+%%%
+\makeatother
+%%%
 \renewcommand{\sectionmark}[1]{\markright{\thesection\ \ #1}}
 \fancyhf{}
 \fancyhead[LE,RO]{\sffamily\footnotesize\thepage}
-- 
cgit v1.2.3

