home *** CD-ROM | disk | FTP | other *** search
-
- ΓòÉΓòÉΓòÉ 1. About HyperMake ΓòÉΓòÉΓòÉ
-
-
- Martin Vieregg 100661.626@compuserve.com, March 1998
-
- With HyperMake (up to version 2.0 "MakeIPF"), you can easily create HTML files,
- Microsoft Winhelp files, MS HTML-Help files (Windows 98 Help) or IBM INF/HLP
- files (operating systems OS/2 and PC-DOS). Instead of editing the HTML, RTF or
- IPF files directly, you enter a more simple ASCII source text. HyperMake
- enables you to write a text in all these target formats simultaneously. Links
- are created automatically; windows of different headings levels can be shown
- simultaneusly with only one command; at the end of a chapter, links to
- subchapters are created automatically and a lot of more. HyperMake has got a
- reverse conversion mode from IPF and RTF to HyperMake source.
-
- Actually HyperMake is a stand-alone compiler which can be executed from HMP
- files (HyperMake project files) by using the graphical interface of Windows
- 95/NT or OS/2; you can also use the command line. The graphical HyperMake 4.0
- is under development. Please visit the HyperMake Homepage.
-
- HyperMake has some powerful functions:
-
- Automatic linking and indexing
- Marking a word or a phrase of several words with a special character will
- generate a link from all other occurrences of the word or phrase in the
- document to the marked position and an entry in the index. External links
- are supported in different ways. From OS/2 and Winhelp4 Help files, links
- to the WWW are possible.
-
- Automatic division into several HTML files
- When creating HTML files, from one source file HyperMake creates several
- target files in a new folder. This improves the performance while viewing
- with browsers. Neither the author of the text nor the reader of the files
- notices the separation into several files.
-
- Automatic creation of contents
- You will get a contents page with links to all chapters. In HTML you can
- choose between an unordered list view and a Javascript contents tree view
- where you can open and close subchapters.
-
- Automatic generation of helptables and constants
- For OS/2 and Windows help files, in the HyperMake source file you can
- directly enter ID constants like "ID_buttonOK" to associate chapters of
- your HLP file with buttons of your program. HyperMake generates a
- helptable file you can include in your RC, C or PAS file.
-
- Automatic Writing of links to subchapters
- At the end of a window of a higher heading level, links to all
- subchapters and to the next chapter at the same level will be created.
-
- Automatic arrangement of several heading level windows
- With only one command, two (IPF three) heading levels are placed
- simultaneously on the screen (Frames).
-
- Simple creation of footnotes
- The HTML footnotes are realized by frames, Winhelp, IPF and HTML-Help
- footnotes appears in a small footnote window for each footnote text.
-
- Tables
- You enter tables in the source text like in an ASCII text with a fixed
- font. HyperMake transforms this simple formatting to HTML, RTF or IPF
- table commands.
-
- Automatic line drawing to generate boxes
-
- Short commands
- - for heading levels
- - for choosing fonts
- - to include bitmaps within a line of text
- - to generate unordered lists and ordered lists.
-
-
- ΓòÉΓòÉΓòÉ 2. How to generate the HyperMake documentation? ΓòÉΓòÉΓòÉ
-
- This text helps you creating your "individual" HyperMake documentation. You
- will need to make minor changes to the HMP files (see the marked sections ).
- Don't click to the HMP files before editing them.
-
- You can choose which of the four target formats will be created and which topic
- will be part of "your" documentation.
-
- Before you can continue, you need to run HMINSTAL. This will generate file
- associations for HMP files.
-
- Available Subjects:
- HyperMake project files HMP
- Creating sample text and documentation in HTML
- Creating sample text and documentation in other formats
-
-
- ΓòÉΓòÉΓòÉ 2.1. HyperMake project files HMP ΓòÉΓòÉΓòÉ
-
- HMP files are new in HyperMake 3.5. They are a substitute for using the command
- line. Although HyperMake is a commandline program, you can handle it by using
- the graphical interface of Win95/NT or OS/2.
-
- Please click to the file icon of HTMLDOCU.HMP with the right mouse button. Then
- choose in the context menu:
- Open - edit project file.
-
- You will see one setting in each line. On the right side of the = character you
- are allowed to modify the setting.
-
-
- ;HyperMake Project file
-
- source files = docu.txt
- ini file = docu.ini
- target = HTML
- conditions = HTMLDOC IPFDOC WINHELPDOC MSHTMLHELPDOC OS2EXEDOC WINHELPEXEDOC
-
- graphic path = ..\Buttons\Icon;..\Buttons\English;
-
-
- ΓòÉΓòÉΓòÉ 2.2. Creating sample text and documentation in HTML ΓòÉΓòÉΓòÉ
-
-
- The HMP file of the sample text is HTML_SMP.HMP. Here you won't edit anything
- so you can double click to this file.
-
- Now take a look at the settings in the file HTMLDOCU.HMP.
-
-
- source files = docu.txt
- ini file = docu.ini
-
- Here you can enter the filename of the source text and the ini file. You can
- edit the source text with an ASCII editor. The ini file has also got textual
- settings.
-
-
- conditions = HTMLDOC IPFDOC WINHELPDOC MSHTMLHELPDOC OS2EXEDOC WINHELPEXEDOC
-
- The source text contains .IF conditions: The text between the .IF, .ELSE and
- .END commands is only compiled when the condition is set. Please delete the
- topics (conditions) you are not interested in. The two EXEDOC conditions are
- only needed if you want to write context sensitive help for OS/2 or Windows
- programs.
-
-
- graphic path = ..\Buttons\Icon;..\Buttons\German;
-
- In the directory Buttons there is a small Button Library. From here HyperMake
- grabs the necessary graphic files.
-
- Now save the file HTMLDOCU.HMP, close the editor and double click to the HMP
- file icon. Compilation time on a fast 486 or slow Pentium: 7 seconds. The
- generated file DOCU.HTML is your entrance to the files DOCU\*.HTML (about 100
- files!).
-
-
- ΓòÉΓòÉΓòÉ 2.3. Creating sample text and documentation in other formats ΓòÉΓòÉΓòÉ
-
-
- Now edit the file HELPDOCU.HMP (context menu - edit project file). In the
- conditions line, delete the topics you are not interested in.
-
- Also take a look at HELP_SMP.HMP.
- Please generate the sample file before generating the docu, because there are
- some external links from the docu help file to the sample help file which won't
- work if you do not so.
-
-
- target = IPF
-
- HyperMake 3.5 supports four target formats:
-
- HTML Hypertext Markup Language (version 3.2)
- IPF IBM Help, Hypertext format of the operating systems OS/2 and PC-DOS
- (INF and HLP files)
- WINHELP3 WINHELP4 Microsoft Help for Windows 3.1 and Windows 95/NT
- HTMLHELP Microsoft HTML-Help (compiled HTML) for Windows 98 and NT 5
-
-
- The HTML target format is the only format you can view without using a second
- compiler. For generating all the other hypertext formats, HyperMake generates
- only the source for a second compiler. The Microsoft compilers are free, the
- IBM IPF compiler is not free, but you will it on several IBM developer CD's
- and programming systems. WINHELP3 files can be viewed with Windows 3.1, OS/2
- and Windows 95/NT. You can download the Winhelp3 compiler HC.EXE from my
- homepage (only 100 k). You can simply create your Web pages also in Winhelp3
- format and upload it to your Homepage for off-line readers!
-
-
- compile = YES
- view = YES
-
- HyperMake can execute other programs automatically. In addition to the
- HyperMake compiler window, another window for the second compiler opens
- (compile = yes) and the viewer is started (view = yes).
-
-
- ipf compiler = D:\TOOLS\IPFC.EXE /inf
-
- For doing this, HyperMake has to locate the second compiler. Please modify
- the drive and directory. Related to the target settings, there are four
- settings:
-
- ipf compiler =
- winhelp3 compiler =
- winhelp4 compiler =
- htmlhelp compiler =
-
-
-