[NTG-context] hack needed (MkIV)

Steffen Wolfrum context at st.estfiles.de
Fri Aug 6 19:01:52 CEST 2010


Am 06.08.2010 um 14:02 schrieb Hans Hagen:

> On 6-8-2010 1:56, Steffen Wolfrum wrote:
> 
>> sorry, but this is not what is needed (see attached pdf, please)
>> this tight interlinespace is not possible in MkIV when grid mode is on?
> 
> well, you want things on a grid ... if you don't want that don't use grid mode or snap a box on the grid and disable gridmode inside the box
> 
> alternatively you can define a grid instance where spacing is handled differently,
> 
> \setuplayout[grid=none]
> 
> you can define variants with different thresholds (for ht and dp), extra lines, etc


Could you give an example on this (thresholds for ht and dp), please?


Indeed, the new options with grid mode are enormous. I just tried "local" and the result looks as desired. I only can't estimate what side-effects it might have in a real-life-project. 

What does "local" do here, as there are only global settings?!

\usetypescript[postscript]
\definetypeface[postscript][rm][serif][times][default]

\setupbodyfont[postscript,30pt]\setupinterlinespace[line=10pt]

\setuplayout[grid=local]

\starttext

\input tufte \par

\stoptext



Best, Steffen


More information about the ntg-context mailing list