diff options
author | Karl Berry <karl@freefriends.org> | 2006-07-08 00:45:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-07-08 00:45:13 +0000 |
commit | d3b974a90a027f4e3109e15c5412d8f83085c284 (patch) | |
tree | 56b6cf3b21ebb2884ae3a039887b184e080dc783 /Master/texmf-dist/tex/latex/semantic/semantic.sty | |
parent | c595c45087165b3b8ae636cfe06fed1e8585e51d (diff) |
semantic update needed from 2002, from kaja
git-svn-id: svn://tug.org/texlive/trunk@1783 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/semantic/semantic.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/semantic/semantic.sty | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/semantic/semantic.sty b/Master/texmf-dist/tex/latex/semantic/semantic.sty index 5480d22bccb..3d3fd33baa6 100644 --- a/Master/texmf-dist/tex/latex/semantic/semantic.sty +++ b/Master/texmf-dist/tex/latex/semantic/semantic.sty @@ -20,9 +20,17 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) +%% +%% semantic.dtx (c)1995--2002 Peter Møller Neergaard and +%% Arne John Glenstrup +%% \NeedsTeXFormat{LaTeX2e} +\newcommand{\semanticVersion}{2.0(epsilon)} +\newcommand{\semanticDate}{2003/10/28} \ProvidesPackage{semantic} - [2000/08/03 v2.0(gamma) Semantic Package] + [\semanticDate\space v\semanticVersion\space] +\typeout{Semantic Package v\semanticVersion\space [\semanticDate]} +\typeout{CVSId: $Id: semantic.dtx,v 1.11 2003/10/28 13:45:57 turtle Exp $} \newcounter{@@conflict} \newcommand{\@semanticNotDefinable}{% \typeout{Command \@backslashchar\reserved@a\space already defined} @@ -31,12 +39,14 @@ \let\@oldNotDefinable=\@notdefinable \let\@notdefinable=\@semanticNotDefinable \newcommand{\TestForConflict}{} -\def\TestForConflict#1{\@test #1,,} -\newcommand{\@test}{} \newcommand{\@temp}{} \newcommand{\@@next}{} -\def\@test#1,{% - \def\@temp{#1}% - \ifx \@temp\empty \let\@@next=\relax \else - \@ifdefinable{#1}{} \let\@@next=\@test \fi +\def\TestForConflict#1{\sem@test #1,,} +\newcommand{\sem@test}{} +\newcommand{\sem@tmp}{} +\newcommand{\@@next}{} +\def\sem@test#1,{% + \def\sem@tmp{#1}% + \ifx \sem@tmp\empty \let\@@next=\relax \else + \@ifdefinable{#1}{} \let\@@next=\sem@test \fi \@@next} \TestForConflict{\@inputLigature,\@inputInference,\@inputTdiagram} \TestForConflict{\@inputReservedWords,\@inputShorthand} @@ -61,7 +71,7 @@ \DeclareOption{shorthand}{\@ddInput\@inputLigature \@ddInput\@inputShorthand} \ProcessOptions* -\message{Semantic Package.^^JLoading} +\typeout{Loading features: } \def\sem@nticsLoader{} \edef\lo@d{\the\toks1} \ifx\lo@d\empty @@ -73,7 +83,7 @@ \else \lo@d \fi -\message{and general definitions.^^J} +\typeout{and general definitions.^^J} \let\@ddInput\relax \let\@inputInference\relax \let\@inputLigature\relax @@ -115,7 +125,7 @@ \let\@oldNotDefinable=\relax \let\TestForConflict=\relax \let\@endmark=\relax -\let\@test=\relax +\let\sem@test=\relax \newdimen\@@maxwidth \newbox\@@pLineBox \newbox\@@cBox |