Export to lyxhtml broken

Kornel Benko kornel at lyx.org
Sat Sep 19 23:25:38 UTC 2020


Am Sat, 19 Sep 2020 19:12:12 -0400
schrieb Scott Kostyshak <skostysh at lyx.org>:

> On Sat, Sep 19, 2020 at 07:09:55PM -0400, Scott Kostyshak wrote:
> > On Sun, Sep 20, 2020 at 12:08:55AM +0200, Kornel Benko wrote:  
> > > 
> > > Unfortunately the tests do not try to display the resulting
> > > xhtml code, they only check with xmllint.
> > > 
> > > ATM, most (if not all) xhtml exports create invalid output in the sense
> > > that the output is not displayable with firefox.
> > > 
> > > (This works with lyx2.3)  
> > 
> > I can reproduce. For example, with the English "Welcome.lyx" file, I get the
> > following error when viewing in Chromium:
> > 
> >   error on line 47 at column 152: Entity 'rArr' not defined
> > 
> > The export of the 2.3.x analog seems to works fine.  
> 
> We might need to tweak our xmllint flags? Running with no flags does seem to catch this
> error:
> 
> $ xmllint Welcome.xhtml
> Welcome.xhtml:47: parser error : Entity 'rArr' not defined
> ase use it! Start with the menu <span style='font-family:sans-serif;'>Help⇒
> ...

Yes, looks like 'xmllint --sax' does not do what we want ( at least for xhtml)

> Scott

	Kornel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200920/b1e47be1/attachment.asc>


More information about the lyx-devel mailing list