🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2105

Re: hangcaption.sty; works but not with \label

#2105
From: Rainer Schoepf
Date: Wed, 12 Aug 1992 10:29
35 lines
1771 bytes
mroussel@alchemy.chem.utoronto.ca (Marc Roussel) writes in response to
a message by anselmo@cumesb.mech.columbia.edu (Andrew P. Anselmo):

	Interesting.  It's surprisingly rare to find real bugs in LaTeX
   (although it does happen) but it seems that you have found one.  I
   wonder if this problem is universal across different revisions of LaTeX.
   If you have a short piece of sample code which demonstrates this problem,
   I would appreciate it if you mailed it to me.

I have a small sample file:

\documentstyle{article}

\begin{document}
\parbox[t]{5cm}{text text text text text text text text
text text text text text text text text
text text text text text text text text
text text text text text text text text
text text text text text text text text }
\parbox[t]{5cm}{\label{x}text text text text text text text text
text text text text text text text text
text text text text text text text text
text text text text text text text text
text text text text text text text text }

\end{document}


The problem is that the \label contributes a \write node while in
vertical mode. An easy solution is to put a \leavevmode in front of
it. But before I change \parbox I have to make sure that this doesn't
break something else (not likely, but once burned...).

Rainer Schoepf
LaTeX 2.09 maintenance
Technical Details
Message-ID: <9208121029.AA29491@sc.zib-berlin.dbp.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!pacbell.com!network.ucsd.edu!mvb.saic.com!info-tex

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!pacbell.com!network.ucsd.edu!mvb.saic.com!info-tex
From: schoepf@sc.ZIB-Berlin.DE (Rainer Schoepf)
Newsgroups: comp.text.tex
Subject: Re: hangcaption.sty; works but not with \label
Message-ID: <9208121029.AA29491@sc.zib-berlin.dbp.de>
Date: Wed, 12 Aug 92 12:29:24 +0200
Organization: Konrad-Zuse-Zentrum fuer Informationstechnik Berlin
X-Gateway-Source-Info: Mailing List
Lines: 35