[dvipdfmx] dvipdfmx: wrong exit status

Igor Liferenko igor.liferenko at gmail.com
Fri Dec 25 03:35:13 CET 2020


Hi all,

Consider this test.tex:

    \ \special{psfile=fig.1} \bye

Process it with tex and then use dvipdfmx:

    $ dvipdfm test; echo ====== exit status: $? ========
    test -> test.pdf
    [1
    xdvipdfmx:warning: Error locating image file "fig.1"
    xdvipdfmx:warning: Failed to read image file: fig.1
    xdvipdfmx:warning: Interpreting special command psfile (ps:) failed.
    xdvipdfmx:warning: >> at page="1" position="(95.2462, 759.927)" (in PDF)
    xdvipdfmx:warning: >> xxx "psfile=fig.1"
    ]
    1689 bytes written
    ====== exit status: 0 ========

How to make dvipdfmx return non-zero if the run was unsuccessful?

Regards,
Igor


More information about the dvipdfmx mailing list.