User Tools

Site Tools


chm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

chm [2014/11/24 01:14] (current)
0.0.0.0 created
Line 1: Line 1:
 +====== CHM ======
  
 +===== Converting a CHM to PDF =====
 +This requires the following software packages:
 +
 +  * {{Package|direct=yes|dev-libs/​chmlib}}
 +  * {{Package|direct=yes|dev-python/​pychm}}
 +  * {{Package|direct=yes|app-text/​htmldoc}} USE="​{{USEFlag|{{EnableFlag|fltk}}}}"​
 +
 +Create a new directory, and extract the html files from the CHM into it.
 +{{Command|<​code>​0@@</​code>​}}
 +
 +Next, we run the htmldoc gui, and add all the files from the source directory to it.
 +{{Command|<​code>​1@@</​code>​}}
 +
 +Next, go to the output tab and select to output in PDF format, and chose an appropriate filename. Select any other desired options, and then click the Generate button.
 +
 +It will take a few seconds/​minutes to convert, and when it completes, your PDF should be created.
chm.txt · Last modified: 2014/11/24 01:14 by 0.0.0.0