LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-06-2006, 07:38 AM   #1
annaben
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
How to create a .chm file from html files on Linux ?


I saw several threads here on how to extract html from a chm file, but I need to do the exact opposite - to create a .chm file from html (I even have the index .hhp file) on linux (and then later to view it...).
I would like advice on free software I can download to achieve this, or code packages, or anything.

I need to do this because html format does not show index and does not have convenient search (any suggestions other than chm are welcome!).

Thanks!

---
Anna
 
Old 11-06-2006, 08:34 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,489
Blog Entries: 54

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
Hello there and welcome to LQ. Hope you like it here.

create a .chm file from html
AFAIK there is one CHM compiler for GNU/Linux: DocBook Toolchain Manager. If it don't work for you and you can not resolve issues with the developers or maintainers then maybe you can run a freeware CHM compiler under WINE if you can't shake your Winhelp format addiction.


I need to do this because html format does not show index and does not have convenient search
What I remember from building CHM files from HTML is that you would have to *make* an index: it's not something that happened automagically. And AFAIK search functionality is a part of the application, not of an individual .chm file. The search database must be built afterwards, similar to how "makewhatis" for example works. If your only concern is search functionality there's lots of desktop search products, see for example http://www.antezeta.com/desktop-search.html or search Freshmeat and Sourceforge.

Last edited by unSpawn; 11-07-2006 at 04:56 PM. Reason: //only one compiler :-[
 
Old 11-07-2006, 08:20 AM   #3
annaben
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Original Poster
Rep: Reputation: 0
UnSpawn - thanks for the fast reply, but I am still unable to achieve what I need :-(.

I think that in this case I did exactly what I hate when the users of my tool do - ask for a specific thing without describing a scenario. Explaining the real problem might often give ideas for a better solution.

I am a programmer in a team of ten. We have a program that is quite large (it was written by approx. 10 people/year for the last ~15 years. Did not count the code lines, but it is ALOT).
The code is very large and complex, and we decided to start using doxygen (well, at least for find/grep in the code to be done more easily, and in the next step - doxygen friendly documentation!). This will enable new people (I am only about half a year in the project) to get acquainted with the code faster.

Doxygen has several output formats. where html is the most basic. After creating html, I convereted it to .chm (on windows), and saw that the file is much smaller in size than the html (~25%!), and the search (index on the right side) is great. I use it a lot.

I would like to create a weekly build of the project that will compile the doxygen, and create the .chm, but since all our code is in Linux/Unix environment, the best would be to stay there, and run everything automatically from the linux environment.

This is why I am looking for the .chm convertor in Linux.

The above suggested tools for chm conversion did not appear to do what I need in this case (one of them - the first is not active at all).

I would be happy for a tool/format to achieve the chm advantages I have:
* Single file
* Reduced size (to 1/4 of the original html size!)
* easy index search

Thanks again!
 
Old 11-07-2006, 05:25 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,489
Blog Entries: 54

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
I would be happy for a tool/format to achieve the chm advantages I have
Ah. Formal requirements ;-p


* Single file
Could be any format.

What you want, what you really really want in conjunction with "single file" is
* a format that's not proprietary and platform-agnostic to boot,
* can be edited/compiled/read on different platforms.
First ones come to mind are OOo's .sxw and Adobe's PDF.


* Reduced size (to 1/4 of the original html size!)
OOo does zip-compress it's documents and PDF can too AFAIK with zxpdf.


* easy index search
I don't know how if there's .sxw tools, but I do know there's tools for making PDF indices which maybe could be fed back into the PDF? In any case searching a PDF's and .sxw docs works and I'm sure that up to a certain size it would be managable. They do not cache info AFAIK.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to view .chm files in linux arunvk Linux - Software 9 11-05-2007 10:34 AM
view .chm files in linux? litlmary Linux - Software 3 08-18-2006 05:52 AM
how to read .chm files in linux servnov Linux - General 3 03-25-2006 12:35 AM
Why when editing files does Linux create a duplicate file with a ~ in the extension? bugbite99 Linux - General 6 01-17-2005 02:21 PM
CHM files in Linux rch Linux - General 5 01-30-2004 10:31 PM


All times are GMT -5. The time now is 05:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration