Interactivity instructions

You can create View buttons in your PDF documents that can then pop-up figures either using tube or more advanced data viewing tools.

SConstruct

Edit the End line in your SConstruct. Add an include keyword to input the interact.tex file in /opt/texmf/repro.

End(include=“\input{/opt/texmf/repro/interact.tex}”….

Tex files

Add to the caption of each figure you wish to make interactive

\viewit{FIG}

where FIG is the figure name.

Starting acroread

You need to be using at least SEP7.0 (currently set your environmental variable SEP to /opt/SEP/SEP7.0). Then use the script SEP_pdf to read your document. SEP_pdf starts a socket server (which is what pops up the figures) and opens the PDF. SEP_pdf assumes that you are starting the command from the base directory for your paper/book using the acroread command and that the file name is paper.pdf. You can override these options. The first argument on the command line can be a different file name. The second argument can be the base directory for the report, and third argument can be the path to the acrobat reader.

view_rules

By default SEP_pdf looks in the directory “Fig” (or chapter/Fig in the case of reports or books). It searches for a .v3 file, then .v, and finally .pdf to display. If you wish to override this behavior you can create a view_rules file in your paper directory (or chapter directory in the case of a book). The view_rules file consists of a series of lines containing : delineated pairs. You can override the default results directory by:

RESDIR:Fig/PsFig

or you can provide different viewing mechanism for a figure. For example

stormhole:Grey <PATH/stormhole.H |Tube pixmaps=y

would run Grey when the figure stormhole was clicked. Two keywords are enabled when defining figure actions.

PATHIs set to the paper directory.
RESDIRIs the local results directory (by default Fig)
sep/internal/repro-tex.txt · Last modified: 2015/05/27 02:06 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0