summaryrefslogtreecommitdiff
path: root/tex/context/base/x-res-08.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2004-06-10 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2004-06-10 00:00:00 +0200
commit51d573f4c0e8d3b8499bff7a3c6fba3dcd71d725 (patch)
treea902c3c67fe2272ee9e2325d6a6f28f0fd15d9d8 /tex/context/base/x-res-08.tex
parentab3f887feadf929129087cd2cbc3783064507565 (diff)
downloadcontext-51d573f4c0e8d3b8499bff7a3c6fba3dcd71d725.tar.gz
stable 2004.06.10
Diffstat (limited to 'tex/context/base/x-res-08.tex')
-rw-r--r--tex/context/base/x-res-08.tex42
1 files changed, 21 insertions, 21 deletions
diff --git a/tex/context/base/x-res-08.tex b/tex/context/base/x-res-08.tex
index 28a48460b..74f8a7068 100644
--- a/tex/context/base/x-res-08.tex
+++ b/tex/context/base/x-res-08.tex
@@ -8,12 +8,12 @@
%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
-%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
-%C details.
+%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
+%C details.
%D Experimental module!
%D
-%D \starttyping
+%D \starttyping
%D <rl:library>
%D <rl:usage>
%D <rl:type>figure</rl:type>
@@ -25,9 +25,9 @@
%D <rl:comment>text</rl:comment>
%D </rl:usage>
%D </rl:library>
-%D \stoptyping
+%D \stoptyping
-\unprotect
+\unprotect
\def\XMLrlprefix{rl:}
@@ -54,48 +54,48 @@
{\writtenXMLelement{\XMLrlprefix usage}%
{\writtenXMLelement{\XMLrlprefix type}{#2}%
\writtenXMLelement{\XMLrlprefix state}{#1}%
- \ifx\figurefilelabel\empty
- \ifx\figurelabel\s!dummy
- % label equals filename
+ \ifx\figurefilelabel\empty
+ \ifx\figurelabel\s!dummy
+ % label equals filename
\else
\writtenXMLelement{\XMLrlprefix label}{\figurelabel}%
\fi
\writtenXMLelement{\XMLrlprefix file}{\figurefilename}%
\ifx\figurefiletype\empty\else
\writtenXMLelement{\XMLrlprefix suffix}{\figurefiletype}%
- \fi
+ \fi
\else
- % \figurefilelabel is set in x-res-04 and since
- % we fetch from this base using the normal
- % \externalfigure macro, the label becomes the
- % name of the figurebase
+ % \figurefilelabel is set in x-res-04 and since
+ % we fetch from this base using the normal
+ % \externalfigure macro, the label becomes the
+ % name of the figurebase
\writtenXMLelement{\XMLrlprefix base}{\figurefilename}%
\writtenXMLelement{\XMLrlprefix label}{\figurefilelabel}%
\ifx\figurefilefile\empty\else
\writtenXMLelement{\XMLrlprefix file}{\figurefilefile}%
-\fi
+\fi
\ifx\figurefileoriginal\empty\else
\writtenXMLelement{\XMLrlprefix original}{\figurefileoriginal}%
-\fi
+\fi
\fi
\ifnum\figurefilepage>\zerocount
\writtenXMLelement{\XMLrlprefix page}{\figurefilepage}%
\fi
\ifx\currentresourcecomment\empty\else
\writtenXMLelement{\XMLrlprefix comment}{\currentresourcecomment}%
-\fi
+\fi
\writtenXMLelement{\XMLrlprefix width}{\figurewidth}%
\writtenXMLelement{\XMLrlprefix height}{\figureheight}}}}
\def\XMLfeedbackexternalfigure
- {\doifmodeelse{*\v!figuur}%
+ {\doifmodeelse{*\v!figure}%
{\XMLfeedbackresource{found}}%
{\XMLfeedbackresource{missing}}%
- {figure}}
+ {figure}}
-\appendtoks \openXMLresourcelog \to \everystarttext
-\appendtoks \closeXMLresourcelog \to \everystoptext
+\appendtoks \openXMLresourcelog \to \everystarttext
+\appendtoks \closeXMLresourcelog \to \everystoptext
\let \feedbackexternalfigure \XMLfeedbackexternalfigure
-\protect \endinput
+\protect \endinput