summaryrefslogtreecommitdiff
path: root/tex/context/base/meta-dum.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2004-08-30 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2004-08-30 00:00:00 +0200
commit334f3edd2304915fc8b50a722a56765f41b1a7d5 (patch)
tree0d62c2871118f4971fa7b0b6bb1e87b12f647bff /tex/context/base/meta-dum.tex
parent08a4bcc9bff26007ca9b5d14d6beaacab74c9ce4 (diff)
downloadcontext-334f3edd2304915fc8b50a722a56765f41b1a7d5.tar.gz
stable 2004.08.30
Diffstat (limited to 'tex/context/base/meta-dum.tex')
-rw-r--r--tex/context/base/meta-dum.tex32
1 files changed, 12 insertions, 20 deletions
diff --git a/tex/context/base/meta-dum.tex b/tex/context/base/meta-dum.tex
index 4f0de21f8..8d583ff2b 100644
--- a/tex/context/base/meta-dum.tex
+++ b/tex/context/base/meta-dum.tex
@@ -1,5 +1,5 @@
%D \module
-%D [ file=meta-dum,
+%D [ filefile=meta-dum,
%D version=2003.03.21,
%D title=\METAPOST\ Graphics,
%D subtitle=Dummy (External) Graphics,
@@ -20,14 +20,6 @@
%D \useMPlibrary[dum]
%D
%D \startlinecorrection
-%D \useMPgraphic{placeholder}{width=3cm,height=4cm,color=red}
-%D \stoplinecorrection
-%D
-%D \startlinecorrection
-%D \useMPgraphic{placeholder}{width=8cm,height=10cm,color=green}
-%D \stoplinecorrection
-%D
-%D \startlinecorrection
%D \externalfigure[unknown-a][width=3cm,height=1cm]
%D \stoplinecorrection
%D
@@ -75,8 +67,8 @@
\let\figurereplacementcycle\relax
\setupexternalfigures
- [\c!reductie=0,
- \c!tekst=\v!ja]
+ [\c!reduction=0,
+ \c!text=\v!yes]
\def\externalfigurereplacement#1#2#3%
{\getpaletsize[placeholder]%
@@ -96,17 +88,17 @@
{placeholder}%
{width=\figurewidth,
height=\figureheight,
- reduction=\@@efreductie,
+ reduction=\@@efreduction,
color=placeholder:\figurereplacementcycle}]%
\expanded{\localframed
[\??ef]
- [\c!breedte=\figurewidth,
- \c!hoogte=\figureheight,
- \c!kader=\v!uit,
- \c!strut=\v!nee,
- \c!achtergrond=\s!dummy,
- \c!voorgrondkleur=\s!white]}%
- {\doif\@@eftekst\v!ja
+ [\c!width=\figurewidth,
+ \c!height=\figureheight,
+ \c!frame=\v!off,
+ \c!strut=\v!no,
+ \c!background=\s!dummy,
+ \c!foregroundcolor=\s!white]}%
+ {\doif\@@eftext\v!yes
{\infofont \setupinterlinespace \dohyphens % \nohyphens
\doifelse{#1}\s!dummy \!!doneafalse\!!doneatrue
\doifelse{#2}\s!dummy \!!donebfalse\!!donebtrue
@@ -124,4 +116,4 @@
\def\dummyfigure{\externalfigure[placeholder]}
-\protect \endinput \ No newline at end of file
+\protect \endinput