ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jin-Ho King" <jinho.king@gmail.com>
To: ntg-context@ntg.nl
Subject: [NTG-context] Attempting to Generate PDF/A in LMTX
Date: Wed, 04 Oct 2023 01:45:24 -0400	[thread overview]
Message-ID: <0c8e316e-3c42-482b-9895-e2fec7304493@app.fastmail.com> (raw)


[-- 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
___________________________________________________________________________________

             reply	other threads:[~2023-10-04  5:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-04  5:45 Jin-Ho King [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0c8e316e-3c42-482b-9895-e2fec7304493@app.fastmail.com \
    --to=jinho.king@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).