[XeTeX] Generating cropped PDF graphics file

William Adams will.adams at frycomm.com
Tue Apr 15 14:28:05 CEST 2008


On Apr 15, 2008, at 2:27 AM, R (Chandra) Chandrasekhar wrote:

> 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]?

Yes.

\usepackage[xetex]{color}

\special{color cmyk 0 0 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.


\usepackage{geometry} to set the xelatex file to the correct size to  
begin with.

William

-- 
William Adams
senior graphic designer
Fry Communications




More information about the XeTeX mailing list