diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-18 21:51:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-18 21:51:28 +0000 |
commit | dd818c2d997f74708d290d17a5791078a55b8b34 (patch) | |
tree | ba2ede536061d0a488016b27823f71af88dbf04b /Master/texmf-dist/doc/latex/auto-pst-pdf-lua | |
parent | 0f13eae3eee761505344ca53d70c1a949136d2ec (diff) |
auto-pst-pdf-lua (18mar18)
git-svn-id: svn://tug.org/texlive/trunk@47011 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/auto-pst-pdf-lua')
-rw-r--r-- | Master/texmf-dist/doc/latex/auto-pst-pdf-lua/Changes | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/auto-pst-pdf-lua/README | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf | bin | 0 -> 63624 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex | 71 |
4 files changed, 90 insertions, 0 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 new file mode 100644 index 00000000000..e42550b1e34 --- /dev/null +++ b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/Changes @@ -0,0 +1,4 @@ +auto-pst-pdf-lua.sty ---------------- + +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 new file mode 100644 index 00000000000..2d2cb6a3120 --- /dev/null +++ b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/README @@ -0,0 +1,15 @@ +This package is a wrapper for package 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 + + +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% 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. 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 differnew file mode 100644 index 00000000000..135c44ad7a4 --- /dev/null +++ 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 new file mode 100644 index 00000000000..da3e304ee6a --- /dev/null +++ b/Master/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.tex @@ -0,0 +1,71 @@ +\listfiles +\documentclass[english]{article} + +\usepackage{pst-poker} +\usepackage[cleanup={}]{auto-pst-pdf-lua} +\ifpdf + \usepackage{fontspec} + \usepackage{dejavu-otf} +\else + \usepackage[T1]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage{dejavu} +\fi + +\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} +\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}. + + +\section{The example code} + +\lstset{basicstyle=\ttfamily\small,language={[LaTeX]TeX},frame=lrtb} +\begin{lstlisting} +\documentclass{article} +\usepackage{pst-poker} +\usepackage{auto-pst-pdf-lua} +\ifpdf + \usepackage{fontspec} + \usepackage{dejavu-otf} +\else + \usepackage[T1]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage{dejavu} +\fi + +\begin{document} + +An example for using Luacode: +$\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$ + +An example for PostScript code: + +\begin{postscript} +\As \crdAs +\end{postscript} +\end{document} +\end{lstlisting} + +\section{The output} + +And here comes the output when running with \verb|lualatex --shell-escape <file>|: + + +An example for using Luacode: +$\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$ + +An example for PostScript code: + +\begin{postscript} +\As \crdAs +\end{postscript} + + +\end{document}
\ No newline at end of file |