Il 21/03/22 10:37, Daniel ha scritto:
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

There is some degree of duplication between Docbook and LyXHTML code. I think its because the latter is much older and Thibaut had to write its own to produce Docbook. This has been brought up also when addressing MathML production. I agree LyX needs more standard XML generating functions.

Its part of a larger theme about XML production, and there was a talk sometime ago about using a library for this.
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to