home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 January / SOFM_Jan1996.bin / pc / os2 / htmlwiz / htmlwiz.inf (.txt) < prev    next >
OS/2 Help File  |  1995-12-05  |  14KB  |  262 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4. HTML Wizard is an editor designed to make writing HTML documents for WWW pages 
  5. a lot easier. The original version was written purely for my own use and was 
  6. not distributed. The arrival of Web Explorer lead a lot of OS/2 users to ask 
  7. about a native HTML editor, so I released an early beta version of HTML Wizard 
  8. that showed signs of being a program written for one person's use (no way to 
  9. resize the window, etc.). Since then a lot has changed and the program is now 
  10. much more powerful and configurable. I thank the many users of the program for 
  11. their suggestions for improvements. 
  12.  
  13. Many people have asked about a preview function and support for rules.  Both of 
  14. these functions will require an enormous amount of coding. The preview function 
  15. is not hard to do when HTML Wizard is used in conjunction with Web Explorer as 
  16. explained in the "How Do I..." section. If you are online, you can have the 
  17. syntax of your document checked by the WebLint server. This is also explained 
  18. in the "How Do I..." section. 
  19.  
  20.  
  21. ΓòÉΓòÉΓòÉ 2. Installation ΓòÉΓòÉΓòÉ
  22.  
  23. Installation of HTML Wizard is simple and straightforward. Unzip the HTML 
  24. Wizard archive in its own directory. Then run install.cmd by typing "install". 
  25. The install program will create an HTML Wizard object on your desktop. To run 
  26. the program successfully, VROBJ.DLL has to be in a directory specified in the 
  27. LIBPATH statement in your CONFIG.SYS file. What I do is make a directory called 
  28. \USR\DLL and put all my application dll's in there. Then all you have to do is 
  29. add \USR\DLL to the LIBPATH and reboot. If you don't like the idea of messing 
  30. with CONFIG.SYS, just copy VROBJ.DLL to the \OS2\DLL directory. You can then 
  31. run HTML Wizard by double-clicking it or dropping an HTML document onto it. 
  32.  
  33.  
  34. ΓòÉΓòÉΓòÉ 3. Options Menu ΓòÉΓòÉΓòÉ
  35.  
  36. This section explains the various program settings in the "Options" menu. 
  37.  
  38.  
  39. ΓòÉΓòÉΓòÉ 3.1. Insert Tags as Uppercase ΓòÉΓòÉΓòÉ
  40.  
  41. This setting determines whether the tags that are inserted are done as upper or 
  42. lowercase text. Note that this does not apply to tags for special characters, 
  43. which are case sensitive. 
  44.  
  45.  
  46. ΓòÉΓòÉΓòÉ 3.2. Word Wrap ΓòÉΓòÉΓòÉ
  47.  
  48. Select this setting if you want long lines to be wrapped around the screen to 
  49. the next line. Deselect it if you want long lines to continue off the screen to 
  50. the right and be visible by using the horizontal scrollbar. 
  51.  
  52.  
  53. ΓòÉΓòÉΓòÉ 3.3. Auto-insert Paragraph Tags ΓòÉΓòÉΓòÉ
  54.  
  55. If this item is selected, text imported using the "Insert File" command will 
  56. have paragraph tags inserted automatically if: 
  57.  
  58. o A line is blank 
  59.  
  60. o A line begins with either a space or a tab 
  61.  
  62.  
  63. ΓòÉΓòÉΓòÉ 3.4. Insert <LI> Tags in Selected Lists ΓòÉΓòÉΓòÉ
  64.  
  65. This item controls whether <LI> tags will be automatically inserted in text 
  66. that is selected when using the OL or UL tag buttons (ordered or unordered 
  67. lists). If this option is selected, each line in the selected text will have 
  68. the <LI> inserted at the beginning. Note that "line" here means a true line 
  69. defined by a CR/LF pair. It is best to turn Word Wrap off to see true lines. 
  70.  
  71.  
  72. ΓòÉΓòÉΓòÉ 3.5. Vertical Tagbar ΓòÉΓòÉΓòÉ
  73.  
  74. Toggles the Tagbar between horizontal and vertical orientation. 
  75.  
  76.  
  77. ΓòÉΓòÉΓòÉ 3.6. Hide Tagbar ΓòÉΓòÉΓòÉ
  78.  
  79. Toggles the Tagbar between visible and hidden. 
  80.  
  81.  
  82. ΓòÉΓòÉΓòÉ 3.7. Translate Non-English Characters ΓòÉΓòÉΓòÉ
  83.  
  84. This feature enables users of non-English code pages to type HTML documents 
  85. with special characters directly from the keyboard, rather than having to use 
  86. the "Characters" menu or multiple keystrokes. With this feature enabled, all 
  87. files are passed through a translator program when opened or saved. On input, 
  88. HTML entities for special characters (e.g., ò) are converted into the 
  89. character appropriate for the user's code page and displayed as that character 
  90. in the editing window. On output, the characters are converted into the 
  91. corresponding HTML entity. The key file for this is "trans.def" in the HTML 
  92. Wizard directory. This file tells the program which characters in the user's 
  93. character set go with a particular HTML entity. I have supplied two files, 
  94. cp850.def (code page 850) and latin1.def (ISO Latin-1) which will cover the 
  95. people who have requested this feature. (The trans.def file that is in the ZIP 
  96. archive is for code page 850.) If you are using code page 850, copy cp850.def 
  97. to trans.def, or copy latin1.def to trans.def if you are using ISO Latin-1. If 
  98. you are using another code page, you will have to build a .def file for that 
  99. page. Look at the supplied files to see how it is done. Basically, the file has 
  100. two columns: the first is the character number on that code page, and the 
  101. second is the corresponding HTML entity. If you do create a .def file for 
  102. another code page, I would appreciate it if you would send me a copy, so that I 
  103. can include it in future releases of HTML Wizard. 
  104.  
  105.  
  106. ΓòÉΓòÉΓòÉ 4. How Do I... ΓòÉΓòÉΓòÉ
  107.  
  108. This section explains how to do various things with HTML Wizard. 
  109.  
  110.  
  111. ΓòÉΓòÉΓòÉ 4.1. Use HTML Wizard? ΓòÉΓòÉΓòÉ
  112.  
  113. Start the program by double-clicking the HTML Wizard icon or by dropping an 
  114. HTML document onto it. If you double-click the icon, the program will start up 
  115. and load an HTML skeleton template in the file DEFAULT.HTM and you can modify 
  116. that file to suit your needs. You can then write your HTML document by typing 
  117. in the edit window and using the Tagbar or Tags menu items to insert tags. If 
  118. you have some text that you would like to put inside a tag, select that text 
  119. with the mouse and click on the tag button or menu item. HTML Wizard will then 
  120. put the tag around the text. If you insert a tag with no text selected, HTML 
  121. Wizard will simply place the tag at the insertion point and place the cursor in 
  122. the appropriate place to enter text for the tag. Once you are done, you can 
  123. save the HTML file with the "Save" or "Save As" items under the "File" menu. If 
  124. you want to start a new HTML document choose "Close" under the "File" menu, and 
  125. a fresh template will be loaded. 
  126.  
  127.  
  128. ΓòÉΓòÉΓòÉ 4.2. Insert HTML tags? ΓòÉΓòÉΓòÉ
  129.  
  130. To insert tags, there are three options. First, you can insert tags by clicking 
  131. on the appropriate buttons in the Tagbar. Or, you can choose the tag you want 
  132. from the "Tags" menu. A final way is to right-click in the edit window, 
  133. bringing up the tags menu. In all cases if text is selected before the tag is 
  134. inserted, the tag will be placed around the selected text (where appropriate, 
  135. of course). Inserting a tag with no text selected places the tag at the 
  136. insertion point and puts the cursor at the place where text can be typed in the 
  137. tag. 
  138.  
  139.  
  140. ΓòÉΓòÉΓòÉ 4.3. Program the user-definable tags? ΓòÉΓòÉΓòÉ
  141.  
  142. To program a user button, right-click on it and a window will pop up. In the 
  143. top entry field enter the "Hint" text for that button. (This is the message 
  144. displayed in the status area at the bottom of the Tagbar when the mouse passes 
  145. over a button. Use this to remind yourself what the tag is for.) The bottom 
  146. entry field is the tag itself. If your tag should enclose text that has been 
  147. selected, move the cursor to the point in the tag where the selected text 
  148. should be placed. For example, let's say you have a tag like <tag></tag>. If 
  149. the user selects text in the editing window, and this text should go within the 
  150. tag, you would position the cursor like this: <tag>|</tag> before hitting the 
  151. OK button. You can then immediately begin to use your new tag by left clicking 
  152. on the button you just progammed. 
  153.  
  154.  
  155. ΓòÉΓòÉΓòÉ 4.4. Preview with Web Explorer? ΓòÉΓòÉΓòÉ
  156.  
  157. Previewing with Web Explorer is as simple as selecting "Preview Document" from 
  158. the "File" menu, or by pressing F10. If Web Explorer is not running, HTML 
  159. Wizard will start it and load the HTML document you are editing. If Web 
  160. Explorer is already running, HTML Wizard simply forces it to load the present 
  161. version of your HTML document (rather than starting another session of Web 
  162. Explorer). For this feature to work properly, the Web Explorer executable 
  163. (explore.exe) must be in your PATH. If you use the default Web Explorer 
  164. installation, it will be in \TCPIP\BIN. 
  165.  
  166. You can also preview your HTML document at any time by dragging the little 
  167. square where the vertical and horizontal scroll bars meet and dropping it on 
  168. the Web Explorer window. 
  169.  
  170.  
  171. ΓòÉΓòÉΓòÉ 4.5. Check the HTML syntax of my document with WebLint? ΓòÉΓòÉΓòÉ
  172.  
  173. If you are online, selecting "Check Document with Weblint" will send your HTML 
  174. document to the WebLint web site (www.unipress.com) for syntax checking. If all 
  175. goes well, the results of the syntax check will be sent back and automatically 
  176. loaded into Web Explorer. This function runs on a separate thread, so you can 
  177. continue to edit your document, but be aware that the line numbers reported 
  178. back by WebLint refer to the line numbers as they were when you sent the file. 
  179. REMEMBER, THIS FUNCTION ONLY WORKS IF YOU ARE CONNECTED TO THE NET! Eventually 
  180. I will add the ability to run WebLint locally for those people that have Perl 
  181. installed (available from hobbes.nmsu.edu in the Unix directory). 
  182.  
  183.  
  184. ΓòÉΓòÉΓòÉ 4.6. Insert accented/special character tags? ΓòÉΓòÉΓòÉ
  185.  
  186. There are three ways of inserting tags for accented/special characters if you 
  187. are not using the "Translate Non-English Characters" option (see the "Options" 
  188. section for more details). 
  189.  
  190. o Choose the character you want from the "Characters" menu. 
  191.  
  192. o Type the character you want to accent, say "a", then select the accent you 
  193.   want from the "Accents" menu. 
  194.  
  195. o Type the character you want to accent, then press: 
  196.  
  197.    - Alt-a for acute 
  198.  
  199.    - Alt-g for grave 
  200.  
  201.    - Alt-u for umlaut 
  202.  
  203.    - Alt-c for circumflex 
  204.  
  205.    - Alt-s for slash 
  206.  
  207.    - Alt-t for tilde 
  208.  
  209. The general pattern for the hot keys is Alt for accents and Ctrl for inserting 
  210. certain characters. (Like Ctrl-Shift-& for the ampersand). 
  211.  
  212.  
  213. ΓòÉΓòÉΓòÉ 4.7. Pay for this great program? ΓòÉΓòÉΓòÉ
  214.  
  215. HTML Wizard is distributed as shareware which means you have 25 free uses to 
  216. try it out and see how it works. If you want to continue to use it after that, 
  217. you must register the program. The registration fee is $20 US. I can accept 
  218. checks drawn on US banks, or International Money orders. Please include an 
  219. email address when you send in your registration so that I can put you on the 
  220. registered users' mailing list. The registration fee should be sent to: 
  221.  
  222. Dirk Terrell
  223. 510 SW 34th St. Apt. #6
  224. Gainesville, FL 32607
  225.     (USA)
  226.  
  227. If you receive HTML Wizard after August 1996, there is a distinct possibility 
  228. that I may have moved. The best thing to do is send e-mail to 
  229. algol@genie.geis.com (or ALGOL if you are on GEnie) and find out where I am. 
  230.  
  231. For those of you who would like to use a credit card for faster service, you 
  232. may order HTML Wizard from the fine folks at BMT Micro: 
  233.  
  234.          Mail Orders To: BMT Micro
  235.                  452 Horn Road
  236.                  Wilmington, NC 28412-2411
  237.                  U.S.A.
  238.  
  239.           Voice Orders: 9:00am - 7:00pm EST (-5 GMT)
  240.                  (800  414-4268 (orders only)
  241.                  (910) 791-7052
  242.  
  243.            Fax Orders: (910) 350-2937  24 hours / 7 Days
  244.  
  245.      Online Orders via modem: (910) 350-8061  10 lines, all 14.4K
  246.                  (910) 799-0923  Direct 28.8K line
  247.  
  248.    Ordering and general ordering questions:
  249.              Via AOL: bmtmicro
  250.          via Compuserve: Thomas Bradford, 74031,307
  251.           via Internet: thomas.bradford@bmtmicro.com
  252.  
  253.    We accept Visa, Mastercard, Discover, American Express, Money Order,
  254.    Cashiers Check, Personal Check.  Please do not send cash in the mail.
  255.    Personal checks are subject to clearance.
  256.  
  257.  
  258. ΓòÉΓòÉΓòÉ 4.8. Contact the author of this program? ΓòÉΓòÉΓòÉ
  259.  
  260. If you have problems or suggestions for improvements, send them to 
  261. terrell@fdt.net (preferred address before August, 1996) or algol@genie.geis.com 
  262. (ALGOL if you are on GEnie).