[LyX/master] Merge branch 'features/indexmacros'

Thibaut Cuvelier dourouc05 at gmail.com
Sun Nov 20 19:24:41 UTC 2022


On Sun, 20 Nov 2022 at 16:47, Scott Kostyshak <skostysh at lyx.org> wrote:

> On Sun, Nov 20, 2022 at 04:33:36PM +0100, Thibaut Cuvelier wrote:
> > > When I open the exported de Math.xhtml in Chromium, I get:
> > >
> > >   "error on line 7159 at column 22: Entity 'imaginary' not defined"
> > >
> >
> > That's unrelated to this branch, it was a problem in the MathML
> > configuration.
>
> Ah, I was wondering why xmllint didn't catch it but I guess it doesn't
> catch MathML issues. Probably there is a way to catch them in the
> ctests, but I don't know if we want to make our ctests more strict. If
> we make them more strict, I will bug you more about test failures :)
>

xmllint is probably not the best tool for (X)HTML, it just validates XML
syntax (HTML is not necessarily XML, but what LyX generates is; there are
many constraints that xmllint doesn't know about).

There are many tools to validate HTML as command-line utilities, but most
of them are in JavaScript; maybe http://www.html-tidy.org/ could be
included as a test dependency? It should be more or less easy to integrate,
as it's just C buildable with CMake and no dependency.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221120/df8f46eb/attachment-0001.html>


More information about the lyx-devel mailing list