18 Dec
2007
18 Dec
'07
1:54 p.m.
Hello Wolfgang,
"Wolfgang Schuster"
\define[3]\oneplot {\placefigure[here][#3]{\bfc#2}{\scale[width=10.5cm]{#1}}}
\starttext \oneplot{\blackrule[width=1cm,height=1cm]}{Blackrule}{plot:blackrule} See at \in{Plot}[plot:blackrule]. \stoptext
Alternative solution with a real ConTeXt definition:
\definefloat[plot][plots][figure] \setupfloat[plot][command={\scale[width=5cm]}] \starttext \placefigure{Blackrule}{\blackrule[width=1cm,height=1cm]} \placeplot{Blackrule}{{\blackrule[width=1cm,height=1cm]}} \stoptext
Both methods work fine. Given that I'm using Context then I will use the Contextish way of doing things. Many thanks for you help, Roger