Idea of a "strict" version of LO for publishers
thb at libreoffice.org
Thu Apr 7 19:28:37 UTC 2022
a global 'mode' for LibreOffice text editing is likely pretty invasive
(i.e. lots of places need touching), so that's perhaps not the
LibreOffice project's first choice.
If downstream filtering of the document is sufficient for your use
case, then perhaps the ODFToolkit  library packages can help
you. They provide quite rich semantics on top of an in-memory DOM tree
of an ODF document. Svante and Michael (in Cc) are the maintainers.
Yves Picard wrote:
> On the advice of Sophie Gautier, I would like to tell you about one of our "research and development" projects, for which I have a budget of about two thousand euros. As a university publisher, we maintain electronic publishing channels from word processing to several publishing formats (html, epub, InDesign, PDF), passing through a pivot format in XML TEI. This pivot format is itself derived from an XML export from Libre Office.
> A significant part of our work consists of tracking down and containing artefacts from the word processor (Word or Libre Office), in particular style nesting, automatic styles or language attributes, etc.
> I'm looking to test the idea of a "strict" version of LO that would ensure that one style and one style only is applied to a paragraph, that one enrichment and one enrichment only is applied to a word (no use of styles like "accentuation" for example) or that a web link is always findable despite the style applied. This would probably be an "amnesiac" version of LO (without memory of the various manipulations) which would either be used by authors (difficult to set up) or would be used by the editor by loading an author file in this strict version.
> An alternative (and probably better) idea would be a "big cleaner" tool that would flatten all style or attribute nesting to the author's work.
> I'm looking for an opinion from the Libre Office community on the feasibility of such a development, while being well aware that it goes against the logic of the word processor in some way. But such a version, I believe, would meet the expectations of the publishing world.
> Thank you for your attention,
> Yves Picard,
> Presses universitaires de Rennes,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1032 bytes
Desc: not available
More information about the LibreOffice