====== 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|0@@}} Next, we run the htmldoc gui, and add all the files from the source directory to it. {{Command|1@@}} 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.