ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] LMTX and PDF document form German »Bundesgesetzblatt«
@ 2024-09-23  6:06 Pablo Rodriguez via ntg-context
  2024-09-23  7:57 ` [NTG-context] " Thomas Meyer
  2024-09-23 14:16 ` Ulrike Fischer
  0 siblings, 2 replies; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-09-23  6:06 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: LMTX and PDF document form German »Bundesgesetzblatt«
  2024-09-23  6:06 [NTG-context] LMTX and PDF document form German »Bundesgesetzblatt« Pablo Rodriguez via ntg-context
@ 2024-09-23  7:57 ` Thomas Meyer
  2024-09-23 13:24   ` Pablo Rodriguez via ntg-context
  2024-09-23 14:16 ` Ulrike Fischer
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Meyer @ 2024-09-23  7:57 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1241 bytes --]

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
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 2277 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: LMTX and PDF document form German »Bundesgesetzblatt«
  2024-09-23  7:57 ` [NTG-context] " Thomas Meyer
@ 2024-09-23 13:24   ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-09-23 13:24 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context]  Re: LMTX and PDF document form German »Bundesgesetzblatt«
  2024-09-23  6:06 [NTG-context] LMTX and PDF document form German »Bundesgesetzblatt« Pablo Rodriguez via ntg-context
  2024-09-23  7:57 ` [NTG-context] " Thomas Meyer
@ 2024-09-23 14:16 ` Ulrike Fischer
  2024-09-23 14:23   ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Ulrike Fischer @ 2024-09-23 14:16 UTC (permalink / raw)
  To: ntg-context

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/

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: LMTX and PDF document form German »Bundesgesetzblatt«
  2024-09-23 14:16 ` Ulrike Fischer
@ 2024-09-23 14:23   ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2024-09-23 14:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-23 14:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-23  6:06 [NTG-context] LMTX and PDF document form German »Bundesgesetzblatt« Pablo Rodriguez via ntg-context
2024-09-23  7:57 ` [NTG-context] " Thomas Meyer
2024-09-23 13:24   ` Pablo Rodriguez via ntg-context
2024-09-23 14:16 ` Ulrike Fischer
2024-09-23 14:23   ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).