ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Ángel Luis García Fernández" <algarcia@ujaen.es>
Subject: Re: ntg-context Digest, Vol 28, Issue 76
Date: Mon, 30 Oct 2006 10:16:24 +0100	[thread overview]
Message-ID: <200610301016.24825.algarcia@ujaen.es> (raw)
In-Reply-To: <mailman.1.1162029601.16645.ntg-context@ntg.nl>

I tried that, but then nothing appears (empty index)

Angel-Luis

> Hi Angel-Luis,
>
> looks like you want a LaTeX-like table of contents. I achieved what I think
> you want to achieve as well, using the following commands:
>
> % setup table of contents
> \setupcombinedlist[content][alternative=c,level=section]
>
> % margins, widths and distances are setup such that section lines line up
> with chapter text (change to your liking!)
> \setuplist[chapter][margin=0mm,width=6mm,distance=2mm,style=bold,aligntitle
>=yes,before=\blank] \setuplist[section][margin=8mm,width=6mm,distance=2mm]
>
> % place the following in the relevant location
> \completecontent
>
> Hope this ends up looking like you want it to!
>
> Maarten-Jan
>
> ----- Original Message ----
> From: ?ngel Luis Garc?a Fern?ndez <algarcia@ujaen.es>
> To: ntg-context@ntg.nl
> Sent: Friday, October 27, 2006 10:16:21 PM
> Subject: [NTG-context] Page number alignment in \placecontent
>
>
> Hi all,
>
> sorry for bothering you with this, but I have a problem: I like this style
> for my Index:
>
> \setuplist[chapter][style=bold]
>
> \placecontent[level=section,
>               alternative=c,
>               criterium=all,
>               aligntitle=yes]
>
> But then the section page numbers are placed in the right margin of the
> page instead of in the text area as the chapter page numbers are. (if you
> want a sample: http://wwwdi.ujaen.es/~algarcia/page.pdf . It's just 16 KB)
>
> How can I manage to keep all the index structure while moving the section
> page numbers to the left?
>
> ?ngel-Luis
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
>
>
> ------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
> End of ntg-context Digest, Vol 28, Issue 76
> *******************************************

       reply	other threads:[~2006-10-30  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1162029601.16645.ntg-context@ntg.nl>
2006-10-30  9:16 ` Ángel Luis García Fernández [this message]
2006-10-30 12:06 M.J. Kallen

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=200610301016.24825.algarcia@ujaen.es \
    --to=algarcia@ujaen.es \
    --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).