ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TeX control sequence inside XML param
@ 2005-01-27  9:45 Vit Zyka
  2005-01-27 11:53 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Vit Zyka @ 2005-01-27  9:45 UTC (permalink / raw)


Hallo,

it is possible to use TeX control sequence inside XML param? How?
Example:

<figure file="file.pdf" width=".45\textwidth" />
                                   ^^^^^^^^^^
\defineXMLenvironment[figure][file=,width=]
   {}
   {\externalfigure[\XMLop{file}][width=\XMLop{width}]}

Thank you
Vit Zyka

----------------------------------------------
Error message (from a bit complex source):
! Missing \endcsname inserted.
<to be read again>
                    \texescape
\XML:ent:tex-backslash ...kslash \else \texescape
                                                   \fi
\param:1 ->width=.45\getXMLentity {tex-backslash}
                                                  textwidth
\getvalue #1->\csname #1
                         \endcsname
\calculateexternalfigure ...guresvg #1[#4][#5][#6]
                                                   \doifsomething 
\@@efmaxwid...
<argument> ...dummy ][\filewithpath ][\param ][][]
 
\calculateexternalscreenfi...

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-31  9:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-27  9:45 TeX control sequence inside XML param Vit Zyka
2005-01-27 11:53 ` Hans Hagen
2005-01-27 15:54   ` Vit Zyka
2005-01-28 17:18     ` Hans Hagen
2005-01-31  9:30       ` Vit Zyka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).