From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11017 Path: main.gmane.org!not-for-mail From: "Willi Egger" Newsgroups: gmane.comp.tex.context Subject: Re: compound titles, lists and headers Date: Thu, 13 Feb 2003 22:45:13 +0100 Organization: BOEDE Sender: ntg-context-admin@ntg.nl Message-ID: <006401c2d3a9$3955c010$0100a8c0@vademecum> References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_005F_01C2D3B1.91EF0CB0" X-Trace: main.gmane.org 1045172904 32061 80.91.224.249 (13 Feb 2003 21:48:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2003 21:48:24 +0000 (UTC) Return-path: Original-Received: from hermes.netfonds.no ([80.91.224.195]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18jRDR-0008Kl-00 for ; Thu, 13 Feb 2003 22:48:21 +0100 Original-Received: from ref.ntg.nl (ref.vet.uu.nl [131.211.172.13]) by hermes.netfonds.no (8.12.1/8.12.1) with ESMTP id h1DLocFs013585 for ; Thu, 13 Feb 2003 22:50:38 +0100 (CET) Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 352B110B15; Thu, 13 Feb 2003 22:47:26 +0100 (MET) Original-Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by ref.ntg.nl (Postfix) with ESMTP id 8162610AF0 for ; Thu, 13 Feb 2003 22:45:29 +0100 (MET) Original-Received: from vademecum (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtpzilla5.xs4all.nl (8.12.0/8.12.0) with SMTP id h1DLjSjr080422 for ; Thu, 13 Feb 2003 22:45:29 +0100 (CET) Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11017 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11017 This is a multi-part message in MIME format. ------=_NextPart_000_005F_01C2D3B1.91EF0CB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_005F_01C2D3B1.91EF0CB0 Content-Type: application/octet-stream; name="Hraban-header.tex" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Hraban-header.tex" \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=E4ss 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 ------=_NextPart_000_005F_01C2D3B1.91EF0CB0--