diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-03 15:43:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-03 15:43:44 +0000 |
commit | 8713286a652ae4ef7b6dc49efe024fff8cc6c760 (patch) | |
tree | 6e7255b50747996cc6657bad583d93861dff603f /Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.sh | |
parent | 64f3e6f8cd6421a34822bfd1b5303c2cb67409f5 (diff) |
ocgtools 0.5 (31mar10)
git-svn-id: svn://tug.org/texlive/trunk@17663 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.sh')
-rw-r--r-- | Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.sh b/Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.sh new file mode 100644 index 00000000000..344d55fef7b --- /dev/null +++ b/Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.sh @@ -0,0 +1,6 @@ +pdflatex "\AtBeginDocument{\usepackage[pdftex,displaymath,floats,active,tightpage]{preview}}\PassOptionsToPackage{noocg}{ocgtools} \def\ocgpreview#1#2{#2}\input $1 " +cp $1.pdf preview-temp.pdf +grep '\\newlabel{' ocgtools-preview.aux | sed 's/newlabel/maplabelstoall/g' > preview.labels +pdflatex $1 +pdflatex $1 +pdflatex $1 |