From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32023 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: \startquotation, \cite and footnotes Date: Sun, 03 Dec 2006 15:14:36 +0100 Message-ID: <4572DBCC.3090100@elvenkind.com> References: <17B80BB1-3B68-4315-9BAF-57B1AFC7935D@mpq.mpg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165155300 19494 80.91.229.2 (3 Dec 2006 14:15:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Dec 2006 14:15:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 03 15:14:58 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 ciao.gmane.org with esmtp (Exim 4.43) id 1Gqs7K-0000bE-Pd for gctc-ntg-context-518@m.gmane.org; Sun, 03 Dec 2006 15:14:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B49861FB4E; Sun, 3 Dec 2006 15:12:30 +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 18773-05-2; Sun, 3 Dec 2006 15:12:20 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6DCBA1FB4D; Sun, 3 Dec 2006 15:12:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 991D31FB49 for ; Sun, 3 Dec 2006 15:12:18 +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 18773-05 for ; Sun, 3 Dec 2006 15:12:13 +0100 (CET) Original-Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by ronja.ntg.nl (Postfix) with SMTP id 8206D1FB4D for ; Sun, 3 Dec 2006 15:12:13 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:46402 helo=[10.10.0.3]) by post-24.mail.nl.demon.net with esmtp (Exim 4.51) id 1Gqs72-0000fj-KR for ntg-context@ntg.nl; Sun, 03 Dec 2006 14:14:36 +0000 User-Agent: Mozilla Thunderbird 1.0.6-7.6.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <17B80BB1-3B68-4315-9BAF-57B1AFC7935D@mpq.mpg.de> 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:32023 Archived-At: Oliver Buerschaper wrote: > Hi, > > I've been wondering whether someone (perhaps Taco?) can give me a > hint on the following: > > 1. Is there an automated way to place citations into footnotes? So > whenever I use \cite in the running text it should produce a footnote > with the reference alongside the usual footnotes. However, when \cite > is invoked within a footnote it should just type out the reference > inline (in the footnote, of course ;-). So far I've done this > manually with \footnote{\cite{key}} (which at times produced its own > strange results like two footnote blocks on the same page). There is no other way. If you strangeness as a result from this, then it is a bug in the footnote handling that is (should be) unrelated to the bibliography module. > 2. When typesetting a quotation block I'd like to add a reference > directly after the closing quotation marks. However, including the > \cite command before \stopquotation places the reference before the > closing marks, and moving \cite out of the \start \stop block makes > the reference appear on a new line ... The next solution is a bit rude, but works: % First define an internal version of quotations. It will % typeset the contents of the macro \MyMagic at the end, % just after the symbol. % \definedelimitedtext [myquotation] [left={\symbol[leftquotation]}, right={\symbol[rightquotation]\MyMagic}, leftmargin=standard] % And this is simply a wrapper for ease of use % \long\def\startcitedquotation[#1]#2\stopcitedquotation {\bgroup \def\MyMagic{~\cite[#1]} \startmyquotation #2\stopmyquotation \egroup} % usage: \starttext \startcitedquotation[schmitz2006] overly beautiful pusillanimous sesquipedalian longwinded \stopcitedquotation \stoptext Best, Taco