diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-06 21:37:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-06 21:37:33 +0000 |
commit | 5c59ebfc8bb1cabb783923ac8f627f6982216385 (patch) | |
tree | 66069b24c18cffc5fc74132bfcd7f132a069b1da /Master/texmf-dist/tex/latex/latexconfig | |
parent | 5e465bc694b0d7c28b26639f59d4cb54575d1809 (diff) |
use color.cfg and graphics.cfg from latex group; needs recent dvips.def and trig.sty
git-svn-id: svn://tug.org/texlive/trunk@40269 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/latexconfig')
-rw-r--r-- | Master/texmf-dist/tex/latex/latexconfig/color.cfg | 40 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/latexconfig/graphics.cfg | 109 |
2 files changed, 0 insertions, 149 deletions
diff --git a/Master/texmf-dist/tex/latex/latexconfig/color.cfg b/Master/texmf-dist/tex/latex/latexconfig/color.cfg deleted file mode 100644 index 0a621ce5220..00000000000 --- a/Master/texmf-dist/tex/latex/latexconfig/color.cfg +++ /dev/null @@ -1,40 +0,0 @@ -\ProvidesFile{color.cfg}% - [2007/01/18 v1.5 color configuration of teTeX/TeXLive] - -% Select an appropriate default driver -\begingroup - \chardef\x=0\relax - % check pdfTeX - \@ifundefined{pdfoutput}{}{% - \ifnum\pdfoutput<1 % - \else - \chardef\x=1\relax - \fi - }% - % check VTeX - \@ifundefined{OpMode}{}{% - \chardef\x=2\relax - }% - % check XeTeX - \@ifundefined{XeTeXversion}{}{% - \chardef\x=3\relax - }% -\expandafter\endgroup -\ifcase\x - % default case - \def\Gin@driver{dvips.def}% - \ExecuteOptions{dvips}% -\or - % pdfTeX is running in pdf mode - \def\Gin@driver{pdftex.def}% - \ExecuteOptions{pdftex}% -\or - % VTeX is running - \def\Gin@driver{vtex.def}% - \ExecuteOptions{vtex}% -\else - % XeTeX is running - \def\Gin@driver{xetex.def}% - \ExecuteOptions{xetex}% -\fi -\endinput diff --git a/Master/texmf-dist/tex/latex/latexconfig/graphics.cfg b/Master/texmf-dist/tex/latex/latexconfig/graphics.cfg deleted file mode 100644 index c63f3211d2e..00000000000 --- a/Master/texmf-dist/tex/latex/latexconfig/graphics.cfg +++ /dev/null @@ -1,109 +0,0 @@ -% Public domain. -% Written by Thomas Esser, Heiko Oberdiek, Sebastian Rahtz, and others. -\ProvidesFile{graphics.cfg}% - [2010/04/23 v1.9 graphics configuration of TeX Live]% - -% Select an appropriate default driver -\begingroup - \chardef\x=0\relax - % check pdfTeX - \@ifundefined{pdfoutput}{}{% - \ifnum\pdfoutput<1 % - \else - \chardef\x=1\relax - \fi - }% - % check VTeX - \@ifundefined{OpMode}{}{% - \chardef\x=2\relax - }% - % check XeTeX - \@ifundefined{XeTeXversion}{}{% - \chardef\x=3\relax - }% -\expandafter\endgroup -\ifcase\x - % default case - \def\Gin@driver{dvips.def}% - \ExecuteOptions{dvips}% -\or - % pdfTeX is running in pdf mode - \def\Gin@driver{pdftex.def}% - \ExecuteOptions{pdftex}% - % Load package epstopdf if - % a) LaTeX is running (plain TeX users are on their own), - % b) and shell escape (\write18) is enabled (possibly restricted), - % c) and \DoNotLoadEpstopdf either does not exist or is not \relax, - % d) and neither pst-pdf nor pdftricks is loaded (by \begin{document}). - % - % In other words, by default .eps files will be automatically - % converted to .pdf files when outputting pdf. This can be wrong! - % If the .pdf is the source, rather than the .eps, you should put - % \newcommand{\DoNotLoadEpstopdf}{} - % before even the \documentclass line of your document. - % - % More information about the epstopdf run will be in the .log file; - % see http://ctan.org/pkg/epstopdf-pkg for more info about the - % epstopdf package itself. In turn, it calls the epstopdf script - % (http://ctan.org/pkg/epstopdf). - % - % For the first discussion and background on this, see the thread on latex-l: - % http://thread.gmane.org/gmane.comp.tex.latex.latex3/1465 - % - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname DoNotLoadEpstopdf\endcsname\relax - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname AtEndOfPackage\endcsname\relax - \else - \AtEndOfPackage{% - \AtBeginDocument{% - \@ifpackageloaded{pst-pdf}{}{% - \@ifpackageloaded{pdftricks}{}{% - \RequirePackage{pdftexcmds}[2007/11/11]% - \expandafter\ifx\csname pdf@shellescape\endcsname\relax - \else - \ifnum\pdf@shellescape>0 % - \RequirePackage{epstopdf-base}[2009/07/12]% - \fi - \fi - }% pdftricks not loaded - }% pst-pdf not loaded - }% AtBeginDocument block - }% AtEndofPackage block - \fi % AtEndofPackage not defined - \fi % DoNotLoadEpstopdf not defined -\or - % VTeX is running - \def\Gin@driver{vtex.def}% - \ExecuteOptions{vtex}% -\else - % XeTeX is running - \def\Gin@driver{xetex.def}% - \ExecuteOptions{xetex}% -\fi - -% Fix for dvips and xdvi versions that can uncompress -% graphic files without an explicite call of gunzip. -% (The fix is not applied for miniltx.tex, because -% \AtEndOfPackage is not available in plainTeX.) -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname AtEndOfPackage\endcsname\relax -\else - \AtEndOfPackage{% - \begingroup - \@ifundefined{DeclareGraphicsRule}{% - \endgroup - }{% - \def\x{dvips.def}% - \expandafter\endgroup - \ifx\x\Gin@driver - \DeclareGraphicsRule{.pz}{eps}{.bb}{}% - \DeclareGraphicsRule{.eps.Z}{eps}{.eps.bb}{}% - \DeclareGraphicsRule{.ps.Z}{eps}{.ps.bb}{}% - \DeclareGraphicsRule{.ps.gz}{eps}{.ps.bb}{}% - \DeclareGraphicsRule{.eps.gz}{eps}{.eps.bb}{}% - \fi - }% - }% -\fi -\endinput |