Thanks very much, Oscar. That is now merged into PreTeXt, so I expect Oscar
will have a new release of the CLI soon.
This traces back to an lxml change, released *yesterday*. Thanks, Andrew and
Lily, for sounding the alarm.
Rob
On 9/3/26 07:33, Oscar Levin wrote:
> Fix at
https://github.com/PreTeXtBook/pretext/pull/3204
>
> On Thursday, September 3, 2026 at 7:29:30 AM UTC-6 Oscar Levin wrote:
>
> This is quite strange. Everything works fine if you just run `pretext build
> web`, so it is something about uvx that is causing the issue. The xsl file
> that is throwing the error comes directly from core pretext, and all the xsl
> uses the same pattern for the entities declaration.
>
>
>
> On Thursday, September 3, 2026 at 6:53:06 AM UTC-6 Rob Beezer wrote:
>
>
https://github.com/PreTeXtBook/pretext-cli/issues/1231 <https://
>
github.com/PreTeXtBook/pretext-cli/issues/1231>
>
> On September 2, 2026 9:36:46 PM PDT, "
arech...@gmail.com"
> <
arech...@gmail.com> wrote:
> >Hello All
> >I'm hitting a strange compilation error. I'm running pretext via uvx on
> >linux mint.
> >
> >Steps to reproduce the entities problem:
> >* make new pretext book via "uvx pretext new book"
> >* cd into that directory "new-pretext-project"
> >* attempt to build html via "uvx pretext build html" or "uvx pretext
> build
> >web" or
> >* starts to compile but fails and exits with
> >"
> >fatal: Entity 'entities' not defined, line 25, column 15
> >(report-publisher-variables.xsl, line 25)
> >------------------------
> >exit: Failed to build without errors. Exiting...
> >"
> >This is pretext version 2.52.2
> >
> >Andrew
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
pretext-suppo...@googlegroups.com <mailto:
pretext-
>
support+u...@googlegroups.com>.
> To view this discussion visit
https://groups.google.com/d/msgid/pretext-support/
> f8c9f8a0-20f9-4a40-ab26-f4723b958247n%
40googlegroups.com <https://
>
groups.google.com/d/msgid/pretext-support/f8c9f8a0-20f9-4a40-ab26-
> f4723b958247n%
40googlegroups.com?utm_medium=email&utm_source=footer>.