[NTG-context] \setupbodyfont restricted to pt as unit

Marco netuse at lavabit.com
Wed May 16 21:24:42 CEST 2012


Hi!

Is it by design, that \setupbodyfont only accepts “pt” as unit?

%\setupbodyfont [18pt]               % pt works
\setupbodyfont [18bp]                % bp fails
\definefont [testbp] [Serif at 18bp] % bp works
\setupinterlinespace [line=24bp]     % bp works

\starttext
	Foo\testbp Bar
\stoptext

Not that I see any difference between “pt” and “bp” with these small
sizes, but usually all commands accepting a length unit can be fed
with all TeX units.

Marco




More information about the ntg-context mailing list