[XeTeX] Generating cropped PDF graphics file
R (Chandra) Chandrasekhar
chandra at ee.uwa.edu.au
Tue Apr 15 08:27:14 CEST 2008
Dear Folks,
I used to generate an EPS graphics file for a logo by typesetting the text and
lines in LaTeX as foo.tex and compiling so
latex foo
dvips -E -ofoo.eps foo.dvi
epstopdf foo.eps
to get foo.pdf.
I am now using TTF/OTF fonts in the logo and am using xelatex instead, along
with xcolor. I have two questions:
1. Does xdvipdfmx support colours defined in xcolor using
\definecolor[named]{mycolor}{cmyk}{c, m, y, k} where c, m, y, k are in [0, 1]?
2. To crop the generated PDF file to contain only the graphic, I am compiling
foo.tex so:
xelatex foo
pdfcrop foo
to get the output foo-crop.pdf.
Is this the preferred way to go about it, or is there another?
Many thanks.
Chandra
15 Apr 08
More information about the XeTeX
mailing list