diff options
author | Karl Berry <karl@freefriends.org> | 2007-09-23 00:36:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-09-23 00:36:16 +0000 |
commit | 28fe3c14abdc8fbd0ed8b77edbb4b9c44a124c73 (patch) | |
tree | b9e6b8c46ac3b30c59048277721cc2dd3b7d4f5d | |
parent | 1465382018558cf3ddb3440aa6e51469eb0ebbc5 (diff) |
namespc must generate ins first (luecking 23 Jul 2007 13:47:15)
git-svn-id: svn://tug.org/texlive/trunk@5011 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Build/cdbuild/ctan2tds.pl | 1 | ||||
-rwxr-xr-x | Build/tools/tpm-ctan-check | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/namespc/namespc.sty | 49 |
3 files changed, 51 insertions, 1 deletions
diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl index 55c109f41ec..e2f348304aa 100755 --- a/Build/cdbuild/ctan2tds.pl +++ b/Build/cdbuild/ctan2tds.pl @@ -683,6 +683,7 @@ $standarddocfmt='latex'; 'localloc', 'localloc.dtx', 'makecell', 'makecell.dtx', 'minitoc', 'NULL', # takes forever, and files are pregenerated + 'namespc', 'namespc.dtx', 'paper', 'install.02', 'parrun', 'parrun.ins', 'stmaryrd', 'stmaryrd.dtx', diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check index f0d5acbded1..f4b31437a76 100755 --- a/Build/tools/tpm-ctan-check +++ b/Build/tools/tpm-ctan-check @@ -94,7 +94,7 @@ my @WorkingTPM = qw( mla-paper mlist mnsymbol moderncv moreverb movie15 ms msg multicap munich muthesis mwcls mwrite - nag natbib nath nature ncclatex ncctools newlfm nih noitcrul + nag namespc natbib nath nature ncclatex ncctools newlfm nih noitcrul nomencl nomentbl notes2bib ntgclass ntheorem-vn numline numname numprint oberdiek ocr-latex octavo ofs ogham oldstyle onlyamsmath opcit diff --git a/Master/texmf-dist/tex/latex/namespc/namespc.sty b/Master/texmf-dist/tex/latex/namespc/namespc.sty new file mode 100644 index 00000000000..56b207b0b7a --- /dev/null +++ b/Master/texmf-dist/tex/latex/namespc/namespc.sty @@ -0,0 +1,49 @@ +%% +%% This is file `namespc.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% namespc.dtx (with options: `package') +%% +%% +%% +\NeedsTeXFormat{LaTeX2e}[1998/12/01] +\ProvidesPackage{namespc} + [2003/10/03 namespace environment] +\makeatletter +\def\@defnamespace@ifundef#1{ + \@ifundefined{#1}{ + \long\expandafter\def\csname#1\endcsname{} + }{} +} +\newcommand{\@n@mesp@cestar}[3]{ + \@defnamespace@ifundef{@namespace@#1} + \expandafter\g@addto@macro\csname @namespace@#1\endcsname{#2}% + { + \expandafter\relax\csname @namespace@#1\endcsname + #3 + } +} +\newcommand{\usingnamespace}[1]{ + \@defnamespace@ifundef{@namespace@#1} + \csname @namespace@#1\endcsname +} +\def\@provide@namespace@env#1{ + \@ifundefined{#1} { + \newenvironment{#1}{\usingnamespace{#1}}{} + }{} +} +\def\::#1::#2:#3:{% + {\csname @namespace@#1\endcsname + \csname#2\endcsname#3} +} +\newcommand{\@n@mesp@ce}[3]{ + \@provide@namespace@env{#1} + \@n@mesp@cestar{#1}{#2}{#3} +} +\newcommand*{\namespace}{\@ifstar\@n@mesp@cestar\@n@mesp@ce} +\makeatother +\endinput +%% +%% End of file `namespc.sty'. |