On Mon, Dec 28, 2009 at 02:44:20PM +0100, Manuel P. wrote:
> >>\def\quotebox#1#2
> >>    {\blank
> >>    \midaligned{\startbackground
> >>    \quotation{\em #1} \crlf --#2
> >>    \stopbackground}
> >>    \blank}
> >>----
> >>
> >>- the above \quotebox command, in some cases, sends pdftex and luatex (MKII 
> >>and MKIV) to the moon with an infinite loop (100% CPU).
> >I guess this is a result of your own definition of the \quotebox macro which 
> >expects a space
> >at the end of the command, you should write (untested) instead:
> >
> >\define[2]\quotebox
> >   {\blank
> >    \startalignment[middle]
> >    \startbackground
> >    \quotation{\em#1}\crlf--#2
> >    \stopbackground
> >    \stopalignment
> >    \blank}
> >
> 
> A infinite loop with 100% cpu for some spaces? Well, I wasn't
> expecting this.

Well, that is how TeX works, not a ConTeXt issue here; your \quotebox
definition tells TeX to expect a space at the end of the macro, and it
was looking for it.

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

Attachment: signature.asc
Description: Digital signature

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

Reply via email to