On 01 Aug 2014, at 16:13, Otared Kavian <otared@gmail.com> wrote:

[…]
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.mkii
specials        : loading definition file fdf
(/usr/local/texlive/2014/texmf-dist/tex/context/base/spec-fdf.mkii))
! Undefined control sequence.
l.5  {\doifcheckedpagestate
                           {#5}%
?

G

Hi Gerben,

I think you are using mkii, while the code sent by Hans and containing
\doifcheckedpagestate
is intended for use with mkiv.

I suspected as such. I’m afraid to move to mkiv at this stage of my project. Is mkiv downwards compatible with mkii? What must I do to see if my project compiles with mkiv? I’m running currently commands like

texexec --pdf —standalone —once prd_book.tex

(all than not with —standalone and —once)

G