summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstool/trial-pstool.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-11 23:21:52 +0000
committerKarl Berry <karl@freefriends.org>2013-03-11 23:21:52 +0000
commit71010177fbcee3901fdeccfdca55500eaa211b44 (patch)
treed813b2914855bdcca60934327b0b87a72f993d9a /Master/texmf-dist/doc/latex/pstool/trial-pstool.tex
parent43501b14c11da09f8e269e70521b541c3a606848 (diff)
pstool (11mar13)
git-svn-id: svn://tug.org/texlive/trunk@29343 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstool/trial-pstool.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pstool/trial-pstool.tex41
1 files changed, 41 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstool/trial-pstool.tex b/Master/texmf-dist/doc/latex/pstool/trial-pstool.tex
new file mode 100644
index 00000000000..3f412245a67
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pstool/trial-pstool.tex
@@ -0,0 +1,41 @@
+\pdfoutput =0\relax
+
+\documentclass[12pt]{memoir}
+\usepackage{color}
+\usepackage[cleanup={},process=all]{pstool}
+\input macros.tex
+
+\newif\ifNAT
+\NATfalse
+\ifNAT
+\usepackage{natbib}
+\else
+\usepackage{biblatex}
+\bibliography{xampl}
+\fi
+
+\usepackage [active,tightpage]{preview}
+\pagestyle {empty}
+
+\makeatletter
+\def \thepage {\csname @arabic\endcsname \c@page }
+\setcounter {page}{2}
+\@input {example.oldaux}
+
+\begin {document}
+\immediate \write \@mainaux {\@percentchar <*PSTOOLLABELS>}
+\makeatother
+\centering \null \vfill
+
+\begin {preview}
+\csname @input\endcsname {example-pstool.tex}\csname @input\endcsname {trial.tex}\color {red} \tiny \psfrag {[Mp]}{$M_\a $}\psfrag {[epb]}{\cite {article-full}}
+ \includegraphics [] {trial}
+\end {preview}
+
+\vfill
+
+\makeatletter
+\immediate \write \@mainaux {\@percentchar </PSTOOLLABELS>}
+\makeatother
+\end {document}
+