[pdftex] Broken PDF output from WEB and CWEB input

Andreas Scherer andreas_tex at freenet.de
Sat Feb 13 11:49:57 CET 2021


Am 11.02.21 um 12:05 schrieb Andreas Scherer:
> Case closed!

Well, not quite.

$ weave weave.web; pdftex weave.tex

produces 'weave.pdf' that gives tons of messages à la
     {Path|Text} object uses {Gray|RGB} based color space.
on https://freepdfonline.com/verifypdfa/

Asking Auntie Google about this leads to this thread:
https://tex.stackexchange.com/questions/61217/latex-color-and-icc-color-profile

Downloading ICC profile 'sRGB2014.icc' from
http://www.color.org/srgbprofiles.xalter#v2
and adding the relevant PDF code in '\ifpdftex' purges _all_ of these 
color warnings.  What's left are these 'Preflight Results':

     Document Results
     XRef cannot be an object stream (not a PDF 1.4 compatible feature)
     Metadata key missing in root catalog
     MarkInfo dictionary is not present
     Structure Tree Root missing.

     Page 1 Results:
     Link Annotation's F key is missing
     Unicode info not available for font -- tons of these on every page.

See the attached report file for details.

Possible plans for C/WEB:
(1) Refine the layout of the newly added code in 'pwebmac.tex'
(2) Create similar code for XeTeX/dvipdfm
(3) Copy this code in 'cwebmac.tex' and 'pdfctwimac.tex'.

Current experiments are in branch 
https://github.com/ascherer/web/tree/pdf-icc-color-profiles

Help would be appreciated. TIA!

-- Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weave-pdftex-report-sRGB.pdf
Type: application/pdf
Size: 33053 bytes
Desc: not available
URL: <https://tug.org/pipermail/pdftex/attachments/20210213/34293192/attachment-0001.pdf>


More information about the pdftex mailing list.