entities? problem

24 views
Skip to first unread message

arech...@gmail.com

unread,
Sep 3, 2026, 12:36:46 AM (9 days ago) Sep 3
to PreTeXt support
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

Rob Beezer

unread,
Sep 3, 2026, 8:53:06 AM (9 days ago) Sep 3
to pretext...@googlegroups.com

Oscar Levin

unread,
Sep 3, 2026, 9:29:30 AM (9 days ago) Sep 3
to PreTeXt support
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.

Oscar Levin

unread,
Sep 3, 2026, 10:33:53 AM (9 days ago) Sep 3
to PreTeXt support

Rob Beezer

unread,
Sep 3, 2026, 12:25:39 PM (8 days ago) Sep 3
to pretext...@googlegroups.com
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>.

Rob Beezer

unread,
Sep 3, 2026, 3:26:54 PM (8 days ago) Sep 3
to pretext...@googlegroups.com
Some minor follow-on stuff for this at:

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

Of course, Oscar, you can pin a release at whichever commit you like.

Rob

arech...@gmail.com

unread,
Sep 3, 2026, 7:49:53 PM (8 days ago) Sep 3
to PreTeXt support
many thanks for the quick diagnosis and fix.

Rob Beezer

unread,
Sep 3, 2026, 7:55:34 PM (8 days ago) Sep 3
to pretext...@googlegroups.com
And thank-you to you for breaking our tools within 24 hours of them becoming
vulnerable! ;-) It really is appreciated! -Rob

On 9/3/26 16:49, arech...@gmail.com wrote:
> many thanks for the quick diagnosis and fix.
>
> On Thursday, 3 September 2026 at 12:26:54 UTC-7 Rob Beezer wrote:
>
> Some minor follow-on stuff for this at:
>
> https://github.com/PreTeXtBook/pretext/pull/3206 <https://github.com/
> PreTeXtBook/pretext/pull/3206>
>
> Of course, Oscar, you can pin a release at whichever commit you like.
>
> Rob
>
> On 9/3/26 09:25, 'Rob Beezer' via PreTeXt support wrote:
> > 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 <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> <https://
> >> github.com/PreTeXtBook/pretext-cli/issues/1231 <http://github.com/
> <https://groups.google.com/d/msgid/pretext->
> >> support/ f8c9f8a0-20f9-4a40-ab26-f4723b958247n%40googlegroups.com
> <http://40googlegroups.com> <https://
> >> groups.google.com/d/msgid/pretext-support/f8c9f8a0-20f9-4a40-ab26-
> <http://groups.google.com/d/msgid/pretext-support/f8c9f8a0-20f9-4a40-ab26->
> >> f4723b958247n%40googlegroups.com?utm_medium=email&utm_source=footer
> <http://40googlegroups.com?utm_medium=email&utm_source=footer>>.
> >
>
> --
> 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/86945dd7-764c-401d-b0de-764d934699d1n%40googlegroups.com <https://
> groups.google.com/d/msgid/pretext-support/86945dd7-764c-401d-
> b0de-764d934699d1n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Oscar Levin

unread,
Sep 4, 2026, 10:58:27 AM (7 days ago) Sep 4
to PreTeXt support
CLI version 2.52.3 has the fix.
Reply all
Reply to author
Forward
0 new messages