summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/latex-make
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-10-11 22:30:33 +0000
committerKarl Berry <karl@freefriends.org>2014-10-11 22:30:33 +0000
commit4888499385c44655bec69496f0e01649d7636627 (patch)
treeb4530c653b64a9b165768c4423d6bcf0dd192c31 /Master/texmf-dist/tex/latex/latex-make
parent9406c7d3ffc09ac95d52d72e53d84e010a0a747d (diff)
latex-make (11oct14)
git-svn-id: svn://tug.org/texlive/trunk@35357 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/latex-make')
-rw-r--r--Master/texmf-dist/tex/latex/latex-make/figlatex.cfg48
-rw-r--r--Master/texmf-dist/tex/latex/latex-make/figlatex.sty210
-rw-r--r--Master/texmf-dist/tex/latex/latex-make/pdfswitch.sty140
-rw-r--r--Master/texmf-dist/tex/latex/latex-make/texdepends.sty581
-rw-r--r--Master/texmf-dist/tex/latex/latex-make/texgraphicx.sty52
5 files changed, 1031 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/latex-make/figlatex.cfg b/Master/texmf-dist/tex/latex/latex-make/figlatex.cfg
new file mode 100644
index 00000000000..bb139c3581f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/latex-make/figlatex.cfg
@@ -0,0 +1,48 @@
+%%
+%% This is file `figlatex.cfg',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% figlatex.dtx (with options: `config')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from figlatex.cfg.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file figlatex.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%%
+%% File: figlatex.dtx Copyright (C) 2002--2005 V. Danjean, A. Legrand
+%% Vincent.Danjean@ens-lyon.org
+%% Arnaud.Legrand@ens-lyon.org
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+%%
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%%
+ \ProvidesFile{figlatex.cfg}%
+[2011/09/25 v0.1.4 include fig and svg in LaTeX]
+ %\compatibility
+ %\debug
+\endinput
+%%
+%% End of file `figlatex.cfg'.
diff --git a/Master/texmf-dist/tex/latex/latex-make/figlatex.sty b/Master/texmf-dist/tex/latex/latex-make/figlatex.sty
new file mode 100644
index 00000000000..9efc78a077c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/latex-make/figlatex.sty
@@ -0,0 +1,210 @@
+%%
+%% This is file `figlatex.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% figlatex.dtx (with options: `package')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from figlatex.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file figlatex.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%%
+%% File: figlatex.dtx Copyright (C) 2002--2005 V. Danjean, A. Legrand
+%% Vincent.Danjean@ens-lyon.org
+%% Arnaud.Legrand@ens-lyon.org
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+%%
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%%
+\NeedsTeXFormat{LaTeX2e}%
+\ProvidesPackage{figlatex}%
+[2011/09/25 v0.1.4 include fig and svg in LaTeX]
+\newif\ifFL@compatibility
+\DeclareOption{compatibility}{%
+ %\PackageWarning{figlatex}{option compatibility}%
+ \global\FL@compatibilitytrue%
+}
+\newif\ifFL@debug
+\DeclareOption{debug}{%
+ \global\FL@debugtrue%
+}
+{
+ \def\compatibility{%
+ \ExecuteOptions{compatibility}%
+ }
+ \def\debug{%
+ \ExecuteOptions{debug}%
+ }
+ \InputIfFileExists{figlatex.cfg}{%
+ \typeout{***************************************^^J%
+ * Local config file figlatex.cfg used *^^J%
+ ***************************************}
+ }{%
+ \typeout{Found no configuration file for figlatex}
+ }
+}
+\ProcessOptions
+\RequirePackage{ifpdf}
+\RequirePackage{graphicx}
+\RequirePackage{color}
+\RequirePackage{epstopdf}
+\def\FL@dmessage#1{%
+ \ifFL@debug%
+ \message{#1}%
+ \fi%
+}
+\def\Ginclude@rawtex#1{%
+ \FL@dmessage{<#1>}%
+ \bgroup%
+ \def\@tempa{!}%
+ \ifx\Gin@scaley\@tempa%
+ \let\Gin@scaley\Gin@scalex%
+ \else%
+ \ifx\Gin@scalex\@tempa\let\Gin@scalex\Gin@scaley\fi%
+ \fi%
+ \hbox{%
+ \Gscale@box{\Gin@scalex}[\Gin@scaley]{%
+ \def\Gin@scalex{1}%
+ \let\Gin@scaley\Gin@exclamation% needed for pdflatex
+ \FL@dmessage{<loading rawtex #1>}%
+ \input{#1}}}%
+ \egroup}
+\def\Ginclude@figtex#1{%
+ \message{<#1>}%
+ \bgroup%
+ \xdef\FL@filename{#1}%
+ \filename@parse{\FL@filename}%
+ \xdef\FL@filename{\filename@area\filename@base.\FL@figext}%
+ \FL@dmessage{<****loading fig \FL@filename>}%
+ \FL@includerawtexgraphics[]{\FL@filename}%
+ \egroup}
+\newcommand{\Gread@figtex}[1]{%
+ %\typeout{Oh, file exists #1}%
+ \Gread@rawtex{#1}%
+}
+\def\Ginclude@svgtex#1{%
+ \message{<#1>}%
+ \bgroup%
+ \xdef\FL@filename{#1}%
+ \filename@parse{\FL@filename}%
+ \xdef\FL@filename{\filename@area\filename@base.\FL@svgext}%
+ \FL@dmessage{<****loading svg \FL@filename>}%
+ \FL@includerawtexgraphics[]{\FL@filename}%
+ \egroup}
+\newcommand{\Gread@svgtex}[1]{%
+ %\typeout{Oh, file exists #1}%
+ \Gread@rawtex{#1}%
+}
+\ifpdf
+ \def\FL@figext{pdftex_t}%
+ \def\FL@svgext{pdftex_t}%
+ \let\Gread@rawtex\Gread@pdf%
+ \DeclareGraphicsRule{.pdftex}{pdf}{*}{}%
+ \ifFL@compatibility%
+ \PackageWarningNoLine{figlatex}{Compatibility mode enabled
+ for old LaTeX
+ \MessageBreak Using .pdf extension for pdftex files}%
+ \DeclareGraphicsRule{.pdftex_t}{rawtex}{.pdf}{}%
+ \DeclareGraphicsRule{.fig}{figtex}{.pdf}{}%
+ \DeclareGraphicsRule{.svg}{svgtex}{.pdf}{}%
+ \else%
+ \DeclareGraphicsRule{.pdftex_t}{rawtex}{.pdftex}{}%
+ \DeclareGraphicsRule{.fig}{figtex}{.pdftex}{}%
+ \DeclareGraphicsRule{.svg}{svgtex}{.pdftex}{}%
+ \fi%
+\else
+ \def\FL@figext{pstex_t}%
+ \def\FL@svgext{pstex_t}%
+ \let\Gread@rawtex\Gread@eps%
+ \DeclareGraphicsRule{.pstex}{eps}{*}{}%
+ \DeclareGraphicsRule{.pstex_t}{rawtex}{.pstex}{}%
+ \DeclareGraphicsRule{.fig}{figtex}{.pstex}{}%
+ \DeclareGraphicsRule{.svg}{svgtex}{.pstex}{}%
+\fi
+\newcommand{\FL@includerawtexgraphics}[2][]{%
+ \includegraphics[#1]{#2}%
+}
+\def\FL@exclamation{!}%
+\let\FL@subfig@name\FL@exclamation%
+\define@key{Gin}{subfig}{%
+ \def\FL@subfig@name{#1}%
+}
+\def\FL@sepdefault{_}%
+\def\FL@subfig@check#1{%
+}
+\def\FL@Gin@getbase#1{%
+ \ifx\FL@subfig@name\FL@exclamation%
+ \else%
+ \ifthenelse{\equal{#1}{.fig}}{%
+ % If we're including a subfig
+ \IfFileExists{\filename@area\filename@base#1}{%
+ % If the original .fig file exists, just change the name so that
+ % it comprises the full path.
+ \filename@parse{\@filef@und}%
+ % Remove potential trailing spage at the end of the extension
+ \def\filename@ext{fig}%
+ % Check if the subfig file exists
+ \FL@subfig@check{\filename@area\filename@base.subfig}%
+ }{%
+ % Else, write a warning (LaTeX will warn as well but it doesn't
+ % hurt)
+ \PackageWarning{figlatex}{No file
+ '\filename@area\filename@base#1'}%
+ }
+ % Add the subfig suffix to the fig name.
+ \edef\filename@base{\filename@base\FL@sepdefault\FL@subfig@name}%
+ }{%
+ }%
+ \ifthenelse{\equal{#1}{.svg}}{%
+ % If we're including a subfig
+ \IfFileExists{\filename@area\filename@base#1}{%
+ % If the original .svg file exists, just change the name so that
+ % it comprises the full path.
+ \filename@parse{\@filef@und}%
+ % Remove potential trailing spage at the end of the extension
+ \def\filename@ext{svg}%
+ % Check if the subfig file exists
+ \FL@subfig@check{\filename@area\filename@base.subfig}%
+ }{%
+ % Else, write a warning (LaTeX will warn as well but it doesn't
+ % hurt)
+ \PackageWarning{figlatex}{No file
+ '\filename@area\filename@base#1'}%
+ }
+ % Add the subfig suffix to the svg name.
+ \edef\filename@base{\filename@base\FL@sepdefault\FL@subfig@name}%
+ }{%
+ }%
+ \fi%
+ \FL@orig@Gin@getbase{#1}%
+}
+\let\FL@orig@Gin@getbase\Gin@getbase
+\let\Gin@getbase\FL@Gin@getbase
+
+
+\endinput
+%%
+%% End of file `figlatex.sty'.
diff --git a/Master/texmf-dist/tex/latex/latex-make/pdfswitch.sty b/Master/texmf-dist/tex/latex/latex-make/pdfswitch.sty
new file mode 100644
index 00000000000..b103f8d54dd
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/latex-make/pdfswitch.sty
@@ -0,0 +1,140 @@
+%%
+%% This is file `pdfswitch.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pdfswitch.dtx (with options: `package')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from pdfswitch.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file pdfswitch.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%
+\def\fileversion{0.0.2}
+\def\filedate{2003/07/12}
+
+\NeedsTeXFormat{LaTeX2e}
+
+\ProvidesPackage%
+{pdfswitch}%
+[\filedate\space Automatic switch between pdf and ps. v\fileversion]
+
+\RequirePackage{ae,aeguill}
+\RequirePackage{color}
+\RequirePackage{ifthen}
+\RequirePackage{ifpdf}
+
+\newboolean{nocolor@pdfswitch}
+\setboolean{nocolor@pdfswitch}{false}
+\DeclareOption{nocolor}{\setboolean{nocolor@pdfswitch}{true}}
+\newboolean{backref@pdfswitch}
+\setboolean{backref@pdfswitch}{false}
+\DeclareOption{backref}{\setboolean{backref@pdfswitch}{true}}
+\newboolean{pagebackref@pdfswitch}
+\setboolean{pagebackref@pdfswitch}{false}
+\DeclareOption{pagebackref}{\setboolean{pagebackref@pdfswitch}{true}}
+\newboolean{noborder@pdfswitch}
+\setboolean{noborder@pdfswitch}{false}
+\DeclareOption{noborder}{\setboolean{noborder@pdfswitch}{true}}
+\newboolean{plainpages@pdfswitch}
+\setboolean{plainpages@pdfswitch}{false}
+\DeclareOption{plainpages}{\setboolean{plainpages@pdfswitch}{true}}
+
+\ProcessOptions
+
+\definecolor{pdfurlcolor}{rgb}{0,0,0.6}
+\definecolor{pdfcitecolor}{rgb}{0,0.6,0}
+\definecolor{pdflinkcolor}{rgb}{0.6,0,0}
+
+ %%%%%%%%%%%%%%%%%%%%%%%%% graphicx and thumbpdf %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\ifpdf
+\usepackage[pdftex]{graphicx} %%% graphics for pdfLaTeX
+\DeclareGraphicsExtensions{.pdf} %%% standard extension for included graphics
+\usepackage[pdftex]{thumbpdf} %%% thumbnails for pdflatex
+\else
+\usepackage[dvips]{graphicx} %%% graphics for dvips
+\DeclareGraphicsExtensions{.eps} %%% standard extension for included graphics
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%% Basic options for hyperref %%%%%%%%%%%%%%%%%%%%%%%%%
+\ifpdf
+\edef\keys@pdfswitch{%
+ pdftex, %%% hyper-references for pdflatex
+ bookmarks=true,% %%% generate bookmarks ...
+ bookmarksnumbered=true,% %%% ... with numbers
+ hypertexnames=false,% %%% needed for correct links to figures !!!
+ breaklinks=true% %%% break links if exceeding a single line
+}
+\else
+\edef\keys@pdfswitch{%
+ ps2pdf, %%% hyper-references for ps2pdf
+ bookmarks=true,% %%% generate bookmarks ...
+ bookmarksnumbered=true,% %%% ... with numbers
+ hypertexnames=false,% %%% needed for correct links to figures !!!
+ breaklinks=true,% %%% breaks lines, but links are very small
+ pdfborder={0 0 11.0} %%% border-width of frames will
+ %%% be multiplied with 0.009 by ps2pdf
+}
+\fi
+
+\ifthenelse{\boolean{nocolor@pdfswitch}}{%
+ \edef\keys@pdfswitch{\keys@pdfswitch,colorlinks=false}%
+}{
+ \edef\keys@pdfswitch{\keys@pdfswitch,colorlinks=true,%
+ citecolor=pdfcitecolor,
+ urlcolor=pdfurlcolor,
+ linkcolor=pdflinkcolor,
+ linkbordercolor={1 1 1}}%
+}
+
+\ifthenelse{\boolean{plainpages@pdfswitch}}{%
+}{
+ \edef\keys@pdfswitch{\keys@pdfswitch,plainpages=false}%
+}
+
+\ifthenelse{\boolean{noborder@pdfswitch}}{%
+ \edef\keys@pdfswitch{\keys@pdfswitch,pdfborder={0 0 0}}%
+}{}
+
+\ifthenelse{\boolean{backref@pdfswitch}}{%
+ \edef\keys@pdfswitch{\keys@pdfswitch,backref}%
+}{}
+
+\ifthenelse{\boolean{pagebackref@pdfswitch}}{%
+ \edef\keys@pdfswitch{\keys@pdfswitch,pagebackref}%
+}{}
+
+\usepackage[\keys@pdfswitch]{hyperref}
+
+%%%%%%%%%%%%%%%%%%%%%%%%% HyperSetup %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\ifpdf
+\AtBeginDocument{
+ \hypersetup{
+ pdfauthor = {\@author},
+ pdftitle = {\@title},
+ pdfsubject = {\@ifundefined{@subject}{}{\@subject}},
+ pdfkeywords = {\@ifundefined{@keywords}{}{\@keywords}}
+ }
+}
+%%% pdfcreator, pdfproducer, and Creation Date are automatically set by pdflatex !!!
+\pdfadjustspacing=1 %%% force LaTeX-like character spacing
+\else
+\AtBeginDocument{
+}
+\fi
+\endinput
+%%
+%% End of file `pdfswitch.sty'.
diff --git a/Master/texmf-dist/tex/latex/latex-make/texdepends.sty b/Master/texmf-dist/tex/latex/latex-make/texdepends.sty
new file mode 100644
index 00000000000..e40de23c813
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/latex-make/texdepends.sty
@@ -0,0 +1,581 @@
+%%
+%% This is file `texdepends.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% texdepends.dtx (with options: `package')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from texdepends.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file texdepends.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%%
+%% File: texdepends.dtx Copyright (C) 2004--2011 V. Danjean
+%% Vincent.Danjean@ens-lyon.org
+%% Modified by Matthieu Gallet
+%% Matthieu.Gallet@ens-lyon.org
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+%%
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%%
+\NeedsTeXFormat{LaTeX2e}%
+\ProvidesPackage{texdepends}%
+[2008/01/28\space Automatic depends generation. v1.2.0]
+\RequirePackage{ifthen}
+\newboolean{TD@debug}
+\newcommand{\TD@option@debug}[1][true]{%
+ %\PackageWarningNoLine{texdepends}{Setting debug to #1}
+ \setboolean{TD@debug}{#1}%
+}%
+\def\TD@option@extension[#1]{%
+ %\PackageWarningNoLine{texdepends}{Using extention #1}
+ \def\TD@extention{#1}%
+}%
+\def\TD@option@split#1=#2=#3\relax{%
+ \def\TD@option@name{#1}%
+ \ifx\TD@option@name\@empty\else
+ \expandafter\let\expandafter\TD@option@cmd
+ \csname TD@option@\TD@option@name\endcsname
+ %\PackageWarningNoLine{texdepends}{1: '#1', 2: '#2', 3: '#3'}
+ \ifx\TD@option@cmd\relax
+ \@unknownoptionerror%
+ \else
+ \ifx\@empty#3\@empty
+ \TD@option@cmd\relax%
+ \else
+ \def\TD@option@value{#2}%
+ \TD@option@cmd[\TD@option@value]%
+ \fi
+ \fi
+ \fi
+}%
+\DeclareOption*{%
+ %\PackageWarningNoLine{texdepends}{Option \CurrentOption}%
+ \expandafter\TD@option@split\CurrentOption==\relax%
+}%
+\ProcessOptions
+\ifthenelse{\isundefined{\TD@extention}}{%
+ \PackageWarningNoLine{texdepends}{No extension given: detecting it}%
+ \RequirePackage{ifxetex,ifpdf}%
+ \ifxetex%
+ \PackageWarningNoLine{textdepends}{Detected XeTeX: using .pdf}%
+ \def\TD@extention{.pdf}%
+ \else\ifpdf%
+ \PackageWarningNoLine{texdepends}{Detected PDF mode: using .pdf}%
+ \def\TD@extention{.pdf}%
+ \else%
+ \PackageWarningNoLine{texdepends}{Detected DVI mode. Using .dvi}%
+ \def\TD@extention{.dvi}%
+ \fi\fi%
+}{}%
+\newcommand{\TD@warning}[1]{%
+ \PackageWarningNoLine{texdepends}{#1}%
+}%
+\newcommand{\TD@warningLine}[1]{%
+ \PackageWarning{texdepends}{#1}%
+}%
+\newcommand{\TD@info}[1]{%
+ \ifthenelse{\boolean{TD@debug}}{%
+ \PackageWarningNoLine{texdepends}{#1}%
+ }{%
+ \PackageInfo{texdepends}{#1}%
+ }%
+}%
+\newcommand{\TD@debug}[1]{%
+ \ifthenelse{\boolean{TD@debug}}{%
+ \PackageWarningNoLine{texdepends}{#1}%
+ }{%
+ }%
+}%
+\newwrite\TD@write
+\TD@info{Writing info in '\jobname\TD@extention.mk'}
+\immediate\openout\TD@write\jobname\TD@extention.mk%
+\def\TD@print#1{%
+ \immediate\write\TD@write{#1}%
+}%
+\def\TD@printClass#1{%
+ \TD@print{TD_\jobname\TD@extention _INPUTS\space += #1.cls}%
+}%
+\def\TD@printPackage#1{%
+ \TD@print{TD_\jobname\TD@extention _INPUTS\space += #1.sty}%
+}%
+\def\TD@printInput#1{%
+ \TD@print{TD_\jobname\TD@extention _INPUTS\space += #1}%
+}%
+\def\TD@printFig#1{%
+ \TD@print{TD_\jobname\TD@extention _FIGURES\space += #1}%
+}%
+\def\TD@printSubfig#1{%
+ \TD@print{TD_\jobname\TD@extention _SUBFIGS\space += #1}%
+}%
+\def\TD@printRequiredFile#1{%
+ \TD@print{TD_\jobname\TD@extention _REQUIRED\space += #1}%
+}%
+\let\RequireFile\TD@printRequiredFile
+\def\TD@printOut#1{%
+ \TD@print{TD_\jobname\TD@extention _OUTPUTS\space += #1}%
+}%
+\def\TD@printGraphicspath#1{%
+ \TD@print{TD_\jobname\TD@extention _GRAPHICSPATH\space := #1}%
+}%
+\def\TD@printBibfile#1{%
+ \TD@print{TD_\jobname\TD@extention _BIBFILES\space += #1.bib}%
+}%
+\def\TD@printBibstyle#1{%
+ \TD@print{TD_\jobname\TD@extention _BIBSTYLES\space += #1.bst}%
+}%
+\def\TD@printBblfile#1{%
+ \TD@print{TD_\jobname\TD@extention _BBLFILES\space += #1.bbl}%
+}%
+\def\TD@printRebuildRule#1{%
+ \TD@print{TD_\jobname\TD@extention _REBUILD_RULES\space += #1}%
+}%
+\def\TD@printIndex#1{%
+ \TD@print{TD_\jobname\TD@extention _INDEXES\space += INDEX}%
+ \TD@print{TD_\jobname\TD@extention _INDEXES_INDEX\space += #1}%
+}%
+\def\TD@printIndexSource#1#2{%
+ \TD@print{TD_\jobname\TD@extention _INDEX_#1_SRC\space = #2}%
+}%
+\def\TD@printIndexTarget#1#2{%
+ \TD@print{TD_\jobname\TD@extention _INDEX_#1_TARGET\space = #2}%
+}%
+\def\TD@printIndexStyle#1#2{%
+ \TD@print{TD_\jobname\TD@extention _INDEX_#1_STYLE\space = #2}%
+}%
+\def\TD@printGlossary#1{%
+ \TD@print{TD_\jobname\TD@extention _INDEXES += GLOSS}%
+ \TD@print{TD_\jobname\TD@extention _INDEXES_GLOSS\space += #1}%
+}%
+\def\TD@printGlossarySource#1#2{%
+ \TD@print{TD_\jobname\TD@extention _GLOSS_#1_SRC\space = #2}%
+}%
+\def\TD@printGlossaryTarget#1#2{%
+ \TD@print{TD_\jobname\TD@extention _GLOSS_#1_TARGET\space = #2}%
+}%
+\def\TD@printGlossaryStyle#1#2{%
+ \TD@print{TD_\jobname\TD@extention _GLOSS_#1_STYLE\space = #2}%
+}%
+\def\TD@switch#1{%
+ \expandafter\let\expandafter\TD@local@old\csname#1\endcsname%
+ \expandafter\let\expandafter\TD@local@new\csname TD@#1\endcsname%
+ \ifx\TD@local@old\TD@local@new
+ \PackageWarning{texdepends}{#1 already redefined. Skipping it.}%
+ \else
+ \ifx\TD@local@old\relax
+ \TD@warning{Diverting empty macro '#1' \MessageBreak%
+ Probably a bug in texdepends.sty}%
+ \else
+ \TD@info{Diverting macro '#1'}%
+ \fi
+ \expandafter\let\csname TD@orig@#1\endcsname\TD@local@old%
+ \expandafter\let\csname#1\endcsname\TD@local@new%
+ \fi
+}%
+\def\TD@docswitchlist{}%
+\def\TD@docswitch#1{%
+ \TD@info{Registering macro '#1' for diversion}%
+ \ifx\TD@docswitchlist\@empty%
+ \xdef\TD@docswitchlist{#1}%
+ \else%
+ \xdef\TD@docswitchlist{\TD@docswitchlist,#1}%
+ \fi%
+}%
+\AtBeginDocument{%
+ \TD@info{Diverting registered macros...}%
+ \@for\TD@cmd:=\TD@docswitchlist\do{%
+ \TD@switch{\TD@cmd}%
+ }%
+ \TD@info{Divertions done}%
+}%
+\def\TD@PackagePreDivert#1{%
+ \expandafter\def\csname TD@PackageStart@#1\endcsname ##1##2##3##4%
+}%
+\def\TD@PackagePostDivert#1{%
+ \expandafter\def\csname TD@PackageEnd@#1\endcsname ##1##2##3##4%
+}%
+\ifx\documentclass\@twoclasseserror
+ \PackageError{texdepends}{texdepends needs to be loaded BEFORE
+ \string\documentclass \MessageBreak
+ Use \string\RequirePackage\space instead of \string\usepackage
+ \MessageBreak as the later is not allowed before
+ \string\documentclass}
+\fi
+\TD@printPackage{texdepends}
+\TD@printGraphicspath{{.}}
+\def\TD@depends{}%
+\def\TD@dependsWarning{%
+ \PackageWarningNoLine{texdepends}{Figure(s) missing. Check
+ dependencies again}%
+}%
+\def\TD@missingDepends{%
+ \global\let\TD@depends\TD@dependsWarning%
+}%
+\AtEndDocument{%
+ \TD@depends%
+}%
+\def\TD@@fileswith@pti@ns#1[#2]#3[#4]{%
+ \ifx#1\@clsextension
+ \TD@printClass{#3}
+ \fi
+ \TD@orig@@fileswith@pti@ns{#1}[#2]{#3}[#4]%
+}%
+\let\TD@@@fileswith@pti@ns\TD@@fileswith@pti@ns
+\TD@switch{@fileswith@pti@ns}%
+\TD@switch{@@fileswith@pti@ns}%
+\def\TD@@onefilewithoptions#1[#2][#3]#4{%
+ \TD@printPackage{#1}%
+ \ifthenelse{\equal{#1}{texdepends}}{%
+ \TD@debug{Package '#1' detected}
+ \@for\TD@package@option:=#2\do{%
+ \ifthenelse{\expandafter\isundefined\csname TD@option@\TD@package@option\endcsname}{
+ \TD@warningLine{Ignoring unknown option '\TD@package@option'}
+ }{
+ \ifthenelse{%
+ \equal{\TD@package@option}{debug}%
+ %\OR\equal{\TD@package@option}{debug}%
+ }{
+ \csname TD@option@\TD@package@option\endcsname%
+ }{
+ \TD@warningLine{Ignoring option '\TD@package@option'
+ \MessageBreak #1 already loaded
+ }
+ }
+ }
+ }
+ }{%
+ \expandafter\let\expandafter\TD@divert
+ \csname TD@PackageStart@#1\endcsname
+ \ifx\TD@divert\relax
+ \TD@debug{No preamble for package #1}
+ \else
+ \TD@info{Preamble for package #1}
+ \TD@divert{#1}{#2}{#3}{#4}%
+ \fi
+ \TD@orig@@onefilewithoptions{#1}[#2][#3]{#4}%
+ \expandafter\let\expandafter\TD@divert
+ \csname TD@PackageEnd@#1\endcsname
+ \ifx\TD@divert\relax
+ \TD@debug{No postamble for package #1}
+ \else
+ \TD@info{Postamble for package #1}
+ \TD@divert{#1}{#2}{#3}{#4}%
+ \fi
+ }%
+}%
+\TD@switch{@onefilewithoptions}%
+\def\TD@@iinput#1{%
+ \TD@printInput{#1}%
+ \TD@orig@@iinput{#1}}%
+\def\TD@@input@#1{%
+ \IfFileExists{#1}{%
+ \TD@printInput{#1}%
+ }{}%
+ \TD@orig@@input@{#1}}%
+\TD@switch{@iinput}%
+\TD@switch{@input@}%
+\def\TD@verbatiminput#1{%
+ \TD@printInput{#1}%
+ \TD@orig@verbatiminput{#1}}%
+\TD@PackagePostDivert{verbatim}{%
+ \TD@switch{verbatiminput}}%
+\let\TD@orig@openout\openout
+\def\TD@openout#1{%
+ \@ifnextchar={\TD@openout@eq#1}{\TD@openout@noeq#1}}
+\def\TD@openout@eq#1=#2.#3{%
+ \TD@printOut{#2.#3}%
+ \TD@orig@openout#1=#2.#3%
+}%
+\def\TD@openout@noeq#1#2.#3{%
+ \TD@printOut{#2.#3}%
+ \TD@orig@openout#1#2.#3%
+}%
+ %\TD@switch{openout}
+\def\TD@bibli@bbl{%
+ \TD@printBblfile{\jobname}%
+ \global\let\TD@bibli@bbl\relax%
+}%
+\def\TD@bibli@files#1{%
+ \TD@bibli@bbl%
+ \@for\TD@bibfile:=#1\do{%
+ \TD@printBibfile{\TD@bibfile}%
+ }%
+}
+\def\TD@bibli@style#1{%
+ \TD@bibli@bbl%
+ %\@for\TD@bibstyle:=#1\do{%
+ % \TD@printBibstyle{\TD@bibstyle}%
+ %}
+ \TD@printBibstyle{#1}%
+}
+\def\TD@bibliography#1{%
+ \TD@bibli@files{#1}%
+ \TD@orig@bibliography{#1}%
+}%
+\def\TD@bibliographystyle#1{%
+ \TD@bibli@style{#1}%
+ \TD@orig@bibliographystyle{#1}%
+}%
+\TD@docswitch{bibliography}%
+\TD@switch{bibliographystyle}%
+\def\TD@makeindex{%
+ \TD@printIndex{\jobname}%
+ \TD@printIndexSource{\jobname}{\jobname.idx}%
+ \TD@orig@makeindex%
+}%
+\def\TD@makeglossary{%
+ \TD@printGlossary{\jobname}%
+ \TD@printGlossarySource{\jobname}{\jobname.glo}%
+ \TD@orig@makeglossary%
+}%
+\TD@switch{makeindex}%
+\TD@switch{makeglossary}%
+\def\TD@Gin@getbase#1{%
+ \TD@orig@Gin@getbase{#1}%
+ \ifx\Gin@ext\relax%
+ \else%
+ \TD@printFig{\Gin@base\Gin@ext}%
+ \fi%
+}%
+\def\TD@Ginclude@eps#1{%
+ \IfFileExists{#1}{%
+ \TD@orig@Ginclude@eps{#1}%
+ }{%
+ \PackageWarning{texdepends}{Figure '#1' needed\MessageBreak
+ Skipping it this time (the last one however)\MessageBreak}%
+ \TD@missingDepends%
+ \TD@printRequiredFile{#1}%
+ }%
+}%
+\def\TD@Ginclude@pdf#1{%
+ \IfFileExists{#1}{%
+ \TD@orig@Ginclude@pdf{#1}%
+ }{%
+ \PackageWarning{texdepends}{Figure '#1' needed\MessageBreak
+ Skipping it this time (the last one however)\MessageBreak}%
+ \TD@missingDepends%
+ \TD@printRequiredFile{#1}%
+ }%
+}%
+\def\TD@graphicspath#1{%
+ \TD@printGraphicspath{#1}%
+ \TD@orig@graphicspath{#1}%
+}%
+\def\TD@Gread@eps#1{%
+ \IfFileExists{#1}{%
+ %\PackageWarning{texdepends}{Gread File '#1' exists}%
+ \TD@orig@Gread@eps{#1}%
+ }{%
+ \PackageWarning{texdepends}{No '#1' file \MessageBreak
+ using 1 for graphic dimensions}%
+ \setbox\@tempboxa\hbox{\relax}%
+ \def\Gin@llx{1}\let\Gin@lly\Gin@llx
+ \Gin@defaultbp\Gin@urx{\wd\@tempboxa}%
+ \Gin@defaultbp\Gin@ury{\ht\@tempboxa}%
+ }%
+}%
+\def\TD@Gread@pdf#1{%
+ \IfFileExists{#1}{%
+ %\PackageWarning{texdepends}{Gread File '#1' exists}%
+ \TD@orig@Gread@pdf{#1}%
+ }{%
+ \PackageWarning{texdepends}{No '#1' file \MessageBreak
+ using 1 for graphic dimensions}%
+ \setbox\@tempboxa\hbox{\relax}%
+ \def\Gin@llx{1}\let\Gin@lly\Gin@llx
+ \Gin@defaultbp\Gin@urx{\wd\@tempboxa}%
+ \Gin@defaultbp\Gin@ury{\ht\@tempboxa}%
+ }%
+}%
+\TD@PackagePostDivert{graphics}{%
+ \TD@switch{graphicspath}%
+ \TD@docswitch{Gin@getbase}%
+ \TD@docswitch{Ginclude@eps}%
+ \TD@docswitch{Ginclude@pdf}%
+ \TD@docswitch{Gread@eps}%
+ \TD@docswitch{Gread@pdf}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\TD@FL@includerawtexgraphics[#1]#2{%
+ \IfFileExists{#2}{%
+ \TD@orig@FL@includerawtexgraphics[#1]{#2}%
+ }{%
+ \PackageWarning{texdepends}{Figure '#2' needed\MessageBreak
+ Skipping it this time (the last one however)\MessageBreak}%
+ \TD@missingDepends%
+ \TD@printRequiredFile{#2}%
+ }%
+}%
+
+\def\TD@Ginclude@rawtex#1{%
+ \IfFileExists{#1}{%
+ \TD@orig@Ginclude@rawtex{#1}%
+ }{%
+ \PackageWarning{texdepends}{Figure '#1' needed\MessageBreak
+ Skipping it this time (the last one however)\MessageBreak}%
+ \TD@missingDepends%
+ \TD@printRequiredFile{#1}%
+ }%
+}%
+
+\def\TD@Ginclude@figtex#1{%
+ \IfFileExists{#1}{%
+ %\PackageWarning{texdepends}{Ginclude File '#1' exists}%
+ \TD@orig@Ginclude@figtex{#1}%
+ }{%
+ \ifthenelse{\isundefined{\FL@subfig@mainfigname}}{%
+ \PackageWarning{texdepends}{Figure '#1' needed\MessageBreak
+ Skipping it this time (the last one however)\MessageBreak}%
+ }{%
+ \PackageWarning{texdepends}{SubFigure '#1' from
+ \FL@subfig@mainfigname needed\MessageBreak
+ Skipping it this time (the last one however)\MessageBreak}%
+ }
+ \TD@missingDepends%
+ \TD@printRequiredFile{#1}%
+ }%
+}%
+\def\TD@Ginclude@svgtex#1{%
+ \IfFileExists{#1}{%
+ %\PackageWarning{texdepends}{Ginclude File '#1' exists}%
+ \TD@orig@Ginclude@svgtex{#1}%
+ }{%
+ \ifthenelse{\isundefined{\FL@subfig@mainfigname}}{%
+ \PackageWarning{texdepends}{Figure '#1' needed\MessageBreak
+ Skipping it this time (the last one however)\MessageBreak}%
+ }{%
+ \PackageWarning{texdepends}{SubFigure '#1' from
+ \FL@subfig@mainfigname needed\MessageBreak
+ Skipping it this time (the last one however)\MessageBreak}%
+ }
+ \TD@missingDepends%
+ \TD@printRequiredFile{#1}%
+ }%
+}%
+
+\def\TD@Gread@figtex#1{%
+ \IfFileExists{#1}{%
+ %\PackageWarning{texdepends}{Gread File '#1' exists}%
+ \TD@orig@Gread@figtex{#1}%
+ }{%
+ \PackageWarning{texdepends}{No '#1' file \MessageBreak
+ using 1 for graphic dimensions}%
+ \setbox\@tempboxa\hbox{\relax}%
+ \def\Gin@llx{1}\let\Gin@lly\Gin@llx
+ \Gin@defaultbp\Gin@urx{\wd\@tempboxa}%
+ \Gin@defaultbp\Gin@ury{\ht\@tempboxa}%
+ }%
+}%
+
+\def\TD@Gread@svgtex#1{%
+ \IfFileExists{#1}{%
+ %\PackageWarning{texdepends}{Gread File '#1' exists}%
+ \TD@orig@Gread@svgtex{#1}%
+ }{%
+ \PackageWarning{texdepends}{No '#1' file \MessageBreak
+ using 1 for graphic dimensions}%
+ \setbox\@tempboxa\hbox{\relax}%
+ \def\Gin@llx{1}\let\Gin@lly\Gin@llx
+ \Gin@defaultbp\Gin@urx{\wd\@tempboxa}%
+ \Gin@defaultbp\Gin@ury{\ht\@tempboxa}%
+ }%
+}%
+\def\TD@FL@subfig@check#1{%
+ \TD@printRequiredFile{#1}%
+ \TD@printSubfig{#1}%
+}%
+\TD@PackagePostDivert{figlatex}{%
+ \TD@docswitch{FL@includerawtexgraphics}%
+ \TD@docswitch{Ginclude@rawtex}%
+ \TD@docswitch{Ginclude@figtex}%
+ \TD@docswitch{Ginclude@svgtex}%
+ \TD@docswitch{Gread@figtex}%
+ \TD@docswitch{Gread@svgtex}%
+ \TD@docswitch{FL@subfig@check}%
+}%
+\def\TD@PrintIndex{%
+ \TD@printIndexStyle{\jobname}{gind.ist}
+ \TD@printIndexTarget{\jobname}{\jobname.ind}
+ \TD@orig@PrintIndex%
+}%
+\def\TD@PrintChanges{%
+ \TD@printGlossaryStyle{\jobname}{gglo.ist}
+ \TD@printGlossaryTarget{\jobname}{\jobname.gls}
+ \TD@orig@PrintChanges%
+}%
+\TD@PackagePostDivert{doc}{%
+ \TD@docswitch{PrintIndex}%
+ \TD@docswitch{PrintChanges}%
+}%
+\def\TD@def@index#1#2#3#4{%
+ \TD@printIndex{#2}%
+ \TD@printIndexSource{#2}{\jobname.#3}%
+ \TD@printIndexTarget{#2}{\jobname.#4}
+ \TD@orig@def@index{#1}{#2}{#3}{#4}%
+}%
+\TD@PackagePostDivert{index}{%
+ \TD@switch{def@index}%
+}%
+\def\TD@printindex{%
+ \TD@printIndexTarget{\jobname}{\jobname.ind}
+ \TD@orig@printindex%
+}%
+\TD@PackagePostDivert{makeidx}{%
+ \TD@docswitch{printindex}%
+}%
+\def\TD@printglossary{%
+ \TD@printGlossaryTarget{\jobname}{\jobname.gls}
+ \TD@orig@printglossary%
+}%
+\TD@PackagePostDivert{nomencl}{%
+ \TD@docswitch{printglossary}%
+ \TD@switch{makeglossary}%
+ \TD@printGlossaryStyle{\jobname}{nomencl.ist}
+}%
+\def\TD@btSect{%
+ \@ifnextchar[{\TD@btSect@opt}{\TD@btSect@noopt}}
+\def\TD@btSect@opt[#1]#2{%
+ \TD@bibli@files{#2}%
+ \TD@bibli@style{#1}%
+ \TD@orig@btSect[#1]{#2}}
+\def\TD@btSect@noopt#1{%
+ \TD@bibli@files{#1}%
+ \TD@orig@btSect{#1}}
+
+\def\TD@@bt@write@auxfile{%
+ \TD@printBblfile{\thebtauxfile}%
+ \TD@orig@@bt@write@auxfile%
+}%
+\TD@PackagePostDivert{bibtopic}{%
+ \global\let\TD@bibli@bbl\relax%
+ \global\let\TD@biblio@rules@package\TD@biblio@rules@package@bibtopic%
+ \TD@switch{@bt@write@auxfile}%
+ \TD@printOut{btbbl.aux}%
+ \TD@printRebuildRule{bibtopic}%
+ \TD@docswitch{btSect}%
+}%
+\endinput
+%%
+%% End of file `texdepends.sty'.
diff --git a/Master/texmf-dist/tex/latex/latex-make/texgraphicx.sty b/Master/texmf-dist/tex/latex/latex-make/texgraphicx.sty
new file mode 100644
index 00000000000..911070e7cdd
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/latex-make/texgraphicx.sty
@@ -0,0 +1,52 @@
+%%
+%% This is file `texgraphicx.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% figlatex.dtx (with options: `compat')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from texgraphicx.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file figlatex.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%%
+%% File: figlatex.dtx Copyright (C) 2002--2005 V. Danjean, A. Legrand
+%% Vincent.Danjean@ens-lyon.org
+%% Arnaud.Legrand@ens-lyon.org
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+%%
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%%
+ \ProvidesPackage{texgraphicx}%
+[2011/09/25 v0.1.4 include fig and svg in LaTeX]
+\PackageWarning{texgraphicx}{'texgraphicx' is now
+ deprecated\MessageBreak%
+ Please, consider switching to 'figlatex'
+ package\MessageBreak}
+\RequirePackage{figlatex}
+\ProcessOptions
+\endinput
+%%
+%% End of file `texgraphicx.sty'.