diff options
author | Karl Berry <karl@freefriends.org> | 2007-06-17 23:22:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-06-17 23:22:38 +0000 |
commit | 5c5c7843fbd37c6960799b6e1a32d5948966316c (patch) | |
tree | ea73f6b5ba799656992ebe2f34beccd2555f1342 /Master/texmf-dist/tex/generic/pgf/utilities/pgfutil-plain.def | |
parent | f0c1f4cdb9fad83f293fd91d194538425f9f7633 (diff) |
pgf 1.18 (15jun07)
git-svn-id: svn://tug.org/texlive/trunk@4459 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/utilities/pgfutil-plain.def')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/utilities/pgfutil-plain.def | 56 |
1 files changed, 25 insertions, 31 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/utilities/pgfutil-plain.def b/Master/texmf-dist/tex/generic/pgf/utilities/pgfutil-plain.def index 474cdea9f1a..e69159cabb0 100644 --- a/Master/texmf-dist/tex/generic/pgf/utilities/pgfutil-plain.def +++ b/Master/texmf-dist/tex/generic/pgf/utilities/pgfutil-plain.def @@ -12,11 +12,11 @@ % The aux files, needed for reading back coordinates - -\newwrite\pgfutil@auxout -\pgfutil@IfFileExists{\jobname.aux}{\input \jobname.aux\relax}{} -\openout\pgfutil@auxout - +\def\pgfutil@aux@read@hook{ + \pgfutil@IfFileExists{\jobname.pgf}{\input \jobname.pgf\relax}{} + \csname newwrite\endcsname\pgfutil@auxout + \csname openout\endcsname\pgfutil@auxout\jobname.pgf +} % XColor-like support for plain TeX @@ -186,6 +186,25 @@ \def\pgfutil@font@itshape{\it} \def\pgfutil@font@bfseries{\bf} +\let\pgfutil@font@normalfont=\rm + +\let\pgfutil@selectfont=\rm + + +% Extra counters, registers, boxes + +\newcount\pgfutil@tempcnta +\newcount\pgfutil@tempcntb + +\newbox\pgfutil@tempboxa + +\newdimen\pgfutil@tempdima +\newdimen\pgfutil@tempdimb + + +% Module stuff + +\def\pgfutil@usemodule#1{\input #1.tex} @@ -197,25 +216,7 @@ \def\PackageError#1#2#3{\immediate\write-1{Package #1: Error! #2.}}% \long\def\AtBeginDocument#1{#1}% \long\def\AtBeginDvi#1{#1}% -\def\providecommand#1#2{\ifx#1\@undefined\def#1{#2}\fi} -\def\pgflatex@setcounter#1#2{\global\csname c@#1\endcsname#2\relax}% -\def\setlength#1#2{% - \pgf@length@skip=0pt% - \edef\pgf@temp{#2}% - \expandafter\pgfutil@parse@setlength\pgf@temp+\pgf@stop% - #1=\pgf@length@skip% -} -\def\pgfutil@parse@setlength#1+#2\pgf@stop{% - \advance\pgf@length@skip by#1\relax% - \def\pgf@test{#2}% - \ifx\pgf@test\pgfutil@empty% - \else% - \pgfutil@parse@setlength#2\pgf@stop% - \fi% -} -\def\addtolength#1#2{\setlength{\pgf@length@skip}{#2}\advance#1 \pgf@length@skip\relax} -\def\selectfont{\rm} -\def\applycolormixins#1{} + \ifx\setkeys\@undefined \def\setkeys#1#2{% \def\KV@prefix{KV@#1@}% @@ -274,13 +275,6 @@ \newtoks\KV@toks@ -\newdimen\@tempdima -\newdimen\@tempdimb -\newcount\@tempcnta -\newcount\@tempcntb -\newbox\@tempboxa -\newskip\pgf@length@skip - |