On 8/11/20 1:32 PM, Nicola wrote:
Hi, first of all, let me say *thank you* for the vast improvements on ConTeXt Garden! Browsing the documentation and finding stuff is so much easier and pleasant than it used to be (also the site seems faster).
Hi Nicola, Garulfo invested a lot of time and effort in the new wiki layout and contents. Taco is always improving the software that runs the wiki (and the source). Many thanks to them and to all other developers.
Thanks to the docs, dropcaps and protrusion have no secrets for me, but I am still struggling with some basic tasks (see the document below):
0. Push text to the bottom of the text area (see copyright).
Well, \setupalignment tweaks position in line (Iโd rather say). Bottom isnโt an option there. Adding \null\vfill before the alignment does the job.
1. Increase the space between Roman numbers and titles in the ToC.
distance with dimension is the key in \setuplist.
2. Vertically center the ToC (wrt to the text area).
Use a makeup for the TOC (if and only if it takes a single page).
3. Suppress page numbers and headers in all blank pages.
Break pages with \page[yes, blank].
4. Suppress headers in the front matter.
This would be my educated guess: \startsectionblockenvironment[frontpart] \setupheader[state=stop] \stopsectionblockenvironment
5. Style and position page numbers differently in the front and body matter (e.g., centered only in the front matter).
Alignment only (style comes with the proper option ๐): \setuppagenumbering[location={bottom, inmargin}] \startsectionblockenvironment[frontpart] \setuppagenumbering[location={bottom, centered}] \stopsectionblockenvironment
As my full document uses environments, I would like most setups to be in the environment, if possible. E.g., is it possible to replace
\setuphead[chapter][after={}]
(see below) with an environment setup that applies only to the ToC?
Either you create and set up a \chapter command for the TOC (such as \chapterTOC) to use it only once, or you create a sectionblock that you apply only for the TOC (and define the chapter settings for that sectionblock). I never used environments (other than the ones to typeset XML sources), so this is my best option ๐ . I hope it helps, Pablo -- http://www.ousia.tk