summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstool/subdir/trial2-psfrag-pstool.tex
blob: 1b0a26c1cc93cc773b5c8a41be767ffd0f52f59f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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}{3}
\@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 {subdir/trial2-psfrag.tex}\psfrag {[Mp]}{$Z_{\thepage }$}\psfrag {[epb]}{\cite {incollection-full}}
 \includegraphics [angle=45] {trial2-psfrag}
\end {preview}

\vfill 

\makeatletter 
\immediate \write \@mainaux {\@percentchar </PSTOOLLABELS>}
\makeatother 
\end {document}