From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96642 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Eidenbenz Newsgroups: gmane.comp.tex.context Subject: Re: avoid newline after definestartstop Date: Mon, 24 Oct 2016 18:07:39 +0200 Message-ID: References: <798B3A10-F75C-45C0-A90E-D3147B3DE207@arch.ethz.ch> <35B4AA28-3EC8-4FEC-BACE-33F476574CCE@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/mixed; boundary="===============4106881409568810634==" X-Trace: blaine.gmane.org 1477325331 31496 195.159.176.226 (24 Oct 2016 16:08:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2016 16:08:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 24 18:08:46 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 1byhnW-0005GY-TM for gctc-ntg-context-518@m.gmane.org; Mon, 24 Oct 2016 18:08:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 103901B87D; Mon, 24 Oct 2016 18:07:55 +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 Vc3EeZ2ERGWR; Mon, 24 Oct 2016 18:07:53 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 96D541B881; Mon, 24 Oct 2016 18:07:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 278FF1B87E for ; Mon, 24 Oct 2016 18:07:52 +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 6qIbWJZbHx5K for ; Mon, 24 Oct 2016 18:07:50 +0200 (CEST) Original-Received: from edge10.ethz.ch (edge10.ethz.ch [82.130.75.186]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id CC4D61B87D for ; Mon, 24 Oct 2016 18:07:40 +0200 (CEST) Original-Received: from CAS12.d.ethz.ch (172.31.38.212) by edge10.ethz.ch (82.130.75.186) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 24 Oct 2016 18:07:39 +0200 Original-Received: from public-docking-als-0089.ethz.ch (10.2.80.91) by CAS12.d.ethz.ch (172.31.38.212) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 24 Oct 2016 18:07:40 +0200 In-Reply-To: <35B4AA28-3EC8-4FEC-BACE-33F476574CCE@gmail.com> X-Mailer: Apple Mail (2.3124) X-Originating-IP: [10.2.80.91] 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:96642 Archived-At: --===============4106881409568810634== Content-Type: multipart/alternative; boundary="Apple-Mail=_C33B2D0D-91FF-4C2A-8484-9E226DDC4221" --Apple-Mail=_C33B2D0D-91FF-4C2A-8484-9E226DDC4221 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Thanks! sometimes the moste obvious is hidden... although I would consider this a hack, it works perfectly. but I'm still wondering, if there is no soultion for the more = "canonical" way. Regards Michael > On 24 Oct 2016, at 17:08, Otared Kavian wrote: >=20 > Hi Michael, >=20 > 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: >=20 > % begin quotation-note.tex >=20 > \define\StartCitation{\startnarrower[left,right]=C2=AB~} > \define[1]\StopCitation{~=C2=BB\footnote{#1}\stopnarrower} >=20 > \starttext > \input tufte > \StartCitation > \input knuth > \StopCitation{This is a Quote of Donald Knuth} > \stoptext > % end quotation-note.tex >=20 > 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. >=20 > Best regards: OK >=20 >> 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 >> = __________________________________________________________________________= _________ >=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=_C33B2D0D-91FF-4C2A-8484-9E226DDC4221 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8" Thanks!

sometimes the moste obvious is hidden...
although I would consider this a hack, it works = perfectly.
but I'm still wondering, if there is no = soultion for the more "canonical" way.

Regards Michael

On 24 Oct 2016, at 17:08, Otared Kavian <otared@gmail.com> = wrote:

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
_______________________________________________________________= ____________________

___________________________________________________= ________________________________
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=_C33B2D0D-91FF-4C2A-8484-9E226DDC4221-- --===============4106881409568810634== 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 --===============4106881409568810634==--