Hi Gerben,[…]I’ve tried to add this to my environment and product file, but even without using it, it ends in an error:(/usr/local/texlive/2014/texmf-dist/tex/context/base/spec-tpd.mkiispecials : loading definition file fdf(/usr/local/texlive/2014/texmf-dist/tex/context/base/spec-fdf.mkii))! Undefined control sequence.l.5 {\doifcheckedpagestate{#5}%?GI think you are using mkii, while the code sent by Hans and containing\doifcheckedpagestateis intended for use with mkiv.