[XeTeX] xdvipdfmx.cfg

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Nov 29 12:08:01 CET 2014


Hi all,

running this example with xelatex it will be fine if
I disable the -dEPScrop option for the ghostscript run
and use the alternative one:

D  "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite
-dCompatibilityLevel=%v -dAutoFilterGrayImages=false
-dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false
-dColorImageFilter=/FlateEncode -sOutputFile='%o' '%i' -c quit"

With the -dEPScrop option it crops the image by the default
upright papersize and didn't take the "landscape" option into account:

\documentclass[landscape,xetex]{article}
\usepackage[margin=1cm,includeheadfoot,showframe]{geometry}
\usepackage{pstricks}

\begin{document}
\noindent
\psline[linewidth=2pt](\textwidth,-\textheight)% cropped by wrong paper size
\rule{\textwidth}{3pt}

\end{document}

I suppose that there is no chance that xetex can tell gs the right
paper size.

Herbert


More information about the XeTeX mailing list