Page 5 of 5
Re: PureHELP Maker : fast help builder for userlibraries
Posted: Mon May 17, 2010 4:50 pm
by gnozal
Update (version 1.03)
Changes :
- new icon
- new feature : you may now add a user index (right-click on topic list, like for a user topic)
Thanks LSI (french forum) for this feature (and the icon

).
Re: PureHELP Maker : fast help builder for userlibraries
Posted: Tue May 18, 2010 4:12 pm
by Le Soldat Inconnu
I Add this changes too
- Correction of HTML code generated
- Correction of some small bugs (like add extension automatically on save)
Re: PureHELP Maker : fast help builder for userlibraries
Posted: Sat Jun 19, 2010 6:07 pm
by Le Soldat Inconnu
Gnozal, i do small mistake
before
Code: Select all
Procedure.l CreateFunctionHelpFile(Filename.s)
Protected Description.s, Example.s, Overview.s, Stream.l, ReturnValue.l, ListIconText.s, UserIndexOpen.l
Stream = CreateFile(#PB_Any, Filename)
If Stream
Overview = HTMLHelpFiles()\SyntaxOrOverview
Description = HTMLHelpFiles()\Description
Example = HTMLHelpFiles()\Example
WriteStringN("<html><head><title>" + HTMLHelpFiles()\PageTitle + "</title><meta name= " + #g + "GENERATOR" + #g + "content=" + #g + "PureHELP Maker (c) gnozal" + #g + "></HEAD>")
WriteStringN("<body bgcolor=" + #g + "#FFFFDF" + #g + " link=" + #g + "#009999" + #g + " vlink=" + #g + "#006666" + #g + " alink=" + #g + "#006666" + #g + ">")
WriteStringN("<font face=" + #g + "Arial" + #g + " size=" + #g + "2" + #g + "><p align=" + #g + "center" + #g + "><b><font size=" + #g + "4" + #g + ">" + HTMLHelpFiles()\PageTitle + " </Font></b></p>")
If HTMLHelpFiles()\UserPage
WriteStringN("<blockquote><font face=" + #g + "Arial" + #g + "size=" + #g + "2" + #g + ">")
Description = ReplaceString(Description, #CRLF, "<br>" + #CRLF)
WriteStringN(Description)
WriteStringN("</font></blockquote>")
ElseIf HTMLHelpFiles()\UserIndex
If Overview
WriteStringN("<p><b>"+ Language_Overview + "</b></p>")
Overview = ReplaceString(Overview, #CRLF, "<br>" + #CRLF)
WriteStringN(Overview)
WriteStringN("<Font></blockquote>")
EndIf
on last WriteStringN("<Font></blockquote>"), there is <Font> and you have to remove it
after
Code: Select all
Procedure.l CreateFunctionHelpFile(Filename.s)
Protected Description.s, Example.s, Overview.s, Stream.l, ReturnValue.l, ListIconText.s, UserIndexOpen.l
Stream = CreateFile(#PB_Any, Filename)
If Stream
Overview = HTMLHelpFiles()\SyntaxOrOverview
Description = HTMLHelpFiles()\Description
Example = HTMLHelpFiles()\Example
WriteStringN("<html><head><title>" + HTMLHelpFiles()\PageTitle + "</title><meta name= " + #g + "GENERATOR" + #g + "content=" + #g + "PureHELP Maker (c) gnozal" + #g + "></HEAD>")
WriteStringN("<body bgcolor=" + #g + "#FFFFDF" + #g + " link=" + #g + "#009999" + #g + " vlink=" + #g + "#006666" + #g + " alink=" + #g + "#006666" + #g + ">")
WriteStringN("<font face=" + #g + "Arial" + #g + " size=" + #g + "2" + #g + "><p align=" + #g + "center" + #g + "><b><font size=" + #g + "4" + #g + ">" + HTMLHelpFiles()\PageTitle + " </Font></b></p>")
If HTMLHelpFiles()\UserPage
WriteStringN("<blockquote><font face=" + #g + "Arial" + #g + "size=" + #g + "2" + #g + ">")
Description = ReplaceString(Description, #CRLF, "<br>" + #CRLF)
WriteStringN(Description)
WriteStringN("</font></blockquote>")
ElseIf HTMLHelpFiles()\UserIndex
If Overview
WriteStringN("<p><b>"+ Language_Overview + "</b></p>")
Overview = ReplaceString(Overview, #CRLF, "<br>" + #CRLF)
WriteStringN(Overview)
WriteStringN("</blockquote>")
EndIf
Sorry

Re: PureHELP Maker : fast help builder for userlibraries
Posted: Sat Jun 19, 2010 10:54 pm
by Le Soldat Inconnu
and again one on line 946, i had system to add link on function but i forgot to add () after function name to search function.
en gros, j'ai zappé les () lors de la recherche des noms de fonction et du coup avec des fonctions du style CreateSkinWindow et CreateSkinWindowError, ça ne marche pas car je détecte CreateSkinWindow dans CreateSkinWindowError
Code: Select all
Description = ReplaceString(Description, HTMLHelpFiles()\FunctionName + "()", "<a href=" + #g + HTMLHelpFiles()\FunctionName + ".html" + #g + ">" + HTMLHelpFiles()\FunctionName + "()</a>")
Re: PureHELP Maker : fast help builder for userlibraries
Posted: Tue Jun 22, 2010 10:07 am
by gnozal
Le Soldat Inconnu wrote:and again one on line 946, i had system to add link on function but i forgot to add () after function name to search function.
en gros, j'ai zappé les () lors de la recherche des noms de fonction et du coup avec des fonctions du style CreateSkinWindow et CreateSkinWindowError, ça ne marche pas car je détecte CreateSkinWindow dans CreateSkinWindowError
Code: Select all
Description = ReplaceString(Description, HTMLHelpFiles()\FunctionName + "()", "<a href=" + #g + HTMLHelpFiles()\FunctionName + ".html" + #g + ">" + HTMLHelpFiles()\FunctionName + "()</a>")
Il me semble l'avoir corrigé dans la version disponible sur mon site ?
(I think it's already fixed ?)
Re: PureHELP Maker : fast help builder for userlibraries
Posted: Wed Jun 23, 2010 9:11 pm
by Le Soldat Inconnu
Aucune idée, je tourne la version que j'ai compilé
Et pour le </Font> en trop ?
Re: PureHELP Maker : fast help builder for userlibraries
Posted: Thu Jun 24, 2010 7:33 am
by gnozal
Le Soldat Inconnu wrote:Aucune idée, je tourne la version que j'ai compilé
Et pour le </Font> en trop ?
Je ne me souviens plus trop... Je n'ai pas le code sous la main.
J'ai fait quelques modifications dans la source avant de la compiler.
Et j'ai recompilé quelques CHM sans problèmes.
Re: PureHELP Maker : fast help builder for userlibraries
Posted: Sat May 21, 2011 8:44 am
by gnozal
Update (version 1.04)
Changes :
- some minor bug fixes
- added 'multi-library' support
For example, PureCOLOR has 3 libs : PureCOLOR, PureCOLOR-Buttons, PureCOLOR-Menu.
Simply select 'PureCOLOR', PureHELP Maker will detect the other two libraries to generate a unique help file.