summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/interfaces/interfaces-tikz.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-12-30 01:08:20 +0000
committerKarl Berry <karl@freefriends.org>2010-12-30 01:08:20 +0000
commit37b8e23a1e5dbb74496788f400ddb1e4ba96ac19 (patch)
treecc33dbd59bb6570b2aefe56fc70426aa8e797b0f /Master/texmf-dist/tex/latex/interfaces/interfaces-tikz.sty
parent23e7dcd67bf998e35a72c812629bb8bb5c26d2b5 (diff)
interfaces (29dec10)
git-svn-id: svn://tug.org/texlive/trunk@20878 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/interfaces/interfaces-tikz.sty')
-rw-r--r--Master/texmf-dist/tex/latex/interfaces/interfaces-tikz.sty37
1 files changed, 26 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-tikz.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-tikz.sty
index a1c8d9fab9c..ff0a967987e 100644
--- a/Master/texmf-dist/tex/latex/interfaces/interfaces-tikz.sty
+++ b/Master/texmf-dist/tex/latex/interfaces/interfaces-tikz.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% interfaces : 2010/12/07 v2.5 - interfaces : interfaces with keys for other packages (FC)
+%% interfaces : 2010/12/27 v2.6 - interfaces : interfaces with keys for other packages (FC)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -21,11 +21,12 @@
%% interfaces.sty, interfaces.pdf, interfaces.ins,
%% interfaces-base.sty,
%% interfaces-LaTeX.sty,
+%% interfaces-graphics.sty,
%% interfaces-tikz.sty,
%% interfaces-titlesec.sty,
%% interfaces-hyperref.sty,
%% interfaces-bookmark.sty,
-%% interfaces-hypbmsec.sty,interfaces-hypbmsec.code.tex,
+%% interfaces-hypbmsec.sty,
%% interfaces-fancyhdr.sty,
%% interfaces-marks.sty,
%% interfaces-tocloft.sty,
@@ -44,7 +45,7 @@
%% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%%
\ProvidesPackage{interfaces-tikz}
- [2010/12/07 v2.5 load tikz libraries easily - pgf 2.0 & 2.1 (FC)]
+ [2010/12/27 v2.6 load tikz libraries easily (FC)]
\RequirePackage{interfaces-base}
\itf@pgfkeys
%% Some catcode checking
@@ -55,9 +56,11 @@
}%
}%
\newcommand*\alltikzpackages{%
- tikz,pgf,pgfcore,pgfcalendar,pgffor,pgfkeys,pgfpages,pgfrcs,tikzexternal,xxcolor,%
- pgfplots,pgfsys,pgfmath,%
- pgfpic2e,fp,% + fp required for fixedpointarithmetic
+ tikz,pgf,pgfcore,pgfcalendar,pgffor,pgfkeys,pgfpages,pgfrcs,xxcolor,%
+ pgfplots,pgfsys,
+ pgfpict2e,fp%%,% + fp required for fixedpointarithmetic
+%% tikzexternal,%% needs special setup
+%% pgfmath,% pgfmath should not be loaded twice (\pgfmathdeclarefunction)
}% \alltikzpackages
\newcommand*\allpgfmodules{datavisualization,%
decorations,%
@@ -66,8 +69,8 @@ oo,%
parser,%
plot,%
shapes,%
-snakes,%
-sorting%
+snakes%
+%%sorting% bug in pgfmodulesorting.code.tex
}% \allpgfmodules
\newcommand*\alltikzlibraries{3d,%
arrows,%
@@ -98,7 +101,7 @@ decorations.pathreplacing,%
decorations.shapes,%
decorations.text,%
er,%
-external,%
+%%external,% needs special setup
fadings,%
fit,%
fixedpointarithmetic,%
@@ -137,10 +140,11 @@ turtle%
}% \alltikzlibraries
\pgfqkeys{/itf/tikz}{%
basic/.code={%
- \usetikzlibrary{calc,%
+ \usetikzlibrary{calc,% for coordinate calculations
arrows,% for arrows
backgrounds,% for framed
- scopes% for scopes and shortcut : { [scope] ... }
+ scopes,% for scopes and shortcut : { [scope] ... }
+ shapes,% for ellipse shapes of nodes
}%
},%
basic/.value forbidden,% \alltikzpackages
@@ -158,7 +162,18 @@ turtle%
{\pgfqkeys{/itf/tikz}{all}}
{\pgfqkeys{/itf/tikz}{#1}}%
\itf@pgfkeys% overwritten by \input primitive otherwise
+ \itf@usetikzsetup
}% \usetikz
+\def\itf@usetikzsetup{%
+ \pgfkeysifdefined{/tikz/shorten>}{}{%
+ \pgfkeys{/tikz/shorten>/.alias=tikz/shorten >}}%
+ \pgfkeysifdefined{/tikz/shorten<}{}{%
+ \pgfkeys{/tikz/shorten</.alias=tikz/shorten <}}%
+ \pgfkeysifdefined{/tikz/shorten <>}{}{%
+ \pgfkeys{/tikz/shorten <>/.style={/tikz/shorten >={##1},/tikz/shorten<={##1}}}}%
+ \pgfkeysifdefined{/tikz/shorten<>}{}{%
+ \pgfkeys{/tikz/shorten<>/.alias=tikz/shorten <>}}%
+}%
\newrobustcmd*\itf@usetikzcode[1]{\begingroup
\edef\x{%
\noexpand\in@{,#1,}{,\alltikzpackages,}%