Re: [NTG-context] caught in the grid

2010-08-12 Thread Steffen Wolfrum
This can only be used in single, controlled situations.
Look what happens when the section is to be placed at top of page:

\definegridsnapping[MyGrid] [off]
\showframe

\starttext

\setuplayout[grid=MyGrid]

\switchtobodyfont[42pt]
\setupinterlinespace[line=30pt]

Big text\crlf written in\crlf three row

\startlinecorrection
\section{One\\Two\\Three}
\stoplinecorrection

Big text\crlf written in\crlf three row

Big text\crlf written in\crlf three row

\startlinecorrection
\section{One\\Two\\Three}
\stoplinecorrection

Big text\crlf written in\crlf three row

\stoptext


Steffen



Am 12.08.2010 um 12:30 schrieb Piotr Kopszak:

> You can play with embedding \section inside \start and
> \stoplinecorrection to get rid of overlapping, but I'm not sure if
> it's the right thing to do.
> 
> Piotr
> 
> 2010/8/12 Steffen Wolfrum :
>> 
>> Am 12.08.2010 um 00:31 schrieb Hans Hagen:
>> 
>>> On 11-8-2010 9:49, Steffen Wolfrum wrote:
 Hi,
 
 
 as there is no setup for paragraphs (see thread before), I really don' 
 know how to come out of this trap:
 
 I need a tight interlinespace for the normal body text, but no lunatic 
 headings!!
 
 
 Have a look, please:
>>> 
>>> I have no time now. I will document the grid snapper once I've finished the 
>>> (still somewhat experimental) mechanism.
>> 
>> 
>> 
>> OK. ... Just to avoid basic mistakes:
>> 
>> What is right syntax (direct/indirect)?
>> The results differ (see below) ...
>> 
>> Steffen
>> 
>> 
>> 
>> \definegridsnapping[MyGrid][no]
>> 
>> %\setuplayout[grid=no] % <- alternative a
>> \setuplayout[grid=MyGrid] % <- alternative b
>> 
>> \showgrid
>> 
>> 
>> \setuphead[chapter]
>> 
>> \starttext
>>   \chapter{one} \input tufte
>>   \chapter{one\\two}\input tufte
>>   \chapter{one\\two\\three} \input tufte
>> \stoptext
>> 
>> ___
>> 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
>> ___
>> 
> 
> 
> 
> -- 
> http://okle.pl
> ___
> 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
> ___

___
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] caught in the grid

2010-08-12 Thread Hans Hagen

On 12-8-2010 12:30, Piotr Kopszak wrote:

You can play with embedding \section inside \start and
\stoplinecorrection to get rid of overlapping, but I'm not sure if
it's the right thing to do.


there will be more control over nested snapping

as said, the current mechanism is experimental

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


Re: [NTG-context] caught in the grid

2010-08-12 Thread Piotr Kopszak
You can play with embedding \section inside \start and
\stoplinecorrection to get rid of overlapping, but I'm not sure if
it's the right thing to do.

Piotr

2010/8/12 Steffen Wolfrum :
>
> Am 12.08.2010 um 00:31 schrieb Hans Hagen:
>
>> On 11-8-2010 9:49, Steffen Wolfrum wrote:
>>> Hi,
>>>
>>>
>>> as there is no setup for paragraphs (see thread before), I really don' know 
>>> how to come out of this trap:
>>>
>>> I need a tight interlinespace for the normal body text, but no lunatic 
>>> headings!!
>>>
>>>
>>> Have a look, please:
>>
>> I have no time now. I will document the grid snapper once I've finished the 
>> (still somewhat experimental) mechanism.
>
>
>
> OK. ... Just to avoid basic mistakes:
>
> What is right syntax (direct/indirect)?
> The results differ (see below) ...
>
> Steffen
>
> 
>
> \definegridsnapping[MyGrid]    [no]
>
> %\setuplayout[grid=no] % <- alternative a
> \setuplayout[grid=MyGrid] % <- alternative b
>
> \showgrid
>
>
> \setuphead[chapter]
>
> \starttext
>   \chapter{one}             \input tufte
>   \chapter{one\\two}        \input tufte
>   \chapter{one\\two\\three} \input tufte
> \stoptext
>
> ___
> 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
> ___
>



-- 
http://okle.pl
___
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] caught in the grid

2010-08-12 Thread Steffen Wolfrum

Am 12.08.2010 um 00:31 schrieb Hans Hagen:

> On 11-8-2010 9:49, Steffen Wolfrum wrote:
>> Hi,
>> 
>> 
>> as there is no setup for paragraphs (see thread before), I really don' know 
>> how to come out of this trap:
>> 
>> I need a tight interlinespace for the normal body text, but no lunatic 
>> headings!!
>> 
>> 
>> Have a look, please:
> 
> I have no time now. I will document the grid snapper once I've finished the 
> (still somewhat experimental) mechanism.



OK. ... Just to avoid basic mistakes:

What is right syntax (direct/indirect)?
The results differ (see below) ...

Steffen



\definegridsnapping[MyGrid][no]

%\setuplayout[grid=no] % <- alternative a
\setuplayout[grid=MyGrid] % <- alternative b

\showgrid


\setuphead[chapter]

\starttext
   \chapter{one} \input tufte
   \chapter{one\\two}\input tufte
   \chapter{one\\two\\three} \input tufte
\stoptext

___
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] caught in the grid

2010-08-11 Thread Hans Hagen

On 11-8-2010 9:49, Steffen Wolfrum wrote:

Hi,


as there is no setup for paragraphs (see thread before), I really don' know how 
to come out of this trap:

I need a tight interlinespace for the normal body text, but no lunatic 
headings!!


Have a look, please:


I have no time now. I will document the grid snapper once I've finished 
the (still somewhat experimental) mechanism.


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
___


[NTG-context] caught in the grid

2010-08-11 Thread Steffen Wolfrum
Hi,


as there is no setup for paragraphs (see thread before), I really don' know how 
to come out of this trap:

I need a tight interlinespace for the normal body text, but no lunatic 
headings!!


Have a look, please:

\definegridsnapping[MyGrid] [off]% broad/both/bold/local fit for the text

\starttext

\setuplayout[grid=MyGrid]

\switchtobodyfont[42pt]
 \setupinterlinespace[line=30pt]
 \lineskiplimit-\maxdimen
 Big text\crlf written in\crlf three row

\section{One\\Two\\Three}

 Big text\crlf written in\crlf three row

\stoptext


Literally the whole day I tried various grid key combinations ... for 
setuplayout and setuphead ... in vain.

I am going crazy!

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