What can be used to edit docbook files on Linux?
Preference would be for an open source, GUI tool, but I'll accept less.
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It only takes a minute to sign up.Sign up to join this community
Here is one: XMLmind DocBook Editor
LibreOffice is a free, open source, GUI tool that can save to DocBook 5.1 XML ("File → Save As… → DocBook (xml)"). It can also read the DocBook files it generates.
There seems little documentation available, but I found out already that it seems based on proper use of the pre-defined paragraph and character styles:
<sect1><title> … </title></sect1>.
<emphasis> … </emphasis>.
While LibreOffice may suffice for basic editing, but this feature is not fully developed. For example, I found the following limitations already:
It can load from and save to DocBook
article documents, but not DocBook
It does not generate
<info>…</info> elements, and when editing these into the XML source LibreOffice will destroy them when opening them the next time by interpreting these as textual content. Even though
<article> is valid DocBook (see).
It does not render literature references with the correct elements in the output.
It does not include the bibliography list in the output.
This was just from a quick test, so there are probably many more points like that.