Re: Compile mp.w
luigi scarso <[email protected]> Wed, 17 Jun 2026 09:12:19 +0200
| Newsgroups | gmane.comp.tex.metapost |
|---|---|
| Message-ID | <CAG5iGsCFx98GrV1W76pyc4Y0Knt3i6-SgCGiCUy5u8H6dAnX9Q@mail.gmail.com> |
--000000000000799fa206546dc8ef Content-Type: text/plain; charset="UTF-8" On Wed, 17 Jun 2026 at 00:14, Hong-Phuc Bui <[email protected]> wrote: > Hello, > > I'm the author of this question: > https://tex.stackexchange.com/questions/763896/how-to-compile-the-file-mp-w > > I cloned the repository https://gitlab.lisn.upsaclay.fr/texlive/metapost/ > and try to compile the file source\texk\web2c\mplibdir\mp.w with cweave > like this: > > $ pwd > /metapost/source/texk/web2c/mplibdir > $ cweave mp.w > $ pdftex mp.tex > I got a error message: > > ! Missing $ inserted. > <inserted text> > $ > <to be read again> > _ > <argument> \#define MPOST_ > DEBUG_ENVELOPE > \C #1->\5\5\quad $/\ast \,${\cmntfont #1 > }$\,\ast /$ > l.158 \M{5}\B\C{\#define MPOST_DEBUG_ENVELOPE } > \6 > > The answer is accepted, so I think it's a bug in mp.w. If it's a bug, > could you fix it in next release? > > Best Wishes > Hong-Phuc Bui > Ok. For now you can use \_ or enclose the offending code between two | . -- luigi --000000000000799fa206546dc8ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g= mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, 17 Jun = 2026 at 00:14, Hong-Phuc Bui <<a href=3D"mailto:[email protected]">phuc= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex">Hello,<br> <br> I'm the author of this question:<br> <a href=3D"https://tex.stackexchange.com/questions/763896/how-to-compile-th= e-file-mp-w" rel=3D"noreferrer" target=3D"_blank">https://tex.stackexchange= .com/questions/763896/how-to-compile-the-file-mp-w</a><br> <br> I cloned the repository <a href=3D"https://gitlab.lisn.upsaclay.fr/texlive/= metapost/" rel=3D"noreferrer" target=3D"_blank">https://gitlab.lisn.upsacla= y.fr/texlive/metapost/</a> and try to compile the file source\texk\web2c\mp= libdir\mp.w with cweave like this:<br> <br> $ pwd<br> /metapost/source/texk/web2c/mplibdir<br> $ cweave mp.w<br> $ pdftex mp.tex<br> I got a error message:<br> <br> ! Missing $ inserted.<br> <inserted text><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0$<br> <to be read again><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _<br> <argument> \#define MPOST_<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0DEBUG_ENVELOPE<br> \C #1->\5\5\quad $/\ast \,${\cmntfont #1<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}$= \,\ast /$<br> l.158 \M{5}\B\C{\#define MPOST_DEBUG_ENVELOPE }<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 \6<br> <br> The answer is accepted, so I think it's a bug in mp.w. If it's a bu= g, could you fix it in next release?<br> <br> Best Wishes<br> Hong-Phuc Bui<br></blockquote><div><br></div><div>Ok.</div><div>For now you= can use \_ or enclose the offending code between two | .<br></div><div><br= ></div><div>--</div><div>luigi</div></div></div> --000000000000799fa206546dc8ef--