summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex29
1 files changed, 25 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex
index da3e304ee6a..054930be97f 100644
--- a/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex
+++ b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex
@@ -15,13 +15,14 @@
\usepackage{babel}
\usepackage[a4paper,tmargin=1cm,bmargin=1.5cm,includeheadfoot]{geometry}
\usepackage{listings}
-\title{\texttt{auto-pst-pdf-lua}, v. 0.01\\ using Lua\LaTeX\ with PSTricks}
+\title{\texttt{auto-pst-pdf-lua}, v. 0.02\\ using Lua\LaTeX\ with PSTricks}
\author{Herbert Voß}
\begin{document}
\maketitle
The package is based on \texttt{auto-pst-pdf} and uses for the \texttt{latex} run the
-program \texttt{dvilualatex}.
+program \texttt{dvilualatex}. The package can have all optional arguments which are
+possible for \texttt{auto-pst-pdf}.
\section{The example code}
@@ -47,8 +48,9 @@ $\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$
An example for PostScript code:
+\bigskip
\begin{postscript}
-\As \crdAs
+\As~\Ad~\Ac~\Ah~\crdAs~\crdAd~\crdAc~\crdAh
\end{postscript}
\end{document}
\end{lstlisting}
@@ -63,9 +65,28 @@ $\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$
An example for PostScript code:
+\bigskip
\begin{postscript}
-\As \crdAs
+\As~\Ad~\Ac~\Ah~\crdAs~\crdAd~\crdAc~\crdAh
\end{postscript}
+\section{Caveats}
+
+When running \texttt{dvilualatex} the package \texttt{fontspec} cannot be active. If you
+need it, then just just the \texttt{\textbackslash ifpdf} switch:
+
+\begin{verbatim}
+\ifpdf
+ \usepackage{fontspec}%% for the lualatex run(s)
+ \usepackage{dejavu-otf}
+\else
+ \usepackage[T1]{fontenc}% for the dvilualatex run
+ \usepackage[utf8]{inputenc}
+ \usepackage{dejavu}
+\fi
+\end{verbatim}
+
+
+
\end{document} \ No newline at end of file