ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* compound titles, lists and headers
@ 2003-02-12 21:05 Henning Hraban Ramm
  2003-02-13 21:45 ` Willi Egger
  0 siblings, 1 reply; 11+ messages in thread
From: Henning Hraban Ramm @ 2003-02-12 21:05 UTC (permalink / raw)


Dear list,

my publisher forces me to set different things as titles, in headers  
and table of contents.
In some cases \nolist and \nomarking aren't enough.

here are my actual definitions:

----
\def\Untertitel#1{\blank[3pt]{\ss\bf #1}\blank} % ok
\def\Titel#1#2{{\nohyphens\chapter{#1}\Untertitel{#2}}} % ok

\def\KomplexTitel#1#2#3{{\writetolist[chapter]{#3}\nohyphens\title{#1}\U 
ntertitel{#2}}}
----

with
----
\start
\setupheadertexts[][manual entry][part][] % normally defined as  
[][chapter][part][]
\KomplexTitel{Main chapter title}{chapter subtitle}{toc entry}

Much text

\stop % of other headertext
----
Real life example:
\start
\setupheadertexts	[][Vorwort][][]
\KomplexTitel{Die neutrale Schweiz und das globale Dorf}%
{Vorwort von Prof.|~|Dr.|~|Heinrich Ott}%
{Vorwort Prof.|~|Dr.|~|Heinrich Ott:\\Die neutrale Schweiz und das  
globale Dorf}
...

Now there stay two issues:
1. I'd like to get a four-parameter command that can set the header  
text also.
2. I must get a line feed into the toc, but neither \\ nor \crlf works.

Please help!
Thanks.

Grüßlis vom Hraban!
-- 
www.fiee.net/texnique/
www.ramm.ch/context/

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

end of thread, other threads:[~2010-09-26 18:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-12 21:05 compound titles, lists and headers Henning Hraban Ramm
2003-02-13 21:45 ` Willi Egger
2003-02-14 16:15   ` Henning Hraban Ramm
2003-02-14 21:21     ` Willi Egger
2003-02-14 22:40       ` Henning Hraban Ramm
2003-02-15 11:23         ` Willi Egger
2003-02-16 23:31         ` Hans Hagen
2003-02-17 21:54           ` Henning Hraban Ramm
2010-09-26 15:54           ` Tomas Bures
2010-09-26 16:06             ` Wolfgang Schuster
2010-09-26 18:39               ` Tomas Bures

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