From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68617 Path: news.gmane.org!not-for-mail From: Oliver Buerschaper Newsgroups: gmane.comp.tex.context Subject: \startquotation and citations Date: Mon, 23 May 2011 15:39:18 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306157974 20209 80.91.229.12 (23 May 2011 13:39:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 13:39:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 15:39:28 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOVM0-00068x-2P for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2011 15:39:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F491CAD41; Mon, 23 May 2011 15:39:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id whKSLa7VTLO2; Mon, 23 May 2011 15:39:24 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9D04CAD37; Mon, 23 May 2011 15:39:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AA044CAD37 for ; Mon, 23 May 2011 15:39:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id t2djP7ezvo4L for ; Mon, 23 May 2011 15:39:20 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id C4C1DCAD30 for ; Mon, 23 May 2011 15:39:20 +0200 (CEST) Original-Received: from post.rzg.mpg.de (post.rzg.mpg.de [130.183.30.42]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4NDdJVJ031904 for ; Mon, 23 May 2011 15:39:20 +0200 Original-Received: from [192.168.0.4] (e181050181.adsl.alicedsl.de [85.181.50.181]) (authenticated bits=0) by post.rzg.mpg.de (8.14.3/8.14.3) with ESMTP id p4NDdIQn1520366 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 23 May 2011 15:39:19 +0200 X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=130.183.30.42; country=DE; region=02; city=Garching; latitude=48.2500; longitude=11.6500; http://maps.google.com/maps?q=48.2500,11.6500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dEL1Dj7P - 25caf064e58d - 20110523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:68617 Archived-At: Dear all, I'm struggling with quotation blocks and proper placing of citations=85 In = an ideal world I'd be striving for something like this: \startquotation[source=3D=85] \input tufte \stopquotation where =85 could be either of: 1. a simple string: {Edward Tufte}, 2. a citation command: \cite[Tuf:yyyy] 3. a footnote: \footnote{See \cite[Tuf:yyyy]} This should be typeset immediately after the closing delimiter and well bef= ore \stopnarrower. In the real world (and with a deadline approaching rapidly) I've tried two = approaches so far: 1. A hack dating back three years which bypasses the delimitedtext mechanis= m. --- \long\def\startextendedquotation[#1]#2\stopextendedquotation {\bgroup\par \blank[halfline] \startnarrower[4em] \symbol[leftquotation]% #2\removeunwantedspaces \symbol[rightquotation]#1 \stopnarrower \blank[halfline] \par\egroup} \starttext \input tufte \startextendedquotation[\footnote{See Tufte=85}] \input tufte \stopextendedquotation \input tufte \stoptext --- Here the footnote actually appears, however, the beginning of the quotation= looks weird (and setting up margins etc. is a bit messy). 2. Another hack which employs delimitedtext but abuses its closing delimite= r option: --- \setupdelimitedtext [quotation] [leftmargin=3D4em, rightmargin=3D4em, spacebefore=3Dhalfline, spaceafter=3Dhalfline] \starttext \input tufte \bgroup \setupdelimitedtext [quotation] [right=3D{\symbol[rightquotation]\footnote{See Tufte=85}}] \startquotation \input tufte \stopquotation \egroup \input tufte \stoptext --- This approach places the opening delimiter nicely in the margin of the quot= ation block but sadly swallows the footnote (ordinary strings seem fine tho= ugh). How to combine the looks of 2 with the footnotes of 1? Many thanks, Oliver ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________