From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96641 Path: news.gmane.org!.POSTED!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: avoid newline after definestartstop Date: Mon, 24 Oct 2016 17:08:24 +0200 Message-ID: <35B4AA28-3EC8-4FEC-BACE-33F476574CCE@gmail.com> References: <798B3A10-F75C-45C0-A90E-D3147B3DE207@arch.ethz.ch> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Content-Type: multipart/mixed; boundary="===============4741709746308092621==" X-Trace: blaine.gmane.org 1477321775 19350 195.159.176.226 (24 Oct 2016 15:09:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2016 15:09:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 24 17:09:29 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bygs1-0001HO-HA for gctc-ntg-context-518@m.gmane.org; Mon, 24 Oct 2016 17:09:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BA4381B73E; Mon, 24 Oct 2016 17:08:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aLcdpzPLKtHF; Mon, 24 Oct 2016 17:08:43 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 0207C1B74D; Mon, 24 Oct 2016 17:08:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4EB9B1B74D for ; Mon, 24 Oct 2016 17:08:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0h-KfhoJsSEN for ; Mon, 24 Oct 2016 17:08:38 +0200 (CEST) Original-Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 996C51B73E for ; Mon, 24 Oct 2016 17:08:28 +0200 (CEST) Original-Received: by mail-lf0-f44.google.com with SMTP id t133so1359502lff.6 for ; Mon, 24 Oct 2016 08:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=VI2+JDyztKOdfAHJo92jj/lKnthtcb01HNyQ66acf5U=; b=Oe3RV6ep8i/XuC8QhGay6BRHGdmsD80iTjw6tDE3ENxPYAS0el3Yh/GSMLd+NmH6v6 T0H9+eyCasGg8bNT4NRkxpawKXnPnWQsj01Vqk+ZFZk5lSkrynuZsnCEonCo+sLs2DzH lk0PEzdCQqUZBGapu/JLi8IWcLgE/4QI+iqXmW1yA8e4vX+xDOaAxfTkHyls4KAFpuf+ 4G2TtFvwVAkuIzT9DjX4zfFYTfW/5IbO8uKAIjNYZbIs+lu1qBeoDmkKQiD13tOfpROg 4VDX+GtqCZBCIzXQBGaOt4sbu1g2R6Du0A1DjTFEs7/D44sEl913jxYm5F6vQb1ApIhp wHmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=VI2+JDyztKOdfAHJo92jj/lKnthtcb01HNyQ66acf5U=; b=etFPQJXsESEbpcap7OunEpo4oCFeTe+lR3CiU+syH9LOnH70q+GDL6FJ9duBJ9F/LC P6WoCBN+42UjYDKph/GAYJmlFCCqVlU90su+xCzmm9m/SBTFiClmFHEACLieYLmauzyT 92O9KkqEL10mBIOLKqgrao30cCCQOs1K56XPMcvfP/0gL95uCQ5BMSPIvxxvpmobGKUF bv2ls2mkYKe12J4E2lt9+8HsUH5pGDH5kSG6d2/UKzOfNcu7waN1zevKvTIIuxH8n1mV RMIkoSgCdEGd46h2DUbI3vueLLyRG2TKiyfsPgFfnw92Wh8yax0kTNHjpJrROMqHICJj TTdg== X-Gm-Message-State: ABUngveW/XW/uQeoWRFBUgJlXrMbETkK0V3/5au6M+k9wAMdvnxJmFDYGVcqNkhDXv6u9g== X-Received: by 10.194.80.194 with SMTP id t2mr12069293wjx.75.1477321707607; Mon, 24 Oct 2016 08:08:27 -0700 (PDT) Original-Received: from ?IPv6:2a01:e34:ec02:4760:80e6:7426:6d20:9c44? ([2a01:e34:ec02:4760:80e6:7426:6d20:9c44]) by smtp.gmail.com with ESMTPSA id uq6sm19804686wjc.37.2016.10.24.08.08.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 08:08:26 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3251) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96641 Archived-At: --===============4741709746308092621== Content-Type: multipart/alternative; boundary="Apple-Mail=_25E46E74-2CFD-4FC2-A06D-1BB25DAF3119" --Apple-Mail=_25E46E74-2CFD-4FC2-A06D-1BB25DAF3119 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Michael, Maybe what Wolfgang meant by =C2=AB putting the marks by hand =C2=BB is = something like: you define \StartCitation and \StopCitation in the = following way: % begin quotation-note.tex \define\StartCitation{\startnarrower[left,right]=C2=AB~} \define[1]\StopCitation{~=C2=BB\footnote{#1}\stopnarrower} \starttext \input tufte \StartCitation \input knuth \StopCitation{This is a Quote of Donald Knuth} \stoptext % end quotation-note.tex Indeed instead of the quotation marks =C2=AB and =C2=BB you can put = whatever you wish. If you have quotations without footnotes, then you may define another = start-stop. Best regards: OK > On 24 Oct 2016, at 12:42, Michael Eidenbenz = wrote: >=20 > hello, >=20 > I found this old mail below, that is related to my problem. > is there still no workaround for this problem? > putting a (foot)note after a quotation mark is quite common and I = don't want to put the marks by hand. >=20 > i was looking at spac-hor.mkiv and tried setupnarrower[after=3D].=20 > but this did not work. >=20 > any help is appreciated >=20 > thanks michael >=20 >=20 >> Am 21.08.2014 um 23:42 schrieb Gerben Wierda >: >>=20 >>> Is it possible to use \startquotation..\stopquotation and have an = endnote=20 >>> number follow the closing ''? If the \endnote is before = \stopquotation, it=20 >>> ends up inside the '' character at the end. If it is after = \stopquotation, it=20 >>> becomes the beginning of the next paragraph. >>=20 >>=20 >> AFAIK this is only possible when you place the quotation marks by = hand. >>=20 >> Wolfgang >=20 >=20 >=20 >>=20 >> On 20 Oct 2016, at 11:13, Michael Eidenbenz > wrote: >>=20 >> hello, >>=20 >> how can I put the footnote number right after the quotationmarks = without having a newline? >> dontleavehmode does not work. >>=20 >> thanks michael >>=20 >>=20 >>=20 >>=20 >> \definestartstop[Citation] >> [before=3D{\startnarrower[left,right]\startquotation}, >> after=3D{\stopquotation\stopnarrower\dontleavehmode}] >>=20 >> \starttext >> \input tufte >> \startCitation >> \input knuth >> \stopCitation >> \footnote{This is a Quote of Donald Knuth} >> \stoptext >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context = >> webpage : http://www.pragma-ade.nl / = http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ = >> wiki : http://contextgarden.net >> = __________________________________________________________________________= _________ >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_25E46E74-2CFD-4FC2-A06D-1BB25DAF3119 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi Michael,

Maybe what Wolfgang meant by =C2=AB putting the marks by hand = =C2=BB is something like: you define \StartCitation and \StopCitation in = the following way:

% begin quotation-note.tex

\define\StartCitation{\startnarrower[left,right]=C2=AB~}
<= div = class=3D"">\define[1]\StopCitation{~=C2=BB\footnote{#1}\stopnarrower}

\starttext
\input tufte
\StartCitation
 \input knuth
\StopCitation{This is = a Quote of Donald Knuth}
\stoptext
% end quotation-note.tex

Indeed instead of the quotation marks = =C2=AB and =C2=BB you can put whatever you wish.
If = you have quotations without footnotes, then you may define another = start-stop.

Best= regards: OK

On 24 Oct 2016, at 12:42, = Michael Eidenbenz <eidenbenz@arch.ethz.ch> wrote:

hello,

I found this old mail below, that is related to my = problem.
is there still no workaround for this = problem?
putting a (foot)note after a quotation = mark is quite common and I don't want to put the marks by = hand.

i was = looking at spac-hor.mkiv and tried = setupnarrower[after=3D]. 
but this did not = work.

any help = is appreciated

thanks michael

Am 21.08.2014 um 23:42 schrieb Gerben = Wierda <gerben.wie...@rna.nl>:

Is it possible to = use \startquotation..\stopquotation and have an endnote 
number follow the = closing ''? If the \endnote is before \stopquotation, it 
ends up inside = the '' character at the end. If it is after \stopquotation, = it 
becomes the beginning of the next = paragraph.


AFAIK this is only possible when = you place the quotation marks by hand.

Wolfgang




On 20 Oct 2016, at 11:13, Michael Eidenbenz = <eidenbenz@arch.ethz.ch> wrote:

hello,

how can I put the = footnote number right after the quotationmarks without having a = newline?
dontleavehmode does not work.

thanks michael




\definestartstop[Citation]
=             &n= bsp;  [before=3D{\startnarrower[left,right]\startquotation},
=             &n= bsp;   after=3D{\stopquotation\stopnarrower\dontleavehmode}= ]

\starttext
\input tufte
\startCitation
 \input knuth
\stopCitation
\footnote{This is a Quote of = Donald Knuth}
\stoptext
_______________________________________________________________= ____________________
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://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
_______________________________________________________________= ____________________

_________________________________________________________= __________________________
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://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
_______________________________________________________________= ____________________

= --Apple-Mail=_25E46E74-2CFD-4FC2-A06D-1BB25DAF3119-- --===============4741709746308092621== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============4741709746308092621==--