ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Attempting to Generate PDF/A in LMTX
@ 2023-10-04  5:45 Jin-Ho King
  2023-10-04  7:02 ` [NTG-context] " Henning Hraban Ramm
  0 siblings, 1 reply; 4+ messages in thread
From: Jin-Ho King @ 2023-10-04  5:45 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 2394 bytes --]

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."

[-- Attachment #1.2: Type: text/html, Size: 4093 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: Attempting to Generate PDF/A in LMTX
  2023-10-04  5:45 [NTG-context] Attempting to Generate PDF/A in LMTX Jin-Ho King
@ 2023-10-04  7:02 ` Henning Hraban Ramm
  2023-10-05  0:00   ` jinho.king
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm @ 2023-10-04  7:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: Attempting to Generate PDF/A in LMTX
  2023-10-04  7:02 ` [NTG-context] " Henning Hraban Ramm
@ 2023-10-05  0:00   ` jinho.king
  2023-10-05 16:22     ` Henning Hraban Ramm
  0 siblings, 1 reply; 4+ messages in thread
From: jinho.king @ 2023-10-05  0:00 UTC (permalink / raw)
  To: ntg-context

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?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : {listname} / https://mailman.ntg.nl/mailman3/lists/{list_id}
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context 
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: Attempting to Generate PDF/A in LMTX
  2023-10-05  0:00   ` jinho.king
@ 2023-10-05 16:22     ` Henning Hraban Ramm
  0 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2023-10-05 16:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : {listname} / https://mailman.ntg.nl/mailman3/lists/{list_id}
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context 
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-05 16:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-04  5:45 [NTG-context] Attempting to Generate PDF/A in LMTX Jin-Ho King
2023-10-04  7:02 ` [NTG-context] " Henning Hraban Ramm
2023-10-05  0:00   ` jinho.king
2023-10-05 16:22     ` Henning Hraban Ramm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).