From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91809 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: New btx code problem with quote protrusion Date: Sun, 5 Jul 2015 18:52:40 -0400 Message-ID: <5599B538.80207@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1965369662==" X-Trace: ger.gmane.org 1436136821 32051 80.91.229.3 (5 Jul 2015 22:53:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2015 22:53:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 06 00:53:28 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZBsmt-0008PC-P3 for gctc-ntg-context-518@m.gmane.org; Mon, 06 Jul 2015 00:53:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D762910263 for ; Mon, 6 Jul 2015 00:53:26 +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 i6AVOBgv9Kf8 for ; Mon, 6 Jul 2015 00:53:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 20DDA1020A for ; Mon, 6 Jul 2015 00:52:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2945710202 for ; Mon, 6 Jul 2015 00:52:53 +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 MOtX2EKzfqRn for ; Mon, 6 Jul 2015 00:52:52 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id DB0E6101FD for ; Mon, 6 Jul 2015 00:52:51 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter2-til.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t65MqnHG030420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 6 Jul 2015 00:52:50 +0200 Original-Received: from [192.168.201.10] (cpe-74-76-74-238.nycap.res.rr.com [74.76.74.238]) by mailbackend.panix.com (Postfix) with ESMTPSA id 2BB1716DF9 for ; Sun, 5 Jul 2015 18:52:48 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=New York; latitude=40.7553; longitude=-73.9924; http://maps.google.com/maps?q=40.7553,-73.9924&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TOMKQNJw - 100c74fdf2bb - 20150706 (trained as not-spam) Received-SPF: pass (filter2-til.mf.surf.net: domain of context@rik.users.panix.com designates 166.84.1.89 as permitted sender) receiver=filter2-til.mf.surf.net; client-ip=166.84.1.89; envelope-from=; helo=mailbackend.panix.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:91809 Archived-At: This is a multi-part message in MIME format. --===============1965369662== Content-Type: multipart/alternative; boundary="------------090002040706060903060507" This is a multi-part message in MIME format. --------------090002040706060903060507 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable List folk: In the MWE below, everything builds cleanly if the \setupdelimitedtext=20 line is removed. With it removed, however, quote marks protrusion looks=20 poor when nearby quote marks in non-quotation text is allowed to=20 protrude. The happens when there is a citation in a footnote in the=20 quoted text. Is this a bug, or simply something not yet ready with the new regime, or=20 am I doing something wrong? % The next line should allow \startquotation to protrude quotes \setupdelimitedtext[quotation][method=3Dfont] % However, it causes the new bib code to fail when there is a % footnote containing a citation in the quote. See % http://www.mail-archive.com/ntg-context@ntg.nl/msg35580.html \definefontfeature [default][protrusion=3Dquality] \setupalign [hz,hanging] \usebtxdataset [xx.bib] \starttext \startparagraph\noindent There is a citation in the footnote to this standard paragraph\footnote{This footnote has a citation \cite[One].} \stopparagraph \startquotation[right] There is a citation in the footnote to this block quotation\footnote{This footnote has a citation \cite[Two].} \stopquotation \startparagraph\noindent =E2=80=9CThere is a citation in the footnote to this standard paragraph\footnote{This footnote has a citation \cite[One].}=E2=80=9D \stopparagraph \placelistofpublications \stoptext And the corresponding xx.bib file: @BOOK{One, author =3D {A. N. Author}, title =3D {A Book Title}, year =3D {2017}, publisher =3D {Self}, address =3D {sine loco}, } @ARTICLE{Two, author =3D {N. O. Author}, title =3D {A Pipe}, journal =3D {The Journal}, year =3D {2018}, volume =3D {32}, number =3D {3}, pages =3D {42--69}, } --=20 Rik Kabel --------------090002040706060903060507 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable List folk:

In the MWE below, everything builds cleanly if the \setupdelimite= dtext line is removed. With it removed, however, quote marks protrusion looks poor when nearby quote marks in non-quotation text is allowed to protrude. The happens when there is a citation in a footnote in the quoted text.

Is this a bug, or simply something not yet ready with the new regime, or am I doing something wrong?
% The next line should allow \startquotation to protrude quotes
\setupdelimitedtext[quotation][method=3Dfont]
% However, it causes the new bib code to fail when there is a
%=C2=A0=C2=A0 footnote containing a citation in the quote. See<= /tt>
%=C2=A0=C2=A0 http://www.mail-archive.com/ntg-c= ontext@ntg.nl/msg35580.html
\definefontfeature [default][protrusion=3Dquality]
\setupalign=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [hz,hangi= ng]
\usebtxdataset=C2=A0=C2=A0=C2=A0=C2=A0 [xx.bib]
\starttext
\startparagraph\noindent
=C2=A0 There is a citation in the footnote to this standard paragraph\footnote{This footnote has a citation \cite[One].}=
\stopparagraph
\startquotation[right]
=C2=A0 There is a citation in the footnote to this block quotation\footnote{This footnote has a citation \cite[Two].}=
\stopquotation
\startparagraph\noindent
=E2=80=9CThere is a citation in the footnote to this standard paragraph\footnote{This footnote has a citation \cite[One].}=E2=80= =9D
\stopparagraph
\placelistofpublications
\stoptext
And the corresponding xx.bib file:
@BOOK{One,
=C2=A0 author=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {A. N. Auth= or},
=C2=A0 title=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {A Boo= k Title},
=C2=A0 year=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {= 2017},
=C2=A0 publisher=C2=A0=C2=A0=C2=A0 =3D {Self},
=C2=A0 address=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {sine loco},
}

@ARTICLE{Two,
=C2=A0 author=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {N. O. Auth= or},
=C2=A0 title=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {A Pip= e},
=C2=A0 journal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {The Journal}, =C2=A0 year=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {= 2018},
=C2=A0 volume=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {32},
=C2=A0 number=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {3},
=C2=A0 pages=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D {42--6= 9},
}
--
Rik Kabel


--------------090002040706060903060507-- --===============1965369662== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1965369662==--