2

I am running my LaTeX from the TexStudio GUI. How can I compile/export to PDF/A format? Is there an easy way to do it without converting through some external method?

  • To convert your existing PDF to PDF/A you can use the preflight tool of Adobe Acrobat Pro. – Henri Menke Aug 30 '18 at 22:10
2

pdfx now accesses the default RGB and CMYK profiles using the new colorprofiles package; in particular using a file called colorprofiles.tex (as well as colorprofiles.sty ). A change in the distributed profiles was forced by a change in the licensing of a previous file, making it no longer free to be distributed with Linux distributions; hence not with TeXLive.

2

I recommend the package https://ctan.org/pkg/pdfx. It has options to for various PDF/A-standards and I used it successfully on one of my projects. You should pay attention to the manual.

Edit: Please read the fine manual (RTFM); there is not always free lunch in TeX. E.g. sections 1, 2.5: you could write a file jobname.xmpdata with the contents

\pdfxSetCMYKcolorProfileDir{/myDirectory/ColorSync/Profiles/}
\setCMYKcolorprofile{PSO_Uncoated_ISO12647_eci.icc}
                    {PSO_Uncoated_ISO12647_eci}
                    {PSO Uncoated ISO12647 (ECI)}
                    {http://www.eci.org/en/start}

where your color profiles are installed in the directory mentioned above. You can download color profiles from http://www.eci.org/en/downloads.

You could also pay attention to Using pdfx with LuaLaTeX results in error.

Please pay attention to the comments by https://tex.stackexchange.com/users/85415/dd23 below.

  • 1
    I tried that but I keep getting the "No color profile found to use for RGB screen colors." error from the pdfx.sty file – AIM_BLB Aug 30 '18 at 18:26
  • @AIM_BLB As I said, you need to pay attention to the manual. The package (or the standard, resp) requires to fix a color profile, compare section 2.5 of the manual. – CampanIgnis Aug 30 '18 at 18:31
  • 1
    There is also the xmpincl package that produces pdf/a files, see for example tex.stackexchange.com/questions/314171/… – Marijn Aug 30 '18 at 21:24
  • 1
    The pdfx manual in section 2.5 also says "Since most LaTeX users are not graphics professionals and are not particularly picky about colors, the pdfx package includes default profiles that will be included when nothing else is specified. Therefore, the average user doesn’t have to do anything special about color." Without specifying anything (this used to work until the most recent texlive update on Arch Linux), I'm now also getting the following error: "pdfx.sty:1301: No color profile found to use for RGB screen colors". Even when I try to specify icc files, the error remains. – dd23 Dec 3 '18 at 15:02
  • 1
    Apparently texlive has recently renamed some color profiles… Adding the following to your \jobname.xmpdata fixes my problem: \setRGBcolorprofile{sRGB.icc} {sRGB_IEC61966-2-1_black_scaled} {sRGB IEC61966 v2.1 with black scaling} {color.org} The .icc file had a different name before… – dd23 Dec 3 '18 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.