[tex-k] Suggested patch for dvipdfm-x

Paul Vojta vojta at math.berkeley.edu
Wed Apr 26 02:38:15 CEST 2017

Dear all,

According to the man page for dvipdfmx, in the arguments of the -x and -y
options (left and top margins, respectively), "The dimension may be specified
in any units understood by TeX (e.g., bp, pt, in, cm)."  In fact, though, it
only accepts those four units, plus mm, omitting pc, dd, cc, and sp.

The attached patch adds support for those four omitted units.  Admittedly,
I've never used dd or cc, and have probably never used pc, but I find that
sp is useful for macros; e.g.,
  \special{papersize=\number\wd\outputbox sp,\number\ht\outputbox sp}

Please incorporate this change into TeX Live.


Paul Vojta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvipdfmx.pat
Type: image/x-coreldrawpattern
Size: 3901 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-k/attachments/20170425/4526a629/attachment.bin>

More information about the tex-k mailing list