Article View: comp.text.tex
Article #1239Re: Problem with hangcaption.sty?
From: David M. Jones
Date: Tue, 11 Aug 1992 01:11
Date: Tue, 11 Aug 1992 01:11
29 lines
1765 bytes
1765 bytes
In article <1992Aug10.193314.6435@ctr.columbia.edu>, anselmo@cumesb (Andrew P. Anselmo) writes:
>
>Dear all-
>
>I've been having a problem with hangcaption.sty, and the resident gurus
>here can't figure it out... I got hangcaption.sty from fileserv@shsu.edu,
>and simply included it in the document as:
>\documentstyle[hangcaption,12pt]{article}
>I'm a bit unfamiliar with complex .sty files; has anyone had similar problems
>with this style file?
Um, yes, as a matter of fact someone reported this problem a few weeks
ago and I tracked down the problem, but I seem to have neglected to
notify the appropriate authorities.
If you look very carefully at line 25 of hangcaption.sty, you'll
notice the following at the end of the line: "\endcsname^^}"
The "^^" is the culprit. This causes the following "}" to be
interpreted as an equals sign, thus causing TeX to complain about an
unfinished definition when it gets to the end of the file. Delete
those two characters and everything should be fine.
I'll forward a fixed copy to SHSU.
Cheers,
David M. Jones "Trifles! Trifles light as air!"
dmjones@theory.lcs.mit.edu -- the Hystricide
Technical Details
Message-ID:
<1992Aug11.011152.708@mintaka.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!newsReferences:
<1992Aug10.193314.6435@ctr.columbia.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!news From: dmjones@theory.lcs.mit.edu (David M. Jones) Newsgroups: comp.text.tex Subject: Re: Problem with hangcaption.sty? Message-ID: <1992Aug11.011152.708@mintaka.lcs.mit.edu> Date: 11 Aug 92 01:11:52 GMT References: <1992Aug10.193314.6435@ctr.columbia.edu> Sender: news@mintaka.lcs.mit.edu Reply-To: dmjones@theory.lcs.mit.edu (David M. Jones) Organization: Laboratory for Computer Science, MIT Lines: 29 In-Reply-To: anselmo@cumesb.mech.columbia.edu (Andrew P. Anselmo)