[NTG-context] PDF/A and \chemical

Axel Kielhorn tex at axelkielhorn.de
Thu Jan 3 09:43:14 CET 2019


A happy new year to everyone!

I’m trying to generate PDF/A compliant files and have a Problem with chemical formulas in text.
The following does not work:

\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}

Das kann man auch als Textformel darstellen: \chemical{2 H_2,PLUS,O_2,GIVES,2 H_2O}.

\input tufte

\stoptext

If I include the \chemical command inside a

\startchemicalformula \stopchemicalformula

everything works.

What am I missing?

Greetings Axel


More information about the ntg-context mailing list