[XeTeX] Import svg

Khaled Hosny khaledhosny at eglug.org
Fri Nov 30 20:14:33 CET 2012


On Fri, Nov 30, 2012 at 12:01:05PM +0300, Boris Kheyfets wrote:
> Hello XeTeX users,
> 
> There's a solution to use svg in tex. Here's a minimial working (with
> pdflatex) example:
> 
> \documentclass{article}
> 
> \usepackage{graphicx}
> \usepackage{color}
> \usepackage{epstopdf}
> 
> \newcommand{\executeiffilenewer}[3]{%
>  \ifnum\pdfstrcmp{\pdffilemoddate{#1}}%
>  {\pdffilemoddate{#2}}>0%
>  {\immediate\write18{#3}}\fi%
> }

XeTeX’s primitive is \strcmp not \pdfstrcmp.

Regards,
Khaled


More information about the XeTeX mailing list