summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.bat')
-rwxr-xr-xMaster/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.bat5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.bat b/Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.bat
new file mode 100755
index 00000000000..7f0a9ab7a29
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ocgtools/examples/ocgtools-preview.bat
@@ -0,0 +1,5 @@
+pdflatex "\AtBeginDocument{\usepackage[pdftex,displaymath,floats,active,tightpage]{preview}}\PassOptionsToPackage{noocg}{ocgtools} \def\ocgpreview#1#2{#2}\input ocgtools-preview "
+copy ocgtools-preview.pdf preview-temp.pdf
+pdflatex ocgtools-preview
+pdflatex ocgtools-preview
+pdflatex ocgtools-preview