ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* weird interaction in linenotes command (again)
@ 2013-07-17 17:46 Pablo Rodríguez
  2013-07-17 19:05 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Pablo Rodríguez @ 2013-07-17 17:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

sorry for posting this again, but I don’t know how to solve this issue
and I really need your help.

I have the following sample:

    \setuppapersize[A6]
    \newcounter\LineNote

    \setupnote[linenote][paragraph=yes]
    \setupnotation[linenote][alternative=serried]

    \define[2]\Variant
      {\increment\LineNote
       \startlinenote[LineNote:\LineNote]{#2}#1%
       \stoplinenote[LineNote:\LineNote]}

    \starttext

    \startlinenumbering
    \dorecurse{10}{\Variant{\showhyphens{legislation}not
    original}{variant} \Variant{\showhyphens{legibility}origin}
    {variants} }
    \stoplinenumbering
    \stoptext

The problem here is that \Variant gets always #1 not hyphenated,
although \showhyphens works fine in that argument.

The cause of this is the \increment command within \Variant. I don’t
know why this happens, but the increment is required by \Variant to make
sense at all.

I guess this might be a bug. Is there no possible workaround for this?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2013-07-18 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-17 17:46 weird interaction in linenotes command (again) Pablo Rodríguez
2013-07-17 19:05 ` Wolfgang Schuster
2013-07-18 10:21   ` Hans Hagen
2013-07-18 15:38     ` Pablo Rodríguez
2013-07-18 19:31       ` Wolfgang Schuster
2013-07-18 20:41         ` Pablo Rodríguez

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).