| %% |
| %% 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-2019 |
| %% Copyright (C) Facebook, 2019 |
| %% |
| %% Authors: Paul E. McKenney <paulmck@kernel.org> |
| |
| \newcommand{\OriginallyPublished}[4]{} |
| \newcommand{\RangeOriginallyPublished}[5]{} |
| \newcommand{\ListOriginalPublications}{ |
| \begin{enumerate} |
| \input{origpub} |
| \end{enumerate}} |
| |
| \newcommand{\ContributedBy}[2]{\label{#1}} |
| \newcommand{\QContributedBy}[2]{} |
| \newcommand{\ListContributions}{ |
| \begin{enumerate} |
| \input{contrib} |
| \end{enumerate}} |
| |
| %% Internal interfaces generated by scripts. |
| |
| \newcommand{\OrigPubItem}[4]{ |
| \item \Cref{#1} (``#2'') on page~\pageref{#1} |
| originally appeared in #3~\cite{#4}.} |
| |
| \newcommand{\RangeOrigPub}[5]{ |
| \item \Cref{#1}--\ref{#2} (``#3'') |
| on pages~\pageref{#1}--\pageref{#2} |
| originally appeared in #4~\cite{#5}.} |
| |
| \newcommand{\ContribItem}[2]{ |
| \item \Cref{#1} (p~\pageref{#1}) by #2.} |