Hi,

I uploaded the last of series 2.10.07 as prelude for bachotex. That one also can do this:

\newfloat \MyFloat
\MyFloat \pfsin \floatexpr 1.25 * \pfpi \relax
\the\MyFloat

\the \pfsin \floatexpr 1.25 * \pfpi \relax

The syntax is like \numexpr and \dimexpr but the \pfsin (and other functions) are (as usual with these things) not real primitives but (\untraced) luacalls.

Of course it is all still somewhat experimental but likely to stay ...

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to