\ProvidesFile{ifnextok.tex}[2011/05/23 documenting ifnextok.sty (UL)]
\title{\textsf{\huge ifnextok}\\---\\\cs{IfNextToken} 
       instead of \cs{@ifnextchar}\\Does Not Skip Blank 
       Spaces\thanks{This document describes version 
       \textcolor{blue}{\UseVersionOf{ifnextok.sty}} 
       of \file{ifnextok.sty} as of \UseDateOf{ifnextok.sty}.}}
{ \RequirePackage{makedoc}[2010/12/20] \ProcessLineMessage{} 
  \MakeJobDoc{18}{\SectionLevelThreeParseInput} 
}
\documentclass{article}%% TODO paper dimensions!?
\input{makedoc.cfg} %% shared formatting settings
\usepackage{color}
\usepackage[all]{ifnextok}
\makeatletter 
  \@beginparpenalty\@lowpenalty 
%   \show\@xnewline
%  \tracingmacros=1 \tracingonline=1
%   \NoNewlineSkipping
%   \NextTokenForNextChar\@xnewline
%   \show\@xnewline
%   \show\\
%   \show\@normalcr
\makeatother
\sloppy
\begin{document}
\maketitle
\begin{abstract} %%% \noindent
  The 'ifnextok' package deals with the behavior of 
  \LaTeX's internal `\@ifnextchar' to skip blank spaces. 
  This sometimes has surprising or for some users really 
  \emph{unwanted} effects, especially with brackets following 
  `\\' where the user does \emph{not} intend to specify an 
  optional argument, rather wants that brackets are \emph{printed.} 
  The package offers commands and options for modifying this 
%  \tracingmacros=1 \tracingonline=1
  behavior, maybe limited to certain parts of the 
  document source.\\ 
  [It works!] 
  It may also be useful with active characters in lieu of `\\', 
  e.g., the double quote `"' with \ctanpkgref{german}`.sty'
  or \ctanpkgref{babel}.
  \par\smallskip\noindent
\strong{Keywords:}\quad 
    macro programming, optional command arguments, 
    manual line breaks
\end{abstract}
\tableofcontents

%   \newpage 
\section{Installing and Calling}
The package file `ifnextok.sty' is provided ready, 
installation only requires putting it somewhere where \TeX\ finds it 
(which may need updating the filename data 
 base).\urlfoot{ukfaqref}{inst-wlcf}

Below the `\documentclass' line(s) and above `\begin{document}', 
you load `ifnextok.sty' (as usually) by 
\[`\usepackage{ifnextok}'\qquad \mbox{or by}\qquad 
  `\usepackage[<options>]{ifnextok}'\]---<options> described 
in Section~\ref{sec:options}.

\section{The Package File}
\subsection{Header (Legalize)}
\input{ifnextok.doc}
\end{document}

VERSION HISTORY

2011/05/22      very first
