|
|
|
@ -37,7 +37,6 @@
|
|
|
|
|
\begin{document}
|
|
|
|
|
\DocInput{ifprintedition.dtx}
|
|
|
|
|
\PrintChanges
|
|
|
|
|
\PrintIndex
|
|
|
|
|
\end{document}
|
|
|
|
|
%</driver>
|
|
|
|
|
% \fi
|
|
|
|
@ -70,31 +69,35 @@
|
|
|
|
|
%
|
|
|
|
|
% \title{The \textsf{ifprintedition} package\thanks{This document
|
|
|
|
|
% corresponds to \textsf{ifprintedition}~\fileversion, dated \filedate.}}
|
|
|
|
|
% \author{Taha Ahmed \\ \texttt{taha+ltx@chepec.se}}
|
|
|
|
|
% \author{Taha Ahmed \\ \texttt{taha@chepec.se}}
|
|
|
|
|
%
|
|
|
|
|
% \maketitle
|
|
|
|
|
%
|
|
|
|
|
% \section{Introduction}
|
|
|
|
|
%
|
|
|
|
|
% Put text here.
|
|
|
|
|
% Please also see the adjoining \texttt{README.md} file.
|
|
|
|
|
%
|
|
|
|
|
% \section{Usage}
|
|
|
|
|
%
|
|
|
|
|
% Put text here.
|
|
|
|
|
%
|
|
|
|
|
% \DescribeMacro{\dummyMacro}
|
|
|
|
|
% This macro does nothing.\index{doing nothing|usage} It is merely an
|
|
|
|
|
% example. If this were a real macro, you would put a paragraph here
|
|
|
|
|
% describing what the macro is supposed to do, what its mandatory and
|
|
|
|
|
% optional arguments are, and so forth.
|
|
|
|
|
%
|
|
|
|
|
% \DescribeEnv{dummyEnv}
|
|
|
|
|
% This environment does nothing. It is merely an example.
|
|
|
|
|
% If this were a real environment, you would put a paragraph here
|
|
|
|
|
% describing what the environment is supposed to do, what its
|
|
|
|
|
% mandatory and optional arguments are, and so forth.
|
|
|
|
|
%
|
|
|
|
|
% \StopEventually{\PrintIndex}
|
|
|
|
|
% The two macros in this package are purposefully designed to work similar to
|
|
|
|
|
% \texttt{\\ifdraft\{\}\{\}} from the \texttt{ifdraft} package.
|
|
|
|
|
%
|
|
|
|
|
% \DescribeMacro{\ifwebedition\{\}\{\}}
|
|
|
|
|
% Code in the first block will be executed if the documentclass option
|
|
|
|
|
% \texttt{webedition} was set (this is controlled in the documentclass
|
|
|
|
|
% \texttt{cls} file, see this
|
|
|
|
|
% \href{https://git.solarchemist.se/config/texmf-latex/commit/ba83966ffb39037547e2b800629972f8bf5e6706}{commit}
|
|
|
|
|
% for an example).
|
|
|
|
|
% Conversely, code in the second block will be executed if the option \texttt{webedition}
|
|
|
|
|
% was \emph{not} set (which means that \texttt{printedition} is set, just like
|
|
|
|
|
% the \texttt{draft} and \texttt{final} options behave).
|
|
|
|
|
%
|
|
|
|
|
% \DescribeMacro{\ifprintedition\{\}\{\}}
|
|
|
|
|
% Provided for convenience, as it is not really necessary in light of its
|
|
|
|
|
% sister function above.
|
|
|
|
|
% If it suits you better, use it.
|
|
|
|
|
%
|
|
|
|
|
% \StopEventually{}
|
|
|
|
|
%
|
|
|
|
|
% \section{Implementation}
|
|
|
|
|
%
|
|
|
|
|