Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod!think.com!linus!linus!babypuss!djb From: djb@babypuss.mitre.org (David J. Braunegg) Newsgroups: comp.text.tex Subject: \raggedright bug in LaTeX Message-ID: <127738@linus.mitre.org> Date: 15 Jan 91 14:41:51 GMT Sender: usenet@linus.mitre.org Organization: The MITRE Corporation Lines: 74 Nntp-Posting-Host: babypuss.mitre.org Based on a response that I received, I was not clear in my last message about the \raggedright bug. The bug occurs in *LaTeX*. I want to get unfilled text with indented paragraphs. \raggedright sets the \parindent to 0.0pt, thus preventing paragraph indentation. However, from the definition of \raggedright in lplain, I don't know why: \def\raggedright{\rightskip\z@ plus2em \spaceskip.3333em \xspaceskip.5em\relax} The following transcript shows that \parindent gets set to 0.0pt. You can also test it with text. djb@babypuss>\latex This is TeX, C Version 3.0 LaTeX Version 2.09 <7 Dec 1989> *\relax *\documentstyle{article} (/usr/local/lib/tex/inputs/article.sty Document Style `article' <16 Mar 88>. (/usr/local/lib/tex/inputs/art10.sty)) *\begin{document} No file texput.aux. *\showthe\parindent > 15.0pt. <*> \showthe\parindent ? *\raggedright *\showthe\parindent > 0.0pt. <*> \showthe\parindent ? *\end{document} (texput.aux) No pages of output. Transcript written on texput.log. Trying the same thing in TeX, there is no problem: djb@babypuss>\tex This is TeX, C Version 3.0 *\relax *\showthe\parindent > 20.0pt. <*> \showthe\parindent ? *\raggedright *\showthe\parindent > 20.0pt. <*> \showthe\parindent ? *\bye No pages of output. Transcript written on texput.log.