[tex4ht] tex4ebook error with latest texlive
Chet Murthy
murthy.chet at gmail.com
Tue Feb 25 21:58:23 CET 2025
Michal,
I have a new MWE (based on your last instructions) that exhibits a number
of new errors. I'm attaching the contents of a directory with a Makefile;
that directory contains the three scripts you've sent me, and the Makefile
runs the build. And of course, a new "sample.tex" that elicits the errors
below.
(1) When I run epubcheck ( v5.2.1, the latest ) on sample.epub, I get the
first attached set of errors.
(2) the htlatex run itself emits errors that seem to imply that it doesn't
understand the latex code, even though that same code passes lualatex
without errors.
(3) Also, since this is supposed to be an MWE, I didn't try to preserve a
-bunch- of errors of the form of #2, from all over the source code of my
book. So it's possible there are a bunch more.
This sample has a number of elements in it, and if I remove any one of
them, it appears that at least one of the errors below disappears. But it
was small enough that I figured I'd leave them in.
Your advice as always greatly appreciated.
--chet--
====
ERROR(RSC-005): sample.epub/OEBPS/samplech1.html(12,37): Error while
parsing file: Duplicate "one"
ERROR(RSC-005): sample.epub/OEBPS/samplech1.html(12,100): Error while
parsing file: Duplicate "x2-10001"
ERROR(RSC-005): sample.epub/OEBPS/samplech1.html(13,44): Error while
parsing file: Duplicate "one"
ERROR(RSC-005): sample.epub/OEBPS/samplech1.html(13,61): Error while
parsing file: Duplicate "x2-10001"
ERROR(RSC-012): sample.epub/OEBPS/sample.html(11,262): Fragment identifier
is not defined.
====
[ERROR] htlatex: Compilation errors in the htlatex run
[ERROR] htlatex: Filename Line Message
[ERROR] htlatex: ./sample.tex ? Undefined control sequence.
[STATUS] htlatex: <- \else \HCode {</span>}\fi l.23 \end{ocaml}
[ERROR] htlatex: Compilation errors in the htlatex run
[ERROR] htlatex: Filename Line Message
[ERROR] htlatex: ./sample.tex ? Undefined control sequence.
[STATUS] htlatex: <- \else \HCode {</span>}\fi l.23 \end{ocaml}
[ERROR] htlatex: Compilation errors in the htlatex run
[ERROR] htlatex: Filename Line Message
[ERROR] htlatex: ./sample.tex ? Undefined control sequence.
[STATUS] htlatex: <- \else \HCode {</span>}\fi l.23 \end{ocaml}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex4ht/attachments/20250225/4eafedb2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.lua
Type: text/x-lua
Size: 47 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex4ht/attachments/20250225/4eafedb2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.cfg
Type: application/octet-stream
Size: 982 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex4ht/attachments/20250225/4eafedb2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.tex
Type: text/x-tex
Size: 991 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex4ht/attachments/20250225/4eafedb2/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 506 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex4ht/attachments/20250225/4eafedb2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: index.4ht
Type: application/octet-stream
Size: 2175 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex4ht/attachments/20250225/4eafedb2/attachment-0002.obj>
More information about the tex4ht
mailing list.