Fwd: [Review requested] New DocBook layout parameter

Thibaut Cuvelier cuvelier.thibaut at gmail.com
Thu Dec 22 03:45:52 UTC 2022


Dear list,

To solve https://www.lyx.org/trac/ticket/12612, I needed a new layout
parameter for DocBook to generate some content based on paragraph labels.
It draws heavily from LyXHTML code: makeEnvironment in output_xhtml.cpp,
case on environments, label generation (currently, lines 499 to 511).

As I'm still not very confident with layout changes, and especially as LyX
master is maturing, I'm requesting some feedback/review before pushing. I
believe everything is there (code changes, layout version update, changes
in the layout to use the new feature, documentation), with the exception of
updating the version number of all layouts (to avoid cluttering the patch).

By the way, I noticed that the documentation on the new DocBook parameters
for the layouts is truly lacking. I'll try to do something about it.

Thanks in advance!

Thibaut Cuvelier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221222/c00d7fb0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-DocBook-add-support-for-DocBookGenerateTitle.patch
Type: application/x-patch
Size: 50201 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221222/c00d7fb0/attachment-0001.bin>


More information about the lyx-devel mailing list