Re: [NTG-context] brace error after a \placefigure

2006-05-14 Thread Sanjoy Mahajan
From:Hans Hagen <[EMAIL PROTECTED]> > \def\dodocomplexplacefloat[#1][#2][#3]#4% > [magic code snipped] > may work better Tested and working here, thanks! -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.

Re: [NTG-context] brace error after a \placefigure

2006-05-14 Thread Hans Hagen
nico wrote: > On Sat, 13 May 2006 04:08:58 -0400, Sanjoy Mahajan <[EMAIL PROTECTED]> > wrote: > > >> I can't figure out what causes the brace error with this test.tex >> example file: >> >> \starttext >> \placefigure[margin]{A caption}{\externalfigure[]} >> >> {test}. >> \stoptext >> > >

Re: [NTG-context] brace error after a \placefigure

2006-05-14 Thread Taco Hoekwater
nico wrote: > > > Yes, strange. Looks like a grouping issue around this in page-flt: Yes. It works ok with \leavevmode {test}. Also. The problem is the timing of \everypar, what TeX actually executes is this: \bgroup \everypar {\egroup} \par {test} Cheers, Taco _

Re: [NTG-context] brace error after a \placefigure

2006-05-13 Thread nico
On Sat, 13 May 2006 04:08:58 -0400, Sanjoy Mahajan <[EMAIL PROTECTED]> wrote: > I can't figure out what causes the brace error with this test.tex > example file: > > \starttext > \placefigure[margin]{A caption}{\externalfigure[]} > > {test}. > \stoptext Yes, strange. Looks like a grouping issue