From: "Patrick Gundlach" <pg@levana.de>
Subject: Re: Grid, section, grid=top
Date: 28 May 2004 10:44:57 +0200 [thread overview]
Message-ID: <m2zn7tvt2u.fsf@levana.de> (raw)
In-Reply-To: <6.0.1.1.2.20040513223350.01d3fec0@server-1> (Hans Hagen's message of "Thu, 13 May 2004 22:37:15 +0200")
Dear ConTeXt hackers,
> did you look at the options described in details.pdf? maybe grid=page
> will help;
OK, yesterday I have played with my problem a bit and here is a
testfile. I "need" grid=top for the extra distance between the
previous paragraph and the sectionheading. So grid=page can only be an
option if the section starts at the first line on a page. (Which
indeed solves my problem; just saying \setuphead[somehead][grid=top]
for the problematic section headings works fine, but this is ... well
I guess I don't have to explain).
> another option is to set the topskip to strutheight (something
> \setupinterlinespace[top=.72])
Hmm, no effect I can see.
I don't remember why I used the \definesection stuff.
--------------------------------------------------
\showgrid
\definesection
[foo]
\setupsection
[foo]
[previousnumber=no]
\definehead
[somehead]
[section=foo]
\setuphead
[somehead]
[grid=top]
\setuplayout[width=fit,
grid=yes,
height=\dimexpr(21\lineheight+\footerheight+\headerheight),
]
\starttext
\dorecurse{4}{%
\somehead{Dummy}
\input tufte
}
\stoptext
prev parent reply other threads:[~2004-05-28 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-13 13:51 Patrick Gundlach
2004-05-13 20:37 ` Hans Hagen
2004-05-28 8:44 ` Patrick Gundlach [this message]
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=m2zn7tvt2u.fsf@levana.de \
--to=pg@levana.de \
--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).