Dear Hans,
sorry for thanking you only now, I have the time to play around your
files only now. Your solution is very very close to my needs!
However, when I try to add this definition to your file "metafun-001.tex"
\startsetups btx:samples:cite:image
\doifelsesomething{\btxflush{mpfile}} {
\externalfigure[\btxflush{mpfile}]
} {
\MPcode{
\btxflush{mpcode}
}
}
\stopsetups
The command \cite [image] [sample2] does not show the image. Am I doing
things wrong?
Thanks a lot for your useful suggestion
MR
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________