ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Setup for appendices: a bunch of questions
Date: Wed, 4 Feb 2015 22:06:53 +0100	[thread overview]
Message-ID: <CALBOmsYc6RFaKQA4-2QZyBjQ2hckiThra_LW0J9his+eUodeJQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]

Hello,

I need a tiny bit of help with properly setting up the appendices.

1.) I would like to include both chapters and titles. Is this the
proper way to go? (It took me a while to figure out how to include the
titles at all.)

    \setuphead
        [title]
        [incrementnumber=list]
    \placelist
        [title,chapter,section]
        [criterium=all,alternative=c]

But why is there less space in front of a \title{...} in TOC than in
front of a \chapter{...}?

2.) How can I define a different width for appendices in TOC (to
reserve enough space for the word "Appendix")?

I use

\setuplist
    [section]
    [width=10mm,numberstyle=\os\bf,pagestyle=\os,label=yes]

but I would like to use "width=27mm" for sections inside
\startappendices ... \stopappendices than for regular sections. Is
there any workaround?

3.) For appendices I want to set

\setuphead
    [chapter]
    [number=no]
\setuphead
    [section]
    [page=yes,sectionsegments=section,conversion=Character,sectionstopper=:]

without affecting regular sections and chapters.

Is it possible to do this on top of the document (or in the layout) as
opposed to changing the settings just before appendices start? I would
like to avoid messing up with such settings in the middle of the
document.

I tried to play with
    \defineconversionset
and
    \setupsectionblock
        [appendix]
        [sectionconversionset=...]
but I'm unable to understand how these commands work exactly.

A minimum working example (yes, in MKIV) is attached. If anything
could/should be improved, please also let me know.

Thank you,
    Mojca

[-- Attachment #2: appendices.tex --]
[-- Type: application/x-tex, Size: 1256 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2015-02-04 21:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 21:06 Mojca Miklavec [this message]
2015-02-05 11:42 ` Wolfgang Schuster
2015-02-06  7:59   ` Mojca Miklavec
2015-02-06  8:09     ` luigi scarso
2015-02-06  8:20       ` Mojca Miklavec
2015-02-06  8:30         ` luigi scarso
2015-02-06  8:37         ` Alan BRASLAU
2015-02-06  8:50           ` Hans Hagen
2015-02-06  9:12         ` Hans Hagen
2015-02-06  9:38           ` Mojca Miklavec
2015-02-06  9:42         ` Hans Hagen
2015-02-06 11:28     ` Wolfgang Schuster

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=CALBOmsYc6RFaKQA4-2QZyBjQ2hckiThra_LW0J9his+eUodeJQ@mail.gmail.com \
    --to=mojca.miklavec.lists@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).