ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Snapping sectionhead
Date: Tue, 15 Aug 2006 17:15:09 +0200	[thread overview]
Message-ID: <44E1E4FD.8070001@wxs.nl> (raw)
In-Reply-To: <44DFB4C9.19345.A5C748@wwl.musensturm.de>

wwl@musensturm.de 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
-----------------------------------------------------------------

  parent reply	other threads:[~2006-08-15 15:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1155463203.3247.ntg-context@ntg.nl>
2006-08-13 21:24 ` wwl
2006-08-13 21:33   ` Taco Hoekwater
2006-08-15 15:15   ` Hans Hagen [this message]
2006-08-13 21:24 ` some questions wwl
2006-08-13 23:07   ` Peter Rolf
     [not found] <mailman.1.1155549602.30697.ntg-context@ntg.nl>
2006-08-14 17:30 ` Snapping sectionhead wwl
2006-08-14 17:58   ` taco hoekwater
2006-08-14 18:39     ` taco hoekwater
     [not found] <mailman.153.1154467877.2039.ntg-context@ntg.nl>
2006-08-02  8:39 ` wwl
2006-08-13  7:52   ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44E1E4FD.8070001@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).