Docbook5 export of de/Additional.lyx contains some non-UTF-8 encoded characters

Kornel Benko kornel at lyx.org
Fri Jul 31 18:57:31 UTC 2020


Am Fri, 31 Jul 2020 20:18:17 +0200
schrieb Thibaut Cuvelier <tcuvelier at lyx.org>:

> On Fri, 31 Jul 2020 at 18:59, Kornel Benko <kornel at lyx.org> wrote:
> 
> > Am Fri, 31 Jul 2020 17:36:35 +0200
> > schrieb Thibaut Cuvelier <tcuvelier at lyx.org>:
> >
> > > On Fri, 31 Jul 2020 at 15:12, Kornel Benko <kornel at lyx.org> wrote:
> > >
> > > >
> > > > The relevant chars are inside a comment, so probably not handled yet
> > > >
> > > > ...
> > > > <para>Wählen Sie hierfür <emphasis
> > > > role='sans'>Dokument&#x21D2;Einstellungen&#x21D2;LaTeX-Vorspann. Dies
> > > > öffnet ein
> > > > Editierfenster, in das Sie Ihre bevorzugten Befehle schreiben
> > > > können.<footnote><para>Das
> > > > Editierverhalten in diesem Fenster ist spezifisch, also erwarten Sie
> > > > nicht, dass die
> > > > LyX<!-- �����= -->Tastenkombinationen darin funktionieren.</para>
> > > > ...
> > > >
> > >
> > > There is also another problem with that file:
> > >
> > > ---------------------------
> > > LyX: Unsupported Inclusion
> > > ---------------------------
> > > LyX does not know how to include non-LyX files when generating DocBook
> > > output. Offending file:
> > > ../SpecialParagraphShape.tex
> >
> > Yes, and in 12 other files too.
> > Additional.lyx: inlude
> > es/Additional.lyx: inlude
> > fr/Additional.lyx: inlude
> > de/Additional.lyx: inlude
> > es/EmbeddedObjects.lyx: inlude
> > fr/EmbeddedObjects.lyx: inlude
> > ja/Additional.lyx: inlude
> > Letters/Serial_Letter_1.lyx: inlude
> > Letters/Serial_Letter_2.lyx: inlude
> > de/Letters/Serial_Letter_3.lyx: inlude
> > Letters/Serial_Letter_3.lyx: inlude
> > de/Letters/Serial_Letter_1.lyx: inlude
> > de/Letters/Serial_Letter_2.lyx: inlude
> >
> 
> I just pushed a patch that actually includes the file, but in comments. I'm
> not sure we can do more that this…

For the remaining problems (3 exports):
Inside of comments <!-- some text -->
and parameter values <abc param='value' ...
substitute also '-' and '\'' with their unicode number '&#...;'.

That should make sax-parser happy.

	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/20200731/f5dcd124/attachment.asc>


More information about the lyx-devel mailing list