From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89657 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Footnote breaks tagging Date: Mon, 29 Dec 2014 15:38:07 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0618424464==" X-Trace: ger.gmane.org 1419863952 24398 80.91.229.3 (29 Dec 2014 14:39:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 14:39:12 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 29 15:39:08 2014 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 1Y5bTP-000778-F1 for gctc-ntg-context-518@m.gmane.org; Mon, 29 Dec 2014 15:39:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C32FB10227 for ; Mon, 29 Dec 2014 15:39:01 +0100 (CET) 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 XMwc76HknWnn for ; Mon, 29 Dec 2014 15:39:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 752F810231 for ; Mon, 29 Dec 2014 15:38:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F14D5101EC for ; Mon, 29 Dec 2014 15:38:30 +0100 (CET) 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 whIZyTv7cBsa for ; Mon, 29 Dec 2014 15:38:30 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 447A7101EA for ; Mon, 29 Dec 2014 15:38:30 +0100 (CET) Original-Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sBTEcSQm002960 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 29 Dec 2014 15:38:29 +0100 Original-Received: by mail-ig0-f182.google.com with SMTP id hn15so11378027igb.3 for ; Mon, 29 Dec 2014 06:38:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=89wmQaBz+jZbRv4TfkpG91uWSnVt+sfrU1KK5riltgM=; b=kVbiArLqA4yN14t3IiFWWTplwBWBIPtF0I5eVxVWsa+kjf4rpgdAU7P/nmNY8oTLRv trQqX/Ox8tv3rCkEZhoBSrpbWb/JhjV/ZZHy8cN2AeIXGwG42EsyXPYP/EUcAuf3D0AQ L8dUkrbTY7AqaPkOYmD0YUUnVyOTQLPVVELswxN5WasNH4DF76S3Ky0afN15WdC7m118 hgvg1Xel1jvv1iQ3CwBJlFt1TKg3Pl4+tuYN2y5k8XCrLSsuem7bP3XAz6ldOUZMI1br lVKDJgg0yKtnlSOZHfyuMbllqihsj0DdEIqyQuL3ezOKkakdQ24BrIgYBAg2DwlTjd/s pxWA== X-Received: by 10.107.34.149 with SMTP id i143mr44417174ioi.20.1419863907689; Mon, 29 Dec 2014 06:38:27 -0800 (PST) Original-Received: by 10.107.165.149 with HTTP; Mon, 29 Dec 2014 06:38:07 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::236; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03NxqCtqA - 699fb36234a3 - 20141229 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of christoph.reller@gmail.com designates 2607:f8b0:4001:c05::236 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2607:f8b0:4001:c05::236; envelope-from=; helo=mail-ig0-x236.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) 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:89657 Archived-At: --===============0618424464== Content-Type: multipart/alternative; boundary=001a11403270d8ea2a050b5bd366 --001a11403270d8ea2a050b5bd366 Content-Type: text/plain; charset=UTF-8 Hi, ConTeXt mkiv is the only TeX-based typesetting system that can produce tagged PDFs and this is a really useful feature. Unfortunately, footnotes seem to upset tagging. MWE: \setuptagging[state=start] \starttext Text\footnote{Note} \stoptext In the resulting PDF, the structure tree seems okay to me, but the content stream is defect: 0 g 0 G BT /F1 11.955168 Tf 1 0 0 1 280.5345 760.6422 Tm [<00520067>]TJ ET /document <>BDC BT /F1 11.955168 Tf 1 0 0 1 70.867 702.3845 Tm [<0068>82<003200740069>]TJ ET EMC BT /F6 7.970112 Tf 1 0 0 1 94.2752 706.0772 Tm [<0052>]TJ ET EMC q 1 0 0 1 70.867 131.9542 cm []0 d 0 J 0.3985 w 0 0 m 85.0373 0 l S Q /descriptiontag <>BDC 0 g 0 G EMC BT /F6 7.970112 Tf 1 0 0 1 61.6535 122.7515 Tm [<0052>]TJ ET EMC /descriptioncontent <>BDC BT /F5 9.96264 Tf 1 0 0 1 70.867 119.0587 Tm [<004C005100690032>]TJ ET EMC Clearly, in the content (around line 10) we miss something like /sup <>BDC I hope that this is a minor issue in the processing of footnotes. I would very much appreciate if you could fix this bug. Cheers, Christoph --001a11403270d8ea2a050b5bd366 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

ConTeXt mkiv is the only TeX-based = typesetting system that can produce tagged PDFs and this is a really useful= feature. Unfortunately, footnotes seem to upset tagging. MWE:
\setuptagging[state=3Dstart]
\starttext
Text\footnote{Note}
\stoptext

=
In the resulting PDF, the structure tree seems okay to me, but t= he content stream is defect:

0 g 0 G
BT
/F1 11.955168 Tf 1 0 0 1 280.5345 760.6422 Tm [<00520067&= gt;]TJ
ET
/document <</MCID 0>>BDC
BT
/F1 11.955168 Tf 1 0 0 1 70.867 702.3845 Tm [<0068>82&= lt;003200740069>]TJ
ET
EMC
BT
/F= 6 7.970112 Tf 1 0 0 1 94.2752 706.0772 Tm [<0052>]TJ
ET
EMC
q
1 0 0 1 70.867 131.9542 cm
[]0 d= 0 J 0.3985 w 0 0 m 85.0373 0 l S
Q
/descriptiontag <= ;</MCID 2>>BDC
0 g 0 G
EMC
BT
<= div>/F6 7.970112 Tf 1 0 0 1 61.6535 122.7515 Tm [<0052>]TJ
= ET
EMC
/descriptioncontent <</MCID 4>>BDC
BT
/F5 9.96264 Tf 1 0 0 1 70.867 119.0587 Tm [<004C00= 5100690032>]TJ
ET
EMC

Clearly, in the content (around line 10) we miss something like=C2=A0
/sup <</MCID 1>>BDC
I hope that this is a minor= issue in the processing of footnotes. I would very much appreciate if you = could fix this bug.

Cheers,
Christoph

--001a11403270d8ea2a050b5bd366-- --===============0618424464== 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= --===============0618424464==--