texlive[49464] Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht:

commits+karl at tug.org commits+karl at tug.org
Fri Dec 21 00:39:42 CET 2018


Revision: 49464
          http://tug.org/svn/texlive?view=revision&revision=49464
Author:   karl
Date:     2018-12-21 00:39:41 +0100 (Fri, 21 Dec 2018)
Log Message:
-----------
use dvips driver for xcolor and graphics with xelatex, tex4ht r465

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=465

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2018-12-20 23:38:12 UTC (rev 49463)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2018-12-20 23:39:41 UTC (rev 49464)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2018-05-11-14:26), generated from tex4ht-4ht.tex
+% usepackage.4ht (2018-12-20-15:38), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2018 TeX Users Group
 %
@@ -17,6 +17,8 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
+\immediate\write-1{version 2018-12-20-15:38}
+
    \def\:temp{tex4ht}\ifx \:temp\@currname
    \:warning{\string\usepackage{tex4ht} again?}
    \def\:temp#1htex4ht.def,tex4ht.sty#2!*?: {\def\:temp{#2}}
@@ -31,7 +33,7 @@
 \fi
 
 \fi
-\gdef\a:usepackage{\use:package xr,xr-hyper,eso-pic,expl3,savetrees,biblatex,xeCJK,fontspec,tikz,pdfbase,,!*?: }
+\gdef\a:usepackage{\use:package xr,xr-hyper,eso-pic,expl3,savetrees,biblatex,xeCJK,fontspec,tikz,pdfbase,graphics,xcolor,,!*?: }
 \gdef\use:package#1,{%
    \if :#1:\def\:temp##1!*?: {}\else
       \def\:temp{#1}\ifx \@currname\:temp
@@ -130,6 +132,16 @@
   \def\@outputpage{\old:outputpage{}}
 }
 \fi
+\def\:temp{graphics}\ifx\@currname\:temp
+  \ifdefined\XeTeXversion
+    \PassOptionsToPackage{dvips}{graphics}
+  \fi
+\fi
+\def\:temp{xcolor}\ifx\@currname\:temp
+  \ifdefined\XeTeXversion
+    \PassOptionsToPackage{dvips}{xcolor}
+  \fi
+\fi
 
 
 \endinput



More information about the tex-live-commits mailing list