2006/5/11, Marco Ciampa <[EMAIL PROTECTED]>:
  gettext/po files->xml(docbook?)->output(html/pdf/hlp in order of
  priority)

Yes, and add:
- plain text; it just does the job, and you can run grep ;)
- and why not odt (open document text, which are xml files inside a zip file);

If we use a good starting format, we will be able to export to many
other format by the pressing of a key. I have difficulties with
docbook because it looks complicated to use. But it does the job to
convert to many other formats.

But _please_, use HTML as the final format and do enable the textual ide
to use it!

HTML should be a by-product of the original thing.

The only point which is more difficult is not the TOC, it's a good
searching engine. But this is not that hard in fact, and no huge
DB/Technology is required. This is a tree step project:
- get a good algo to extract key words;
- store the keywords in a file and a given 'pointer' where it can be
found back in original file;
- build a very stupid 'search in list/file' for the desired keyword;
get all the 'pointers'; display the results where the best 'pointers'
are found and in greater quantity; depends of the search params.

There we go, we only required:
- the help files which we will display in the format the user desire
(html? text? hlp?)
- a good normal pascal unit for the help related functions and classes
- a very normal text file or dbase file (what ever is the simplest and
supported by a pascal component) to store the keywords
- a new form that will do all the job of searching and displaying

I'm not very pro-CHM either. But as a compiled problem, a compiled
help file is sometimes appreciated for some reasons. The more it's
simple the best it is; the moment we can format the text a little bit.
(Yeah, we cant' format text files, but we can read them in a simple
text editor; could be usefull who know ;).)

Best regards.

--
Alexandre Leclerc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to