ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange behavior of references when using annotation-module
@ 2012-09-05 18:24 Dominik Leopold Forkert
  2012-09-05 19:01 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Leopold Forkert @ 2012-09-05 18:24 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange behavior of references when using annotation-module
  2012-09-05 18:24 Strange behavior of references when using annotation-module Dominik Leopold Forkert
@ 2012-09-05 19:01 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-09-05 19:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 05.09.2012 um 20:24 schrieb Dominik Leopold Forkert <draconis4@gmail.com>:

> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-05 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-05 18:24 Strange behavior of references when using annotation-module Dominik Leopold Forkert
2012-09-05 19:01 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).