Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Hans Hagen

On 3/16/2014 7:25 PM, Jan Tosovsky wrote:

Dear All,

I have to admit I use quite cumbersome code to get desired output, but while
it was working in previous betas, now emergency stop is reported:
'Extra }, or forgotten \endgroup'

Here is MWE:

\setupalign[hz, hanging]
\setupindenting[medium, yes]
\setupnotation[footnote][align={hz, hanging}]

\starttext
Hello One
\start
\setuptolerance[strict]
\startregister[index][two]{two}
Hello Two

This is \footnote{
\parfillskip 14pt plus 1 fill
Footnote \index{content}content.
}\par\stop  % this brace is reported as unexpected character here
\stopregister[index][two]

\page
\placeindex
\stoptext

Briefly, when footnotes appear in \startregister ... \stopregister block,
processing is somehow confused and ends prematurely.

ConTeXt-2014.03.16
LuaTeX 0.79
Win7-64bit

Any suggestion how to update my code to get it working again?


ah, i have to swap some definition order ... but anyway, your start-stop 
is somewhat messed up (in fact, the start-stop names for registers are 
not really properly nested ones so maybe i should use other names anyway


new beta coming

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Jan Tosovsky wrote:
 Dear All,
 
 I have to admit I use quite cumbersome code to get desired output, but
 while
 it was working in previous betas, now emergency stop is reported:
 'Extra }, or forgotten \endgroup'
 
 Here is MWE:
 
 \setupalign[hz, hanging]
 \setupindenting[medium, yes]
 \setupnotation[footnote][align={hz, hanging}]
 
 \starttext
 Hello One
 \start
 \setuptolerance[strict]
 \startregister[index][two]{two}
 Hello Two
 
 This is \footnote{
 \parfillskip 14pt plus 1 fill
 Footnote \index{content}content.
 }\par\stop  % this brace is reported as unexpected character here
 \stopregister[index][two]
 
 \page
 \placeindex
 \stoptext
 
 Briefly, when footnotes appear in \startregister ... \stopregister
 block,
 processing is somehow confused and ends prematurely.
 
 ConTeXt-2014.03.16
 LuaTeX 0.79
 Win7-64bit
 
 Any suggestion how to update my code to get it working again?
 

There was mistake in my code:
\startregister has to be before \start command to be correctly paired. 

Maybe parsing is now stricter, which I rather appreciate :-)

Sorry for the noise,

Jan

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


Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote:
 On 3/16/2014 7:25 PM, Jan Tosovsky wrote:
  Dear All,
 
  I have to admit I use quite cumbersome code to get desired output,
 but while
  it was working in previous betas, now emergency stop is reported:
  'Extra }, or forgotten \endgroup'
 
  Here is MWE:
 
  \setupalign[hz, hanging]
  \setupindenting[medium, yes]
  \setupnotation[footnote][align={hz, hanging}]
 
  \starttext
  Hello One
  \start
  \setuptolerance[strict]
  \startregister[index][two]{two}
  Hello Two
 
  This is \footnote{
  \parfillskip 14pt plus 1 fill
  Footnote \index{content}content.
  }\par\stop  % this brace is reported as unexpected character here
  \stopregister[index][two]
 
  \page
  \placeindex
  \stoptext
 
  Briefly, when footnotes appear in \startregister ... \stopregister
 block,
  processing is somehow confused and ends prematurely.
 
  ConTeXt-2014.03.16
  LuaTeX 0.79
  Win7-64bit
 
  Any suggestion how to update my code to get it working again?
 
 ah, i have to swap some definition order 
 
 new beta coming

:-) Awesome!

Thanks for quick fix! Now it works even without source changes!

Jan


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