ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* chapter setup / table of contents
@ 2008-04-14 20:06 Henning Hraban Ramm
  2008-04-14 20:26 ` luigi scarso
  2008-04-15  8:03 ` Wolfgang Schuster
  0 siblings, 2 replies; 21+ messages in thread
From: Henning Hraban Ramm @ 2008-04-14 20:06 UTC (permalink / raw)
  To: ConTeXt ML

Ahoi!

In a volume of proceedings, each chapter has an author and title and  
sometimes a subtitle.
The ToC entry should look like:

Author: Title \hfill Page
(no indents!)

At the moment I've this setup:

---

\def\Titel#1#2#3{% author, title, subtitle
	\page%
	{\writebetweenlist[chapter]{\placeongrid{\noindent #1:}}
	\switchtobodyfont[12pt]\noindent #1%
	\chapter{\noindent #2}%
	{\ss\bf #3}%
	\blank[2*big]}%
}

\setuphead[chapter][page=no, number=no, align= 
{flushleft,nothyphenated,verytolerant}, style={\ss\bfa}, before={},  
after={\blank}]

\definecombinedlist[toc][chapter][level=chapter, placehead=no,  
criterium=all, alternative=b, offset=none]
\setupcombinedlist  [toc] [partnumber=no]

---

Please don't cry, I know it's ugly... ;-)

What it does is close, but nood good enough.

- Is there a way to use the normal chapter (or any head) mechanism  
with such "feathered" titles?
- How do I get my special ToC?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2008-09-25 11:22 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-14 20:06 chapter setup / table of contents Henning Hraban Ramm
2008-04-14 20:26 ` luigi scarso
2008-04-14 20:58   ` Henning Hraban Ramm
2008-04-14 21:11     ` luigi scarso
2008-04-15  8:03 ` Wolfgang Schuster
2008-04-15 22:07   ` Henning Hraban Ramm
2008-04-15 22:32     ` Henning Hraban Ramm
2008-04-16  6:31       ` Wolfgang Schuster
2008-04-16  7:19         ` Henning Hraban Ramm
     [not found]           ` <01C12D32-1DBE-4596-87DD-C59919B96FC3@fiee.net>
2008-04-27 21:45             ` who eats my spaces (was: chapter setup / table of contents) Henning Hraban Ramm
2008-04-28  8:51               ` who eats my spaces Taco Hoekwater
2008-04-28  9:45                 ` Wolfgang Schuster
2008-04-28 19:36                   ` Henning Hraban Ramm
2008-04-29  7:05                     ` Wolfgang Schuster
2008-04-30 12:12                       ` Henning Hraban Ramm
2008-04-30 12:54                         ` Wolfgang Schuster
2008-04-30 14:44                           ` Henning Hraban Ramm
2008-04-30 14:49                             ` Wolfgang Schuster
2008-09-25 11:22               ` who eats my spaces (was: chapter setup / table of contents) Wolfgang Schuster
2008-04-28 20:21           ` chapter setup / table of contents Henning Hraban Ramm
2008-04-16  6:27     ` Wolfgang Schuster

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).