PureBasic.chm modern style
PureBasic.chm modern style
During the confinement, I renovate some things and therefore, like many, doing a little painting.
It's too dangerous to climb on a ladder to repaint the ceilings (and I'm old), so I 'paint' the PB help file.
Screenshot Actual/New
Just replaced the colors and fonts to modernize a little. (Yellow background to white, Courier to Consola etc)
No modification of the original text contrent (PB v5.72 LTS)
The page of my site is in french, but I also repainted the English version. Direct link to the English instruction and file.
To use it in IDE: Close PB IDE if open, rename or save your original Purebasic.chm (or move-it) then replace it with Purebasic_572_En.chm and rename it in Purebasic.chm. Nothing will be changed in registry or anywhere else.
Important: After download, if right panel of help is empty, open Properties of file, click Unblock, then click Apply.
(This is a Windows security 'feature' with .CHM file)
There is only one file that you just have to put in place of the current one (after renaming it)
There are no changes in the configuration or in the registry. So you can go back at any time.
Enjoy
Translated with http://www.DeepL.com/Translator (free version)
It's too dangerous to climb on a ladder to repaint the ceilings (and I'm old), so I 'paint' the PB help file.
Screenshot Actual/New
Just replaced the colors and fonts to modernize a little. (Yellow background to white, Courier to Consola etc)
No modification of the original text contrent (PB v5.72 LTS)
The page of my site is in french, but I also repainted the English version. Direct link to the English instruction and file.
To use it in IDE: Close PB IDE if open, rename or save your original Purebasic.chm (or move-it) then replace it with Purebasic_572_En.chm and rename it in Purebasic.chm. Nothing will be changed in registry or anywhere else.
Important: After download, if right panel of help is empty, open Properties of file, click Unblock, then click Apply.
(This is a Windows security 'feature' with .CHM file)
There is only one file that you just have to put in place of the current one (after renaming it)
There are no changes in the configuration or in the registry. So you can go back at any time.
Enjoy
Translated with http://www.DeepL.com/Translator (free version)
Re: PureBasic.chm modern style
Nice one, thank you! I would prefer a dark version though
Et cetera is my worst enemy
- VB6_to_PBx
- Enthusiast
- Posts: 625
- Joined: Mon May 09, 2011 9:36 am
Re: PureBasic.chm modern style
Thanks !
good choice going from Courier New or Courier to Consolas Font
also Consolas "Regular" Font "prints out on paper" at higher quality
whereas , if i use Courier New Font for Monitor , i use Regular Bold
and print out on paper with just Courier New "regular"
it would be nicer looking IMO , to color Code Font in a darker blue than your chosen light-blue color
good choice going from Courier New or Courier to Consolas Font
also Consolas "Regular" Font "prints out on paper" at higher quality
whereas , if i use Courier New Font for Monitor , i use Regular Bold
and print out on paper with just Courier New "regular"
it would be nicer looking IMO , to color Code Font in a darker blue than your chosen light-blue color
PureBasic .... making tiny electrons do what you want !
"With every mistake we must surely be learning" - George Harrison
Re: PureBasic.chm modern style
I prefer the original color scheme. This isn't going to replace it, is it? I don't know due to the IDE going open-source.
Re: PureBasic.chm modern style
Thanks for this @Marc56us.
This is great!
This is great!
Re: PureBasic.chm modern style
upload the file using a zip archive, then there will be no problemsDébloquage
La première fois que vous allez lancer l'aide, il se peut que la colonne des rubriques soit vide
Re: PureBasic.chm modern style
Thanks all
@chi
@VB6_to_PBx
@ BarryG
@AZJIO
I'm sorry, I didn't see that you also offered a modernized help before, because the announce was in the section "Bugs - Documentation" and not in "Miscellaneous - Announcement". Very good job you have done!
@chi
I will do a dark version soon (just thinking of what colors for background/code/links/constants)Nice one, thank you! I would prefer a dark version though
@VB6_to_PBx
You'r right, I have change color code to dark blue insted of light blue. New version is online, same name.it would be nicer looking IMO , to color Code Font in a darker blue than your chosen light-blue color
@ BarryG
No, this CHM is not official. I don't do it with source, but directly from orginal .chm (decompile with hh.exe and recompile with hhc.exe)I prefer the original color scheme. This isn't going to replace it, is it? I don't know due to the IDE going open-source.
@AZJIO
I'm sorry, I didn't see that you also offered a modernized help before, because the announce was in the section "Bugs - Documentation" and not in "Miscellaneous - Announcement". Very good job you have done!
- VB6_to_PBx
- Enthusiast
- Posts: 625
- Joined: Mon May 09, 2011 9:36 am
Re: PureBasic.chm modern style
its looks nicer now with darker Code Font@VB6_to_PBx
Quote:
it would be nicer looking IMO , to color Code Font in a darker blue than your chosen light-blue color
You'r right, I have change color code to dark blue insted of light blue. New version is online, same name.
its perfect for my taste now
i would also like to tryout your Darker Scheme version when its finished
PureBasic .... making tiny electrons do what you want !
"With every mistake we must surely be learning" - George Harrison
- Michael Vogel
- Addict
- Posts: 2677
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: PureBasic.chm modern style
Great idea, but how did you get a .hhp file? I tried decompiling a while ago, but missed to extract a working project file for the compiler.Marc56us wrote:decompile with hh.exe and recompile with hhc.exe
Re: PureBasic.chm modern style
Do it yourselfMichael Vogel wrote:Great idea, but how did you get a .hhp file? I tried decompiling a while ago, but missed to extract a working project file for the compiler.
Code: Select all
[OPTIONS]
Compatibility=1.1 or later
Compiled file=PureBasic.chm
Contents file=Table of Contents.hhc
Default Window=Help Window
Default topic=Reference/reference.html
Display compile progress=Yes
Enhanced decompilation=Yes
Error log file=_errorlog.txt
Full-text search=Yes
Index file=Index.hhk
Language=0x409
Title=PureBasic 5.70 (12.04.2020)
[WINDOWS]
Help Window="PureBasic 5.70 (12.04.2020)","Table of Contents.hhc","Index.hhk","Reference/reference.html",,,,,,0x63520,,0x10000c,[0,0,1024,768],0x80000,,,,,,0
[INFOTYPES]
Re: PureBasic.chm modern style
for get purebasic.hhp when decompiling; in purebasic.hhp add:
[FILES]
purebasic.hhp
[FILES]
purebasic.hhp
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: PureBasic.chm modern style
The minimun you need for Purebasic.hhp
1. Decompile
2. Edit HTML files as you want
3. Compile
That's all
Code: Select all
[OPTIONS]
Compatibility=1.1 or later
Compiled file=Purebasic.chm
Contents file=Table of Contents.hhc
Default topic=Reference\reference.html
Display compile progress=No
Index file=Index.hhk
[FILES]
[INFOTYPES]
Code: Select all
hh -decompile Output_Directory\ PureBasic.chm
3. Compile
Code: Select all
hhc Purebasic.hhp
- Michael Vogel
- Addict
- Posts: 2677
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: PureBasic.chm modern style
Thanks, works nearly perfect, only the full text search is broken...
...played around with some parameters with no success.
When using the project file below (must be in the same directory like the "index" and "table of content" files) I get the warnings message:
...played around with some parameters with no success.
When using the project file below (must be in the same directory like the "index" and "table of content" files) I get the warnings message:
Code: Select all
The following files were not compiled:
Unable to open pb\Purebasic.hhp.
Code: Select all
[OPTIONS]
Compatibility=1.1 or later
Language=0x409
Full-text search=Yes
Binary Index=Yes
Binary TOC=No
Auto Index=Yes
Display compile progress=Yes
Display compile notes=Yes
Enhanced decompilation=Yes
Error log file=_errorlog.txt
Compiled file=Purebasic.chm
Contents file=Table of Contents.hhc
Default topic=Reference\reference.html
Index file=Index.hhk
Default Window=Help Window
Title=PureBasic 5.72
[WINDOWS]
Help Window="PureBasic 5.72","Table of Contents.hhc","Index.hhk","Reference/reference.html",,,,,,0x63520,,0x10000c,[0,0,1024,768],0x80000,,,,,,0
[INFOTYPES]
Re: PureBasic.chm modern style
The following files were not compiled:
Unable to open pb\Purebasic.hhp.
this:
same directory like the "index" and "table of content" and
"purebasic.hhp" files.
Unable to open pb\Purebasic.hhp.
this:
same directory like the "index" and "table of content" and
"purebasic.hhp" files.
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: PureBasic.chm modern style
If the hhc.exe lacks ITCC.DLL can reduce CHM about 1/5 volume, but the finding function will be useless.
same directory like the "index" and "table of .....
add CommonCode.htm
then
purebasic.hhp, format Ansi:
same directory like the "index" and "table of .....
add CommonCode.htm
then
purebasic.hhp, format Ansi:
Code: Select all
[OPTIONS]
Default Window=main
Language=2052
Default Font=System, 12
compiled file=PureBasic.chm
Error log file=Errlog.txt
Compatibility=1.1
Binary Index=No
Full-text search=Yes
[WINDOWS]
main="PureBasic 5.72","Table of Contents.hhc","Index.hhk","Reference\reference.html","Reference\reference.html","Reference\variables.html","Variables, Types and Operators
","CommonCode.htm","CommonCode",0x61560,400,0x1C104C,[30,30,990,730],0x30000,0x0,,0,,,
[MAP]
[ALIAS]
[MERGE FILES]
[FILES]
purebasic.hhp
Last edited by gurj on Mon Apr 13, 2020 12:41 am, edited 1 time in total.
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com