[NTG-context] setups in the latest Context release

2013-03-25 Thread Devendra Ghate
Hello Everyone

I have been using the following setup (provided by Wolfgang on this list)
to format my chapter headings till now. However, it does not work since
I upgraded by context installation today.

If the entire *\startlinealignment  \stoplinealignment* block is
copied outside the setups then it works fine. So the change must
have been in the interface for *setups*.

Please let me know if there has been a change OR I have made some
kind of mistake.

Thank you,
Devendra Ghate

-

\startsetups[head:margin]

  \startlinealignment[left]

\startframed

  [width=1cm,

   height=3cm,

   frame=on,

   align={flushleft,nothyphenated,verytolerant,low}]

  \headtextcontent

\stopframed

%
\inmargin[location=outer,align={right}]{%

  \framed[%

width=3cm,

height=3cm,

align={bottom,middle},

frame=on]{\headnumbercontent}

 }

  \stoplinealignment

\stopsetups



\defineheadalternative[margin][renderingsetup=head:margin]



\definehead[dchapter][chapter]

\setuphead[dchapter][alternative=margin]



\starttext

  \dchapter{Inexpensive Monte Carlo}
\stoptext


-- 

Cheers,
Devendra.
___
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] setups in the latest Context release

2013-03-25 Thread Wolfgang Schuster

Am 25.03.2013 um 18:33 schrieb Devendra Ghate devendra.gh...@gmail.com:

 Hello Everyone
 
 I have been using the following setup (provided by Wolfgang on this list) 
 to format my chapter headings till now. However, it does not work since 
 I upgraded by context installation today.
 
 If the entire *\startlinealignment  \stoplinealignment* block is 
 copied outside the setups then it works fine. So the change must
 have been in the interface for *setups*.
 
 Please let me know if there has been a change OR I have made some
 kind of mistake.

It is a bug but I sent a fix for it to the developer list.

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