ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* caught in the grid
@ 2010-08-11 19:49 Steffen Wolfrum
  2010-08-11 22:31 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Steffen Wolfrum @ 2010-08-11 19:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: caught in the grid
  2010-08-11 19:49 caught in the grid Steffen Wolfrum
@ 2010-08-11 22:31 ` Hans Hagen
  2010-08-12  9:52   ` Steffen Wolfrum
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2010-08-11 22:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: caught in the grid
  2010-08-11 22:31 ` Hans Hagen
@ 2010-08-12  9:52   ` Steffen Wolfrum
  2010-08-12 10:30     ` Piotr Kopszak
  0 siblings, 1 reply; 6+ messages in thread
From: Steffen Wolfrum @ 2010-08-12  9:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: caught in the grid
  2010-08-12  9:52   ` Steffen Wolfrum
@ 2010-08-12 10:30     ` Piotr Kopszak
  2010-08-12 10:54       ` Hans Hagen
  2010-08-12 11:02       ` Steffen Wolfrum
  0 siblings, 2 replies; 6+ messages in thread
From: Piotr Kopszak @ 2010-08-12 10:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <context@st.estfiles.de>:
>
> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: caught in the grid
  2010-08-12 10:30     ` Piotr Kopszak
@ 2010-08-12 10:54       ` Hans Hagen
  2010-08-12 11:02       ` Steffen Wolfrum
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-08-12 10:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: caught in the grid
  2010-08-12 10:30     ` Piotr Kopszak
  2010-08-12 10:54       ` Hans Hagen
@ 2010-08-12 11:02       ` Steffen Wolfrum
  1 sibling, 0 replies; 6+ messages in thread
From: Steffen Wolfrum @ 2010-08-12 11:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <context@st.estfiles.de>:
>> 
>> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-12 11:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-11 19:49 caught in the grid Steffen Wolfrum
2010-08-11 22:31 ` Hans Hagen
2010-08-12  9:52   ` Steffen Wolfrum
2010-08-12 10:30     ` Piotr Kopszak
2010-08-12 10:54       ` Hans Hagen
2010-08-12 11:02       ` Steffen Wolfrum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).