# [NTG-pdftex] bug

Martin Schröder martin at oneiros.de
Wed Jan 3 13:14:24 CET 2007

2007/1/2, Hans Hagen <pragma at wxs.nl>:
> ! pdfTeX error (\pdfglyphtounicode): not allowed in DVI mode (\pdfoutput
> <= 0).
> l.1 \pdfglyphtounicode
>
> this is wrong i.e. it should be possible to generate a format which can
> produce both dvi and pdf and in that case one should be able to preload
> the unicode mappings

It's easy to leave out the test for pdf output (it won't do any harm
in dvi mode). But ideally it should only work in pdf or initex mode,
right?

Best
Martin