summaryrefslogtreecommitdiff
path: root/graphics/asymptote/doc/externalprc.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/asymptote/doc/externalprc.tex
Initial commit
Diffstat (limited to 'graphics/asymptote/doc/externalprc.tex')
-rw-r--r--graphics/asymptote/doc/externalprc.tex13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/asymptote/doc/externalprc.tex b/graphics/asymptote/doc/externalprc.tex
new file mode 100644
index 0000000000..04718b86a1
--- /dev/null
+++ b/graphics/asymptote/doc/externalprc.tex
@@ -0,0 +1,13 @@
+% Generate inline PRC images for latex with
+% asy -inlineimage cube -render=4
+%
+% Generate inline PRC images for pdflatex with
+% asy -inlineimage cube -render=4 -tex pdflatex
+%
+\documentclass[12pt]{article}
+\input cube.pre
+\usepackage[bigfiles]{media9}
+\RequirePackage{asymptote,color,graphicx}
+\begin{document}
+\input cube.tex
+\end{document}