LMTX and PDF document form German »Bundesgesetzblatt«
Dear list, for some reason unknown to me, LMTX has problems with PDF documents comming form the German official gazzette. http://www.bgbl.de/xaver/bgbl/start.xav?startbk=Bundesanzeiger_BGBl&jumpTo=bgbl122s0928.pdf contains one of the documents and here is a minimal sample: \setuplayout[page] \starttext \externalfigure[bgbl_Bundesgesetzblatt Teil I_2022_Nr. 20 vom 22.06.2022_bgbl122s0928.pdf] \stoptext The source above distorts the page presentation with LMTX, but it is perfectly fine with LuaTeX. Could anyone confirm the issue? Many thanks for your help, Pablo
Hi Pablo, the same here! Thomas Am 23.09.24 um 08:06 schrieb Pablo Rodriguez via ntg-context:
Dear list,
for some reason unknown to me, LMTX has problems with PDF documents comming form the German official gazzette.
http://www.bgbl.de/xaver/bgbl/start.xav?startbk=Bundesanzeiger_BGBl&jumpTo=bgbl122s0928.pdf contains one of the documents and here is a minimal sample:
\setuplayout[page] \starttext \externalfigure[bgbl_Bundesgesetzblatt Teil I_2022_Nr. 20 vom 22.06.2022_bgbl122s0928.pdf] \stoptext
The source above distorts the page presentation with LMTX, but it is perfectly fine with LuaTeX.
Could anyone confirm the issue?
Many thanks for your help,
Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist :ntg-context@ntg.nl /https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage :https://www.pragma-ade.nl /https://context.aanhet.net (mirror) archive :https://github.com/contextgarden/context wiki :https://wiki.contextgarden.net ___________________________________________________________________________________
On 9/23/24 09:57, Thomas Meyer wrote:
Hi Pablo,
the same here!
Many thanks for your reply, Thomas. I’m afraid I also experience this with https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=OJ:L_202401788 (EU Official Journal). Even the first page displays the issue: \setuplayout[page] \starttext \externalfigure[OJ_L_202401788_EN_TXT.pdf] \stoptext Again, LuaTeX has no issues with this document. Just in case it might help to find the cause, Pablo
Am Mon, 23 Sep 2024 08:06:59 +0200 schrieb Pablo Rodriguez via ntg-context:
Dear list,
for some reason unknown to me, LMTX has problems with PDF documents comming form the German official gazzette.
http://www.bgbl.de/xaver/bgbl/start.xav?startbk=Bundesanzeiger_BGBl&jumpTo=bgbl122s0928.pdf contains one of the documents and here is a minimal sample:
\setuplayout[page] \starttext \externalfigure[bgbl_Bundesgesetzblatt Teil I_2022_Nr. 20 vom 22.06.2022_bgbl122s0928.pdf] \stoptext
The source above distorts the page presentation with LMTX, but it is perfectly fine with LuaTeX.
Could anyone confirm the issue?
LMTX seems to clean up the included PDF and removes the tagging structure, but this is not properly done. There are still various /Artifact BMC /Span << /ActualText <FEFF00AD> >> BDC without closing EMC around. (The /Span is from hyphens at the end of lines and so not part of the structure tree). -- Ulrike Fischer http://www.troubleshooting-tex.de/
Ulrike Fischer schrieb am 23.09.2024 um 16:16:
Am Mon, 23 Sep 2024 08:06:59 +0200 schrieb Pablo Rodriguez via ntg-context:
Dear list,
for some reason unknown to me, LMTX has problems with PDF documents comming form the German official gazzette.
http://www.bgbl.de/xaver/bgbl/start.xav?startbk=Bundesanzeiger_BGBl&jumpTo=bgbl122s0928.pdf contains one of the documents and here is a minimal sample:
\setuplayout[page] \starttext \externalfigure[bgbl_Bundesgesetzblatt Teil I_2022_Nr. 20 vom 22.06.2022_bgbl122s0928.pdf] \stoptext
The source above distorts the page presentation with LMTX, but it is perfectly fine with LuaTeX.
Could anyone confirm the issue? LMTX seems to clean up the included PDF and removes the tagging structure, but this is not properly done. There are still various
/Artifact BMC /Span << /ActualText <FEFF00AD> >> BDC
without closing EMC around. (The /Span is from hyphens at the end of lines and so not part of the structure tree).
The feature can be disabled with \externalfigure[...][compact=no]. Wolfgang
participants (4)
-
Pablo Rodriguez
-
Thomas Meyer
-
Ulrike Fischer
-
Wolfgang Schuster