summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-20 23:39:41 +0000
committerKarl Berry <karl@freefriends.org>2018-12-20 23:39:41 +0000
commit6479167b501bf9960a41fab01735c9ca4160cb64 (patch)
tree4a5319c4ade565a09c34f214cd8d9edb27c1e9ab
parentc2a784141573aa4fca549b380a8f07c682ac7b2e (diff)
use dvips driver for xcolor and graphics with xelatex, tex4ht r465
git-svn-id: svn://tug.org/texlive/trunk@49464 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht16
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
index 158a13e7bb7..8d18a848f05 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
@@ -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