LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Uwe Lück <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Sun, 17 Apr 2005 11:14:47 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
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).

Best Regards,
Uwe Lück.

ATOM RSS1 RSS2