# [tex-live] dvipdfmx: Two (related) special queries

Shunsaku Hirata shunsaku.hirata74 at gmail.com
Mon Jul 3 16:21:36 CEST 2017

Hi Joseph,

(Sorry for sending again. I forgot to send it to TeXLive Mailing List too)

2017-07-03 17:05 GMT+09:00 Joseph Wright <joseph.wright at morningstar2.co.uk>:

> The first issue is the equivalent of "\pdfliteral direct{...}". That
> should be \special{pdf:literal direct ...}/\special{pdf:code ...}.
> However, if one tries to do that to put a comment in the PDF stream (see
> below) it fails.

Dvipdfmx removes leading comment-lines and white space characters.

> The second query is about the compress level. I can set that at the
> dvipdfmx level using the -z0 switch. However, I'm not entirely clear if
> that is the same as applying
>
>     \pdfcompresslevel=0
>     \pdfobjcompresslevel=0
>
> in pdfTeX.

The 'z' option does not control the use of object stream.
The "-C 0x40" option flag is the same as applying \pdfobjcompresslevel=0.

Shunsaku Hirata