mailing-list for TeXmacs Users

Text archives Help


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


Chronological Thread 
  • From: Peter Rapčan <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Fwd: [Texmacs-dev] \label and \reference numberingbug ?
  • Date: Mon, 13 Sep 2010 11:32:52 +0200

Oh, it's that simple? My mistake, sorry, I will read the manual first next time ;-).

Thanks,

P.




On Sep 13, 2010, at 10:53 AM, Sam Liddicott wrote:

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







Archive powered by MHonArc 2.6.19.

Top of page