Re: Broken PDF output from WEB and CWEB input
Andreas Scherer <[email protected]> Sat, 13 Feb 2021 11:49:57 +0100
| Newsgroups | gmane.comp.tex.pdftex |
|---|---|
| Message-ID | <[email protected]> |
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
weave-pdftex-report-sRGB.pdf
(application/pdf, 32.3 KB) - not displayed