summaryrefslogtreecommitdiff
path: root/tex/context/base/m-pstric.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2004-01-02 00:00:00 +0100
committerHans Hagen <pragma@wxs.nl>2004-01-02 00:00:00 +0100
commit722c56251cf3c197a4a8474aa7024265ba284ec0 (patch)
treef3d28e979790959bc6f2c8ffaa6f2321fabc8bb8 /tex/context/base/m-pstric.tex
parent70b6b86404ca9e9de782a577d1dfda3b15f0544d (diff)
downloadcontext-722c56251cf3c197a4a8474aa7024265ba284ec0.tar.gz
stable 2004.01.02
Diffstat (limited to 'tex/context/base/m-pstric.tex')
-rw-r--r--tex/context/base/m-pstric.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/m-pstric.tex b/tex/context/base/m-pstric.tex
index 34aee9cbe..bd87e9f13 100644
--- a/tex/context/base/m-pstric.tex
+++ b/tex/context/base/m-pstric.tex
@@ -71,7 +71,7 @@
{\bgroup
\setbuffer[pstricks]%
\usemodule[pstric]%
- \setbox\scratchbox=\hbox{#2}%
+ \setbox\scratchbox\hbox{#2}%
% There is probably a nicer way to handle this
\immediate\openout\scratchwrite=\bufferprefix dim.tmp
\immediate\write\scratchwrite{\dimen0=\the\ht\scratchbox}%
@@ -91,9 +91,9 @@
\readlocfile{\bufferprefix pstricks-dim.tmp}{}{}%
% Since the graphic is put on a page (sigh) by dvips/gs
% we need to shift it around a bit.
- \setbox\scratchbox=\hbox
+ \setbox\scratchbox\hbox
{\externalfigure[\bufferprefix pstricks.pdf][\c!object=\v!nee]}%
- \setbox\scratchbox=\hbox
+ \setbox\scratchbox\hbox
{\lower\ht\scratchbox\hbox{\raise\dimen2\box\scratchbox}}%
\wd\scratchbox\dimen0
\ht\scratchbox\dimen2
@@ -101,10 +101,10 @@
\box\scratchbox
\egroup}}
-\fi
+\fi
\long\def\dostartPSTRICKS[#1]#2\stopPSTRICKS
- {\doifelse{\jobsuffix}{dvi} % will some day move to app as switch
+ {\doifelse{\jobsuffix}{dvi} % will some day move to app as switch
{\hbox{#2}}
{\startTEXapplication[#1]{\usemodule[pstric]}#2\stopTEXapplication}}