ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Willi Egger" <w.egger@boede.nl>
Subject: Re: compound titles, lists and headers
Date: Thu, 13 Feb 2003 22:45:13 +0100	[thread overview]
Message-ID: <006401c2d3a9$3955c010$0100a8c0@vademecum> (raw)
In-Reply-To: <AE3C94BE-3ECD-11D7-B4BF-0030659899AA@fiee.net>

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

Hi Hraban,

> 1. I'd like to get a four-parameter command that can set the header

See attachment ...

> 2. I must get a line feed into the toc, but neither \\ nor \crlf works.

I thought that \writebetweenlist[chapter]{\blank} should work. At least that
is what is stated in the manual.

Gruss Willi

[-- Attachment #2: Hraban-header.tex --]
[-- Type: application/octet-stream, Size: 921 bytes --]

\setupoutput[pdftex]

\def\Untertitel#1{\blank[3pt]\bgroup\ss\bf #1 \egroup \blank} %Funktioniert nicht in Sambeek
\def\Titel#1#2{\nohyphens\chapter{#1}\Untertitel{#2}} % ok
\def\Eintrag#1{\writetolist[chapter]{#1}} %\writebetweenlist[chapter]{\blank}: Gemäss Handbuch sollte dies gehen??
\def\Kopfeintrag#1{\setupheadertexts[#1]}

\def\KomplexTitel#1#2#3#4{\Eintrag{#3}\nohyphens\Titel{#1}\Untertitel{#2}\Kopfeintrag{#4}}


\starttext

\completecontent

%\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}{Vorwort ha,ha}


\input tufte

\KomplexTitel{Die Schweiz und das  Dorf}%
{Einleitung von Prof.|~|Dr.|~|Heinrich Ott}%
{Einleitung Prof.|~|Dr.|~|Heinrich Ott: Die Schweiz und das Dorf}{Einleitung}

\input tufte

\stoptext

  reply	other threads:[~2003-02-13 21:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 21:05 Henning Hraban Ramm
2003-02-13 21:45 ` Willi Egger [this message]
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='006401c2d3a9$3955c010$0100a8c0@vademecum' \
    --to=w.egger@boede.nl \
    --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).