Convert 43 src/conv man pages to valid DocbookBRL-CAD
Status: ClosedTime to complete: 48 hrs Mentors: Sean, ErikTags: 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/conv -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/conv subdirectory of the BRL-CAD source tree (about 43 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/conv/*.1
  • doc/docbook/system/man1/en/CMakeLists.txt
  • doc/docbook/system/man1/en/
Uploaded Work
File name/URLFile sizeDate submitted
t2.patch78.0 KBNovember 27 2012 14:51 UTC
conv.patch748 bytesNovember 27 2012 16:32 UTC
conv.patch19.3 KBNovember 27 2012 16:33 UTC
conv.patch76.3 KBNovember 27 2012 17:02 UTC
conv.patch166.3 KBNovember 27 2012 21:21 UTC
conv.patch165.8 KBNovember 27 2012 21:48 UTC
Comments
Cezaron November 27 2012 14:49 UTCTask Claimed

I would like to work on this task.

Sean on November 27 2012 14:50 UTCTask Assigned

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

Cezaron November 27 2012 14:51 UTCReady for review

The work on this task is ready to be reviewed.

Sean on November 27 2012 16:04 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Cezaron November 27 2012 16:33 UTCReady for review

The work on this task is ready to be reviewed.

Erik on November 27 2012 19:06 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Erik on November 27 2012 19:08 UTCincomplete

Manpages in the subdirs were not converted:


src/conv/asc/asc2g.1
src/conv/asc/asc2pix.1
src/conv/asc/g2asc.1
src/conv/asc/pix2asc.1
src/conv/comgeom/comgeom-g.1
src/conv/dxf/dxf-g.1
src/conv/dxf/g-dxf.1
src/conv/euclid/euclid-g.1
src/conv/euclid/g-euclid.1
src/conv/iges/g-iges.1
src/conv/iges/iges-g.1
src/conv/nmg/asc-nmg.1
src/conv/nmg/g-nmg.1
src/conv/nmg/nmg-bot.1
src/conv/nmg/nmg-rib.1
src/conv/patch/patch-g.1
src/conv/patch/rpatch.1
src/conv/stl/g-stl.1
src/conv/stl/stl-g.1
src/conv/tankill/g-tankill.1
src/conv/tankill/tankill-g.1
src/conv/vdeck/vdeck.1

Cezaron November 27 2012 21:22 UTCReady for review

The work on this task is ready to be reviewed.

Sean on November 28 2012 04:50 UTCTask Closed

Congratulations, this task has been completed successfully.

Sean on November 28 2012 05:41 UTCfull name

If you provide your full name, we'll include those with recognition in our authorship file.