[dvipdfmx] color stack and color special order at second page

Shunsaku Hirata shunsaku.hirata74 at gmail.com
Fri Dec 11 22:49:58 CET 2020


> When using both the pdfcolorstack and the bcolor special, the order on
> the second page seems to be wrong. The bcolor value is always first:

> What could one do to keep this in order? (With pdflatex the main color
> command is stack 0, so there is no problem.)

There is no way to control the order.
It was not intended that both pdfcolorstack and bcolor are used at the
same time.

Simplest workaround for this typical situation is just change the order
so that bolor value always comes last. But this can't always meet
expectations in general cases where a pdfoclorstack push operation
can appear inside of a bcolor-ecolor.

Thanks,
Shunsaku Hirata


More information about the dvipdfmx mailing list.