DocBook v2

Thibaut Cuvelier tcuvelier at lyx.org
Sat Sep 12 13:51:08 UTC 2020


On Sat, 12 Sep 2020 at 04:44, Scott Kostyshak <skostysh at lyx.org> wrote:

> On Sat, Sep 12, 2020 at 03:22:22AM +0200, Thibaut Cuvelier wrote:
> > On Fri, 11 Sep 2020 at 20:05, Scott Kostyshak <skostysh at lyx.org> wrote:
> >
> > > On Fri, Sep 11, 2020 at 02:07:00PM +0200, Thibaut Cuvelier wrote:
> > > > Do you have any idea
> > > > where this may come from? In what kind of layout does this happen
> (style,
> > > > float, etc.)?
> > >
> > > I know little about layout stuff, but I'm happy to try to help. One
> > > thing I notice is that in Layout.cpp in layoutTags there is no entry
> for
> > > "docbookitemwrappermergewithprevious". Should there be?
> > >
> >
> > Maybe it should be there, it has never been needed for now. Thank you for
> > pointing out that typo, I read that part a zillion times without spotting
> > it! I suppose that 6941db32e1 fixes the tests?
>
> Nice, those warnings are gone. The next ones I see are the following:
>
>   LyX: Unknown layout tag `otherrenderas='part'' [around line 44 of file
> current token: 'otherrenderas='part'' context: '']
>   Could not read style Part*.
>   LyX: Unknown layout tag `otherrenderas='chapter'' [around line 44 of
> file  current token: 'otherrenderas='chapter'' context: '']
>   Could not read style Chapter*.
>
> It looks like something goes wrong with the parsing of DocBookAttr
> values because of the double quotes or single quotes or spaces. Perhaps
> you need to use something different than the << operator for
> DocBookAttr?
>

I tried to add quotes in Layout::write, maybe this is enough to fix the
issue? (Amended commit: b2881c27.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200912/ed848732/attachment.html>


More information about the lyx-devel mailing list