ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
Subject: compound titles, lists and headers
Date: Wed, 12 Feb 2003 22:05:14 +0100	[thread overview]
Message-ID: <AE3C94BE-3ECD-11D7-B4BF-0030659899AA@fiee.net> (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/

             reply	other threads:[~2003-02-12 21:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 21:05 Henning Hraban Ramm [this message]
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

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=AE3C94BE-3ECD-11D7-B4BF-0030659899AA@fiee.net \
    --to=hraban@fiee.net \
    --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).