From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32648 Path: news.gmane.org!not-for-mail From: Mike Bird Newsgroups: gmane.comp.tex.context Subject: Re: Footnote lost Date: Wed, 10 Jan 2007 08:28:18 -0800 Organization: Iron Mtn Systems Message-ID: <200701100828.20388.mgb-debian@yosemite.net> References: <200701090357.22177.mgb-debian@yosemite.net> <45A4ACA4.5040503@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: sea.gmane.org 1168446555 27698 80.91.229.12 (10 Jan 2007 16:29:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2007 16:29:15 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 10 17:29:14 2007 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 1H4gJz-0005ID-GB for gctc-ntg-context-518@m.gmane.org; Wed, 10 Jan 2007 17:29:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DCA2320075; Wed, 10 Jan 2007 17:25:31 +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 29831-04-3; Wed, 10 Jan 2007 17:25:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F33131FF7B; Wed, 10 Jan 2007 17:25:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 348B220074 for ; Wed, 10 Jan 2007 17:25:24 +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 29831-04-2 for ; Wed, 10 Jan 2007 17:25:20 +0100 (CET) Original-Received: from se.yosemite.net (se.yosemite.net [205.157.156.9]) by ronja.ntg.nl (Postfix) with ESMTP id C3D531FEEB for ; Wed, 10 Jan 2007 17:25:18 +0100 (CET) Original-Received: from se.yosemite.net (localhost.localdomain [127.0.0.1]) by se.yosemite.net (Postfix) with ESMTP id BBF2698023 for ; Wed, 10 Jan 2007 08:28:47 -0800 (PST) Original-Received: from mgb.bullion.ims (mgb.bullion.ims [205.157.157.170]) by se.yosemite.net (Postfix) with ESMTP id 10B45981AB for ; Wed, 10 Jan 2007 08:28:46 -0800 (PST) Original-To: ntg-context@ntg.nl User-Agent: KMail/1.9.5 In-Reply-To: <45A4ACA4.5040503@elvenkind.com> Content-Disposition: inline X-Virus-Scanned: ClamAV using ClamSMTP 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:32648 Archived-At: On Wednesday 10 January 2007 01:06, Taco Hoekwater wrote: > Can you look through the list archive a bit? There was a > thread begin december last year about the exact same topic. Hi Taco, I assume you're referring to this thread: http://archive.contextgarden.net/thread/20061206.202611.e8722446.en.html However that was a more complicated test case because it involved the bib module and cite. Also it referred to problems with footnotes in vertical mode whereas the new test case includes the footnote in setupdelimitedtext/right where it appears to be in horizontal mode. In fact the new test case is similar to the workaround actually suggested in: http://archive.contextgarden.net/message/20061203.141335.f50b33ff.en.html Changing just \MyMagic in the suggested workaround to avoid \cite gives: \definedelimitedtext [myquotation] [left={\symbol[leftquotation]}, right={\symbol[rightquotation]\MyMagic}, leftmargin=standard] \long\def\startcitedquotation[#1]#2\stopcitedquotation {\bgroup \def\MyMagic{~\footnote{#1}} \startmyquotation #2\stopmyquotation \egroup} \starttext \startcitedquotation[schmitz2006] overly beautiful pusillanimous sesquipedalian longwinded \stopcitedquotation \stoptext - which also loses the footnote. The thread included another possible workaround at: http://archive.contextgarden.net/message/20061204.095032.227c83ef.en.html - but that lost all the power of setupdelimitedtext. Therefore I suggest that my simple test case is still worthy of consideration: \starttext \setupquotation[right={''\footnote{First}}] \startquotation Loses footnote. \stopquotation \setupquotation[right={''}] \quotation{OK}\footnote{Second} \stoptext For those who need footnoted or cited quotations, another workaround is to \setupquotation[location=text]. This retains the power of \setupdelimitedtext without running into the bug which I suspect lies in or near \dostopdelimitedtexpar. You may have to fiddle with \par and/or \nospace to get the layout exactly as desired. --Mike Bird