Re: [NTG-context] References to annotations broken, mkiv

2012-09-12 Thread Dominik Leopold Forkert
Thanks again for the excellent help!

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
___


[NTG-context] References to annotations broken, mkiv

2012-09-11 Thread Dominik Leopold Forkert
Hello,

the recent update of the Annotation module (2012.09.05), mkiv broke
the references to annotations for me:

\usemodule[annotation]
\defineannotation[definition][text=Definition,number=yes]

\starttext
\definition[reference=def1]{blabla}
In \in{Definition}[def1]  ...
\stoptext

In the example above the rather strange output is:
Definition 2blabla

In Definition 1 ...


In addition, I do not know how to correctly get the annotation counter
displayed in a 'bychapter'-style. I tried:

\usemodule[annotation]
\definenumber[DefinitionCounter][prefix=yes,way=bysection]
\defineannotation[definition][text=Definition,number=yes,counter=DefinitionCounter]

\starttext
\chapter{A chapter}
\section{A section}
Counter: \getnumber[DefinitionCounter]
\definition[reference=def1]{blabla}

Counter: \getnumber[DefinitionCounter]

In \in{Definition}[def1] blabla ...
\stoptext

Again the behavior of the counter is really weird. Now I get
Definition 1.1.2 blabla, but \in[def1] just shows 1 instead of
1.1.2.

I sincerely hope for clarification!


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
___


[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
___


[NTG-context] \smash broken in mkiv

2012-08-19 Thread Dominik Leopold Forkert
Hi,

In the following minimal example

\startformula
P = \left(\vphantom{\sum}\smash{\sum_{\startsubstack
1 \le i \le p \NR
1 \le j \le q \NR
1 \le k \le r \NR
\stopsubstack}}
a_{ij}b_{jk}c_{ki}
\right)
\stopformula

\smash does not work properly in mkiv – in mkii it runs just fine!

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
___