Subject: mailing-list for TeXmacs Users
List archive
From : Ralf Juengling <address@hidden>- To: Sam Liddicott <address@hidden>
- Cc: address@hidden
- Subject: Re: [TeXmacs] References to labels following in the text
- Date: Tue, 29 Oct 2013 05:48:31 -0700 (PDT)
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
<TeXmacs|1.0.7.19> <style|book> <\body> <\list-of-figures|figure> <glossary-1|<label|fig-foo-figure>blah|<pageref|auto-4>> <glossary-1|<label|fig-bah-figure>bluh|<pageref|auto-5>> </list-of-figures> <\list-of-tables|table> <\glossary-1> <label|tab-some-table>blah </glossary-1|<pageref|auto-7>> <glossary-1|<label|tab-rock-table>aha|<pageref|auto-8>> </list-of-tables> <chapter|Figure Reference Problem> Figure <reference|fig-foo-figure> shows a foo. <big-figure|foo|<label|fig-foo-figure>blah> Figure <reference|fig-foo-figure> above shows a foo. Figure <reference|fig-bah-figure> below shows a bah. <big-figure|bah|<label|fig-bah-figure>bluh> Figure <reference|fig-bah-figure> above shows a bluh.<chapter|Table Rereference Problem> Table <reference|tab-some-table> below is some table. <\big-table|table> <label|tab-some-table>some table </big-table> Table <reference|tab-some-table> above is some table. Table <reference|tab-rock-table> below is a rock.\ <big-table|rock|<label|tab-rock-table>a rock> Table <reference|tab-rock-table> above is a rock. </body> <initial|<\collection> </collection>> <\references> <\collection> <associate|auto-1|<tuple|?|1>> <associate|auto-2|<tuple|?|3>> <associate|auto-3|<tuple|1|5>> <associate|auto-4|<tuple|1.1|5>> <associate|auto-5|<tuple|1.2|5>> <associate|auto-6|<tuple|2|7>> <associate|auto-7|<tuple|2.1|7>> <associate|auto-8|<tuple|2.2|7>> <associate|fig-bah-figure|<tuple|1.2|5>> <associate|fig-bah2-figure|<tuple|?|3>> <associate|fig-foo-figure|<tuple|1.1|5>> <associate|fig-foo2-figure|<tuple|?|3>> <associate|tab-rock-table|<tuple|2.2|7>> <associate|tab-some-table|<tuple|2.1|7>> </collection> </references> <\auxiliary> <\collection> <\associate|figure> <tuple|normal|<label|fig-foo-figure>blah|<pageref|auto-4>> <tuple|normal|<label|fig-bah-figure>bluh|<pageref|auto-5>> </associate> <\associate|table> <\tuple|normal> <label|tab-some-table>some table </tuple|<pageref|auto-7>> <tuple|normal|<label|tab-rock-table>a rock|<pageref|auto-8>> </associate> <\associate|toc> <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|List of figures> <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>> <no-break><pageref|auto-1><vspace|0.5fn> <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|List of tables> <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>> <no-break><pageref|auto-2><vspace|0.5fn> <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|1<space|2spc>Figure Reference Problem> <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>> <no-break><pageref|auto-3><vspace|0.5fn> <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|2<space|2spc>Table Rereference Problem> <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>> <no-break><pageref|auto-6><vspace|0.5fn> </associate> </collection> </auxiliary>
- [TeXmacs] References to labels following in the text, Ralf Juengling, 10/26/2013
- Re: [TeXmacs] References to labels following in the text, Sam Liddicott, 10/26/2013
- Re: [TeXmacs] References to labels following in the text, Anthony Cameron, 10/27/2013
- Re: [TeXmacs] References to labels following in the text, Joris van der Hoeven, 10/27/2013
- Re: [TeXmacs] References to labels following in the text, Ralf Juengling, 10/27/2013
- Re: [TeXmacs] References to labels following in the text, Ralf Juengling, 10/29/2013
- Re: [TeXmacs] References to labels following in the text, Jérémy Berthomieu, 10/29/2013
- Re: [TeXmacs] References to labels following in the text, Joris van der Hoeven, 10/29/2013
- Re: [TeXmacs] References to labels following in the text, Ralf Juengling, 10/29/2013
- Re: [TeXmacs] References to labels following in the text, Ralf Juengling, 10/29/2013
- Re: [TeXmacs] References to labels following in the text, Anthony Cameron, 10/27/2013
- Re: [TeXmacs] References to labels following in the text, Sam Liddicott, 10/26/2013
Archive powered by MHonArc 2.6.19.