

    \filetitle{publish}{Compile PDF from report object}{report/publish}

	\paragraph{Syntax}
 
 \begin{verbatim}
 P.publish(FNAME,...)
 \end{verbatim}
 \paragraph{Input arguments}
 
 \begin{itemize}
 \item
   \texttt{P} {[} struct {]} - Report object created by the
   \texttt{report.new} function.
 \item
   \texttt{FNAME} {[} char {]} - File name under which the compiled PDF
   will be saved.
 \end{itemize}
 \paragraph{Options}
 
 \begin{itemize}
 \item
   \texttt{'abstract='} {[} char \textbar{} \emph{empty} {]} - Abstract
   on the title page.
 \item
   \texttt{'author='} {[} char \textbar{} \emph{empty} {]} - List of
   authors on the title page separated with \texttt{\textbackslash{}and}
   or \texttt{\textbackslash{}\textbackslash{}}.
 \item
   \texttt{'date='} {[} char \textbar{}
   \emph{\texttt{'\textbackslash{}today'}} {]} - Date on the title page.
 \item
   \texttt{'cleanup='} {[} \emph{\texttt{true}} \textbar{} \texttt{false}
   {]} - Delete all temporary files created when compiling the report.
 \item
   \texttt{'epsToPdf='} {[} char \textbar{} \emph{\texttt{Inf}} {]} -
   Command line arguments for EPSTOPDF; if \texttt{Inf} system-dependent
   defaults are used.
 \item
   \texttt{'fontEnc='} {[} char \textbar{} \emph{\texttt{'T1'}} {]} -
   \LaTeX~font encoding.
 \item
   \texttt{'makeTitle='} {[} \texttt{true} \textbar{}
   \emph{\texttt{false}} {]} - Produce title page (with title, author,
   date, and abstract).
 \item
   \texttt{'paperSize='} {[} \texttt{'a4paper'} \textbar{}
   \emph{\texttt{'letterpaper'}} {]} - Paper size.
 \item
   \texttt{'orientation='} {[} \emph{\texttt{'landscape'}} \textbar{}
   \texttt{'portrait'} {]} - Paper orientation.
 \item
   \texttt{'preamble='} {[} char \textbar{} \emph{empty} {]} -
   \LaTeX~commands that will be placed in the \LaTeX~file preamble.
 \item
   \texttt{'title='} {[} char \textbar{} \emph{\texttt{Inf}} {]} - Report
   title on the first page; \texttt{Inf} means the report caption
   specified in the \href{report/new}{\texttt{report.new}} function will
   be used.
 \item
   \texttt{'timeStamp='} {[} char \textbar{}
   \emph{\texttt{'datestr(now())'}} {]} - String printed in the top-left
   corner of each page.
 \item
   \texttt{'maxRerun='} {[} numeric \textbar{} \emph{\texttt{5}} {]} -
   Maximum number of times the \LaTeX\\compiler will be run to resolve
   cross-references, etc.
 \item
   \texttt{'scale='} {[} numeric \textbar{} \emph{\texttt{0.8}} {]} -
   Percentage of the total page area that will be used.
 \end{itemize}
 \paragraph{Description}
 
 \paragraph{Example}


