Convert 24 other man pages to valid DocbookBRL-CAD
Status: ClosedTime to complete: 48 hrs Mentors: SeanTags: docbook, xml, manual page

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 them:

find src/[glnrt]* -name \*.1 

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 in the src/gtoolssrc/lgtsrc/nirtsrc/remrtsrc/rt,src/rttherm, and src/tab subdirectories of the BRL-CAD source tree (about 24 files), then performing whatever manual corrections are needed to the autogenerated XML files to make them valid Docbook (some conversions have already been done and can serve as guides). Add new files to the doc/docbook/system/man1/en directory (via svn add), edit the CMakeLists.txt file in that same directory, verify no errors by compiling, and make a patch.

References:

Code:

  • src/fb/*.1
  • doc/docbook/system/man1/en/CMakeLists.txt
  • doc/docbook/system/man1/en/
Uploaded Work
File name/URLFile sizeDate submitted
XML.zip125.9 KBDecember 03 2012 01:41 UTC
Comments
Harsh Vardhanon November 29 2012 07:38 UTCTask Claimed

I would like to work on this task.

H S Rai on November 29 2012 08:31 UTCTask Assigned

This task has been assigned to Harsh Vardhan. You have 48 hours to complete this task, good luck!

Melange on December 1 2012 08:31 UTCInitial Deadline passed

Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.

Harsh Vardhanon December 1 2012 19:15 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

Sean Bashawon December 2 2012 03:42 UTCTask Claimed

I would like to work on this task.

Sean on December 2 2012 05:59 UTCTask Assigned

This task has been assigned to Sean Bashaw. You have 48 hours to complete this task, good luck!

Sean Bashawon December 2 2012 23:18 UTCErrors On Compilation.

My code gets errors in classes I didn't edit. I get errors like:


53:48: error: CoreFoundation/CoreFoundation.h: No such file or directory


If you can help me msg me on the irc i am Barakados

Sean Bashawon December 3 2012 01:41 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 3 2012 02:14 UTCTask Closed

Congratulations, this task has been completed successfully.