home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / hmake400.zip / English / sample.txt < prev   
Text File  |  2000-06-24  |  4KB  |  116 lines

  1. ..Please turn word wrap on in your editor!
  2. .TI
  3. small Hypermake sample text
  4. .<>
  5. .1
  6. The first heading
  7.  
  8. Here you can see how simple it is to edit a Hypermake source file.
  9.  
  10. Before writing normal text, you have to enter a heading. ".1" means a heading of the most important level.
  11.  
  12. To mark a word, you have only to use the index char defined in the ini file. Now I mark the word #hello. It will be placed into the index and all other occurences of the word hello in other chapters will automatically get a link to this chapter.
  13.  
  14. The links at the end of this window are created automatically.
  15.  
  16. .2
  17. Tables, Footnotes, Bitmap
  18.  
  19. Now I write hello without any mark. It has a link to the first chapter where I marked hello with the index char.
  20.  
  21. But now to other interested functions.
  22.  
  23. .TA This is a table
  24. first cell    numbers   -----third and fourth-----
  25. first cell      97.96   third cell    fourth cell+
  26. first cell   1.324.90   third cell    2nd line
  27. first cell       0.00   third cell    hyphen-
  28. first cell    -123.45   "             append
  29. .TA
  30.  
  31. .FU[]
  32. A footnote[content of the first footnote] in normal text. A second footnote[content of the second footnote]. And a bitmap.
  33.  
  34. .BM box
  35.  
  36. .BT@ box
  37. Several @ boxes @ in the @ normal text.
  38.  
  39.  
  40. .2
  41. Fonts, unordered list
  42.  
  43. .sfP
  44. This is font P, defined in the ini file.
  45.  
  46. .sf
  47. again the default font
  48.  
  49. You can define toggle chars in the ini file.
  50. &italic& *bold* _underlined_ and &*bold-italic*&.
  51.  
  52. ■ unordered list; look at the formatting of the text, the next line has got a margin, if the text is big enough to get wrapped into a new line.
  53. - second level of the unordered list
  54. - also second level
  55. ■ next line of unordered list
  56.  
  57. .2
  58. External Links
  59.  
  60. External links are available for all target formats besides Winhelp3 and are supported in different ways:
  61.  
  62. .URL http://www.hypermake.de
  63. .IN Homepage
  64. .URL mailto:Martin@vr-transport.de
  65. .IN send me an E-Mail
  66. .LOCAL
  67. &Automatic external links& are similar to the hello sample, but instead of pointing to an address in the same document, all specific expressions like Homepage or (not supported in Winhelp) send me an E-Mail point to an Internet URL address. Hypermake lets you mark this links with a graphics file so the user can see whether the link can be started offline or not.
  68.  
  69. &Manual external links& are simple Internet URL addresses as normal text, they get a link automatically:
  70.  
  71. Martin Vieregg's Homepage, Free- and Shareware programs
  72. http://www.vr-transport.de/Martin
  73.  
  74. Hypermake Homepage
  75. http://www.hypermake.de
  76.  
  77. .WA verti 60
  78. .1
  79. Window arrangement (frames)
  80.  
  81. This main chapter gets 60% of the main window. The main window is divided vertically. The subchapters gets the remaining 40% on the right side. When creating MS HTML-Help, the window is always divided horizontally. In Winhelp4, the main chapter gets a separate navigation window. Window arrangement is not supported in Winhelp3.
  82.  
  83. .dp2##
  84. This DP dot command uses all the heading text of heading level 2 as a target link and places the heading text in the index.
  85.  
  86. *Important Political Institutions in Germany*
  87.  
  88. .2
  89. Federal President
  90.  
  91. The President represents the federal republic. In comparison to a lot of other states, he can't make political decisions. These are made by the Federal Chancellor.
  92.  
  93. .2
  94. Federal Chancellor
  95.  
  96. ..These tow ID dot commands below are necessary for the external links
  97. .. - only IPF/RTF - from the main docu to this chapter
  98. .ID chapter_chancellor
  99. The chancellor is the leader of the government and makes political decisions. He does not represent the state, this does the Federal President.
  100.  
  101.  
  102. .2
  103. Big political Parties in Germany
  104.  
  105. .ID chapter_political_parties
  106. CDU: christian democratic union.
  107.  
  108. SPD: social-democratic party of germany.
  109.  
  110. .1
  111. The End
  112.  
  113. The expressions Federal President, Federal Chancellor and Big political Parties in Germany are getting a link to the specific chapters automatically.
  114.  
  115. That was a little demonstration of some Hypermake functions. Detailed information in the main docu.
  116.