BRL-CAD is in the process of converting its documentation in order to enable automatic generation of output in different formats (html, pdf, man) from a single source. We need to convert our existing UNIX man pages to the Docbook XML format. There is a doclifter conversion tool available to help automatically convert files, then just a little bit of cleanup is needed. This will find all of the pages specific to this task:
find . -name *.[1-9] -not -regex '.*cmake.*' -not -regex '.*external.*' -not -regex '.*other.*' | grep -v src/[glnrt] | grep -v util
This is minimally 26 files, but possibly more. The simplest way to confirm the files are successfully converted is to incorporate them into BRL-CAD's build logic (edit CMakeLists.txt) and view the output using brlman and an html viewer. It is recommended to use the Emacs editor with the nxml mode in order to more easily identify and fix errors, but this is not a requirement.
This task involves using the doclifter tool to perform a rough conversion to Docbook of all man pages pertaining to BRL-CAD that are in our source tree but not already covered by other GCI tasks, then performing whatever manual corrections are needed to the autogenerated XML files to make them valid Docbook. Many conversions have already been done and can serve as guides. Add new files to the doc/docbook/system/man#/en directory (via svn add), edit the CMakeLists.txt file (add references), remove the old files (via svn rm), and edit the Makefile.am and CMakeLists.txt files to remove references under src.
Verify no warnings or errors by compiling, and make a patch (svn diff my_changes.patch). You will probably have to make minor edits to make them compile cleanly.
File name/URL | File size | Date submitted | |
---|---|---|---|
man1final.patch | 1.0 MB | December 02 2012 18:22 UTC | |
man3final.patch | 2.5 MB | December 02 2012 18:23 UTC | |
man5final.patch | 13.0 KB | December 02 2012 18:27 UTC |
I would like to work on this task.
This task has been assigned to Cezar. You have 48 hours to complete this task, good luck!
The work on this task is ready to be reviewed.
Commit r53944
Congratulations, this task has been completed successfully.