-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConTeXt writer: attempt to generate PDF/A #4294
Conversation
Would it be cleaner to make this conditional on the |
That is a good idea. I also added some docs. |
What colour profile it is looking for? |
sRGB? Can't we ship sRGB profile from http://www.color.org/srgbprofiles.xalter? It seems to have very permissive license:
|
I'd rather not get into the business of distributing such files with pandoc, even if the licensing terms allow it. |
@wilx I have documented which color profiles you need and where to get them. Lines 1627 to 1645 in 0ef5665
|
Adresses #3215
As a demo I used this minimal markdown example:
# First section Hello World!
I generated ConTeXt source using
and produced a PDF using ConTeXt standalone with the required ICC profiles installed. The resulting PDF can be verified using the Apache PDFBox preflight app.
Instructions on how to install the ICC profiles on ConTeXt standalone can be found in the wiki: http://wiki.contextgarden.net/PDFX#ICC_profiles
If the ICC profiles are not available the log will contain messages like these
and the resulting PDF will not be valid PDF/A
but the PDF will still be generated and the "errors" shown in the log do not break anything.