[dvipdfmx] dvipdfmx: wrong exit status
Shunsaku Hirata
shunsaku.hirata74 at gmail.com
Sun Dec 27 13:04:06 CET 2020
Hi,
It's not possible to change the exit code.
Dvipdfmx ignores image files which do not exist and tries to
continue processing.
Thanks,
Shunsaku Hirata
2020年12月25日(金) 11:35 Igor Liferenko <igor.liferenko at gmail.com>:
>
> 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.