BHcomp 
HOME   |   Software   |   energyXT       BHcomp :: INDEX   -   PREV   -   NEXT

Details

File Structure

Use a seperate folder per BHP project, containing at least the following files: .BHP, 0.HTM, .HHP, .BOOK and optionally .CSS.
The original source HTM-files must be numbered sequentially, starting with "0.htm".
You may use a single source HTM-file named "0.htm".
The generated WEB-files will be named WEBprefix+SRC-FileName, e.g. "w-0.htm", "w-1.htm" and placed in the folder WEBcopyPath.
The generated temporary CHM-files will be named CHMprefix+SRC-FileName, e.g. "c-0.htm", "c-1.htm" and the compiled CHM-file will be placed in the folder CHMcopyPath.
The generated temporary PDF-files will be named PDFprefix+SRC-FileName, e.g. "p-0.htm", "p-1.htm" and the compiled PDF-file will be placed in the folder PDFcopyPath.


.BHP file

- Used by the BHcomp utility

section [Files]
Title=energyXT WHIICH Guide >> auto-set by BHcomp, if "0.htm" contains a <title> tag, otherwise you must supply a valid title
Project=eXT-WG >> BHcomp project filename
hhp=eXT-WG.hhp >> .HHP HTMLhelp project filename, only needed if .hhp-name differs from project-name
chm=eXT-WG.chm >> .CHM HTMLhelp filename, only needed if .chm-name differs from .hhp-name
txt=eXT-WG.txt >> only needed if a BBCode formatted TXT/RTF file is used as a source instead of "0.htm"
CHMcss=file:eXT.css >> .CSS filename, the "file:"-portion is only needed if you want the ability to select another .CSS for the CHM after HTMLhelp compilation
WEBcss=eXT.css >> .CSS filename for WEB-files, only needed WEBcss differs from CHMcss
WEBcopyPath=..\ >> folder where WEB-files will be placed
CHMcopyPath= >> folder where CHM-file will be placed
PDFcopyPath= >> folder where PDF-file will be placed
WEBprefix=w- >> prefix placed in front of generated WEB HTM-files, e.g. "w-0.htm"
CHMprefix=c- >> prefix placed in front of generated temporary CHM HTM-files, e.g. "c-0.htm"
PDFprefix=p- >> prefix placed in front of generated temporary PDF HTM-files, e.g. "p-0.htm"
TOClevels=4 >> number of levels in the "table-of-contents" tab and "index" tab in the CHM HTMLhelp
TOCmode=relaxed >> "relaxed" is used if only 1 HTM-source-file is used, "strict" is needed for multi-page HTM-source-files
WEBimgDir=images >> Images sub-folder used by WEB-files
CHMimgDir=images >> Images sub-folder used by CHM-file
PDFimgDir=pdf images >> Images sub-folder used by PDF-file
genHHC=1 >> auto-generates HHC file, default = 1
genHHK=1 >> auto-generates HHK file, default = 1

.HHP file

- the .HHP file is the project setting used by the Microsoft HTMLhelp compiler
- the .HHP filename must correspond with "hhp" setting in .BHP file

section [OPTIONS]
Binary TOC=Yes
Compatibility=1.1 or later
Compiled file=eXT-WG.chm >> auto-set by BHcomp, must correspond with "chm=" setting in .BHP file
Contents file=eXT-WG.hhc >> auto-set by BHcomp, must use the same file name as the CHM, but with a .hhc extension
Index file=eXT-WG.hhk >> auto-set by BHcomp, must use the same file name as the CHM, but with a .hhk extension
Default Window=Main
Default topic=c-0.htm >> usually the first file
Display compile progress=No
Full-text search=Yes
Language=0x809 English (United Kingdom)
Title=energyXT WHIICH Guide >> auto-set by BHcomp, CHM title

section [WINDOWS] section [FILES]

.BOOK file

- the .BOOK file is the project setting used by the HTMLdoc compiler
- the .BOOK filename must correspond with "chm=" setting in .BHP file, but with a ".book" extension



INDEX   -   PREV   -   TOP   -   NEXT