Re: mpost interactive prompt

luigi scarso <[email protected]>
Newsgroups gmane.comp.tex.metapost
Message-ID <CAG5iGsAxM1yv+fkQkcWTT_w6Vi3zsb4a45hiccr4ua9bX1C_iw@mail.gmail.com>
On Fri, Nov 25, 2016 at 9:15 AM, Nicola <[email protected]> wrote:
> On 23/11/2016 15:00, Nicola wrote:
>>
>> Hello,
>> for some time I have been wondering whether it would be
>> possible to improve mpost's command line interface by adding
>> readline functionality.
>
>
> I've got a reply off list suggesting to use mplib. That sounds
> good, but I have some problems getting mplib source code, because
> I cannot find the header files in TeX Live or ConTeXt Beta.
>
> The only place where I have found mplib.h is in
>
> trunk/branches/pweb/src/texk/web2c/mpdir
>
> from
>
> svn checkout https://foundry.supelec.fr/svn/metapost trunk
>
> However, compiling a program results in 'mpd.h' not found. This
> may depend on the fact that the checkout eventually times out,
> leaving me with a partial download (I've tried a couple of times).
>
> Is there a smaller download?

The current trunk builds
build/texk/web2c/libmplib.a
and youu can find all the files into  build/texk/web2c
mplib.h is "tangled" in mp.w, see  around line 90.

-- 
luigi
--
http://tug.org/metapost/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.