ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower
Date: Wed, 22 Jan 2014 23:20:45 +0100	[thread overview]
Message-ID: <e739887e-811e-41d8-b87f-8f89d8ab9f31@keima.localdomain> (raw)
In-Reply-To: <20140122110533.GA11827@mini>


[-- Attachment #1.1: Type: text/plain, Size: 1441 bytes --]


Hi Rudolf,  

what you try doesn’t work because the narrower environment and the list alternative you use try to change the same internal register for the distance from the left margin. What you have to do is to write your own layout for the section entries in the TOC because this way you don’t reset the margins added by \startnarrower.  

Wolfgang


On 22.01.2014 12:05:33, Rudolf Bahr <quasi@quasi.de> wrote:  
Hello listmembers,

ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2014.1.6

I'm typesetting a book in A4 landscape and would like to indent the TOC
at both sides. I tried two solutions which both didn't work as expected.

1. attempt with "\startnarrower[left,right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower":
The output of the following minimalistic example is partly attached as .pdf file. I shortened there
the textheight to 80mm.
a.) I would expect the TOC to be midaligned. But it isn't. It is leftaligned.
b.) I would expect the TOC stopped after the 5th subsection row at page bottom and to be
continued at the next page due to "[pageboundaries={0.1.1.5}]". But it isn't.

2. attempt with "\line{\hfill\vbox{\hsize=.75\hsize\completecontent[pageboundaries={0.1.1.5}]}\hfill}",
outcommented in the following example. The TOC is really indented at both sides, but
it doesn't stop at all at page bottom.

Something must be wrong here. But what?

Regards,

Rudolf Bahr  

[-- Attachment #1.2: Type: text/html, Size: 1741 bytes --]

[-- Attachment #2: 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:[~2014-01-22 22:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22 11:05 Rudolf Bahr
2014-01-22 22:20 ` Wolfgang Schuster [this message]
2014-01-23 17:56   ` Rudolf Bahr
2014-01-23 18:13   ` Hans Hagen
2014-01-23 21:03     ` Wolfgang Schuster
2014-01-23 21:19       ` Hans Hagen
2014-01-23 21:24         ` Wolfgang Schuster
2014-01-23 21:32           ` Hans Hagen

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=e739887e-811e-41d8-b87f-8f89d8ab9f31@keima.localdomain \
    --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).