diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-19 21:48:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-19 21:48:26 +0000 |
commit | d1c302ed5a53246283181ec1ab9a537ec5a6959e (patch) | |
tree | f04f6d143b61f2ea7062fda4bd088742b439302a /Master/texmf-dist/doc | |
parent | e9d014b9f582dae216b9085123ce1a17286f2230 (diff) |
auto-pst-pdf-lua (19mar18)
git-svn-id: svn://tug.org/texlive/trunk@47028 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/auto-pst-pdf-lua/Changes | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/auto-pst-pdf-lua/README | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf | bin | 63624 -> 69013 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex | 29 |
4 files changed, 33 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/Changes b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/Changes index e42550b1e34..1dcd4d5435b 100644 --- a/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/Changes +++ b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/Changes @@ -1,4 +1,5 @@ auto-pst-pdf-lua.sty ---------------- +v 0.02 2018-03-19 added test for luatex run v 0.01 2018-03-17 first CTAN version diff --git a/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/README b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/README index 2d2cb6a3120..f0888346e11 100644 --- a/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/README +++ b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/README @@ -1,9 +1,9 @@ -This package is a wrapper for package auto-pst-pdf -from Will Robertson which itself is a wrapper -for pst-pdf from Rolf Niepraschk. +This package is a slightly modified version of auto-pst-pdf +from Will Robertson which itself is a wrapper for pst-pdf +from Rolf Niepraschk. auto.pst-pdf-lua allows the use of lualatex -tohether with PostScript related code, eg. PSTricks +together with PostScript related code, eg. PSTricks %% It may be distributed and/or modified under the @@ -13,3 +13,6 @@ tohether with PostScript related code, eg. PSTricks %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of LaTeX %% version 2005/12/01 or later. + + +Herbert Voß, hvoss@tug.org
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf Binary files differindex 135c44ad7a4..14bdb0a11ca 100644 --- a/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf +++ b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf 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 |