ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: My setup almost works
Date: Sat, 23 Oct 2021 18:47:23 +0200	[thread overview]
Message-ID: <2732052d-afd1-28ca-88de-64b9083f3a19@gmx.es> (raw)
In-Reply-To: <655EF650-83EE-4CDA-8488-677430BCA655@rna.nl>

On 10/23/21 6:09 PM, Gerben Wierda wrote:
> [...]

Replying a private to the list, since it could be useful for (future?)
reference.

> This works, except:
> - Parts are not mentioned in the table of contents. If I use
> \completecontent, I do not get the abstracts

Well, don’t use \completecontent and replace

  \placelist[chapter,chaptertext]

with something similar to

  \placelist[part, chapter,chaptertext]

> - In the backmatter, the chapters should be numbered with letters
> (appendix A, B, etc.) and chapters start again from 1 (A)

Add to the numbering command

  \definestructureconversionset[sectionnumbers][R,n][n]

the following definition

  \definestructureconversionset[appendix:sectionnumbers][R,Character][n]

> I haven’t looked at getting the part title somewhere at 1/3 of the page
> and horizontally centered yet. And the part title page should have no
> page number.

align is a fairly common option and you can add a \vskip with the
.3\textheight (or even \paperheight)

  \setuphead[part]
    [placehead=yes, align=center, before={\null\vskip.3\textheight}]

\blank would be another option, but I cannot make it work here with
\textheight.

No page number is done by surpressing headers with:

  \setuphead[part][placehead=yes, header=empty]% or none

I hope it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

           reply	other threads:[~2021-10-23 16:47 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <655EF650-83EE-4CDA-8488-677430BCA655@rna.nl>]

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=2732052d-afd1-28ca-88de-64b9083f3a19@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).