Am 31.12.2012 um 13:38 schrieb Andreas Mang <m...@imt.uni-luebeck.de>:

> Hi there,
> 
> did I miss something or is there a problem with the use of "makeupwidth" in 
> conection with the "externalfigure" command in the latest beta?

The \externalfigure commands passes the values of the width/height keys to Lua 
which can’t handle relative values.

When you want to dimension to Lua they have to be in the form “10pt”, "5cm” or 
“1200” (dimension without units are in scaled points), to convert a relative 
(e.g. \textwidth) in a absolute value (e.g. 12pt) you can use the \dimexpr 
command.

  \externalfigure[…][width=\the\dimexpr.3\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
___________________________________________________________________________________

Reply via email to