2

What I have:

  • A DocBook file in the SGML format

What I want:

  • A version of this document as a PDF, so I can properly read it.

The complication:

  • There are tools for XML-based DocBook files, including PDF rendering. For SGML-based DocBook files, not so much.

What I already tried:

  • Finding a way to convert SGML to XML, so I can convert from there.
  • The osx command-line program from the open-sp package, which is an official variant of the OpenJade system. I planned to use it to convert the SGML data to its XML equivalent. The attempts failed from not having any DocBook definition files.

Example errors from the osx attempt ("API.sgml" was the source file name):

  • osx:API.sgml:518:18:E: element "COMMAND" undefined
  • osx:API.sgml:610:12:E: reference to entity "lt" for which no system identifier could be generated
CTMacUser
  • 121

0 Answers0