summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/acrosort/examples/as1.tex
blob: 7d37a16b1f74313e7e21f014d72924cf6ddc5548 (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
42
43
44
45
46
47
48
49
%
% dpstory@acrotex.net
%
\documentclass{article}
% aeb_pro  not required for pdflatex, lualatex, or xelatex
% If you don't have acrobat, no harm done. For the
% dvips -> distiller workflow, aeb_pro is required.
\usepackage[%
    web={designiii},
    eforms,useacrobat
]{aeb_pro}
% for non-pdfmark workflow, and if you don't want to install aeb_pro, 
% the alternative is to use the following two packages instead.
%\usepackage[designiii]{web}
%\usepackage{eforms}
\usepackage{acrosort}

\university{Acro\negthinspace\TeX.Net}
\title{The AcroSort Package}
\author{D. P. Story}
\email{dpstory@acrotex.net}
\subject{Test file for the AcroSort Package}
\keywords{Adobe Acrobat, JavaScript, LaTeX, JavaScript, sort, tiling}

%\previewOn\pmpvOn

\begin{embedding}
\isPackage
\asEmbedTiles{choo}{20}{choo/choo}
\end{embedding}

\parskip6pt
\parindent0pt
\thispagestyle{empty}

\begin{document}


\begin{center}
\insertTiles{choo}{.67\linewidth}{4}{5}
\end{center}

\smallskip\customStartJS{console.show(); console.println("Starting the choo sort");}
\centering\StartSort{choo}{}{12bp}\quad\StopSort{}{12bp}\quad\ClearSort{choo}{}{12bp}

\vfill
This demo file works when viewed in \textsf{Acrobat}, \textsf{Adobe Reader}, or \textsf{PDFX-Change Editor}.

\end{document}