Am 09.09.2012 um 11:00 schrieb Michail Vidiassov <mas...@iaas.msu.ru>:
> Dear Hans and All, > > > On Sat, Aug 18, 2012 at 10:00 PM, Michail Vidiassov <mas...@iaas.msu.ru> > wrote: >> the examples from back-u3d.mkiv fail to work with latest beta >> (rectangled "undefined" message appears instead of annotation), >> but if "\textwidth" is replaced by "in" in the tex file 3D annotations >> appear OK. > > in the latest minimals (2012.09.06 23:03) the following example from > back-u3d.mkiv fails to work > > \useexternalfigure [test] [test.prc] [width=0.5\textwidth, > height=0.5\textwidth, display=u3d:myset:display:1, > controls=u3d:myset:controls:1] > \placefigure[here]{3d test}{\externalfigure[test]} > > while after getting rid of \texwidth the following does: > > \useexternalfigure [test] [test.prc] [width=3in, height=3in, > display=u3d:myset:display:1, controls=u3d:myset:controls:1] > \placefigure[here]{3d test}{\externalfigure[test]} > > Is it a bug of the example got wrong with some changes in ConTeXt. It should work when you use “width=\the\dimexpr\textwidth/2\relax” or “width=\the\dimexpr0.5\textwidth\relax”. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________