| %% |
| %% This is file `origpub.sty'. It handles the latex portions of extracting |
| %% Original Publications. Other pieces of the puzzle may be found |
| %% in the Makefile and the utilities directory. |
| %% |
| %% \OriginallyPublished{tag}{sec:label}{title}{publication name}{citation} |
| %% \ListOriginalPublications -- to dump list of original publications. |
| %% \ContributedBy{tag}{fig:label}{artist} |
| %% \ListContributions -- to dump list of contributions |
| %% |
| %% Copyright (C) IBM Corporation, 2008 |
| %% |
| %% Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
| |
| \newcommand{\OriginallyPublished}[5]{} |
| \newcommand{\RangeOriginallyPublished}[6]{} |
| \newcommand{\ListOriginalPublications}{ |
| \begin{enumerate} |
| \input{origpub} |
| \end{enumerate}} |
| |
| \newcommand{\ContributedBy}[3]{\label{#2}} |
| \newcommand{\QContributedBy}[3]{} |
| \newcommand{\ListContributions}{ |
| \begin{enumerate} |
| \input{contrib} |
| \end{enumerate}} |
| |
| %% Internal interfaces generated by scripts. |
| |
| \newcommand{\OrigPubItem}[5]{ |
| \item #1~\ref{#2} (``#3'') on page~\pageref{#2} |
| originally appeared in #4~\cite{#5}.} |
| |
| \newcommand{\RangeOrigPub}[6]{ |
| \item #1~\ref{#2}--\ref{#3} (``#4'') |
| on pages~\pageref{#2}--\pageref{#2} |
| originally appeared in #5~\cite{#6}.} |
| |
| \newcommand{\ContribItem}[3]{ |
| \item #1~\ref{#2} (p~\pageref{#2}) by #3.} |