From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11067 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: compound titles, lists and headers Date: Mon, 17 Feb 2003 00:31:05 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030217002901.03716b10@remote-1> References: <006c01c2d46f$14bc7a70$0100a8c0@vademecum> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1045441084 8831 80.91.224.249 (17 Feb 2003 00:18:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2003 00:18:04 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18kYyw-0002IG-00 for ; Mon, 17 Feb 2003 01:18:02 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 44AAD10B1A; Mon, 17 Feb 2003 01:20:23 +0100 (MET) Original-Received: from smtp07.wxs.nl (smtp07.wxs.nl [195.121.6.39]) by ref.ntg.nl (Postfix) with ESMTP id D321010ABB for ; Mon, 17 Feb 2003 01:10:36 +0100 (MET) Original-Received: from LAPTOP-3.wxs.nl ([195.121.67.52]) by smtp07.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id HAFF5O01.T2H for ; Mon, 17 Feb 2003 01:10:36 +0100 X-Sender: hagen-mail@remote-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <4C48346A-406D-11D7-92E9-0030659899AA@fiee.net> 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:11067 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11067 At 11:40 PM 2/14/2003 +0100, you wrote: >>\def\Eintrag#1{\writetolist[chapter]{% >> >>\framed[{frame=on,align=right,width=0.5\textwidth,height=2.5\bodyfontsi ze}]{ >>#1}}} > >Thanks for the tip. I have now: > >\def\KomplexTitel#1#2#3{% >{\writetolist[chapter]{% >\framed[{frame=off, align=right, >width=0.8\textwidth, height=2\baselineskip, >offset=none}]{#3}% >}% >\nohyphens\title{#1}% >\Untertitel{#2}}} > >But the code (fixed measures) is as ugly as the output. >The lines in the frames are set a bit to high, and the page number is >too low. >I guess it could work with linecorrection, but that always throws >errors (at least >if used in a \def). > >Any more hints? (untested) better make a dedicated list: \definelist [mylist] and configure that one (so no \framed in write) \setuplist [mychapter] [alternative=command, command=\MyChapterList] with something \def\ChapterList#1#2#3% {\framed [frame=off, align={right,broad,nothyphenated}, width=0.8\textwidth, height=2\baselineskip, offset=none] {#2}} your title command \def\KomplexTitel#1#2#3% {\title{#1}\subject{#2}\writetolist[mychapter]{}{#3}} (next version will contain a direct write command, which avoids an interfering node) call lists like: \placelist[chapter,mychapter] etc ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------