\documentclass[]{article}
\usepackage{amsmath,graphicx,supertabular,hyperref,tabularx,ifthen}
\title{TIP \#253: Consolidate Package-Related Commands}
\date{July 05, 2005}
\author{Brian Schmidt}
\urlstyle{sf}
\setlength{\parskip}{1ex}
\setlength{\parindent}{0pt}
\def\tipversion$#1${\texttt{\$#1\$}}
\def\tiplangle#1{\ensuremath{<}}
\def\tiprangle#1{\ensuremath{>}}
\def\tipbar#1{\ensuremath{|}}
\def\tipmail#1#2{\(\langle\){\small\expandafter\url{#1@#2}}\(\rangle\)}
\ifx\pdfoutput\undefined
\newcommand{\tipimage}[2]{\typeout{Make sure you download #1.eps}\ifthenelse{\lengthtest{0.8\textwidth>#2}\and\lengthtest{0pt<#2}}{\includegraphics{#1.eps}}{\includegraphics[width=0.8\textwidth]{#1.eps}}}
\newcommand{\tipxref}[1]{}
\newcommand{\tipxrefend}{}
\else
\newcommand{\tipimage}[2]{\typeout{Make sure you create #1.pdf}\ifthenelse{\lengthtest{0.8\textwidth>#2}\and\lengthtest{0pt<#2}}{\includegraphics{#1.pdf}}{\includegraphics[width=0.8\textwidth]{#1.pdf}}}
\pdfcatalog{/PageMode /UseOutlines}
\newcommand{\tipxref}[1]{\pdfannotlink attr {/C [0.5 0.5 1.0] /Border [0 0 1]} goto name {#1}}
\newcommand{\tipxrefend}{\pdfendlink}
\fi
\newenvironment{tipabstract}{\begin{abstract}}{\end{abstract}}
\begin{document}\maketitle
\begin{center}\begin{tabularx}{\linewidth}{|r@{: }X|}\hline
\textbf{TIP \#253}&\textbf{Consolidate Package-Related Commands}\\\hline
Author&

Brian Schmidt \tipmail{contact}{schmidtsrus.net}
\\
Created&Tuesday, \(\text{5}^{\text{th}}\) July 2005\\
Type&Project\\
Tcl Version&\(8.7\)\\
State&Draft\\
Vote&Pending\\
Version&\tipversion$Revision: 1.6 $\\
Post History&\\
\hline\end{tabularx}\end{center}
\thispagestyle{empty}\pagestyle{empty}
\begin{tipabstract}

This TIP proposes enhancing the existing \textbf{package} command with additional subcommands to serve as the top-level command container for the existing \textbf{pkg::create} and \textbf{pkg\_mkIndex} commands.
\end{tipabstract}
\tableofcontents\setcounter{page}{0}\clearpage\pagestyle{plain}

\section{Rationale}

The \textbf{pkg::create} and \textbf{pkg\_mkIndex} commands, while they relate to packages, are their own separate top-level commands. For consistency, clarity and also making it easier for new users to see all the related options, those commands should become options under the existing \textbf{package} command.

\section{Specification}

Additional \textbf{package} command options will be added with the following subcommand syntax:
\begingroup\small\begin{verbatim}
    package create     ;pkg::create
    package mkIndex    ;pkg_mkIndex
\end{verbatim}
\endgroup

Each represents the existing command that is commented. The arguments to each would remain what the current command takes.

The following old commands could then potentially be eventually deprecated:
\begingroup\small\begin{verbatim}
    pkg::create
    pkg_mkIndex
\end{verbatim}
\endgroup

\section{Copyright}

This document has been placed in the public domain.

\section{Colophon}

\textit{TIP AutoGenerator --- written by Donal K. Fellows}
\end{document}
