summaryrefslogtreecommitdiff
path: root/tex/context/base/x-res-08.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2005-05-25 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2005-05-25 00:00:00 +0200
commit7791a6c6b224e5ec3c1a40489e231c887a8864fa (patch)
treef38992e333d212fe5ab14d23ae5e31ff7a73ab8c /tex/context/base/x-res-08.tex
parentc8cc55cfd81ec71e266cef774271a0fb56d73726 (diff)
downloadcontext-7791a6c6b224e5ec3c1a40489e231c887a8864fa.tar.gz
stable 2005.05.25
Diffstat (limited to 'tex/context/base/x-res-08.tex')
-rw-r--r--tex/context/base/x-res-08.tex27
1 files changed, 22 insertions, 5 deletions
diff --git a/tex/context/base/x-res-08.tex b/tex/context/base/x-res-08.tex
index 9abc97200..5dfa6b6fa 100644
--- a/tex/context/base/x-res-08.tex
+++ b/tex/context/base/x-res-08.tex
@@ -76,18 +76,35 @@
\writtenXMLelementcs{\XMLrlprefix original}\figurefileoriginal
\writtenXMLelementcs{\XMLrlprefix conversion}\figurefileconversion
\writtenXMLelementcs{\XMLrlprefix prefix}\figurefileprefix
+ \writtenXMLelementcs{\XMLrlprefix cache}\figurefilecache
\ifnum\figurefilepage>\zerocount
\writtenXMLelement{\XMLrlprefix page}\figurefilepage
\fi
\writtenXMLelementcs{\XMLrlprefix comment}\currentresourcecomment
- \writtenXMLelementcs{\XMLrlprefix width}\figurewidth
- \writtenXMLelementcs{\XMLrlprefix height}\figureheight}}}
+ \ifconditional\externalfigureflush
+ \writtenXMLelementcs{\XMLrlprefix width}\figurewidth
+ \writtenXMLelementcs{\XMLrlprefix height}\figureheight
+ \fi}}}
\def\XMLfeedbackexternalfigure
- {\doifmodeelse{*\v!figure}%
+ {\externalfigureflush\doifmodeelse{*\v!figure}%
{\XMLfeedbackresource{found}}%
- {\XMLfeedbackresource{missing}}%
- {figure}}
+ {\XMLfeedbackresource{\ifconditional\externalfigureflush missing\else registered\fi}}%
+ {figure}}
+
+\setvariables
+ [rl:manipulate]
+ [file=rlxtools.rlx]
+
+\startsetups[rl:manipulate]
+
+% \immediatewriteutilitycommand{\writestatus{system}{we force multiple runs at \normaltime}}
+
+ \doiflocfileelse{\jobname.rlx}
+ {\installprogram{texmfstart rlxtools --manipulate kpse:\jobname.rlx \jobname.rlg}}
+ {\installprogram{texmfstart rlxtools --manipulate kpse:\getvariabledefault{rl:manipulate}{file}{rlxtools.rlx} \jobname.rlg}}
+
+\stopsetups
\appendtoks \openXMLresourcelog \to \everystarttext
\appendtoks \closeXMLresourcelog \to \everystoptext