[pdftex] [CWEB] Validation of PDF output fails
Ross Moore
ozross at icloud.com
Thu Jun 16 21:28:48 CEST 2022
Hi Andreas.
Glad you could track the ultimate cause of the issue. However I do not yet understand just what was actually going wrong inside the PDF.
Those extra validations you did could never work, as they were for PDF/A. But certainly the document was not claiming this, so the errors being reported were not applicable. Of course things required in PDFA would be missing.
A possible test might be to put
\pdfminorversion=4
(or 6 or 7) to see what difference this makes in the validation.
To have any effect this must be done very early in the TeX source.
And also setting
\pdfcompresslevel=0
\pdfobjcompresslevel=0
results in an uncompressed PDF which can be viewed in a text editor.
Then a diff tool can be used to compare the results from the different minor versions, to locate what (if anything) is version dependent.
All the best.
Ross
Sent from my iPhone
> On 17 Jun 2022, at 12:09 am, Andreas Scherer <andreas_tex at freenet.de> wrote:
>
> Hello, again!
>
>> this new issue for CWEB (https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fascherer%2Fcweb%2Fissues%2F39&data=05%7C01%7Cross.moore%40mq.edu.au%7C28d18f258e454ca7d99608da4fa1b4b6%7C82c514c1a7174087be06d40d2070ad52%7C0%7C0%7C637909853611040187%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=L5MFoipmf1sy2eCZj0FW8F5TRmULCIqtMu2m2GVeBkA%3D&reserved=0)
> was caused by a twenty year old bug in 'cwebmac.tex'!
>
> '\pdftextrue' does _not_ also mean '\pdftrue' in the old sense of 'cwebmac.tex'. However, 'iftex.sty' sets '\pdftrue' for the PDFTeX engine, too, for obvious reasons.
>
> Case closed!
> Andreas
>
More information about the pdftex
mailing list.