%%
%% This is file `ncccomma.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% ncccomma.dtx  (with options: `package')
%% 
%% IMPORTANT NOTICE:
%% 
%% This file is a generated file from the sources of the `ncctools'
%% bundle.
%% 
%% You are not allowed to modify this file.
%% 
%% You are allowed to distribute this file if and only if
%% it is distributed with the corresponding source files in
%% the `ncctools' bundle.
%% 
%% For the copying and distribution conditions of the source files,
%% see the README file distributed with the ncctools bundle.
%%
%% File: ncccomma.dtx Copyright (C) 2005 by Alexander I. Rozhenko
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ncccomma}
      [2005/02/10 v1.0 Smart Math Comma Package (NCC)]
\mathchardef\mathcomma\mathcode`\,
\mathcode`\,="8000
\bgroup
  \uccode`\~`\,%
  \uppercase{%
\egroup
  \def~}{\futurelet\@let@token\NCC@comma}
\newcommand\ordcommalist{0123456789}
\def\NCC@comma{%
  \let\@tempb\@empty
  \expandafter\@tfor\expandafter\@tempa\expandafter:\expandafter=%
  \ordcommalist\do{%
    \expandafter\ifx\@tempa\@let@token
      \let\@tempb\mathord \@break@tfor
    \fi
  }%
  \@tempb\mathcomma
}
\endinput
%%
%% End of file `ncccomma.sty'.
