From f0a570446c7775f87c16c9a41faf68b372e23ac8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 27 Sep 2009 23:53:17 +0000 Subject: rename config to latexconfig for the TL LaTeX .cfg files git-svn-id: svn://tug.org/texlive/trunk@15491 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/tex/latex/config/color.cfg | 40 --------- Master/texmf/tex/latex/config/graphics.cfg | 103 ------------------------ Master/texmf/tex/latex/config/hyperref.cfg | 7 -- Master/texmf/tex/latex/latexconfig/color.cfg | 40 +++++++++ Master/texmf/tex/latex/latexconfig/graphics.cfg | 103 ++++++++++++++++++++++++ Master/texmf/tex/latex/latexconfig/hyperref.cfg | 7 ++ Master/tlpkg/tlpsrc/latex.tlpsrc | 1 - 7 files changed, 150 insertions(+), 151 deletions(-) delete mode 100644 Master/texmf/tex/latex/config/color.cfg delete mode 100644 Master/texmf/tex/latex/config/graphics.cfg delete mode 100644 Master/texmf/tex/latex/config/hyperref.cfg create mode 100644 Master/texmf/tex/latex/latexconfig/color.cfg create mode 100644 Master/texmf/tex/latex/latexconfig/graphics.cfg create mode 100644 Master/texmf/tex/latex/latexconfig/hyperref.cfg (limited to 'Master') diff --git a/Master/texmf/tex/latex/config/color.cfg b/Master/texmf/tex/latex/config/color.cfg deleted file mode 100644 index 0a621ce5220..00000000000 --- a/Master/texmf/tex/latex/config/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/tex/latex/config/graphics.cfg b/Master/texmf/tex/latex/config/graphics.cfg deleted file mode 100644 index a500c629f96..00000000000 --- a/Master/texmf/tex/latex/config/graphics.cfg +++ /dev/null @@ -1,103 +0,0 @@ -% Public domain. -% Written by Thomas Esser, Heiko Oberdiek, Sebastian Rahtz, and others. -\ProvidesFile{graphics.cfg}% - [2009/08/28 v1.8 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. - % - % In other words, by default .eps files will be automatically - % converted to .pdf files when outputting pdf. This can be wrong! - % If you created the .pdf as the source of a graphic, and derived a - % .eps from it, 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 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{% - \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 - }% - \fi - \fi -\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 diff --git a/Master/texmf/tex/latex/config/hyperref.cfg b/Master/texmf/tex/latex/config/hyperref.cfg deleted file mode 100644 index bffa1722db6..00000000000 --- a/Master/texmf/tex/latex/config/hyperref.cfg +++ /dev/null @@ -1,7 +0,0 @@ -\ProvidesFile{hyperref.cfg}% - [2002/06/06 v1.2 hyperref configuration of TeXLive] -% Change default driver to "dvips" instead of "hypertex", -% requires hyperref 2002/06/05 v6.72s -\providecommand*{\Hy@defaultdriver}{hdvips}% -\endinput - diff --git a/Master/texmf/tex/latex/latexconfig/color.cfg b/Master/texmf/tex/latex/latexconfig/color.cfg new file mode 100644 index 00000000000..0a621ce5220 --- /dev/null +++ b/Master/texmf/tex/latex/latexconfig/color.cfg @@ -0,0 +1,40 @@ +\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/tex/latex/latexconfig/graphics.cfg b/Master/texmf/tex/latex/latexconfig/graphics.cfg new file mode 100644 index 00000000000..a500c629f96 --- /dev/null +++ b/Master/texmf/tex/latex/latexconfig/graphics.cfg @@ -0,0 +1,103 @@ +% Public domain. +% Written by Thomas Esser, Heiko Oberdiek, Sebastian Rahtz, and others. +\ProvidesFile{graphics.cfg}% + [2009/08/28 v1.8 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. + % + % In other words, by default .eps files will be automatically + % converted to .pdf files when outputting pdf. This can be wrong! + % If you created the .pdf as the source of a graphic, and derived a + % .eps from it, 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 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{% + \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 + }% + \fi + \fi +\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 diff --git a/Master/texmf/tex/latex/latexconfig/hyperref.cfg b/Master/texmf/tex/latex/latexconfig/hyperref.cfg new file mode 100644 index 00000000000..bffa1722db6 --- /dev/null +++ b/Master/texmf/tex/latex/latexconfig/hyperref.cfg @@ -0,0 +1,7 @@ +\ProvidesFile{hyperref.cfg}% + [2002/06/06 v1.2 hyperref configuration of TeXLive] +% Change default driver to "dvips" instead of "hypertex", +% requires hyperref 2002/06/05 v6.72s +\providecommand*{\Hy@defaultdriver}{hdvips}% +\endinput + diff --git a/Master/tlpkg/tlpsrc/latex.tlpsrc b/Master/tlpkg/tlpsrc/latex.tlpsrc index 6a1da9c9ca3..ab5901c6706 100644 --- a/Master/tlpkg/tlpsrc/latex.tlpsrc +++ b/Master/tlpkg/tlpsrc/latex.tlpsrc @@ -15,7 +15,6 @@ execute AddFormat name=lualatex engine=luatex patterns=language.dat \ srcpattern d texmf-dist/source/latex/base runpattern d texmf-dist/makeindex/latex runpattern d texmf-dist/tex/latex/base -runpattern d texmf/tex/latex/config # docpattern d texmf-dist/doc/latex/base docpattern f texmf/doc/man/man1/latex.* -- cgit v1.2.3