[metapost] Trying to figure out MPLib

Hans Hagen pragma at wxs.nl
Fri Aug 3 17:55:16 CEST 2012


On 3-8-2012 14:39, Shriramana Sharma wrote:
> On Fri, Aug 3, 2012 at 5:39 PM, Hans Hagen <pragma at wxs.nl> wrote:
>>> needs TeX or kpathsea) to be done by it. The important reason I am
>>> using MetaPost/MPLib is to calculating the control points needed for
>>> smooth strokes.
>>
>> So, just take the library and package it indepently. Of course one might
>> wonder what benefits metapost provides in that case.
>
> As I said above, basically I need the smooth curves Hobby algorithm.
> MPost is one of the better known implementations out there. But if it
> is difficult to integrate it outside a TeX environment (in which case
> I'm not sure what the point of creating a library was -- only to save
> multiple executable calls from within ConTeXT/LuaTeX?) then I guess it
> might not be very suitable for my purpose.

indeed that was the main objective ... integration in tex ... of course 
other usage is possible but has a low priority given that the next major 
objective is support for decimal calculations and that project is not 
yet finished .. it's all a matter of time

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the metapost mailing list