Lots of duplicate code in docbook

Daniel xracoonx at gmx.de
Mon Mar 21 09:37:26 UTC 2022


I have no knowledge about docbook. I never used it. I was just wondering 
why so code is duplicated in the docbook functions. For example, 
Tabular::docbookRowAsHTML and Tabular::docbookRowAsCALS seems to 
duplicate much of Tabular::xhtmlRow. Isn't that an issue when adding new 
features? Why not have common functions with only parts that differ or so?

Daniel




More information about the lyx-devel mailing list