Re: [NTG-context] Strange behavior of references when using annotation-module

2012-09-05 Thread Wolfgang Schuster

Am 05.09.2012 um 20:24 schrieb Dominik Leopold Forkert :

> Hello,
> 
> I use the latest mkiv beta.
> 
> When using the annotation module, the output of\in[...] misses a
> separation dot between chapter and formula number, e.g. "31" instead
> of "3.1". When I omit the annotation module, there is no chapter
> number at all in the \in[...] reference!
> 
> A minimal example of the problem:
> 
> \usemodule[annotation]
> 
> \setupformulae[way=bychapter,prefixsegments=chapter,prefixstopper=.]
> 
> \starttext
> \chapter{A chapter}
> \section{A section}
> 
> \placeformula[OK]
> \startformula
> a+b=c
> \stopformula
> 
> In \in[OK] we noticed blabla ...
> \stoptext

I fixed the bug in the annotation module but to show the chapter number you 
have to add “prefix=yes” to \setupformulas.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Strange behavior of references when using annotation-module

2012-09-05 Thread Dominik Leopold Forkert
Hello,

I use the latest mkiv beta.

When using the annotation module, the output of\in[...] misses a
separation dot between chapter and formula number, e.g. "31" instead
of "3.1". When I omit the annotation module, there is no chapter
number at all in the \in[...] reference!

A minimal example of the problem:

\usemodule[annotation]

\setupformulae[way=bychapter,prefixsegments=chapter,prefixstopper=.]

\starttext
\chapter{A chapter}
\section{A section}

\placeformula[OK]
\startformula
a+b=c
\stopformula

In \in[OK] we noticed blabla ...
\stoptext


Another problem is that \smash seems not to work properly for me!

Both problems do not occur at all in mkii!


Best regards,

Dominik
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___