From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40189 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Adding custom key/value pairs Date: Mon, 14 Apr 2008 13:53:19 +0200 Message-ID: <115224fb0804140453j7d7e3d0fp8754a302b3685828@mail.gmail.com> References: <2c62660f97846a8a50e04eab167dde42@quokka70.fastmail.fm> <4801DBAC.4000907@elvenkind.com> <5c2c86e70804140256wa4ab590r8dc19cd6e145766a@mail.gmail.com> <115224fb0804140318k66b32fefof645c851bfb34d01@mail.gmail.com> <5c2c86e70804140334o538ccae6l313f6bd04672ac8a@mail.gmail.com> <115224fb0804140358v691112sa6988b9a44e3a33e@mail.gmail.com> <48033E1B.9010301@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208174129 9305 80.91.229.12 (14 Apr 2008 11:55:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 11:55:29 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 14 13:55:52 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JlNHK-0001M2-48 for gctc-ntg-context-518@m.gmane.org; Mon, 14 Apr 2008 13:55:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA1061FD06; Mon, 14 Apr 2008 13:54:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15764-03-2; Mon, 14 Apr 2008 13:53:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 78DA81FC90; Mon, 14 Apr 2008 13:53:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6ED951FC90 for ; Mon, 14 Apr 2008 13:53:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12655-04-35 for ; Mon, 14 Apr 2008 13:53:24 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.154]) by ronja.ntg.nl (Postfix) with ESMTP id C3E6F1FC78 for ; Mon, 14 Apr 2008 13:53:23 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 6so1037364ywa.74 for ; Mon, 14 Apr 2008 04:53:19 -0700 (PDT) Original-Received: by 10.151.158.2 with SMTP id k2mr5922982ybo.206.1208173999900; Mon, 14 Apr 2008 04:53:19 -0700 (PDT) Original-Received: by 10.150.49.21 with HTTP; Mon, 14 Apr 2008 04:53:19 -0700 (PDT) In-Reply-To: <48033E1B.9010301@elvenkind.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40189 Archived-At: On Mon, Apr 14, 2008 at 1:20 PM, Taco Hoekwater wrote: > Wolfgang Schuster wrote: > > > > Why not, I have nothing against a few predefined title pages layouts. > > Somewhat related: it would be nice if there was some common code for > titles (books as well as articles). The Maps module currently defines > an article in this fashion: > > \starttext > \startArticle > [Title=..., > Author=..., > RunningAuthor=...] % etc. etc. > > \startAbstract > ... abstract ... > \stopAbstract > > \startKeywords > ... comma-separated keywords ... > \stopKeywords > > ... body ... > > \stopArticle > \stoptext I never thought of them, good to have someone mention this. > Obvious weak point: the Abstract / Keywords are too late to influence > typesetting of the title (page). Of course that could be fixed by using > named buffers and/or an explicit \maketitle-like command. Something like: \def\startabstract {\dostartbuffer[abstract][startabstract][stopabstract]} \startsetups titlepage \getbuffer[abstract] \stopsetups \def\starttitlepage {\begingroup \placetitle} \def\stoptitlepage {\setups{titlepage} \endgroup} \setuptitle [author=..., title=...] or \starttitlepage [author=..., title=...] \startabstract ... \stopabstract ... \stoptitlepage > Anyway, the maps module contains all the code to do everything. And > the same is true for the TUG module. And for quite a few others I have > laying around. Lots of duplicate code all over, so a common framework > would be great. I've been meaning to write one for a long time, but > somehow I never quite get around to actually doing it. To many ideas and too less time and motivation :-) > Just saying this to let you know that I would really welcome a module > with commands like \setuptitle, \definetitle, and \placetitle. Greetings Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________