diff options
author | Hans Hagen <pragma@wxs.nl> | 2003-03-17 00:00:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2003-03-17 00:00:00 +0100 |
commit | 44a457e94e531de21ed9138035570e6fc23d9019 (patch) | |
tree | 54309784563741c1b7c5c29f65d858b7f4773cfc /tex/context/base/x-res-08.tex | |
parent | 53ce0dd521f2b963dade4e19d4ee386cef29289b (diff) | |
download | context-44a457e94e531de21ed9138035570e6fc23d9019.tar.gz |
stable 2003.03.17
Diffstat (limited to 'tex/context/base/x-res-08.tex')
-rw-r--r-- | tex/context/base/x-res-08.tex | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/tex/context/base/x-res-08.tex b/tex/context/base/x-res-08.tex index 0eb315a7b..c7452d1ee 100644 --- a/tex/context/base/x-res-08.tex +++ b/tex/context/base/x-res-08.tex @@ -16,14 +16,15 @@ %D \starttyping %D <rl:library> %D <rl:usage> -%D <rl:type>figure<rr:type> -%D <rl:state>found|missing<rr:state> -%D <rl:name>filename<rr:name> -%D <rl:suffix>filesuffix<rr:suffix> -%D <rl:width>width in pt<rr:width> -%D <rl:height>height in pt<rr:height> +%D <rl:type>figure</rl:type> +%D <rl:state>found|missing</rl:state> +%D <rl:name>filename</rl:name> +%D <rl:suffix>filesuffix</rl:suffix> +%D <rl:width>width in pt</rl:width> +%D <rl:height>height in pt</rl:height> +%D <rl:comment>text</rl:comment> %D </rl:usage> -%D <rl:library> +%D </rl:library> %D \stoptyping \unprotect @@ -47,7 +48,8 @@ \let\figurefilefile \empty \def\XMLfeedbackresource#1#2% - {\immediate\write\XMLrllog + {\convertcommand\currentresourcecomment\to\currentresourcecomment + \immediate\write\XMLrllog {\writtenXMLelement{\XMLrlprefix usage}% {\writtenXMLelement{\XMLrlprefix type}{#2}% \writtenXMLelement{\XMLrlprefix state}{#1}% @@ -78,6 +80,9 @@ \ifnum\figurefilepage>\zerocount \writtenXMLelement{\XMLrlprefix page}{\figurefilepage}% \fi +\ifx\currentresourcecomment\empty\else + \writtenXMLelement{\XMLrlprefix comment}{\currentresourcecomment}% +\fi \writtenXMLelement{\XMLrlprefix width}{\figurewidth}% \writtenXMLelement{\XMLrlprefix height}{\figureheight}}}} |