mailing-list for TeXmacs Users

Text archives Help


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


Chronological Thread 
  • From: "Sam Liddicott" <address@hidden>
  • To: address@hidden
  • Cc: Peter Rapčan <address@hidden>, address@hidden
  • Subject: Re: [TeXmacs] Fwd: [Texmacs-dev] \label and \reference numberingbug ?
  • Date: Mon, 13 Sep 2010 09:53:06 +0100
  • Envelope-to:
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAADxQTFRF NTdQY2Z/i286eHFugnNXoJBwm5GCs5VeoqO0ua+fwLCQ4c2q19C81NDF4eLr/unQ/PTf/fXW+/rq /f/7XKo76wAAAAlwSFlzAAALEwAACxMBAJqcGAAAAi9JREFUSMetloGSqyAMRVsFNAQkxP//15cE 62rFdt/MZqbTVu/hBhLEx/qf8fgDIAN455wHyPk7wCIe9nA+fwGSH87hgD8AHPfRpy2GwdMtcBh+ mg4Ech9Ih+RNixJKDLEL0GF8VLkSojePHrDlryNijbFW8zBg8PUKbBOI6D1WCV5Rf2DzxCtgBlMs tRRVW5LyVW3ew1TfAZZ6RcQicpb4yZmaC74DJADK6BdATOrUAbJzsZie+K22ZnEBknNYysvhVH6u 1X8CqAe4DuANoPoOrAbsHXUARJ5knc5z4EyyTnHoAqj7xvkYIdk65AwhyEZKMusOIDV2QQQaCnDQ gBiDR3RdIEb5CBESt2wgQJI0Yx/Agphg1MgNsD+QkszM9wHVPx/PeQOW+fmcR9DF8+4CyCJhCuP8 fDzmBbLqs8JzMODqYNfDvKhoGYM2lDosy5jlRozccRAgrPM8iygQS3Mv87IugUgKlC7NZ6liuy4r uresVq5QuQAr09ZKEga8OkluyKXeQ6Bs3SrtqgC1pWLNqAfwDhBnB+sK8OrVL4D4h1B4zWPWhJhu gPUHKA5EwSMYUMsdQK+UKDhIOTSHeg+8HCoTOGtB/gwcl4mSdGybwXegPWhM/RHYKwchkckhUNMX 6j7ueQNScLbZZOPRxaADyO2UQCJpl7wbnE6gQ+ksWjpngxOwF1tF5ecP3R6KB+AQxPfHLncQ+nKw 06fhu68OTIfJ869eTtg22l+9zfwDK3mKl5BFHMYAAAAASUVORK5CYII=

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
To: address@hidden
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



--

PNG image




Archive powered by MHonArc 2.6.19.

Top of page