Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jtkohl From: jtkohl@MIT.EDU (John T Kohl) Newsgroups: comp.text.tex Subject: Re: error in LaTeX's \paragraph command Keywords: latex, paragraph Message-ID: Date: 14 Jan 91 15:32:20 GMT References: <9562@mirsa.inria.fr> <1991Jan14.000029.3377@csis.dit.csiro.au> Sender: news@athena.mit.edu (News system) Organization: MIT Project Athena Lines: 39 In-Reply-To: ken@csis.dit.csiro.au's message of 14 Jan 91 00:00:29 GMT In article <1991Jan14.000029.3377@csis.dit.csiro.au> ken@csis.dit.csiro.au (Ken Yap) writes: > >When the "\paragraph" is followed by a word beginning with "plus" or "Plus", > >eg. > > \paragraph{title of the paragraph} > > Plusieurs ... > >LaTeX will report the error as follows: > > ... > >I think it may be a bug in LaTeX. > Yes, it's a bug. ... The fix is for macro package writers to be > careful to put \relax after such commands. What I don't understand is why putting \relax after the \paragraph{foo} fails to fix the problem. This file gets errors on BOTH \paragraphs rather than just the first: \documentstyle{article} \begin{document} This is some stuff. \section{Section header} Plusieurs the section. \subsection{Subsection header} Plusieurs the subsection. \paragraph{Paragraph header 1} \relax Plusieurs the paragraph. \paragraph{Paragraph header 2} Plusieurs the paragraph. \end{document} -- John Kohl or Digital Equipment Corporation/Project Athena (The above opinions are MINE. Don't put my words in somebody else's mouth!)