text/plain; charset="iso-8859-1"; format=flowed
Sun, 17 Apr 2005 11:14:47 +0200
Dear Erik Luijten,
At 01:00 16.04.05, Erik Luijten wrote:
>2. As a physicist, I frequently use the widely-used package "revtex". I
>found that this breaks lineno completely (both version 3 and version 4). I
>was wondering whether there is a chance that lineno.sty can be made
>compatible with revtex?
This is due to a mistake in revtex's way of changing the output routine.
After a \newtoks\output, the new output routine invokes \the\output,
it should use a private string instead (\let\rev@output\output ...).
lineno.sty tries the same trick, but due to revtex's \the\output,
lineno's output routine is entirely ignored.
This was pointed out by David Kastrup recently. I had made the
mistake myself, and so has lineno.sty done up to now. David Kastrup
called it a "standard mistake", I wondered who made it else, now
I find it funny to see another instance.
"Mistake" may be inappropriate, but David Kastrup's proposal is
a helpful convention.
With the next version of lineno.sty, you will be able to load it
before the class by \RequirePackage, revtex and lineno will then
cooperate, regardless of if revtex has been changed (I think).