From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \completecontent affects text height
Date: Tue, 18 Feb 2014 23:36:53 +0100 [thread overview]
Message-ID: <51B9955E-5789-4DF9-8B10-53970BEC6470@gmail.com> (raw)
In-Reply-To: <CAANrE7opZ5+W5K=H4mWT8R1vuVgJC62bc2H9d0LsdxVrxsMd6w@mail.gmail.com>
Am 18.02.2014 um 22:20 schrieb Thangalin <thangalin@gmail.com>:
> Hi,
>
> First question:
>
> 1. Save http://pastebin.com/raw.php?i=8DQNCcvC as setup.tex
> 2. Save http://pastebin.com/raw.php?i=KgcxCxGB as garlic.tex
> 3. Run: context garlic.tex
> 4. View page 3 of the PDF ( http://i.imgur.com/VLwssnl.png )
> 5. Edit garlic.tex.
> 6. Remove \completecontent
> 7. Run: context garlic.tex
> 8. View page 3 of the PDF ( http://i.imgur.com/HVAoavQ.png )
>
> The Table of Contents affects the column height in the body. The
> available height for the text body should be independent of
> \completecontent. The total height should be as shown in the second
> example, with or without the ToC.
>
> How can this be resolved?
Change
\setuphead[chapter,section,subsection][header=none]
to
\setuphead[chapter,section,subsection][header=high]
> Second question:
>
> How would you remove the white space above each subsection title so
> that the title is aligned to the top of its column?
Play with the grid key for mixed columns, e.g. grid=strut removes the space before the heading.
BTW: The context version of your \IngredientMeasure command can be written as:
\define[1]\IngredientMeasure
{\doifsomething{#1}{#1}}
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-02-18 22:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 21:20 Thangalin
2014-02-18 22:36 ` Wolfgang Schuster [this message]
2014-02-19 0:34 ` Thangalin
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=51B9955E-5789-4DF9-8B10-53970BEC6470@gmail.com \
--to=schuster.wolfgang@gmail.com \
--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).