summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/x-fig-01.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/x-fig-01.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/x-fig-01.tex8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/context/base/x-fig-01.tex b/Master/texmf-dist/tex/context/base/x-fig-01.tex
index 5d6c0fa3f32..e74cfc483de 100644
--- a/Master/texmf-dist/tex/context/base/x-fig-01.tex
+++ b/Master/texmf-dist/tex/context/base/x-fig-01.tex
@@ -11,7 +11,7 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
-% \readfile {x-res-01} \donothing \donothing \endinput
+% \readfile {x-res-01} \donothing \donothing \endinput
%D See \type {x-fig-00.tex} for more information on how to use
%D and generate figure databases. This file loads the file
@@ -58,6 +58,9 @@
\doifnothing {\jobfilename} {\end}
\doiffileelse {\jobfilename.xml} {} {\end}
+\definesymbol [attachment] [{\bf\color[darkred]{\jobname.xml}}]
+\setupattachments [symbol=attachment]
+\useattachment [datafile] [\jobname.xml]
\def\StartDescription
{\bgroup
@@ -77,6 +80,7 @@
{\NC product \NC \XMLpop{product} \NC \NR}{}
\doifXMLdataelse{comment}
{\NC comment \NC \XMLpop{comment} \NC \NR}{}
+ \NC specification \NC \attachment[datafile] \NC \NR
\stoptabulate
\blank[2*big]
\egroup}
@@ -335,7 +339,7 @@
\def\StartLibrary{\mainlanguage[\XMLpar{figurelibrary}{language}{en}]}
\def\StopLibrary {}
-\defineXMLignore [description]
+\defineXMLignore [description]
\defineXMLenvironment [figure] \StartFigureC \StopFigureC
\doglobal\newcounter\CurrentPage