texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TeXmacs] Fwd: [Texmacs-dev] \label and \reference numberingbug ?


From: Sam Liddicott
Subject: Re: [TeXmacs] Fwd: [Texmacs-dev] \label and \reference numberingbug ?
Date: Mon, 13 Sep 2010 09:53:06 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10pre) Gecko/20100909 Lanikai/3.1.4pre

On 13/09/10 09:24, Peter Rapčan wrote:
Can anyone reproduce this or is my computer on a geo-patogenous zone? ;-)

Don't put your label inside the section header block, but rather just after it (even on the same line will do).
e.g.
RIGHT:  <section|Greedy strategy><label|sec:greedy>
WRONG:  <section|<label|sec:greedy>Greedy strategy>

Sam


Peter.



Begin forwarded message:

From: Peter Rapčan <address@hidden>
Date: September 10, 2010 8:06:20 PM GMT+02:00
Subject: [Texmacs-dev] \label and \reference numbering bug ?
Reply-To: address@hidden

Hi everybody,

There seems to be a very weird bug in creating numbers for labels that one refers to via \reference. Please find attached a (somewhat) stripped-down file that exhibits the strange behavior.

When Section 3 is on the same page as Section 2, \reference to Section 2 is numbered correctly (as 2). When inserting an extra line so that Section 3 moves to the next page and doing Document->Update All (twice), \reference to Section 2 is numbered by whatever is the last-label number in the file - this can be e.g. equation, bibliography item, or section label (in this case 5).

Similarly, if  Section 3 is on page 2 and Section 4 is on page 3, then \reference to Section 4 is numbered correctly. However, if Section 4 is moved to page 4 and one does Document->Update All (twice), \reference to Section 4 is numbered by the number of the last labeled object in the document (in this case 5).

I observe this on 1.0.7.6 Qt port on a Mac, 1.0.7.3 X version on a Mac, 1.0.7.6. X version from the live CD provided by Chu-Ching on the texmacs-users list.


Cheers,

Peter


_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev



--
[FSF
          Associate Member #2325]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]