Am 09.07.2012 um 09:09 schrieb Meer, H. van der:

> There is still an issue here.
> 
> \setupbars[unit=mm,rulethickness=1]
> AB\startbar[underbar]CD\stopbar EF\crlf
> \setupbars[unit=ex,rulethickness=1]
> AB\startbar[underbar]CD\stopbar EF\crlf
> \setupbars[unit=pt,rulethickness=1]
> AB\startbar[underbar]CD\stopbar EF\crlf
> 
> The first and third setup do not give an underbar, the second does.
> Question: why does "ex" qualify as a dimension unit but "pt" and "mm" do not? 
> Sounds strange.
> 
> If I want an underbar exactly 1mm or 3pt's thick, why isn't that made 
> possible? Doing the math myself is no option, becaus ex will not be known 
> beforehand.

The underlying Lua code accepts only “ex” and “em” as valid options for the 
“unit” key but I would also vote to accept either “pt”, “mm” etc. as unit value 
or to allow “rulethickness=…pt”.

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