Re: [NTG-context] Snapping sectionhead

2006-08-15 Thread Hans Hagen
[EMAIL PROTECTED] wrote:
 Hallo!

   
 While I was reading 'In the Details' to learn more about grid-
 typesetting, I could not comprehend the examples with 
 grid={broad,...}. 

 Then in section 1.8 I read that grid=line should be a shortcut for
 grid={broad,high,depth}.
   
 Section 1.8 deals \exclusively with \externalfigure. Apparently
 the grid option for sectioning commands is handled differently.
 

 In my version of 'In the Details', dated 2002 chapter 1 deals with 
 'Snapping section heads' and section 1.8 is titled 'Snapping around 
 (broad,high,depth).' 
 Is there a newer variant of that manual?
   
the grid options as discussed with sections, are the ones that are taken care 
of by the \snaptogrid macro; the grid key in externalfigure is not related to 
that, it relates to scaling, as in

\setuplayout[grid=yes] \showgrid 
\setupcaptions[style=smallbodyfont,location=grid,inbetween=]

\defineexternalfigure[enkel] [width=10cm,frame=on,grid=depth]
\defineexternalfigure[dubbel][width=10cm,frame=on,grid=depth]

\starttext

test \placefigure{} 
{\externalfigure[t:/sources/cow.pdf][frame=on,grid=yes]} test \page
test \placefigure{\input 
zapf\relax}{\externalfigure[t:/sources/cow.pdf][frame=on,grid=yes]} test \page

test \placefigure{} 
{\externalfigure[t:/sources/cow.pdf][enkel]} test \page
test \placefigure{\input 
zapf\relax}{\externalfigure[t:/sources/cow.pdf][enkel]} test \page

\stoptext

i.e. the grid option determins which way a height snaps (or is rounded); 

hans 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Snapping sectionhead

2006-08-14 Thread wwl
 Date: Sun, 13 Aug 2006 23:33:38 +0200
 From: Taco Hoekwater [EMAIL PROTECTED]
 Subject: Re: [NTG-context] Snapping sectionhead

  While I was reading 'In the Details' to learn more about grid-
  typesetting, I could not comprehend the examples with 
  grid={broad,...}. 
 
  Then in section 1.8 I read that grid=line should be a shortcut
 for
  grid={broad,high,depth}.
  Section 1.8 deals \exclusively with \externalfigure. Apparently
  the grid option for sectioning commands is handled differently.
  
  In my version of 'In the Details', dated 2002 chapter 1 deals with
  'Snapping section heads' and section 1.8 is titled 'Snapping
 around 
  (broad,high,depth).' 
  Is there a newer variant of that manual?
 
 Must be, I read mine online from
 
http://www.pragma-ade.com/general/manuals/details.pdf
 
 while I was keying in this answer.
 
 Greetings,
 Taco

I checked this.

But it is the same document!

Section 1.8 deals there with 'Snapping section heads' too.

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Snapping sectionhead

2006-08-14 Thread taco hoekwater
[EMAIL PROTECTED] wrote:
 Must be, I read mine online from

http://www.pragma-ade.com/general/manuals/details.pdf

 while I was keying in this answer.

 Greetings,
 Taco
 
 I checked this.
 
 But it is the same document!
 
 Section 1.8 deals there with 'Snapping section heads' too.


Oops excuse me. I was reading _chapter 8_ . I'll try to
find the difference

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Snapping sectionhead

2006-08-14 Thread taco hoekwater
taco hoekwater wrote:
 [EMAIL PROTECTED] wrote:
 Must be, I read mine online from

http://www.pragma-ade.com/general/manuals/details.pdf

 while I was keying in this answer.

 Greetings,
 Taco
 I checked this.

 But it is the same document!

 Section 1.8 deals there with 'Snapping section heads' too.
 
 Oops excuse me. I was reading _chapter 8_ . I'll try to
 find the difference

Ok: yes they are definately different, but at the moment I don't
know why. I predict that it is the manual that needs fixing,
though.

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Snapping sectionhead

2006-08-13 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote:
 Hallo!
 
 While I was reading 'In the Details' to learn more about grid-
 typesetting, I could not comprehend the examples with 
 grid={broad,...}. 
 
 Then in section 1.8 I read that grid=line should be a shortcut for 
 grid={broad,high,depth}.

Section 1.8 deals \exclusively with \externalfigure. Apparently
the grid option for sectioning commands is handled differently.

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Snapping sectionhead

2006-08-13 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote:
 Hallo!
 
 While I was reading 'In the Details' to learn more about grid-
 typesetting, I could not comprehend the examples with 
 grid={broad,...}. 

 Then in section 1.8 I read that grid=line should be a shortcut for
 grid={broad,high,depth}.
 Section 1.8 deals \exclusively with \externalfigure. Apparently
 the grid option for sectioning commands is handled differently.
 
 In my version of 'In the Details', dated 2002 chapter 1 deals with 
 'Snapping section heads' and section 1.8 is titled 'Snapping around 
 (broad,high,depth).' 
 Is there a newer variant of that manual?

Must be, I read mine online from

   http://www.pragma-ade.com/general/manuals/details.pdf

while I was keying in this answer.

Greetings,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Snapping sectionhead

2006-08-13 Thread wwl
Hallo!

  While I was reading 'In the Details' to learn more about grid-
  typesetting, I could not comprehend the examples with 
  grid={broad,...}. 
  
  Then in section 1.8 I read that grid=line should be a shortcut for
  grid={broad,high,depth}.
 
 Section 1.8 deals \exclusively with \externalfigure. Apparently
 the grid option for sectioning commands is handled differently.

In my version of 'In the Details', dated 2002 chapter 1 deals with 
'Snapping section heads' and section 1.8 is titled 'Snapping around 
(broad,high,depth).' 
Is there a newer variant of that manual?

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context