ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Regression in register processing in last beta
       [not found] <004b01cf4145$13f73270$3be59750$@tosovsky@tiscali.cz>
@ 2014-03-16 19:00 ` Hans Hagen
  2014-03-16 19:37   ` Jan Tosovsky
  2014-03-16 19:02 ` Jan Tosovsky
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2014-03-16 19:00 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: Regression in register processing in last beta
       [not found] <004b01cf4145$13f73270$3be59750$@tosovsky@tiscali.cz>
  2014-03-16 19:00 ` Regression in register processing in last beta Hans Hagen
@ 2014-03-16 19:02 ` Jan Tosovsky
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Tosovsky @ 2014-03-16 19:02 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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
___________________________________________________________________________________


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

* Re: Regression in register processing in last beta
  2014-03-16 19:00 ` Regression in register processing in last beta Hans Hagen
@ 2014-03-16 19:37   ` Jan Tosovsky
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Tosovsky @ 2014-03-16 19:37 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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
___________________________________________________________________________________


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

* Regression in register processing in last beta
@ 2014-03-16 18:25 Jan Tosovsky
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Tosovsky @ 2014-03-16 18:25 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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?

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


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

end of thread, other threads:[~2014-03-16 19:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <004b01cf4145$13f73270$3be59750$@tosovsky@tiscali.cz>
2014-03-16 19:00 ` Regression in register processing in last beta Hans Hagen
2014-03-16 19:37   ` Jan Tosovsky
2014-03-16 19:02 ` Jan Tosovsky
2014-03-16 18:25 Jan Tosovsky

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