Dear list, [I accidentally discovered this issue when validating PDF/A documents with veraPDF.] I have the following sample: \nopdfcompression \setuptagging[state=start] \starttext \startTEXpage[offset=1em] \TeX \stopTEXpage \stoptext The resulting PDF document contains a catalog with the entry "/MarkInfo 17 0 R". If compiled with betas up to 2017.10.15 12:29, the PDF object reads: 17 0 obj << /Marked true >> endobj If compiled with betas starting from 2017.10.19 13:50, the PDF object is empty: 17 0 obj << >> endobj Line 153 in lpdf-tag.lua was changed from its original content in beta 2017.10.15 12:29: Marked = pdfboolean(true), to the new content in beta 2017.10.19 13:50: Marked = lpdf.majorversion == 1 and pdfboolean(true) or nil, I wonder whether this may be related to the LuaTeX version. But this is the newest version from the ConTeXt Suite for the Linux 32bit platform (in beta from 17.10.19 13:50): This is LuajitTeX, Version 1.05.0 (TeX Live 2017) Is this also an issue with more recent LuaTeX versions? Sorry for asking this in the developers’ mailing list, but checking it may be too technical for the standard mailing list. Many thanks for your help, Pablo -- http://www.ousia.tk
On 10/23/2017 8:40 PM, Pablo Rodriguez wrote:
Dear list,
[I accidentally discovered this issue when validating PDF/A documents with veraPDF.]
I have the following sample:
\nopdfcompression \setuptagging[state=start] \starttext \startTEXpage[offset=1em] \TeX \stopTEXpage \stoptext
The resulting PDF document contains a catalog with the entry "/MarkInfo 17 0 R". If compiled with betas up to 2017.10.15 12:29, the PDF object reads:
17 0 obj << /Marked true >> endobj
If compiled with betas starting from 2017.10.19 13:50, the PDF object is empty:
17 0 obj << >> endobj
Line 153 in lpdf-tag.lua was changed from its original content in beta 2017.10.15 12:29:
Marked = pdfboolean(true),
to the new content in beta 2017.10.19 13:50:
Marked = lpdf.majorversion == 1 and pdfboolean(true) or nil,
for now change that to lpdf.majorversion()
I wonder whether this may be related to the LuaTeX version. But this is the newest version from the ConTeXt Suite for the Linux 32bit platform (in beta from 17.10.19 13:50):
This is LuajitTeX, Version 1.05.0 (TeX Live 2017)
Is this also an issue with more recent LuaTeX versions?
Unrelated . The engine as well are context are made ready for pdf version 2 so that's why you get such side effects. The engine is not affected when version 2 is not set.
Sorry for asking this in the developers’ mailing list, but checking it may be too technical for the standard mailing list. I don't know. PDF issues have been discussed there before.
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 10/23/2017 09:53 PM, Hans Hagen wrote:
On 10/23/2017 8:40 PM, Pablo Rodriguez wrote:
[...] to the new content in beta 2017.10.19 13:50:
Marked = lpdf.majorversion == 1 and pdfboolean(true) or nil,
for now change that to
lpdf.majorversion()
Many thanks for your fix, Hans.
This is LuajitTeX, Version 1.05.0 (TeX Live 2017)
Is this also an issue with more recent LuaTeX versions?
Unrelated . The engine as well are context are made ready for pdf version 2 so that's why you get such side effects. The engine is not affected when version 2 is not set.
I didn’t know that both LuaTeX and ConTeXt were ready for PDF-2.
Sorry for asking this in the developers’ mailing list, but checking it may be too technical for the standard mailing list. I don't know. PDF issues have been discussed there before.
Ok, next time I will only provide patches (the very few I’m able to type) here. Many thanks for your help, Pablo -- http://www.ousia.tk
On 10/23/2017 10:07 PM, Pablo Rodriguez wrote:
On 10/23/2017 09:53 PM, Hans Hagen wrote:
On 10/23/2017 8:40 PM, Pablo Rodriguez wrote:
[...] to the new content in beta 2017.10.19 13:50:
Marked = lpdf.majorversion == 1 and pdfboolean(true) or nil,
for now change that to
lpdf.majorversion()
Many thanks for your fix, Hans.
This is LuajitTeX, Version 1.05.0 (TeX Live 2017)
Is this also an issue with more recent LuaTeX versions?
Unrelated . The engine as well are context are made ready for pdf version 2 so that's why you get such side effects. The engine is not affected when version 2 is not set.
I didn’t know that both LuaTeX and ConTeXt were ready for PDF-2.
it looks like viewers don't care much as you can throw a 2.0 version pdf to them
Sorry for asking this in the developers’ mailing list, but checking it may be too technical for the standard mailing list. I don't know. PDF issues have been discussed there before.
Ok, next time I will only provide patches (the very few I’m able to type) here.
just choose the list you think most suitable (often for pdf it helps when more folks test) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Pablo Rodriguez