User Tools

Site Tools



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

Link to this comparison view

chm [2014/11/24 01:14] (current) 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.
 +Next, we run the htmldoc gui, and add all the files from the source directory to it.
 +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