Can't build epub of an article without frontmatter

7 views
Skip to first unread message

Oscar Levin

unread,
Jul 27, 2026, 7:17:57 AM (4 days ago) Jul 27
to PreTeXt development
Or at least I think that is where the bug is.  Using the latest CLI (so some commit in the last two weeks on core), if I try to build epub for a very simple article I get the following error:

* PTX:INFO:   checking all deprecated elements.
* failed to load "/tmp/ptx-eaydxo2j/EPUB/xhtml/table-contents.xhtml": No such file or directory
error: processing with /home/oscar/.ptx/2.45.0/core/xsl/pretext-epub.xsl has failed
Cannot resolve URI /tmp/ptx-eaydxo2j/EPUB/xhtml/table-contents.xhtml

Adding even an empty #frontmatter avoids the error.

Rob Beezer

unread,
Jul 27, 2026, 10:37:17 AM (4 days ago) Jul 27
to prete...@googlegroups.com
Thanks, Oscar - another oldie, I would guess. Appreciate the debugging, that
was it.

Never thought about this as we moved from converting only #book and expanded
into converting #article. Now on better footing - take it for a drive.

https://github.com/PreTeXtBook/pretext/pull/3077

Thanks,
Rob
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-dev...@googlegroups.com <mailto:pretext-
> dev+uns...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-
> dev/400a6d52-c6a8-43b4-8e5d-953fb618d0f4n%40googlegroups.com <https://
> groups.google.com/d/msgid/pretext-dev/400a6d52-
> c6a8-43b4-8e5d-953fb618d0f4n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages