Package: texlive-latex-base
Version: 2007-14
Severity: normal
Tags: fixed-upstream patch

Hi,

Currently it is not possible to include EPS graphics with
\includegraphics. Upstream has a very simple fix in their SVN[1] that
modifies xetex.def to fix that.

The patch is:
--- trunk/Master/texmf-dist/tex/xelatex/graphics/xetex.def      2006/09/15 
15:31:59     2132
+++ trunk/Master/texmf-dist/tex/xelatex/graphics/xetex.def      2007/11/26 
17:13:01     5603
@@ -13,6 +13,9 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%  Version History
 %%
+%%  2007/10/25  [JK] Version v0.93  added EPS support from dvipdfmx.def
+%%              (for use with xdvipdfmx, default driver in xetex 0.997)
+%%
 %%  2006/08/10  [JK] Version v0.92  correct type-check in [EMAIL 
PROTECTED]@QTm;
 %%              remove [EMAIL PROTECTED]@ext, apply \lowercase instead;
 %%              make \XeTeXquote have catcode 12 rather than 11;
@@ -417,8 +420,32 @@
 % ... though this default rule will try QuickTime anyway ...
 [EMAIL PROTECTED]@[EMAIL PROTECTED]
 
-% ... and add it's extension here
[EMAIL PROTECTED],.png,.jpg,.bmp,.pict,.tif,.psd,.mac,.sga,.tga,.gif}
+% ... and add its extension here
[EMAIL PROTECTED],.eps,.ps,%
+                    .png,.jpg,.bmp,.pict,.tif,.psd,.mac,.sga,.tga,.gif}
+
+% xdvipdfmx is now the default driver, and can support EPS images,
+% so we borrow code for this from dvipdfmx.def (and add the extensions above)
[EMAIL PROTECTED]
+ \message{<#1>}%
+  \bgroup
+  [EMAIL PROTECTED]
+  [EMAIL PROTECTED]@[EMAIL PROTECTED]
+  [EMAIL PROTECTED]
+  [EMAIL PROTECTED]@ii
+  [EMAIL PROTECTED]@[EMAIL PROTECTED]
+  [EMAIL PROTECTED]@ii
+    \special{PSfile="#1"\space
+      [EMAIL PROTECTED]
+      [EMAIL PROTECTED]
+      [EMAIL PROTECTED]
+      [EMAIL PROTECTED]
+      [EMAIL PROTECTED]@tempa\else [EMAIL PROTECTED]
+      [EMAIL PROTECTED]@tempa\else [EMAIL PROTECTED]
+      [EMAIL PROTECTED] clip\fi}%
+  \egroup}
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
 
 %
 % Rotation & Scaling

Please backport this patch to the version in Debian; it seems quite
safe, it has existed in upstream's SVN since October 2007 and surely is a
nice feature to have.

Thanks,
Faidon

1: 
https://www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/xelatex/graphics/xetex.def?r1=2132&r2=5603



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to