DocBook v2

Scott Kostyshak skostysh at lyx.org
Sat Sep 12 02:43:49 UTC 2020


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?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200911/08e4fcfc/attachment.asc>


More information about the lyx-devel mailing list