mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] References to labels following in the text


Chronological Thread 
  • From: Jérémy Berthomieu <address@hidden>
  • To: Ralf Juengling <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] References to labels following in the text
  • Date: Tue, 29 Oct 2013 13:57:55 +0100

Hello,

Yes, clearly the problem is coming from the labels inside the captions. I managed to solve your problem by putting the labels just after the figures (see chapter 1, now).
Same problem occurs with section (and variant thereof) for which the labels must be put outside the titles.

Cheers,
Jérémy


2013/10/29 Ralf Juengling <address@hidden>

I managed to create a small document which shows the problem (attached).

It seems the problem occurs because I have a list of figures. The
list of figures is automatically populated by texmacs: it copies
all the figure captions into the list of figures, including the
labels!

This means every figure label occurs twice in the document and when
you do document->update_all you see warnings like this:

TeXmacs] Warning: Redefined fig-foo-figure as ?
TeXmacs] Warning: Redefined fig-bah-figure as ?
TeXmacs] Warning: Redefined fig-foo-figure as 1.1
TeXmacs] Warning: Redefined fig-bah-figure as 1.2

Did I put the figure labels in the wrong place? Where else should I
put them?

Thanks,
Ralf




On Sun, 27 Oct 2013, Ralf Juengling wrote:


I tried, but it does not fix the problem.


On Sat, 26 Oct 2013, Sam Liddicott wrote:


Menu document->update_all a few times

On 26 Oct 2013 19:05, "Ralf Juengling" <address@hidden> wrote:

      It seems there is a problem when a \label appears later
      in the document than a \reference referencing it. When
      I open a texmacs document such references are rendered
      '?' instead of as the number assigned to the respective
      \label tag. When I export to pdf these references appear
      as '?' also.

      I see this for labels in figure and table environments
      but perhaps it is more general. The texmacs version is
      1.0.7.19 on linux.

      Does anyone know a workaround or have other comments?

      Thanks,
      Ralf






--
Laboratoire d'Informatique de Paris 6
Boîte courrier 169, Couloir 26-00, Bureau 328
Université Pierre-et-Marie-Curie
4 place Jussieu, 
75252 PARIS CEDEX 05, FRANCE

Attachment: refproblem.tm
Description: Binary data




Archive powered by MHonArc 2.6.19.

Top of page