[metapost] Outputtemplate influences %& format comment parsing in verbatimtex

luigi scarso luigi.scarso at gmail.com
Sun Dec 24 19:33:52 CET 2023


On Sun, 24 Dec 2023 at 18:33, Ben Frank <ben.frank at mail.de> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/metapost/attachments/20231224/1b0721bc/attachment.htm>


More information about the metapost mailing list.