Re: Outputtemplate influences %& format comment parsing in verbatimtex

luigi scarso <[email protected]> Sun, 24 Dec 2023 19:33:52 +0100
Newsgroups gmane.comp.tex.metapost
Message-ID <CAG5iGsAnuLe4d58FGxZSv-w29pQzUWr+9DtW_GLjcknEh7=mMg@mail.gmail.com>
--===============5621612509285002527==
Content-Type: multipart/alternative; boundary="0000000000009483fd060d45b187"

--0000000000009483fd060d45b187
Content-Type: text/plain; charset="UTF-8"

On Sun, 24 Dec 2023 at 18:33, Ben Frank <[email protected]> wrote:

> Hi,
>
> On 24.12.23 16:19, luigi scarso wrote:
> > as the result of the compilation you should have some *mpx* files in the
> > same folder -- what do they say ?
> >
> > --
> > luigi
>
> As I mentioned, the major difference is that the mpx file
>
>
Here I have

$> mpost test.mp
This is MetaPost, version 2.02 (TeX Live 2023) (kpathsea version 6.3.5)
(/<...>/tex-2023/texmf-dist/metapost/base/mpost.mp
(/<...>/tex-2023/texmf-dist/metapost/base/plain.mp
Preloading the plain mem file, version 1.005) ) (./test.mpfatal: Command
failed: etex --parse-first-line --interaction=nonstopmode mpK6cPmm.tex; see
mpxerr.log
>> test.mp
>> test.mpx
! ! Unable to read mpx file.
l.10    label.lft(btex
                       \textbf{J} etex,origin);
Transcript written on test.log.


and makempx.log
makempx fatal: ./test.mp: Command failed: etex --parse-first-line
--interaction=nonstopmode mpK6cPmm.tex; see mpxerr.log


and mpxerr.log


This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2024) (preloaded
format=etex 2023.11.4)  24 DEC 2023 19:28
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**mpK6cPmm.tex
(./mpK6cPmm.tex
! Undefined control sequence.
l.2    \documentclass
                     {article}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.3    \begin
             {document}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.16 \textbf
            {J}%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

[1] [1] )
Output written on mpK6cPmm.dvi (2 pages, 296 bytes).

--
luigi

--0000000000009483fd060d45b187
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">=
<div dir=3D"ltr" class=3D"gmail_attr">On Sun, 24 Dec 2023 at 18:33, Ben Fra=
nk &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On 24.12.23 16:19, luigi scarso wrote:<br>
&gt; as the result of the compilation you should have some *mpx* files in t=
he <br>
&gt; same folder -- what do they say ?<br>
&gt; <br>
&gt; --<br>
&gt; luigi<br>
<br>
As I mentioned, the major difference is that the mpx file<br>
<br></blockquote><div><br></div><div>Here I have=C2=A0</div><div><br></div>=
<div>$&gt; mpost <a href=3D"http://test.mp">test.mp</a> <br>This is MetaPos=
t, version 2.02 (TeX Live 2023) (kpathsea version 6.3.5)<br>(/&lt;...&gt;/t=
ex-2023/texmf-dist/metapost/base/<a href=3D"http://mpost.mp">mpost.mp</a><b=
r>(/&lt;...&gt;/tex-2023/texmf-dist/metapost/base/<a href=3D"http://plain.m=
p">plain.mp</a><br>Preloading the plain mem file, version 1.005) ) (./test.=
mpfatal: Command failed: etex --parse-first-line --interaction=3Dnonstopmod=
e mpK6cPmm.tex; see mpxerr.log<br>&gt;&gt; <a href=3D"http://test.mp">test.=
mp</a><br>&gt;&gt; test.mpx<br>! ! Unable to read mpx file.<br>l.10 =C2=A0 =
=C2=A0label.lft(btex<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\textbf{J} etex,origin);<br>Transcript wr=
itten on test.log.<br></div><div><br></div><div><br></div><div><div>and=C2=
=A0makempx.log</div><div>makempx fatal: ./<a href=3D"http://test.mp">test.m=
p</a>: Command failed: etex --parse-first-line --interaction=3Dnonstopmode =
mpK6cPmm.tex; see mpxerr.log<br></div><div><br></div></div><div><br></div><=
div>and mpxerr.log</div><div><br></div><div><br></div><div>This is pdfTeX, =
Version 3.141592653-2.6-1.40.25 (TeX Live 2024) (preloaded format=3Detex 20=
23.11.4) =C2=A024 DEC 2023 19:28<br>entering extended mode<br>=C2=A0restric=
ted \write18 enabled.<br>=C2=A0%&amp;-line parsing enabled.<br>**mpK6cPmm.t=
ex<br>(./mpK6cPmm.tex<br>! Undefined control sequence.<br>l.2 =C2=A0 =C2=A0=
\documentclass<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0{article}<br>The control sequence at the end of the top=
 line<br>of your error message was never \def&#39;ed. If you have<br>misspe=
lled it (e.g., `\hobx&#39;), type `I&#39; and the correct<br>spelling (e.g.=
, `I\hbox&#39;). Otherwise just continue,<br>and I&#39;ll forget about what=
ever was undefined.<br><br>! Undefined control sequence.<br>l.3 =C2=A0 =C2=
=A0\begin<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{document}<br>=
The control sequence at the end of the top line<br>of your error message wa=
s never \def&#39;ed. If you have<br>misspelled it (e.g., `\hobx&#39;), type=
 `I&#39; and the correct<br>spelling (e.g., `I\hbox&#39;). Otherwise just c=
ontinue,<br>and I&#39;ll forget about whatever was undefined.<br><br>! Unde=
fined control sequence.<br>l.16 \textbf<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 {J}%<br>The control sequence at the end of the top line<br>of yo=
ur error message was never \def&#39;ed. If you have<br>misspelled it (e.g.,=
 `\hobx&#39;), type `I&#39; and the correct<br>spelling (e.g., `I\hbox&#39;=
). Otherwise just continue,<br>and I&#39;ll forget about whatever was undef=
ined.<br><br>[1] [1] )<br>Output written on mpK6cPmm.dvi (2 pages, 296 byte=
s).<br></div><div><br></div><div>--</div><div>luigi=C2=A0</div><div>=C2=A0<=
/div></div></div>

--0000000000009483fd060d45b187--

--===============5621612509285002527==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
http://tug.org/metapost/

--===============5621612509285002527==--