From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32055 Path: news.gmane.org!not-for-mail From: Oliver Buerschaper Newsgroups: gmane.comp.tex.context Subject: Re: \startquotation, \cite and footnotes Date: Wed, 6 Dec 2006 21:26:11 +0100 Message-ID: References: <17B80BB1-3B68-4315-9BAF-57B1AFC7935D@mpq.mpg.de> <4572DBCC.3090100@elvenkind.com> <0639BEE2-F1DF-4CDB-A759-AC63768F13D3@mpq.mpg.de> <4573EFAA.1050805@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165437080 21970 80.91.229.10 (6 Dec 2006 20:31:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2006 20:31:20 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 06 21:31:18 2006 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 dough.gmane.org with esmtp (Exim 4.50) id 1Gs3Q4-0002S6-Rg for gctc-ntg-context-518@m.gmane.org; Wed, 06 Dec 2006 21:31:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9AAE91FFAC; Wed, 6 Dec 2006 21:28:21 +0100 (CET) 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 24260-03; Wed, 6 Dec 2006 21:28:20 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A89E31FF9A; Wed, 6 Dec 2006 21:23:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A22AD1FF9E for ; Wed, 6 Dec 2006 21:23:35 +0100 (CET) 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 23893-04-6 for ; Wed, 6 Dec 2006 21:23:27 +0100 (CET) Original-Received: from post.rzg.mpg.de (post.rzg.mpg.de [130.183.7.21]) by ronja.ntg.nl (Postfix) with SMTP id 1B0371FF77 for ; Wed, 6 Dec 2006 21:23:26 +0100 (CET) Original-Received: from [172.20.3.3] (gateway.maximilianeum.mhn.de [129.187.19.245]) by post.rzg.mpg.de (8.9.2/8.9.2) with ESMTP id VAA3240116 for ; Wed, 6 Dec 2006 21:26:11 +0100 X-Envelope-To: In-Reply-To: <4573EFAA.1050805@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:32055 Archived-At: >> Ok. As for the strange things happening I was able to hunt them down >> and prepare a simple example (still with the standard >> \startquotation): > > We are looking into this. All footnotes in vertical mode are > behaving oddly. Thanks! >> I tried that one but ran into several problems unfortunately. If >> \cite inserts anything but a tiny string these words won't be wrapped >> properly onto a new line. Also if I replace \cite[#1] by \footnote >> {\cite[#1]} then there will be no footnote at all :-( > > The missing linebreak is probably realted to the problem as in the > other thread, so you just have to wait a little bit longer, until that > is fixed for this problem to magically go away as well. Yep, I'll be waiting for some black magic ;-) > The disappearing footnote may be unfixable within \startquotation. It > would be easier to define your own start-stop pair for this, because > \startquotation ... \stopquotation doesn't actually support tacking on > stuff at the end. Try this instead: > > \long\def\startcitedquotation[#1]#2\stopcitedquotation > {\bgroup \par > \startnarrower > \symbol[leftquotation]% > #2\removeunwantedspaces > \symbol[rightquotation]% > \cite[#1] > \stopnarrower > \par \egroup} Works like a charm! Thanks very much for the workaround ... I've adapted it slightly so that the optional argument is treated as generic text ... in order to use \cite[], \footnote{\cite[]} or whatever else I need. Could this optional argument perhaps be integrated directly in the usual \startquotation command some day? I guess a lot of people will need this ... every quotation calls for a proper reference ;-) Cheers, Oliver