Attempting to Generate PDF/A in LMTX
Following the instructions on https://wiki.contextgarden.net/PDF/A, I am receiving errors that the *.icc files cannot be located. I have saved the *.icc files in ~/context-osx-arm64/tex/texmf-context/colors/icc/profiles per the instructions. Here's an excerpt from the log: backend > profiles > profile specification 'default_cmyk.icc' loaded from '/Users/jinho/context-osx-arm64/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'default_cmyk.icc' backend > profiles > no default profile 'default_cmyk.icc' for colorspace 'cmyk' backend > profiles > profile specification 'default_rgb.icc' loaded from '/Users/jinho/context-osx-arm64/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'default_rgb.icc' backend > profiles > no default profile 'default_rgb.icc' for colorspace 'rgb' backend > profiles > profile specification 'default_gray.icc' loaded from '/Users/jinho/context-osx-arm64/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'default_gray.icc' backend > profiles > no default profile 'default_gray.icc' for colorspace 'gray' backend > profiles > profile specification 'ISO coated v2 300% (ECI)' loaded from '/Users/jinho/context-osx-arm64/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'ISOcoated_v2_300_eci.icc' backend > profiles > invalid output intent 'ISO Coated v2 300% (ECI)' Here is a MWE that generates these errors: setupinteraction [title=TITLE, subtitle=SUBTITLE, author=AUTHOR, keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}] %% For PDF/A \setupbackend[ format={pdf/a-1b:2005}, % or pdf/a-1a:2005 profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}, intent=ISO coated v2 300\letterpercent\space (ECI)] %% Tagged PDF %% method=auto ==> default tags by Adobe \setupbackend[export=yes] \setupstructure[state=start,method=auto] \starttext \chapter[chap:testing]{Testing} \input knuth \input tufte \input knuth \input tufte \input knuth \input tufte \stoptext What seems to be going wrong? Is the software looking for the *.icc profiles in a different place? Thank you! ~ Jin-Ho. -- "Ad astra per alas porci."
Am 04.10.23 um 07:45 schrieb Jin-Ho King:
Following the instructions on https://wiki.contextgarden.net/PDF/A https://wiki.contextgarden.net/PDF/A, I am receiving errors that the *.icc files cannot be located. I have saved the *.icc files in ~/context-osx-arm64/tex/texmf-context/colors/icc/profiles per the instructions. Here's an excerpt from the log:
backend > profiles > profile specification 'default_cmyk.icc' loaded from '/Users/jinho/context-osx-arm64/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'default_cmyk.icc' backend > profiles > no default profile 'default_cmyk.icc' for colorspace 'cmyk' backend > profiles > profile specification 'default_rgb.icc' loaded from '/Users/jinho/context-osx-arm64/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'default_rgb.icc' backend > profiles > no default profile 'default_rgb.icc' for colorspace 'rgb' backend > profiles > profile specification 'default_gray.icc' loaded from '/Users/jinho/context-osx-arm64/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'default_gray.icc' backend > profiles > no default profile 'default_gray.icc' for colorspace 'gray' backend > profiles > profile specification 'ISO coated v2 300% (ECI)' loaded from '/Users/jinho/context-osx-arm64/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'ISOcoated_v2_300_eci.icc' backend > profiles > invalid output intent 'ISO Coated v2 300% (ECI)'
Here is a MWE that generates these errors:
setupinteraction [title=TITLE, subtitle=SUBTITLE, author=AUTHOR, keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]
%% For PDF/A \setupbackend[ format={pdf/a-1b:2005}, % or pdf/a-1a:2005 profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}, intent=ISO coated v2 300\letterpercent\space (ECI)]
Usually, there are no profiles with names like default_*.icc; use the names of your actual profiles. Or did you rename them? Hraban
Thank you for your response. I did not rename any profiles; I simply followed the instructions on https://wiki.contextgarden.net/PDF/A Would you be able to share a MWE that correctly generates a PDF/A without errors?
Am 05.10.23 um 02:00 schrieb jinho.king@gmail.com:
Thank you for your response. I did not rename any profiles; I simply followed the instructions on https://wiki.contextgarden.net/PDF/A
Would you be able to share a MWE that correctly generates a PDF/A without errors?
No, sorry, never tried. I’m only concerned with PDF/X, and even that I just fix with Acrobat Pro. Hraban
participants (3)
-
Henning Hraban Ramm
-
Jin-Ho King
-
jinho.king@gmail.com