diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-10 22:52:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-10 22:52:00 +0000 |
commit | 243b2ad3109380c958cb4869ef9da316d4b1b363 (patch) | |
tree | f50f7fca8b1e20d47777801c82475b78f52dba6f /Master/texmf-dist/doc/generic/pstricks/ctandir.sty | |
parent | 43a4208ce0d47c2489ce43fc3ae350b06d4c8a8c (diff) |
pstricks 2.11 (10sep10)
git-svn-id: svn://tug.org/texlive/trunk@19644 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/ctandir.sty')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/ctandir.sty | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/ctandir.sty b/Master/texmf-dist/doc/generic/pstricks/ctandir.sty new file mode 100644 index 00000000000..37928e95823 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/ctandir.sty @@ -0,0 +1,30 @@ +%% LaTeX2e file `ctandir.sty' +%% generated by the `filecontents' environment +%% from source `pst-fill-doc' on 2004/08/18. +%% +%% LaTeX2e file `ctandir.sty' +%% generated by the `filecontents' environment +%% from source `ltubguid' on 1997/06/12. +%% +% +% Experimental CTAN location information macros for use with Donald +% Arseneau's |url.sty| +% +% we need url.sty; we can rely on it to demand anything it needs of +% LaTeX +\IfFileExists{url.sty}% + {\RequirePackage{url}}% + {\PackageWarning{ctandir}{You should acquire a copy of url.sty}% + \newcommand\urldef[3]{\def#1{\texttt{#3}}}% + \let\url\texttt + } +% +\newcommand\CTANdirectory[1]{\expandafter\urldef + \csname CTAN@#1\endcsname\path} +\newcommand\CTANfile[1]{\expandafter\urldef + \csname CTAN@#1\endcsname\path} +% +% Use the standard label-referencing mechanism to get the warning for +% an undefined label +\newcommand\CTANref[1]{\expandafter\@setref\csname CTAN@#1\endcsname + \relax{#1}} |