[dvipdfmx] pdf:page , pdf:direct

Alexander Grahn a.grahn at web.de
Wed Mar 18 10:51:17 CET 2020


On Wed, Mar 18, 2020 at 07:32:51AM +0900, Shunsaku Hirata wrote:
> They both must end with a colon.
>
>    pdf:page:0 0 m ...
>
> As this command is intended to be used
> in vf, which is commonly used by both
> pdftex and dvipdfmx, it must be in exactly
> same syntax as in pdftex. (Treatment of
> spaces might be slightly different though)

Thank you. The missing colon was an oversight.
After experimenting with both specials, I feel they behave exactly like
`pdf:code'. Are they just aliases for `pdf:code'?

Alexander

>
> Thanks,
> Shunsaku Hirata
>
> 2020-03-18 5:04 GMT+09:00, Alexander Grahn <a.grahn at web.de>:
> > Dear all,
> >
> > both specials were added in rev. 53691 around six weeks ago, but current
> > xdvipdfmx as of 20200315 refuses to process them.
> >
> > With this example input
> >
> > test%
> > \special{pdf:page 0 0 m 50 50 l S}%
> > \special{pdf:direct 0 0 m 50 50 l S}%
> > test
> > \bye
> >
> > one gets
> >
> > dvipdfmx:warning: >> xxx "pdf:page 0 0 m 50 50 l S"
> > dvipdfmx:warning: >> Reading special command stopped around >> 0 0 m 50 50 l
> > S<<
> > dvipdfmx:warning: >> xxx "pdf:direct 0 0 m 50 50 l S"
> > dvipdfmx:warning: >> Reading special command stopped around >> 0 0 m 50 50 l
> > S<<
> >
> > Are the specials, perhaps, incorrectly used?
> >
> > Kind regards, Alexander
> >

--



More information about the dvipdfmx mailing list.