Subject: mailing-list for TeXmacs Users
List archive
From : Joris van der Hoeven <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Bad references to sections
- Date: Sun, 20 Aug 2006 22:17:16 +0200
As explained in the documentation, you should *not* put the labels
in the section titles, but behind them.
Best wishes, Joris
-------------------------------------
On Sun, Aug 20, 2006 at 03:38:27PM +0200, Patrick Moule wrote:
> Hello,
>
> referencing labels attached to section names
> are not rendered to correct section numbers when using headers
> different from header-generic.
>
> I attached an example file (if you don't see the effect, try to update
> the refrences several times).
>
> The effect only appears when:
> -the used header is different from header-generic
> -"Document/View/Page layout/Show header and footer" is set
> -a page break is contained (in the example after section 2)
>
> I tried to apply an self-written header. If you apply
> arguments different from <arg|nr> the error appears.
>
> header-myheader.ts (does not work):
> <assign|header-primary|<macro|name|nr|what|
> <concat|
> <odd-page-text|
> <concat|<arg|nr><space|2spc><arg|name>>>
> <even-page-text|
> <concat|<arg|nr><space|2spc><arg|name>>>
> >>>
>
> header-myheader.ts (works):
> <assign|header-primary|<macro|name|nr|what|
> <concat|
> <odd-page-text|
> <concat|<arg|nr><space|2spc><arg|nr>>>
> <even-page-text|
> <concat|<arg|nr>>>
> >>>
>
> TeXmacs-versions: 1.0.6, 1.0.6.4, 1.0.6.5
>
> If this is a bug, this is quite critical! Workarounds are welcome :)
>
> Best regards,
> PM
> <TeXmacs|1.0.6.5>
>
> <style|article>
>
> <\body>
> <section|ONE<label|sec:one>>
>
> ONE: <reference|sec:one> TWO: <reference|sec:two> THREE:
> <reference|sec:three> FOUR: <reference|sec:four>
>
> <section|TWO<label|sec:two>>
>
> ONE: <reference|sec:one> TWO: <reference|sec:two> THREE:
> <reference|sec:three> FOUR: <reference|sec:four>
>
> <new-page>
>
> <section|THREE<label|sec:three>>
>
> ONE: <reference|sec:one> TWO: <reference|sec:two> THREE:
> <reference|sec:three> FOUR: <reference|sec:four>
>
> <section|FOUR<label|sec:four>>
>
> ONE: <reference|sec:one> TWO: <reference|sec:two> THREE:
> <reference|sec:three> FOUR: <reference|sec:four>
> </body>
>
> <\initial>
> <\collection>
> <associate|page-medium|paper>
> <associate|page-show-hf|true>
> </collection>
> </initial>
>
> <\references>
> <\collection>
> <associate|auto-1|<tuple|1|1>>
> <associate|auto-2|<tuple|2|1>>
> <associate|auto-3|<tuple|3|2>>
> <associate|auto-4|<tuple|4|2>>
> <associate|sec:four|<tuple|4|2>>
> <associate|sec:one|<tuple|1|1>>
> <associate|sec:three|<tuple|3|2>>
> <associate|sec:two|<tuple|4|1>>
> </collection>
> </references>
>
> <\auxiliary>
> <\collection>
> <\associate|toc>
>
> <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|1<space|2spc>ONE<label|sec:one>>
>
> <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>|2<space|2spc>TWO<label|sec:two>>
>
> <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>|3<space|2spc>THREE<label|sec:three>>
>
> <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>|4<space|2spc>FOUR<label|sec:four>>
>
> <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-4><vspace|0.5fn>
> </associate>
> </collection>
> </auxiliary>
- Bad references to sections, Patrick Moule, 08/20/2006
- Re: [TeXmacs] Bad references to sections, Joris van der Hoeven, 08/21/2006
Archive powered by MHonArc 2.6.19.