home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / worst081.zip / wsfdocu.HLP (.txt) < prev    next >
OS/2 Help File  |  2002-09-29  |  87KB  |  2,394 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4.  WSformat 0.81 Documentation 
  5.  
  6. subchapters: 
  7. WSformat abstract 
  8. Word Processing with WSedit+WSformat 
  9. Who should use WSformat? 
  10.  
  11. next chapter: 
  12. Installation and first steps 
  13.  
  14.  
  15. ΓòÉΓòÉΓòÉ 1.1. WSformat abstract ΓòÉΓòÉΓòÉ
  16.  
  17.  
  18. WSformat is a formatting and printing program for Wordstar (DOS) files. WSedit 
  19. and WSformat together are a full-featured word processing suite, running under 
  20. current operating systems, but based on the Wordstar DOS philosophy ('what you 
  21. see is what you want' and not 'what you see is what you get'). Nevertheless, 
  22. WSformat does have a provision for document preview. 
  23.  
  24. Wordstar Compatiblity: WSformat accepts all Wordstar (DOS) files, but does not 
  25. support all Wordstar DOS functions, i.e., those which were added after Wordstar 
  26. Version 4. Instead, some extended functions (such as generating tables of 
  27. contents or handling footnotes) are implemented in a WSformat-specific way. 
  28. Basic Wordstar 5-7 'symmetrical sequences' are recognized (indentions, for 
  29. example). 
  30.  
  31. WSformat is Shareware and WSedit is Freeware. 
  32.  
  33. WSformat supports hyphenation, the creation of end notes and footnotes, 
  34. generation of tables of contents and indexes, line drawing, embedding graphics 
  35. in text and allows conditional statements. In contrast to the older versions of 
  36. DOS Wordstar, document preview and printing use functions provided by the 
  37. Windows (or OS/2) operating systems. This means you have access to the printers 
  38. and type fonts which are installed on the operating system. 
  39.  
  40. The WSformat command syntax is very similar to that of Hypermake. From a WS 
  41. file, Hypermake will generate an equivalent file in RTF, Winhelp, HTML, IBM 
  42. Help or Microsoft HTML-Help format. 
  43.  
  44. WSformat requires Windows 98, Windows NT 4, OS/2 Warp 3 or later. 
  45.  
  46.  
  47. ΓòÉΓòÉΓòÉ 1.2. Word Processing with WSedit+WSformat ΓòÉΓòÉΓòÉ
  48.  
  49. Word processing with WSedit+WSformat is very different from those Windows word 
  50. processing programs such as Winword or StarOffice, and also differs in some 
  51. respects from Wordstar for DOS. Word processing operations are closer to Latech 
  52. than to Winword, for example. With WSformat, the task of 'text content editing' 
  53. and that of 'typesetting' are sequention operations, rather than 
  54. simultaneously. 
  55.  
  56. For the moment, forget all you have learned about computer word processing and 
  57. think about the time before the personal computer was invented, when your 'word 
  58. processor' was pen, scissors, cement, etc. The way to get a complex document 
  59. involved some or all of the following steps: 
  60.  
  61. Step 1: Writing a draft in longhand, often including notes that would not 
  62. appear in the final publication; 
  63. Step 2: Typing the draft with a typewriter; 
  64. Step 3: Correcting the text by hand on the typewriter copy; 
  65. Step 4: Sending the typewritten manuscript to the typesetter. 
  66.  
  67. In the first step there was no need to consider the layout - page size, 
  68. margins, type faces. The author concentrated only on the contents... The four 
  69. steps were performed step by step. Today when you prepare a document using 
  70. Winword, the steps are all intermingled, effectively taking place 
  71. simultaneously. Because of this mode of operation, Winword and its counterpart 
  72. word processors are difficult to use. This design philosophy produces word 
  73. processing programs that are big, slow, drain system resources, crash often, 
  74. and in some cases are unable to produce the document the user requires. 
  75.  
  76. By way of contrast, when documents are prepared with WSedit+WSformat, the four 
  77. steps take place sequentially rather than concurrently. 
  78.  
  79. Step 1: Editing Text is prepared as an (unformatted) 'raw' text file (a *.WS 
  80. file) using WSedit (or Wordstar DOS). Such a text file will not include fixed 
  81. margins. If you use WSedit, the margin of the displayed text margin depends 
  82. only on the settings of the editing window and the screen font; it is otherwise 
  83. not fixed at this stage. 
  84.  
  85. When preparing documents on your computer, WSformat will only rarely be called 
  86. upon to process the text. This is the reason why I have decided not to create a 
  87. single program incorporating both functions. 
  88.  
  89. Step 2: Starting WSformat, formatting the unformatted raw-text WS file to 
  90. produce a formatted FMT file: 
  91.  
  92. The WSformat 'format' function reads the raw-text WS file and writes an FMT 
  93. file. It does not modify the WS file in any way. In the FMT file, which can be 
  94. also viewed using WSedit or Wordstar (DOS), the right margin is now fixed, the 
  95. page breaks are apparent, and words at the end of the line which require 
  96. hyphenation are displayed accordingly. 
  97.  
  98. Step 3: Minor changes by hand on the formatted FMT file 
  99.  
  100. If you are not satisfied with some formatting details, you can make small 
  101. changes to the FMT file. These include such things as incorrect hyphenations, 
  102. and more importantly, page breaks which can be improved. 
  103.  
  104. However, avoid making bigger changes to the FMT file; if these are considered 
  105. necessary, it is more expedient to make the changes to the WS file and run 
  106. WSformat again. Because WSformat formatting is extremely fast (about 100 pages 
  107. per second, depending on your processor and the nature of the text), this does 
  108. not represent a significant delay in production. 
  109.  
  110. The WSformat preview feature helps in locating sections of the text where the 
  111. printout can be improved. The printout in the Preview window mirrors exactly 
  112. page printout. 
  113.  
  114. Step 4: Printing the final version of the document 
  115.  
  116. After making the final changes to the FMT file, select the physical or virtual 
  117. printer installed on your computer and print your document. This is done the 
  118. same way as it would be for other current word processors. Besides physical 
  119. printers (laser or inkjet printers), it is possible to use 'virtual' printers 
  120. (FAX and PDF creation programs). These also work on files produced with 
  121. WSformat. 
  122.  
  123.  
  124. ΓòÉΓòÉΓòÉ 1.3. Who should use WSformat? ΓòÉΓòÉΓòÉ
  125.  
  126.  
  127. The WSedit+WSformat word processing suite is useful for the following users: 
  128.  
  129.      Users of Wordstar (DOS) 
  130.       Of course, all computer users who resist Winword and similar programs 
  131.       will find a new home with WSedit and WSformat. (I intend to support both 
  132.       of these programs in the long term, because I myself for various reasons 
  133.       find Winword and similar programs unproductive.) 
  134.  
  135.      Academics and other authors who have to prepare large and complex 
  136.       (scientific) documentation 
  137.       Authors, students and others often fear using winword-like programs when 
  138.       generating large, complex documents. Many people have found themselves 
  139.       typing and re-typing such documents, due to the inherent instability (and 
  140.       the resulting crashes) when handling such documents. Because of the 
  141.       serial processing of WSformat, there is virtually no limit on file size. 
  142.       There are no problems in processing a document with hundreds of pages, 
  143.       thousands of footnotes, and dozens of bitmap graphics. 
  144.  
  145.  
  146.  Note to Students: WSformat is available for a special, very low student fee. 
  147.  
  148.      All people who do not like winword-like software 
  149.       Those users who do not like winword-like word processing software are 
  150.       invited to switch to WSedit+WSformat. WSedit+WSformat is also a fast, 
  151.       easy-to-use and adequate software for writing even simple correspondence. 
  152.  
  153.      Companies who want to reduce software expenses 
  154.       WSedit is free and WSformat is much cheaper than word processors such as 
  155.       Winword. Support by telephone or by E-Mail is simpler, because dot 
  156.       commands are transmitted within the document, instead of being forced to 
  157.       describe mouse controlled actions. ('On the top left, you see an icon 
  158.       with a wide border...') By using the 'embed file .fi' command, it is 
  159.       possible to observe standards throughout documents regardless of the 
  160.       author. For example, the company letterhead to be used in all WSformat 
  161.       files can be maintained centrally, and when it is necessary to change 
  162.       'boilerplate' text, those changes will appear in all subsequent 
  163.       publications. 
  164.  
  165.  
  166.  Limitations 
  167.  
  168.  WSformat does not support muli-column text editing and formatting. 
  169.  (Nevertheless, I plan multi-column printouts.) It is not intended for 
  170.  desktop-publishing of such things as newsletters, magazines, etc. It is not 
  171.  possible to include output from other applications, such as the way Winword 
  172.  does with Excel, Access and so on. Instead you have to generate a bitmap file 
  173.  from your spreadsheet, database or graphics program which can then be embedded 
  174.  into a text document produced by WSformat. When making changes to your 
  175.  spreadsheet, you have to update the bitmap file manually, something Winword 
  176.  will do automatically. 
  177.  
  178.  For technical writers (physicists and mathematicians, for example) Latex will 
  179.  also be found useful because WSformat has no specific provisions for handling 
  180.  mathematical formulas. With WSedit+WSformat, you have to generate a bitmap 
  181.  file of your formula. 
  182.  
  183.  
  184. ΓòÉΓòÉΓòÉ 2. Installation and first steps ΓòÉΓòÉΓòÉ
  185.  
  186.  
  187. subchapters: 
  188. Installation of WSformat 
  189. Modifying WSedit settings 
  190. Format and print this documentation 
  191.  
  192. next chapter: 
  193. WSformat user interface 
  194.  
  195.  
  196. ΓòÉΓòÉΓòÉ 2.1. Installation of WSformat ΓòÉΓòÉΓòÉ
  197.  
  198.      Unzip the WSformat archive file to a directory of your choice, e.g. 
  199.       C:\Programs\WSformat. 
  200.      Drop the WSformat.exe file onto your desktop to get a reference to the 
  201.       WSformat.exe file. 
  202.  
  203.  
  204.  (An easy-to-use table installation program which will also generate file 
  205.  associations is planned for the 1.0 version.) 
  206.  
  207.  When starting WSformat the first time, some initialization procedures run 
  208.  automatically: 
  209.  
  210.      A binary file WSformat.dta which retains user settings will be generated; 
  211.       it contains the data found in the settings notebook (settings - settings 
  212.       notebook) 
  213.      A simple text file fonts.ini will be generated. It stores the information 
  214.       about the fonts which are available on your system. It is recommended 
  215.       that you modify this file to fit your needs. (settings - font definition) 
  216.      The fonts.ini text file is converted to a binary file printername.dta 
  217.       which holds detailed font information before formatting or printing. When 
  218.       changes are made to fonts.ini, the printername.dta file is updated 
  219.       automatically and a small window 'registering fonts' appears. 
  220.  
  221.  
  222.  It is also necessary to modify some entries in the settings notebook (settings 
  223.  - settings notebook): 
  224.  
  225.      To start WSedit or your preferred Wordstar editor from WSformat, select 
  226.       the Program page of the settings notebook and enter the full filename of 
  227.       the editor, e.g. C:\Programs\wsedit\wsedit.exe. If the file exists, the 
  228.       edit field turns green; otherwise it remains red. 
  229.      Select the printer to which formatting refers to. This should be your 
  230.       favourite printer for printouts. 
  231.  
  232.  
  233.  By default, hyphenation is turned off. If you want to turn hyphenation on, do 
  234.  the following: 
  235.  
  236.      Select the Hyphenation page in the settings notebook. For all languages 
  237.       other than German, click on 'external tex file' and select your language. 
  238.       Please note that some conventions of British and American English are 
  239.       different. The browser, which uses the Google search engine, is started 
  240.       and you are directed to download the file to the directory where 
  241.       WSformat.exe resides. Tex hyphenation files are small. 
  242.      For German users, I recommend the internal german hyphenation plug-in 
  243.       which is better than the tex algorithm. 
  244.  
  245.  
  246. ΓòÉΓòÉΓòÉ 2.2. Modifying WSedit settings ΓòÉΓòÉΓòÉ
  247.  
  248.  
  249. By default, WSedit 0.91 does not know some file extensions that WSformat uses. 
  250. (This will be changed for the next update.) All of the new file extensions 
  251. refer to the 'formatted file' type. 
  252.  
  253.      Start WSedit with a WS file 
  254.      Type Ctrl-OO to access the settings 
  255.      Press the 'new' button 
  256.      Next to the 'new' button, enter the new file extensions FMT,FUN,TOC,TAF 
  257.       (divided by commas, no spaces) 
  258.      Choose 'file' page, click on the 'Wordstar 4/5 formatted' radio button 
  259.      In the 'description of file type' editing field, enter 'Wordstar 
  260.       formatted' 
  261.      Choose 'wrap' page, click on the 'word wrapping - not at all' radio 
  262.       button 
  263.      Choose 'hilight' page 
  264.      Select 'syntax highlighting enabled' 
  265.      Select 'WS formatted page break' 
  266.      Select 'WS formatted floating background' 
  267.      Press OK. 
  268.  
  269.  
  270.  When using DOS Wordstar instead of WSedit, there's no need for modifications. 
  271.  
  272.  
  273. ΓòÉΓòÉΓòÉ 2.3. Format and print this documentation ΓòÉΓòÉΓòÉ
  274.  
  275. The archive file contains the documentation in WS format (unformatted text) and 
  276. in Help file format. You have got access to the Help file from the WSformat 
  277. main window, Help menu item, or by pressing the yellow questionmark buttons. If 
  278. you prefer a printed documentation, you are encouraged to print your docu. 
  279.  
  280. Select the WS file 
  281.  
  282. First select the file which you want to format and print, in this case 
  283. WSFDOCU.WS. Click on the File menu item, and then choose select. You may also 
  284. simply drop the WSFDOCU.WS file icon into the dropdown field on the WSformat 
  285. main window. 
  286.  
  287. Format the WS file 
  288.  
  289. Simply press the format button. A new file, WSFDOCU.FMT, will be generated. 
  290.  
  291. Edit the FMT file 
  292.  
  293. If you really want to create a paper print, take a look at the WSFDOCU.FMT 
  294. file. By default, after formatting the editor starts and selects the FMT file. 
  295. Take a look at the page breaks which are represented in WSedit by a floating 
  296. yellow background. If you want to improve some page breaks, do it and then save 
  297. the FMT file. 
  298.  
  299. Preview 
  300.  
  301. You are also encouraged to preview the file; simply press the preview button. 
  302. When saving the FMT file in the editor, the preview window is updated 
  303. automatically. In the preview window, use the Pg dn and Pg up keys on your 
  304. keyboard, or use the left and right mouse button. For example, to go to page 
  305. 20, hold down the left mouse button and drag the mouse to the right. Change the 
  306. height and width of the Window. The preview scale depends on the window width. 
  307.  
  308. Print the file 
  309.  
  310. Select a printer by using the dropdown box in the WSformat main window. Press 
  311. the Print button, or select File - Print pages from the menu. In this case, you 
  312. can select single pages. 
  313.  
  314.  
  315. ΓòÉΓòÉΓòÉ 3. WSformat user interface ΓòÉΓòÉΓòÉ
  316.  
  317.  
  318. Because WSformat is a text compiler, there are only a few windows which forms 
  319. the user interface. 
  320.  
  321. subchapters: 
  322. Main Window 
  323. Settings Notebook 
  324. Preview Window 
  325. Print pages dialog 
  326. Command line Arguments 
  327.  
  328. next chapter: 
  329. Fonts 
  330.  
  331.  
  332. ΓòÉΓòÉΓòÉ 3.1. Main Window ΓòÉΓòÉΓòÉ
  333.  
  334. The WSformat main window is the central command window for editing, formatting, 
  335. and printing text; it is where you start jobs and open other windows. While 
  336. merely editing text, you can operate on your WS files directly with your WSedit 
  337. or Wordstar editor. While formatting and printing, start WSformat and leave the 
  338. main window open. From there, you can also execute the editor on unformatted 
  339. text. 
  340.  
  341. Selecting a WS file 
  342.  
  343. There are several ways of selecting a WS file. 
  344.  
  345.      Click on the File menu item, and then choose select. You will get a file 
  346.       dialog which is similar to those used in many other programs. 
  347.      Drop the WS file on the WSformat icon on your desktop 
  348.      Drop the WS file icon onto the dropdown field of the WSformat main window 
  349.      Enter the WS file name after WSformat on the command line. 
  350.  
  351.  
  352.  After successfully selecting a WS file, some of the five WSedit function 
  353.  buttons are enabled, depending on the existence of the corresponding FMT 
  354.  (formatted) file. 
  355.  
  356.  Formatting a WS file 
  357.  
  358.  Press the Format button or select the menu item Make - formatted file. Either 
  359.  choice is acceptable. 
  360.  
  361.  Editing files 
  362.  
  363.  To edit files from WSformat, the file name of your favourite editor has to be 
  364.  entered in Settings - settings notebook, page Program. 
  365.  
  366.  Selecting the button unformatted - edit starts the editor with the designated 
  367.  file (with the file extension WS); selecting formatted - edit starts a file 
  368.  with the extension FMT. 
  369.  
  370.  The menu items file - edit - unformatted and file - edit - formatted have the 
  371.  same effect as the corresponding buttons. If the FMT file does not exist, the 
  372.  buttons are disabled, while the menu items remain enabled. 
  373.  
  374.  The menu item File - close editors closes all Editor windows (for programmers: 
  375.  by sending WM_CLOSE messages) of the selected project file. This has the same 
  376.  effect as clicking to the 'Window Close' button of each editor window. Do not 
  377.  use this function with a DOS (Wordstar) editor. In this case, you are asked 
  378.  whether to interrupt the DOS application or not. If you press yes, all data in 
  379.  the DOS window will be lost. 
  380.  
  381.  Previewing formatted files 
  382.  
  383.  To open the preview window, press the Preview button or select File - Preview. 
  384.  
  385.  Printing formatted files 
  386.  
  387.  To select a printer, press the dropdown button and make your selection. To 
  388.  print the whole document, press the print button. To print only a section of 
  389.  the document, select the menu item File - Print pages. Note that you get the 
  390.  best result if the selected printer is also the printer where formatting 
  391.  refers to. You can reselect the 'reference printer' in the settings notebook, 
  392.  page Program. 
  393.  
  394.  While the print job is running, the print button turns into a stop printing 
  395.  button. Note that if you interrupt printing, a lot of data likely will have 
  396.  been sent to the printer queue. You can delete this data by opening your 
  397.  printer object. 
  398.  
  399.  Dropdown field and compile information 
  400.  
  401.  In the middle of the WSformat main window, there's the dropdown field where 
  402.  you are able to drag and drop WS files. This will select the dropped WS file. 
  403.  
  404.  In the dropdown field, there are three lines, each with an LED. These display 
  405.  the current processing states of the three WSformat jobs: 
  406.  
  407.      When formatting a text, the progress of the operation is displayed on the 
  408.       first line. While formatting, the red LED glows. 
  409.      While preview is activated and the preview window is shown, the yellow 
  410.       LED glows and the page number of the page currently displayed in the 
  411.       preview window is shown. The page number also appears in the title bar of 
  412.       the Preview window. 
  413.      While a print job is running, the blue LED glows. 
  414.  
  415.  
  416.  The WSformat print job is faster than the printer can print the results. The 
  417.  operating system buffers the data and sends it to the printer as requested, 
  418.  depending on the speed of the printer. 
  419.  
  420.  WSformat is a multi-threaded program. This means that even while WSformat is 
  421.  executing one a job, it is able to do another job concurrently. Besides the 
  422.  main thread - editing the settings notebook, for example - there are three 
  423.  threads which are represented by the red, yellow and blue LED: When the LED 
  424.  glows, the thread is running. This means that you can format a file while 
  425.  another file is still being printed, but you cannot print a file while another 
  426.  file is printed. While printing a file, you can select another file and format 
  427.  or preview this new document. 
  428.  
  429.  The extended compile jobs Make - Text and Footnote, Make - Content and Make - 
  430.  Index are also executed in the format thread. 
  431.  
  432.  You are not allowed to exit WSformat until all threads are finished. If 
  433.  WSformat does not end a thread - we don't hope that such a bug occurs - you 
  434.  have to kill the WSformat application (in Windows, press Ctrl-Alt-Del 
  435.  simultaneously and select WSformat to end the process). In any case, contact 
  436.  the author if the bug can be reproduced. 
  437.  
  438.  
  439. ΓòÉΓòÉΓòÉ 3.2. Settings Notebook ΓòÉΓòÉΓòÉ
  440.  
  441. The data of the settings notebook is stored in the file WSformat.dta. 
  442.  
  443. subchapters: 
  444. Program page 
  445. Format page 
  446. Hyphenation page 
  447. Layout page 
  448. Notes page 
  449. Index page 
  450.  
  451. next chapter: 
  452. Preview Window 
  453.  
  454.  
  455. ΓòÉΓòÉΓòÉ 3.2.1. Program page ΓòÉΓòÉΓòÉ
  456.  
  457. In the entry field Full filename of the embedded editor, you can select the 
  458. editor program to be executed when pressing the buttons edit unformatted and 
  459. edit formatted on the WSformat main window. If you don't remember the file 
  460. name, use the search button. 
  461.  
  462. If the checkbox open editor after make is checked, WSformat automatically 
  463. executes the editor with the generated file after finishing the task of 
  464. formatting the text, generating the table of contents, or performing any 
  465. similar operations. 
  466. You can restrict where WSformat is to search for files by supplying it with a 
  467. list of directories. The directories are separated from one another by a 
  468. semicolon ';'. Instead of typing the directory names directly, you can also use 
  469. the search button. The directory where WSformat.exe resides is always searched, 
  470. but only if the search in these directories has failed. The list of directories 
  471. refers to the following files: 
  472.  
  473.      Formatted and unformatted files, by using the .FI command 
  474.      Heading template files 
  475.      Bitmap files, by using the .BM and .BT commands 
  476.      file SILBAUSN.WS (internal German hyphenation) 
  477.  
  478.  
  479.  Printer to which formatting refers is relevant only if you have installed more 
  480.  than one printer on your system. In such a case, selecting the active printer 
  481.  affects how WSformat will perform its calculations while formatting. If you 
  482.  select another printer for printing, the spaces between words can differ 
  483.  because of slight differences of printer font metrics. But neither line breaks 
  484.  nor page breaks are affected. 
  485.  
  486.  Auto correct file extension affects the main window of WSformat. If this 
  487.  setting is on, you can also drop FMT files into the dropdown window and the 
  488.  unformatted file will be given the extension WS. Deselect the checkbox if you: 
  489.  
  490.      Want to re-format a FMT file 
  491.      Want to use extensions other than WS for the unformatted Wordstar file 
  492.      want to preview or print files other than FMT or TAF files, for example, 
  493.       a TOC (table of contents) file. 
  494.  
  495.  
  496.  Allow printing unformatted WS files can be useful if you have a text file with 
  497.  a table or graphics and no running text, and thus the text file will not need 
  498.  to be reflowed. Running text will not look as good as it would be with the 
  499.  formatted file. Normally, this setting should be turned off. 
  500.  
  501.  The program language is only English at this time. The German setting affects 
  502.  only some error and information messages. To translate WSformat to other 
  503.  languages, I need help from native speakers. Please contact me if you are 
  504.  interested in such an effort - you will receive a donation for your work. 
  505.  
  506.  Concern printing group box 
  507.  
  508.  Lower the Print job priority if user input slows down while running a print 
  509.  job. 
  510.  
  511.  Concerning Preview groupbox 
  512.  
  513.  When using preview you can also choose between positioning of each character 
  514.  and positioning only each word. Positioning only each word is faster, but it 
  515.  affects the word spacing, because WSformat can only select integer values of 
  516.  font sizes and then the spaces between words can differ. The default value is 
  517.  enabled. 
  518.  
  519.  
  520. ΓòÉΓòÉΓòÉ 3.2.2. Format page ΓòÉΓòÉΓòÉ
  521.  
  522. On the format page, you can change settings concerning formatting rather than 
  523. directly previewing or printing or setting margins. These settings are located 
  524. on the Layout page. 
  525.  
  526. Change hard spaces to soft spaces at the beginning of a line is useful if 
  527. WordStar conventions using soft spaces have not been observed for text 
  528. indention. Note that enabling this function will result in a wrong format if 
  529. normal spaces have been used to indent the first line of a paragraph. The 
  530. default value is disabled. 
  531.  
  532. Reduce factor of spaces in wrapped lines ('gum factor') affects the width of 
  533. the spaces between the words of a wrapped line. A gum factor of '1' means that 
  534. on average the sum of the width of all spaces in a line is reduced about the 
  535. width of one Courier 12 character (1/10 inch). A negative gum factor enlarges 
  536. the average width of spaces. You can change this setting in your document by 
  537. entering '.GU', followed by the value. 
  538.  
  539. Stretch factor of tabs (soft spaces) applies only to proportional fonts. In a 
  540. proportional font, there's no single width for every character; instead every 
  541. character is assigned its own width. If text printed in a proportional font 
  542. table is indented using soft spaces, there is the question to which scale the 
  543. indention refers to. This scale is now defined by the 'tab stretch' (.TS) 
  544. value. A value of 60 means the width of one soft space is equal to 60% of the 
  545. widest character in the font, usually the capital 'W' in a Roman alphabet. If 
  546. you want to be sure to keep two columns of a table from overlapping, try a 
  547. value of 100. This applies even if the column contains only 'W's. Since this is 
  548. highly unlikely, adequate values are from 50 to 60. When creating tables with a 
  549. proportional font, it is strongly recommended to check carefully with Preview. 
  550.  
  551. All .LH Line Height values refer to default normal font 
  552. let WSformat change the .LH values in the formatted file, dependent on the 
  553. current font selected with .SF. This omits overprinting lines when using large 
  554. fonts. See Line Height. 
  555.  
  556. Default fonts 
  557.  
  558. Using fonts is described in an own chapter of this document. Fonts are 
  559. represented by single letters (case-sensitive). In the file fonts.ini, font 
  560. letters are assigned to the fonts available on your operating system. Single 
  561. characters represent fonts with no attribute, adding ' means italic, " means 
  562. bold, and & bold-italic. Note however that all these conventions can be 
  563. redefined. 
  564.  
  565. You can select default values for both the normal and alternate fonts. The 
  566. selected font written with the selected font is displayed in the white field on 
  567. the right. 
  568.  
  569.  
  570. ΓòÉΓòÉΓòÉ 3.2.3. Hyphenation page ΓòÉΓòÉΓòÉ
  571.  
  572. Hyphenation is an important feature of a word processing program that must 
  573. formatting text with a fixed right margin. The more hypenation points are 
  574. correctly found, the better the final appearance of the document. 
  575.  
  576. The default value of hyphenation is no hyphenation. 
  577.  
  578. External Tex file 
  579.  
  580. For all languages other than German, the external tex file setting is 
  581. recommended. Use the Google search engine on the Internet to locate the tex 
  582. hyphenation file (there is one available for almost every language). Once 
  583. located, download it to your computer and then save it in or move it to your 
  584. WSformat directory so that it will be available. These files are available for 
  585. nearly every language. For additional information see the chapter on 
  586. installation. 
  587.  
  588. Tex hyphenation files are data-based text files which can be viewed with an 
  589. ASCII editor that accepts the IBM-OEM codepage. If a word is not currently in 
  590. the database, that word will not be hyphenated in your document. This will 
  591. especially affect the hyphenation points of such complex substantives as 
  592. 'news-paper. The database stores the syllables with interspersed digits which 
  593. represent the possible hyphenation points. An odd digit means 'hyphenation 
  594. allowed,' while an even digit indicates 'hyphenation not allowed.' These may be 
  595. considered indicators of 'fracture' points. Digits of larger values indicate a 
  596. low probability of a hyphenation point; low value digits indicate 'weak' and 
  597. thus an increased likelihood. The factor Minimal rating refers to these digits. 
  598. A minimal rating of 1 can result in a larger number of hyphenations; values of 
  599. 3 and 5 reduce the frequency of hyphenations, and produce only very good 
  600. hyphenations. A lower frequency of hyphenations can increase the average width 
  601. of spaces between words. A rating of 2 is not different from a value of 1. 
  602.  
  603. Internal german hyphenation algorithm 
  604.  
  605. In the German language, hyphenation is very important because of complex 
  606. substantives. The internal german hyphenation function is based on a phonetic 
  607. assessment of a word, rather than on a reference to a stored data base. It can 
  608. thus hyphenate words which occur in text only very seldom; proper names fall 
  609. into this category. It locates more possible hyphenations (nearly all in fact) 
  610. than the German TeX database. In the case of a few hyphenations, the results of 
  611. the algorithm are ambiguous. In these cases, there is a query option 
  612. (R╨æckfrage) where the user is called upon to make a judgment. Many of these 
  613. queries are humorous funny, because the wrong hyphenation alters the meaning. 
  614. It is possible that WSformat takes note of these corrected hyphenations, and 
  615. stores them in the files DEULERN.DTA and GRIELERN.DTA which resides in the 
  616. current directory (normally the directory where WSformat.exe is located in). 
  617. The additional 'Ancient Greek' algorithm is useful for scientific documents 
  618. where many words are derived from the Greek roots. This particularly applies to 
  619. syllables beginning with ps, pt, rh, sc and some others. In most German 
  620. (commercial, correspondence...) these syllables occur very seldom, and the 
  621. default setting is set to disabled. 
  622.  
  623. The minimum of not separated chars settings refer to all hyphenation 
  624. algorithms. It's a matter of document ('house') style whether a hyphenation 
  625. will leave only two characters of the word on a line. Higher values will reduce 
  626. the number of hyphenations; useful values are 2, 3 or 4. 
  627.  
  628. Do not hyphenate areas with capital letters depends on your own style 
  629. requirements. Sometimes there are abbreviations with capital letters which must 
  630. not be hyphenated. If your text contains sections in capital letters, you 
  631. should disable this function. The default setting is enabled. 
  632.  
  633. A manual hyphenation setting is also available. When a word must be hyphenated, 
  634. a simple YES-NO-CANCEL dialog box is presented to the user for his decision. 
  635.  
  636. You can change the hyphenation default setting by using the .HY command, see 
  637. chapter Select Hyphenation. 
  638.  
  639. To indicate that no attempt should be made to hyphenate it, type a leading ^PG 
  640. character in front of the word. 
  641.  
  642.  
  643. ΓòÉΓòÉΓòÉ 3.2.4. Layout page ΓòÉΓòÉΓòÉ
  644.  
  645. On the settings notebook page Layout, you can set the default values of many 
  646. dot commands which refer to the default page layout. 
  647.  
  648. The scale of all vertical values is the default typewriter line height (.LH8) 
  649. ('lines') and of the horizontal values the width of a Courier 12 font character 
  650. ('columns'). 
  651.  
  652. The dot commands also accept inch values (.PL 8.5") or cm values (.PL 23.0). To 
  653. distinguish the line/column scale from cm scale, the latter always requires a 
  654. decimal point or comma. 
  655.  
  656. On the settings notebook, only the column/inches values can be set, but if you 
  657. move the mouse over the entry fields, you will activate a bubble help which 
  658. shows you the value in inches or cm, depending on the scale for bubble help 
  659. radiobuttons. 
  660.  
  661. Page Template let you restore and save other dot command settings referring the 
  662. page layout. To define a new value, select one of the "Template" items, edit 
  663. the combobox and change the dot command values. The last template you have 
  664. chosen is the template WSformat refers to. 
  665.  
  666. Write default dot commands to FMT file is useful if you want to send a 
  667. formatted file to another WSformat user. All your dot command default settings 
  668. are automatically written at the beginning of the formatted file. 
  669.  
  670. The ASCII codepage holds single line and double line images, e.g. single ΓöÇ 
  671. (Alt-196) and double ΓòÉ (Alt-205). WSformat does not send the ASCII code of 
  672. these 'characters' to the printer; instead it generates graphics. The Line 
  673. drawing settings refers to the width of lines in 1/300 inch pixels. Useful 
  674. values are from 2 to 10. Instead of a double line, WSformat creates a wide 
  675. line. 
  676.  
  677. It is permissible to use these characters in situations other than in .LI line 
  678. drawing tables. The length of these lines in relation to text set in 
  679. proportional fonts depends on the '.TS' tab stretch value: The length of one 
  680. line character corresponds to one soft space. 
  681.  
  682. Codepage has two settings. There are two code pages which are very similar, 
  683. both known as the 'IBM codepage' or the 'OEM codepage.' The difference is in 
  684. the line drawing characters, which are made up of both small and wide lines. 
  685. Code page 850 lacks these combined line drawing characters, but instead 
  686. contains additional accented characters for various languages. 
  687.  
  688. An important consideration in Europe is the addition of Euro-character ΓòÆ which 
  689. is available only on the 850 Code page. If you have selected code page 437, it 
  690. will be a line-drawing character instead of the Euro symbol. 
  691.  
  692.  
  693. ΓòÉΓòÉΓòÉ 3.2.5. Notes page ΓòÉΓòÉΓòÉ
  694.  
  695. WSformat handles endnotes, footnotes and margin notes. 
  696.  
  697. Settings referring to Format function 
  698.  
  699. Width of left margin for margin notes is the default value of the '.MN{}n' dot 
  700. command, where 'n' represents the maximal length of margin notes in characters. 
  701.  
  702. When bringing text and notes on a page together (Make - text and footnotes), it 
  703. is necessary that each footnote link in the text area be indicated with a 
  704. marker. This marker is the internal character for assigning footnotes and is 
  705. simply a character which is not used anywhere else in your document. The 
  706. default value is ^PQ (ASCII value of 17 decimal). 
  707.  
  708. To enter Wordstar Printer chars ^PA...^PZ, type a ^ (circumflex) character and 
  709. then a capital letter. 
  710.  
  711. There are different ways of showing footnote links. Footnote link text in text 
  712. area defines how the footnote link is to appear. Acceptable conventions for 
  713. footnote links are (1), [1], and ^T1^T (superscript). Remember that you can 
  714. define a superscript font, see chapter fonts. 
  715.  
  716. Footnote link text in footnote area is the counterpart at the beginning of a 
  717. footnote. Note the use of leading spaces to represent indention. 
  718.  
  719. If you want to insert a Return inside your footnote text, you need a character 
  720. for RETURN in footnote text which will later be converted to a Return. Normal 
  721. Returns in footnote text are filtered. 
  722.  
  723. Settings referring to 'Making Text and Footnotes' 
  724.  
  725. Number of empty lines between text area and footnotes defines the distance 
  726. between the text block and the footnote block of a single page. 
  727.  
  728. The last setting hold number of lines in a paragraph together refers to the 
  729. Make - Text and footnote task. When creating a text and footnote file (TAF 
  730. file), WSformat has to generate the Page breaks on its own. If you select a 
  731. value of 2, WSformat holds the first two and the last two lines of a paragraph 
  732. together; using a value of 1 deactivates this function. Enabling this function 
  733. (values 2 or 3) is strongly recommended. 
  734.  
  735.  
  736. ΓòÉΓòÉΓòÉ 3.2.6. Index page ΓòÉΓòÉΓòÉ
  737.  
  738. The index page stores those settings which refer to the Make - contents and the 
  739. Make - index function of WSformat. 
  740.  
  741. Concerning content creation 
  742.  
  743. When creating a table of contents (TOC) files, you can select whether or not to 
  744. write page numbers. 
  745.  
  746. With Highlight main headings enabled, main headings get bold toggles. Anyway, 
  747. WSformat writes an empty line above a main heading. 
  748.  
  749. Concerning index creation 
  750.  
  751. Highlight weighted page numbers generates bold face page numbers for weighted 
  752. index entries. 
  753.  
  754. Sortiere... refers to a German 'umlaut' problem. 
  755.  
  756.  
  757. ΓòÉΓòÉΓòÉ 3.3. Preview Window ΓòÉΓòÉΓòÉ
  758.  
  759. To have access to the preview feature, first format your text. Then press the 
  760. preview button or select File - Preview. The preview window opens and the 
  761. yellow LED in the WSformat main window glows. 
  762.  
  763. The title bar of the preview window now displays the current page number and 
  764. the filename. 
  765.  
  766. When saving the FMT file in the editor, the preview window is updated 
  767. automatically. Changing settings in the settings notebook will also 
  768. automatically force a preview update. 
  769.  
  770. In the preview window, use the Pg dn and Pg up keys of your keyboard or the 
  771. left and right mouse button. The left mouse button shows the next page, the 
  772. right mouse button the previous page. To go to page 20, for example, hold down 
  773. the left mouse button and drag the mouse to the right. Until the end of the 
  774. file is reached, WSformat does not know the page length. On reaching the end, 
  775. the number of pages is shown in the titlebar: '7 of 17' (pages). 
  776.  
  777. Change the window with and height. The preview scale depends on the window 
  778. width. If you make the window width large, a vertical scrollbar appears. 
  779.  
  780. If you have a slow computer and a large document, previewing backwards requires 
  781. some considerable time because WSformat must read the document again from the 
  782. beginning. (Perhaps that will improve in a later version.) 
  783.  
  784.  
  785. ΓòÉΓòÉΓòÉ 3.4. Print pages dialog ΓòÉΓòÉΓòÉ
  786.  
  787. To print a document from the first to the last page, select a printer in the 
  788. main window dropdown box and press the Print button. 
  789.  
  790. To print selected pages of a document, click on File - print pages. This brings 
  791. up a small dialog window. If you press OK without entering values for the first 
  792. and last pages, the whole document will be printed. 
  793.  
  794. You are allowed to enter several page numbers in the entry field, separating 
  795. them by commas or spaces. To print several pages, enter the first and the last 
  796. page numbers, separating them with a hyphen. 
  797.  
  798. If you want to print from a specific page to the end of the document, select a 
  799. number for the last page which exceeds the size of the document, e.g. 18-999. 
  800.  
  801. Enabling the Exclude pages checkbox means all pages will be printed, but now 
  802. the pages shown in the entry field are instead omitted. 
  803.  
  804. You can select the Number of copies which you want printed. The document is 
  805. printed once from the first to the last page, and then the document is printed 
  806. a second time from the beginning. That means the page order is in collated 
  807. sequence, such as 1, 2, 3, 1, 2, 3, etc., and not as 1, 1, 2, 2, 3, 3. 
  808.  
  809. Press OK to start printing and Cancel if you decide to terminate the job. 
  810.  
  811.  
  812. ΓòÉΓòÉΓòÉ 3.5. Command line Arguments ΓòÉΓòÉΓòÉ
  813.  
  814. The current WSformat program allows only one file name to be entered as an 
  815. argument on the command line. Any additional arguments are ignored. If the 
  816. filename contains spaces, type 'file name' or "file name". Do not omit the file 
  817. extension. 
  818.  
  819. I am planning to include support for full format and print control using 
  820. command line arguments in a later version. 
  821.  
  822.  
  823. ΓòÉΓòÉΓòÉ 4. Fonts ΓòÉΓòÉΓòÉ
  824.  
  825.  
  826. Using fonts with WSformat is very different from Wordstar, but similar to 
  827. Hypermake. Fonts are selected by using specific dot commands. 
  828.  
  829. In WSformat and Hypermake, fonts are represented by a font letter which is a 
  830. shortcut for a specific font description. Font letters are case-sensitive, so 
  831. you can use A to Z and a to z for a total of 52 letters. 
  832.  
  833. subchapters: 
  834. Storing font data 
  835. WSformat default fonts 
  836. Basic font selection in document 
  837. Extended Fonts.ini functionality 
  838. Extended font selection in document 
  839.  
  840. next chapter: 
  841. Basic text commands 
  842.  
  843.  
  844. ΓòÉΓòÉΓòÉ 4.1. Storing font data ΓòÉΓòÉΓòÉ
  845.  
  846. The information about fonts is stored in two files: Fonts.ini and 
  847. Printername.dta. Both files are located in the directory where WSformat.exe 
  848. resides. 
  849.  
  850. Fonts.ini is a text file which can be edited with any reliable ASCII editor, 
  851. with WSedit, or by selecting Settings - Font definition in the WSformat main 
  852. window. 
  853.  
  854. Printername.dta is a binary file which stores the same information which is 
  855. held in the Fonts.ini file. It stores additional information about the selected 
  856. fonts, especially the pixel width of all characters. Because the font metrics 
  857. slightly differ from printer to printer, every printer installed on your system 
  858. gets such a file, e.g. 'HP Deskjet 600.dta'. After changing Fonts.ini, the 
  859. Printername.dta file is updated automatically before processing the next 
  860. format, preview or print job. When formatting or printing, WSFormat gets the 
  861. information from this file and not from the operating system. This makes 
  862. formatting and printing faster. 
  863.  
  864. In the current WSformat version, formatting problems occur when these font data 
  865. are involved. (I hope to correct these problems in future versions.) In this 
  866. case, deleting the Printername.dta file forces recalculating all font data and 
  867. the elimination of the problems. 
  868.  
  869.  
  870. ΓòÉΓòÉΓòÉ 4.2. WSformat default fonts ΓòÉΓòÉΓòÉ
  871.  
  872. Starting WSformat the first time causes a new Fonts.ini file to be generated. 
  873. WSformat asks the operating system for the names of registered Times Roman, 
  874. Helvetica and Courier fonts. Depending on this computer-specific query, 
  875. WSformat generates a new Fonts.ini file. Please take a look at your Fonts.ini. 
  876.  
  877. On many systems, the following fonts are listed: 
  878.  
  879.  
  880. Font A = Times New Roman 8
  881. Font B = Times New Roman 10
  882. Font C = Times New Roman 12
  883. Font D = Times New Roman 14
  884. Font E = Helvetica 8
  885. Font F = Helvetica 10
  886. Font G = Helvetica 12
  887. Font H = Helvetica 14
  888. Font I = Helvetica 16
  889. Font J = Helvetica 18
  890. Font K = Courier New 8
  891. Font L = Courier New 10
  892. Font M = Courier New 12
  893.  
  894. The font letters from A to M are allocated in every WSformat installation. Use 
  895. these fonts if you want to write a document to be sent to another WSformat 
  896. user. This font selection covers all normal word processing purposes. 
  897.  
  898. If you miss some fonts, enter your own definitions, using the font letters N to 
  899. Z and a to z. 
  900.  
  901.  
  902. ΓòÉΓòÉΓòÉ 4.3. Basic font selection in document ΓòÉΓòÉΓòÉ
  903.  
  904. For selecting a font in your document, simply use the dot command 
  905.  
  906. .SF (select font), 
  907.  
  908. followed by the font letter. E.g. 
  909.  
  910. .SFC 
  911.  
  912. This selects the font 'Times New Roman 12,' because it is defined in the 
  913. Fonts.ini file as: 
  914.  
  915.  
  916. Font C = Times New Roman 12
  917.  
  918. Typing .SF without a parameter selects the default font which is set in the 
  919. settings notebook, page format. 
  920.  
  921. Alternate Font 
  922.  
  923. You can also define an alternate font 
  924.  
  925. .AF (alternate font) 
  926.  
  927. which is printed when a ^PA character appears at the beginning of a paragraph. 
  928. The syntax is similar to the .SF font: 
  929.  
  930. .AFC  (selects alternate font C) 
  931. .AF  (selects default alternate font). 
  932.  
  933. Behind the ^PA printer character, the alternate font rests activated until the 
  934. paragraphs ends with a Hard Return. 
  935.  
  936. Subscript/Superscript font 
  937.  
  938. It is useful to select a smaller font for subscript (^PV in pairs) and 
  939. superscript (^PT in pairs) text: 
  940.  
  941. .SSB 
  942. select subscript/superscript font selects e.g. font B (Times Roman 10). The 
  943. default setting is the default font in the settings notebook, page format. 
  944.  
  945.  
  946. ΓòÉΓòÉΓòÉ 4.4. Extended Fonts.ini functionality ΓòÉΓòÉΓòÉ
  947.  
  948. If you are more ambitious in your treatment of fonts, you can define manually 
  949. bold, italic and bold-italic fonts. 
  950.  
  951. The default behaviour of WSformat is that you simply define a font by using 
  952. .SF. When you then use the ^PB (bold) and ^PY (italic) toggles, you will get 
  953. the same font in bold or italic styles respectively. You have the option to 
  954. redefine the bold, italic and bold-italic fonts manually. 
  955.  
  956. When interpreting a 'Font' line in the Fonts.ini file, not only is a single 
  957. font defined, but the italic, bold and bold-italic fonts along with it: 
  958.  
  959.  
  960. Font C = Times New Roman 12
  961. Font C" = Times New Roman 12 bold
  962. Font C' = Times New Roman 12 italic
  963. Font C& = Times New Roman 12 bold italic
  964.  
  965. This default behavior can be turned off selectively by entering: 
  966.  
  967.  
  968. AutoItalicBold = no
  969.  
  970. and can be turned on 
  971.  
  972.  
  973. AutoItalicBold = yes
  974.  
  975. You can now define the bold, italic and bold-italic fonts by hand, or you can 
  976. override these settings. Because the Fonts.ini file is interpreted 
  977. sequentially, it is possible to repeat a font definition without turning off 
  978. the 'AutoItalicBold' setting. 
  979.  
  980.  
  981. Font C = Times New Roman 12
  982. Font C" = Times New Roman 13 bold
  983.  
  984. That means italic and bold-italic of the C type face are defined 
  985. conventionally, but the bold font is a slightly larger font (13 instead of 12). 
  986.  
  987.  
  988. ΓòÉΓòÉΓòÉ 4.5. Extended font selection in document ΓòÉΓòÉΓòÉ
  989.  
  990.  
  991. The .SF command changes the previously selected fonts for normal, bold, italic 
  992. and italic-bold styles simultaneously. If you want to change a font attribute 
  993. selectively, there are specific dot commands which can be used, such as the .SF 
  994. command: 
  995.  
  996. .SN  (select normal) 
  997. .SB  (select bold) 
  998. .SY  (select italic) 
  999. .SX  (select bold-italic) 
  1000.  
  1001.  
  1002. ΓòÉΓòÉΓòÉ 5. Basic text commands ΓòÉΓòÉΓòÉ
  1003.  
  1004.  
  1005. 'Basic text commands' refers to the formatting and printing commands - dot 
  1006. commands, printer (^P) characters - which are similar to Wordstar DOS. The next 
  1007. chapter 'Extended text commands' refers to advanced features such as graphics, 
  1008. footnotes or contents which are implemented in a WSformat specific way. 
  1009.  
  1010. The majority of WSformat text commands are identical to those in Wordstar DOS, 
  1011. but a few are new or different from Wordstar DOS. They are marked with the 
  1012. following sign: 
  1013.  
  1014. Γûê 
  1015. Γûä Wordstar DOS user, please note! 
  1016.  
  1017. Most word processing programs save formatting and printing information in a 
  1018. binary format. Wordstar DOS and WSformat store this information as readable 
  1019. text characters. There are two kinds of these commands: 
  1020.  
  1021. Γûá dot commands: A text line beginning with a dot (period), followed by two 
  1022. characters. Dot commands are not case-sensitive. 
  1023.  
  1024. Γûá printer chars: Characters with an ASCII value lower than decimal 32. In 
  1025. Wordstar DOS and WSedit such characters are entered by type Ctrl-P, followed by 
  1026. a letter. 
  1027.  
  1028. subchapters: 
  1029. Syntax of dot commands 
  1030. Printer command characters 
  1031. Text formatting commands 
  1032. Page formatting commands 
  1033. Embedding files 
  1034.  
  1035. next chapter: 
  1036. Extended text commands 
  1037.  
  1038.  
  1039. ΓòÉΓòÉΓòÉ 5.1. Syntax of dot commands ΓòÉΓòÉΓòÉ
  1040.  
  1041. A dot command must be typed on a separate line and begin with a dot in the 
  1042. leftmost margin. If the dot is not located at the first column, it will not 
  1043. treated as a dot command and will instead be be printed as text. In most cases, 
  1044. the dot is followed by two characters which are not case-sensitive. Many dot 
  1045. commands require a following argument. For example: 
  1046.  
  1047. .RM70 
  1048.  
  1049. sets the right margin to the value 70. You are allowed to enter spaces between 
  1050. 'RM' and the number. 
  1051.  
  1052. In this documentation, I need to print dot commands without having them 
  1053. interpreted. The first character in a line is the bold toggle and the second 
  1054. the dot, thus isolating the latter from the right margin. A line so constructed 
  1055. will thus show the dot in the left margin, as the first character when it is 
  1056. printed, and it won't be interpreted. 
  1057.  
  1058. In Wordstar, the default horizontal page measurement is characters and the 
  1059. default vertical measurement is lines. Both directions refer to old typewriter 
  1060. conventions. A character is considered to be as wide as a 'Courier 12' 
  1061. character - the only font with which most typewriters were provided - and the 
  1062. line measurement is the default (narrow-spaced) line. WSformat assumes 1/48' to 
  1063. be the unit of vertical pitch, so .LH8 indicates a line spacing of 8/48' or 6 
  1064. lines per inch). 
  1065.  
  1066. All dot commands which allow character or line counts to indicate distances 
  1067. will also accept inches and cm values: 
  1068.  
  1069. .RM 7.0" 
  1070. .RM 17.8 
  1071.  
  1072. Γûê 
  1073. Γûä Note that the use of dot (decimal point) or " makes the difference: If the 
  1074. number contains a dot or a comma, it is treated as a measurement in centimeters 
  1075. or inches. The inch value is marked by the " character. 
  1076.  
  1077. Comments 
  1078.  
  1079. A very useful dot command is 'dot dot' 
  1080.  
  1081. ..This won't be printed 
  1082.  
  1083. This allows you easily to enter text which won't be printed in the finished 
  1084. document. In WSedit, these lines are shown on the editing screen in magenta. 
  1085.  
  1086.  
  1087. ΓòÉΓòÉΓòÉ 5.2. Printer command characters ΓòÉΓòÉΓòÉ
  1088.  
  1089. In WSformat and Wordstar DOS, characters with an ASCII value lower than decimal 
  1090. 32 have got a specific meaning. These characters are not printed, but instead 
  1091. control the formatting and printing of the job. 
  1092. In both Wordstar DOS and WSedit, you can enter a command to be sent to the 
  1093. printer by typing Ctrl-P (P for 'printer'), followed by a letter from A to Z. 
  1094. In the documentation, these commands are written ^PA... ^PZ. 
  1095.  
  1096. printer chars not used in pairs 
  1097.  
  1098. ^P@  (Wordstar DOS) Text followed by this character is right-justified when 
  1099. printing 
  1100. ^PZ  (WSedit) Text followed by this character is right-justified when printing 
  1101. ^PK  Text followed by this character is centered when printing 
  1102.  
  1103. ^PA  Turn on the alternate font until the next Hard Return 
  1104. ^PG  The following word is not hyphenated 
  1105. ^PO  binding space: a line will not be divided a binding space 
  1106.  
  1107. printer chars used in pairs (toggles) 
  1108.  
  1109. ^PB  select the bold font 
  1110. ^PS select underlined text 
  1111. ^PY  select the italic font 
  1112.  
  1113. ^PT  Superscript, e.g. square meter m2 
  1114. ^PV  Subscript, e.g. CO2 will be polluted 
  1115. Γûê 
  1116. Γûä WSedit shows the ^PT 2 ^PT sequence simply as 2 which is part of the IBM 
  1117. Codepage, and ^PT 3 ^PT as 3. You can set the height and depth of the printout 
  1118. with the .SR command (default is .SR3) and the superscript/subscript font with 
  1119. the .SS command (select sub/superscript font), followed by a font letter. 
  1120.  
  1121.  
  1122. ΓòÉΓòÉΓòÉ 5.3. Text formatting commands ΓòÉΓòÉΓòÉ
  1123.  
  1124.  
  1125. subchapters: 
  1126. Indentions 
  1127. Hard and Soft Returns 
  1128. Turning formatting off and on 
  1129. Change the hyphenation algorithm 
  1130. Line Height, superscript roll 
  1131. Paragraph Width 
  1132. Paragraph orientation 
  1133. Auto indention 
  1134.  
  1135. next chapter: 
  1136. Page formatting commands 
  1137.  
  1138.  
  1139. ΓòÉΓòÉΓòÉ 5.3.1. Indentions ΓòÉΓòÉΓòÉ
  1140.  
  1141.  
  1142. Hard and Soft Spaces, indentions 
  1143.  
  1144. Wordstar DOS, WSedit and WSformat know two different kinds of Spaces: Soft 
  1145. spaces (in WSedit shown as 'snow characters') and normal 'hard' spaces. Soft 
  1146. spaces represent indentions and tabulations. While formatting, these soft 
  1147. spaces can vanish and then appear on another place. 
  1148.  
  1149.     This is a sample showing soft spaces. To indent a line in WSedit, simply 
  1150.     use the Tabulation (Tab) key, or press Ctrl-OG. 
  1151.  
  1152.         It is also possible first to enter text and then to indent by typing 
  1153.          the Tab key, followed by the running text. 
  1154.  
  1155.  
  1156.     To reformat a paragraph in WSedit after changing the '.TB' tab stop 
  1157.     position, type Ctrl-B. WSformat interprets the resulting soft spaces, not 
  1158.     the '.TB' command. 
  1159.  
  1160.  Γûê 
  1161.  ΓûäThe width of soft spaces (snow characters) can be defined with the .TS tab 
  1162.  stretch command. 
  1163.  
  1164.  .TS60 (also .DE60 or .DE6) 
  1165.  sets the width of a soft space to 60% of the capital W of the current 
  1166.  proportional font. When using a fixed font, this setting has no effect. 
  1167.  
  1168.  
  1169. ΓòÉΓòÉΓòÉ 5.3.2. Hard and Soft Returns ΓòÉΓòÉΓòÉ
  1170.  
  1171. There are also two different kinds of Returns: lines can end with either a Soft 
  1172. or a Hard Return. In WSedit, this is shown by color patches in the rightmost 
  1173. column. Soft Returns vanish and appear on another place while formatting. Hard 
  1174. Returns remain fixed at the same place. Soft Returns are generated by the 
  1175. computer; Hard Returns by typing the Enter key on the keyboard. 
  1176.  
  1177.  
  1178. ΓòÉΓòÉΓòÉ 5.3.3. Turning formatting off and on ΓòÉΓòÉΓòÉ
  1179.  
  1180.  
  1181. When typing tables, there is always the concern about destroying table 
  1182. formatting, because WSformat might treat the table as running text and reormat 
  1183. it. WSformat attempts to recognize the difference between tables or columns 
  1184. automatically, if more than 4 normal spaces occur, but sometimes this rule 
  1185. fails. In such instances, it is safer to turn off formatting explicitly: 
  1186.  
  1187. .FM OFF Formatting disabled (also .BA, .AW OFF) 
  1188. .FM ON Formatting enabled (also .BE, .AW ON) 
  1189.  
  1190. Typing ^B in the WSedit editor will not have an effect after typing FM OFF or 
  1191. BA. 
  1192.  
  1193. If you type .BA TOTAL at the beginning of a Wordstar document, neither WSedit 
  1194. nor WSformat will do any formatting whatever. 
  1195.  
  1196.  
  1197. ΓòÉΓòÉΓòÉ 5.3.4. Change the hyphenation algorithm ΓòÉΓòÉΓòÉ
  1198.  
  1199. You have access to the hyphenation algorithm choice within your document like 
  1200. you have on the hyphenation page of your settings notebook. This is useful when 
  1201. editing multilingual documents. 
  1202.  
  1203. .HY OFF 
  1204. or 
  1205. .HY NO 
  1206. hyphenation off turns hyphenation of words off. 
  1207.  
  1208. .HY ON 
  1209. turns hyphenation on again and activates the algorithm which was valid before 
  1210. turning off hyphenation. 
  1211.  
  1212. .HY GERMAN 
  1213. turns the internal german hyphenation on, using the checkbox values of the 
  1214. settings notebook. 
  1215.  
  1216. .HY TEX 
  1217. turns the external tex hyphenation on, with the tex hyphenation file which was 
  1218. last selected. 
  1219.  
  1220. .HY Languagename.TEX 
  1221. turns the external tex hyphenation on and makes the tex file Languagename.tex 
  1222. current 
  1223.  
  1224. .HY MANUAL 
  1225. or 
  1226. .HY HAND 
  1227. queries all possible hyphenations. A simple YES-NO-CANCEL dialog box is 
  1228. presented to the user for his decision. 
  1229.  
  1230.  
  1231. ΓòÉΓòÉΓòÉ 5.3.5. Line Height, superscript roll ΓòÉΓòÉΓòÉ
  1232.  
  1233. .LH8 
  1234. line height sets the line height to 8/48 inches. This is the default 
  1235. linespacing of a conventional typewriter. .LH12 means 150% of the default 
  1236. typewriter linespacing. .LH10. is a good choice for Times Roman 12 or Helvetica 
  1237. 12. 
  1238.  
  1239. In the settings notebook on the format page, you will find the checkbox 
  1240. all .LH Line Height values refer to default normal font 
  1241.  
  1242. This has got two effects: 
  1243.  
  1244.      all .LH commands gets changed in the FMT file, if you don't use the size 
  1245.       of the default font, e.g. '12' for 'Times Roman 12'. 
  1246.      after selecting a new font with .SF, the line height is recalculated and 
  1247.       in the FMT file, WSformat generates a new .LH entry behind the .SF 
  1248.       command. 
  1249.  
  1250.  
  1251.  This setting omits that lines with large fonts are overprinted, but old 
  1252.  Wordstar DOS user could get confused. The default setting is enabled. 
  1253.  
  1254.  .SR3 
  1255.  superscript/subscript roll defines the height of superscript text (using ^PT 
  1256.  in pairs) or the depth of subscript text (^PV in pairs). The default value is 
  1257.  3. 
  1258.  
  1259.  
  1260. ΓòÉΓòÉΓòÉ 5.3.6. Paragraph Width ΓòÉΓòÉΓòÉ
  1261.  
  1262. .RM40 
  1263. sets the width of the text block (right margin) to 40 (the measurement is in 
  1264. Courier 12 characters). The WSformat default value is 60 and can be modified in 
  1265. Settings - Settings notebook, page Page. The value does not correspond to the 
  1266. width of the right paper margin; you enter instead the width of your text 
  1267. (paragraph width). 
  1268.  
  1269. .PO8 
  1270. page offset is the left paper margin. This command affects only previewing and 
  1271. printing, but not formatting. 
  1272.  
  1273. The width of a default sheet of paper is 83 characters. If your .PO page offset 
  1274. is 8 and the text block width (.RM 'right margin') is 60, then 83 - 8 - 60 = 15 
  1275. characters are left for the right paper margin. 
  1276.  
  1277.  
  1278. ΓòÉΓòÉΓòÉ 5.3.7. Paragraph orientation ΓòÉΓòÉΓòÉ
  1279.  
  1280. Output centered 
  1281.  
  1282. To center text, instead of typing ^PK in front of each line you can also use 
  1283. the appropriate dot commands: 
  1284.  
  1285. .OC ON 
  1286. .OC OFF 
  1287.  
  1288. The default value is OFF. 
  1289.  
  1290. Micro justification 
  1291.  
  1292. You can also select whether text is to be set ragged right or justified: 
  1293.  
  1294. .BL ON 
  1295. Block on turns justification on (fixed right margin) using 'micro 
  1296. justification' 
  1297. .BL OFF 
  1298. Block off turns justification off (ragged right margin). ('Micro justification' 
  1299. is off.) 
  1300.  
  1301. If the text is to be right justified (right margin is fixed - .BL ON), WSformat 
  1302. distributes the empty space remaining at the end of the line equally between 
  1303. all words. If the Printername.dta file which holds the character width of all 
  1304. characters and fonts which are used by the document is corrupted, micro 
  1305. justification will fail and the printed result will be unusable. In this case, 
  1306. delete the Printername.dta file; it will be re-created automatically. 
  1307.  
  1308. By default, paragraphs are printed with fixed left and right margins (FMT 
  1309. formatted files), or with a fixed left and a ragged right margin (WS 
  1310. unformatted files). 
  1311.  
  1312. The Wordstar commands .UJ and .OJ are also interpreted. However, you won't see 
  1313. justification in the editor. .FL (German 'flatter' = bouncing) and simply .BL 
  1314. (block) without parameters is also interpreted. 
  1315.  
  1316. Γûê 
  1317. Γûä Do not format double- and triple-spaced text (Wordstar .OJ ON). Only 
  1318. paragraphs of single-spaced text can be formatted. 
  1319.  
  1320.  
  1321. ΓòÉΓòÉΓòÉ 5.3.8. Auto indention ΓòÉΓòÉΓòÉ
  1322.  
  1323. .LM and .PM refer to the formatting process of WSformat. If you want to indent 
  1324. your text in a uniform way without reformatting in the editor by using '.TB' 
  1325. and Ctrl-B, you can use these two dot commands: 
  1326.  
  1327. .LM6 
  1328. left margin causes the text to begin in column 6; columns 1 through 5 will be 
  1329. occupied by soft spaces. 
  1330.  
  1331. .PM8 
  1332. paragraph margin is like the .LM command, but affects only the first line of 
  1333. each paragraph. In this case, the first line will be further indented. 
  1334.  
  1335. To turn off automatic indention, set the default values .LM0 and .PM0. 
  1336.  
  1337.  
  1338. ΓòÉΓòÉΓòÉ 5.4. Page formatting commands ΓòÉΓòÉΓòÉ
  1339.  
  1340.  
  1341. subchapters: 
  1342. New Page 
  1343. Page margins 
  1344. Header and Footer Lines, Page Numbering 
  1345. Odd and even pages 
  1346. Paper orientation 
  1347.  
  1348. next chapter: 
  1349. Embedding files 
  1350.  
  1351.  
  1352. ΓòÉΓòÉΓòÉ 5.4.1. New Page ΓòÉΓòÉΓòÉ
  1353.  
  1354. .PA 
  1355. forces the following text to the beginning a new page. 
  1356.  
  1357. .CP10 
  1358. conditional page keeps the following 10 lines together. If there is 
  1359. insufficient space on the page, a page break will be inserted at the location 
  1360. of the .CP command. 
  1361.  
  1362.  
  1363. ΓòÉΓòÉΓòÉ 5.4.2. Page margins ΓòÉΓòÉΓòÉ
  1364.  
  1365.  
  1366. The following page margin commands are available. A table showing these dot 
  1367. commands with their default values is available on WSformat Settings - Settings 
  1368. notebook, page page. 
  1369.  
  1370. .PL page length 
  1371. .MT margin top 
  1372. .MB margin bottom 
  1373. .PO page offset (=left paper margin) 
  1374. .RM right margin (=paragraph width) 
  1375.  
  1376. and, to define the separations between header/footer lines and text: 
  1377.  
  1378. .FM foot margin 
  1379. .HM head margin. 
  1380.  
  1381. The european A4 page size is 8.25" x 11.666" and the US Letter standard is 8.5" 
  1382. x 11". So .PL66 is the length of a US Letter page, while .PL70 is the length of 
  1383. an european A4 page. See page templates on settings notebook, page Layout. 
  1384.  
  1385.  
  1386. ΓòÉΓòÉΓòÉ 5.4.3. Header and Footer Lines, Page Numbering ΓòÉΓòÉΓòÉ
  1387.  
  1388. To get a header line which repeats on each subsequent page, enter (for example) 
  1389.  
  1390. .HE My document, 1st Edition 
  1391.  
  1392. You can place similar text at the bottom of the page (footer line): 
  1393.  
  1394. .FO My document, 1st Edition 
  1395.  
  1396. Γûê 
  1397. Γûä You may then designate a font by combining the .HE Header and .SF Select Font 
  1398. commands: 
  1399.  
  1400. .sfE 
  1401. .HE My document, 1st Edition 
  1402.  
  1403. or 
  1404.  
  1405. .HEsfE My document, 1st Edition 
  1406.  
  1407. which has no effect on the font selection of lines which follow. 
  1408.  
  1409. To center a header or footer line, use the printer command character ^PK. To 
  1410. justify text right, use the WSedit ^PZ command (equivalent to Wordstar ^P@). 
  1411.  
  1412. It is possible to define up to five Header or Footer lines: 
  1413.  
  1414. top of page 
  1415. .H1 
  1416. .H2 
  1417. .H3 
  1418. .H4 
  1419. .H5 = .HE 
  1420.  
  1421. .F1 = .FO 
  1422. .F2 
  1423. .F3 
  1424. .F4 
  1425. .F5 
  1426. end of page 
  1427.  
  1428. Note that these lines can appear only if the .MT and .MB values (margin top and 
  1429. margin bottom) have been assigned values which are high enough to allocate the 
  1430. necessary space. Use Preview to test whether or not the header and footer lines 
  1431. appear. 
  1432.  
  1433. Γûê 
  1434. Γûä You can set the vertical pitch (line spacing) of the header and footer lines, 
  1435. comparable to the .LH dot command. 
  1436.  
  1437. .HH Header Height 
  1438. .FH Footer Height 
  1439.  
  1440. The default value of these commands is 8 (= default Typewriter linespacing of 6 
  1441. lines per inch). 
  1442.  
  1443. Page numbering 
  1444.  
  1445. By default the page number in the footer line is centered: 
  1446.  
  1447. .FO ^PK # 
  1448.  
  1449. # will be replaced by the current page number when the document is printed. 
  1450.  
  1451. You can change this default setting by entering your own footer and header 
  1452. commands. 
  1453.  
  1454. .OP 
  1455. To turn off printing of page numbers, use omit pages. This command let the 
  1456. footer line get void. 
  1457. .PG (or .PN) 
  1458. turns printing page numbers on again. 
  1459.  
  1460. .PC30 
  1461. page column prints the page number at column 30 and is retained for Wordstar 
  1462. compatibility, but will often produce unpredictable results when proportional 
  1463. fonts are used. 
  1464.  
  1465. .PN15 
  1466. page number immediately advances the page counter to the value of 15. This is 
  1467. no good practice, because it may result in the same page number occuring twice 
  1468. in the same document. 
  1469.  
  1470.  
  1471. ΓòÉΓòÉΓòÉ 5.4.4. Odd and even pages ΓòÉΓòÉΓòÉ
  1472.  
  1473. Γûê 
  1474. Γûä By default, the page number value has no effect to WSformat printing. If you 
  1475. want to write a book, the left page is always even (2, 4, 6), and the right 
  1476. page is odd (1, 3, 5). (If you don't believe it, take any book from your 
  1477. bookcase and make a spot check!) 
  1478.  
  1479. .LR 
  1480. Left-right causes WSformat to print all header/footer lines of left (even 
  1481. numbered) pages left-justified and all header/footer lines of right (odd 
  1482. numbered) pages right-justified. 
  1483.  
  1484. You can treat right and left headers or footers separately: 
  1485.  
  1486. .HER My Header text on the right side 
  1487. .HEL My Header text on the left side 
  1488.  
  1489. This can be also combined with the footers and with several header/footer 
  1490. lines: 
  1491.  
  1492. .H4R My header text on the right side, line 1 
  1493. .H5R My header text on the right side, line 2 
  1494. .F1R My footer text on the right side, line 1 
  1495. .F2RsfE My footer text on the right side, line 2, Font E 
  1496.  
  1497. and so on. 
  1498.  
  1499.  
  1500. ΓòÉΓòÉΓòÉ 5.4.5. Paper orientation ΓòÉΓòÉΓòÉ
  1501.  
  1502.  
  1503. .LA (also '.PR or=l') 
  1504.  
  1505. turns the printer orientation to landscape; the paper width is set larger than 
  1506. the paper height. The default setting is portrait. The dot commands referring 
  1507. to the page format do not change automatically. You have to select the suitable 
  1508. page template on the Layout page of the settings notebook before formatting. 
  1509. The .LA command only refers to printing. 
  1510.  
  1511.  
  1512. ΓòÉΓòÉΓòÉ 5.5. Embedding files ΓòÉΓòÉΓòÉ
  1513.  
  1514. Embedding files 
  1515.  
  1516. .FI Filename 
  1517. File is a very powerful command. The contents of the file Filename are inserted 
  1518. at the position where the .FI command is located. This command is interpreted 
  1519. while formatting but not while printing. 
  1520.  
  1521. The file extension makes a great difference. 
  1522.  
  1523. .FI Filename.ws 
  1524. .FI Filename.fmt 
  1525.  
  1526. If the file extension is WS, WSformat interprets the file as an unformatted 
  1527. file and while formatting, full dot command interpretation and formatting are 
  1528. used. If the file extension is not WS, the contents of the file are simply 
  1529. copied to the formatted file. 
  1530.  
  1531. Save and Remember current formatting values 
  1532.  
  1533. When using the .FI embed file command, it can be useful to save and remember 
  1534. current values of dot command settings. 
  1535.  
  1536. .S:FONTS 
  1537. .R:FONTS 
  1538. saves and remembers all current font data (normal, alternate, bold, italic, 
  1539. bold-italic). 
  1540.  
  1541. .S:LINEHEIGHT 
  1542. .R:LINEHEIGHT 
  1543. saves and remembers the current state of the .LH command. 
  1544.  
  1545.  
  1546. ΓòÉΓòÉΓòÉ 6. Extended text commands ΓòÉΓòÉΓòÉ
  1547.  
  1548.  
  1549. The extended text commands provide extended word processing facilities; these 
  1550. are implemented in a WSformat specific way. For Wordstar DOS users, the 
  1551. information in this chapter will be completely new. 
  1552.  
  1553. subchapters: 
  1554. Embedding graphics 
  1555. Line drawing 
  1556. Chapters, headings, table of contents 
  1557. Footnotes, End Notes, Margin Notes 
  1558. Index 
  1559. Conditional statements 
  1560.  
  1561. next chapter: 
  1562. Dot command summary 
  1563.  
  1564.  
  1565. ΓòÉΓòÉΓòÉ 6.1. Embedding graphics ΓòÉΓòÉΓòÉ
  1566.  
  1567. A provision for embedding graphics was lacking in Wordstar DOS. In a graphical 
  1568. environment, it is no longer difficult to handle graphics; their support in 
  1569. WSformat is fully compatible with Hypermake syntax. 
  1570.  
  1571. The graphics commands only support Windows Bitmap (BMP) files. GIF and JPEG 
  1572. support is planned for a future version. 
  1573.  
  1574. WSformat offers two simple ways of embedding graphics. 
  1575.  
  1576. To embed a graphic in your document, simply enter 
  1577.  
  1578. .BM Filename.bmp 
  1579.  
  1580. The files are searched in all directories which are listed on the Program page 
  1581. of Settings - Settings notebook. 
  1582.  
  1583. The .BM command is interpreted both while formatting and while printing. While 
  1584. formatting, WSformat calculates the width and height of your graphic. The 
  1585. default behavior of WSformat is that the graphics file is stretched 
  1586. horizontally and vertically until the width matches the paragraph width 
  1587. (depending on the .RM command). The height of the graphic is calculated and 
  1588. WSformat enters empty lines into the FMT file: 
  1589.  
  1590. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 
  1591. (running text above the graphic) 
  1592. .CP7 
  1593.  
  1594. .BM Filename.bmp 
  1595. (running text below the graphic) 
  1596. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 
  1597.  
  1598. When previewing or printing, the graphics file is shown. 
  1599.  
  1600. If you want the width of the graphics width to be different from the paragraph 
  1601. width, you can modify the size of the graphic by entering 
  1602.  
  1603. .BW 80 
  1604.  
  1605. bitmap width before typing the .BM command. A value of 80 means that the width 
  1606. is 80% of the paragraph width. The graphic will be printed centered, with a 
  1607. margin of 10% on the left and 10% on the right side. The default value of .BW 
  1608. is 100. This command also influences formatting. The smaller this value, the 
  1609. fewer empty lines WSformat will insert. 
  1610.  
  1611. Bitmap text 
  1612.  
  1613. The .BM command is not appropriate if you want to embed a graphic in running 
  1614. text. Instead, use: 
  1615.  
  1616. .BTX Filename.bmp 
  1617.  
  1618. X represents a bitmap character, an arbitrary character which will not 
  1619. otherwise appear in the text. This character will be replaced in your text by 
  1620. the bitmap 'filename.' Note that bitmaps can be higher than characters, so you 
  1621. should select one that will not cause overprinting of characters on the line 
  1622. above. Block chars like Γûê (Alt-219), Γûä (Alt-220), ΓûÇ (Alt-223) are useful bitmap 
  1623. chars (DOS/IBM codepage). 
  1624.  
  1625. Text Bitmaps are already interpretated while formatting. WSformat treats such 
  1626. bitmaps as characters and calculates the width of the bitmap to let the right 
  1627. margin justified. 
  1628.  
  1629. The scale of the .BT graphics is 300 bits per inch, which means that a graphics 
  1630. file with a 300 pixel width gets a 1 inch (2,54 cm) width on your printout. You 
  1631. can change this value by entering: 
  1632.  
  1633. .GS 
  1634. graphics scale. Place this command above your .BT command. 
  1635.  
  1636. You are allowed to define up to 20 bitmap chars simultaneously. 
  1637.  
  1638. To deactivate a character-bitmap definition, enter: 
  1639.  
  1640. .BTX 
  1641.  
  1642. without specifying a filename. The actual character will then be printed, 
  1643. rather than the bitmap. 
  1644.  
  1645.  
  1646. ΓòÉΓòÉΓòÉ 6.2. Line drawing ΓòÉΓòÉΓòÉ
  1647.  
  1648. The IBM codepage contains some characters which represent lines instead of 
  1649. letters. You can use combinations of these characters to draw boxes. 
  1650.  
  1651. WSformat does not send line characters to the printer directly. Instead, it 
  1652. sends bitmap images of the characters to be printed. The main reason for doing 
  1653. this are that line drawing characters must be printed only at the default line 
  1654. height .LH8. To draw an unbroken vertical line, line drawing characters are 
  1655. converted to commands like 'draw a line from coordinate X to coordinate Y.' 
  1656.  
  1657. You are encouraged to use these line drawing characters in running text ΓöÇ e.g. 
  1658. as a dash (Alt-196, narrow lines) 
  1659.  
  1660.      or for lists (Alt-205, wide lines). 
  1661.  
  1662.  
  1663.  Characters which represent double lines are shown as wide lines in preview and 
  1664.  on printout. You can set the width of the narrow and wide lines in the 
  1665.  settings notebook, page Layout. 
  1666.  
  1667.  Block characters Γûê (Alt-219), Γûä (Alt-220), ΓûÇ (Alt-223) and - only 437 codepage 
  1668.  - Alt-221 and Alt-222 are also sent as bitmap graphics. Here as an example is 
  1669.  a large exclamation mark 
  1670.  Γûê 
  1671.  Γûä which is made by using such block characters. 
  1672.  
  1673.  Creating Boxes 
  1674.  
  1675.  As creating boxes is usually a tedious job, a dot command has been defined to 
  1676.  facilitate line drawing. The following example illustrates its use. 
  1677.  
  1678.  
  1679.    .LIXY
  1680.  
  1681.      X              X
  1682.  
  1683.         Operating systems
  1684.  
  1685.      Y         Y         X       X
  1686.         Novell     IBM        Hardware
  1687.      Y    Y              X       X
  1688.        DOS  Netware   OS/2
  1689.      X              X
  1690.    .LI
  1691.  
  1692.  The result will be: (view FMT file or make preview) 
  1693.  
  1694.  
  1695.  
  1696.  
  1697.         ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1698.         Γöé                           Γöé
  1699.         Γöé     Operating systems     Γöé
  1700.         Γöé                           Γöé
  1701.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1702.         Γöé      Novell     Γöé  IBM    Γöé      Γöé  Hardware  Γöé
  1703.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ      ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1704.         Γöé  DOS  Γöé Netware Γöé  OS/2   Γöé
  1705.         ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1706.  
  1707.  In the dot command .LIXYZ, X represents an arbitrary character marking the 
  1708.  corners of the box, Y a partition of the box. Z, placed in front of X or Y, 
  1709.  generates double lines (wide lines). A combination of single and double lines 
  1710.  requires the Codepage 437 selection (Page Layout in the settings notebook). 
  1711.  
  1712.  The Z char in the .LIXYZ command for producing double lines has to be a 
  1713.  ^P-character like ^PE or ^PR. When using the ^OD toggle in Wordstar DOS, you 
  1714.  can make the ^P-characters invisible to check the correct orientation of the 
  1715.  box. (In WSedit 0.9, this functionality is missing yet, so after entering a ^P 
  1716.  character, the X chars are no more in the same column.) 
  1717.  
  1718.  WSformat supports proportional fonts in line drawings. The .TS tab stretch 
  1719.  command is very important in this case. You can specify the width of your 
  1720.  boxes with the .TS command. If this produces overlapping columns, enlarge the 
  1721.  .TS command value (default is 60). 
  1722.  
  1723.  
  1724. ΓòÉΓòÉΓòÉ 6.3. Chapters, headings, table of contents ΓòÉΓòÉΓòÉ
  1725.  
  1726. WSedit, WSformat and Hypermake provide easy-to-use support for headings and 
  1727. tables of contents. 
  1728.  
  1729. subchapters: 
  1730. Heading commands in your source text 
  1731. Headings and WSedit 
  1732. Formatting a text with headings 
  1733. Non-decimal classification 
  1734. Writing out a table of contents file from your formatted file 
  1735.  
  1736. next chapter: 
  1737. Footnotes, End Notes, Margin Notes 
  1738.  
  1739.  
  1740. ΓòÉΓòÉΓòÉ 6.3.1. Heading commands in your source text ΓòÉΓòÉΓòÉ
  1741.  
  1742.  
  1743. You can arrange your text with heading levels, as you would in a technical 
  1744. document: 
  1745.  
  1746. first heading 
  1747.   first sub-heading 
  1748.   second sub-heading 
  1749.      first sub-sub-heading 
  1750.      second sub-sub-heading 
  1751.   third sub-heading 
  1752. second heading 
  1753.  
  1754. In the WSedit/WSformat/Hypermake format, the headings are designated in the 
  1755. following manner: 
  1756.  
  1757.  
  1758.  .1
  1759.  first heading
  1760.  
  1761.  .2
  1762.  first sub-heading
  1763.  
  1764.  .2
  1765.  second sub-heading
  1766.  
  1767.  .3
  1768.  first sub sub-heading
  1769.  
  1770.  .3
  1771.  second sub sub-heading
  1772.  
  1773.  .2
  1774.  third sub-heading
  1775.  
  1776.  .1
  1777.  second heading
  1778.  
  1779. On the line immediately following the dot command for the heading level, you 
  1780. enter the heading text. Heading text can be longer than one line, but must not 
  1781. extend beyond a single paragraph: a Hard Return marks the end of the heading. 
  1782.  
  1783. In your printout, your document is structured like this: 
  1784.  
  1785. 1. first heading 
  1786.    1.1 first sub heading 
  1787.    1.2 second sub heading 
  1788.      1.2.1 first sub sub heading 
  1789.      1.2.2 second sub sub heading 
  1790.    1.3 third sub heading 
  1791. 2. second heading 
  1792.  
  1793. WSformat handles up to 9 heading levels, but Hypermake is limited to only 6 
  1794. heading levels. WSformat also supports other conventions for enumerations 
  1795. (letters, roman numerals, as well as others). 
  1796.  
  1797.  
  1798. ΓòÉΓòÉΓòÉ 6.3.2. Headings and WSedit ΓòÉΓòÉΓòÉ
  1799.  
  1800.  
  1801. WSedit provides support for headings and tables of contents, expressed in 
  1802. WSformat / Hypermake syntax. 
  1803.  
  1804. First, headings are highlighted in green, if the heading checkbox is checked on 
  1805. the Highlt page of the WSedit settings notebook (press ^OO). 
  1806.  
  1807. Second, to help navigating in your unformatted text, WSedit has a contents 
  1808. window. ^OC opens the contents window. ^OI also opens the contents window and 
  1809. then jumps to the chapter where the text cursor is currently located. 
  1810.  
  1811.  
  1812. ΓòÉΓòÉΓòÉ 6.3.3. Formatting a text with headings ΓòÉΓòÉΓòÉ
  1813.  
  1814.  
  1815. When formatting a source text which contains heading commands, these commands 
  1816. are converted to commands for font selection, line spacing and page breaks. 
  1817. Previewing and printing the file will display headings in their final correct 
  1818. form. 
  1819.  
  1820. The way these dot commands are to be converted to other commands is defined in 
  1821. the headings template file. This file can be viewed by selecting settings - 
  1822. headings template in the WSformat main window. This shows the file HEADINGS.WS 
  1823. which is located in the directory where WSformat.exe resides. The file is 
  1824. self-explanatory. Instead of the word 'heading,' WSformat subsitutes the 
  1825. heading text you have specified. 
  1826.  
  1827. You are at liberty to modify this file. If you want to use other heading files, 
  1828. first make a copy of HEADINGS.WS and then modify the copy. Simply place your 
  1829. HEADINGS.WS file in the directory where your document files are located, or 
  1830. substitute another filename, e.g. MYHEADING.WS, and then include the dot 
  1831. command 
  1832.  
  1833. .HF MyHeading.ws 
  1834.  
  1835. heading file before entering the first .1 command. 
  1836.  
  1837. .P# 3.2.5 
  1838. sets the current content numbering. You have to enter decimal notation here. 
  1839. Use e.g. .P#5 at the beginning if you have got a separate document containing 
  1840. chapter 5 and 6. 
  1841.  
  1842.  
  1843. ΓòÉΓòÉΓòÉ 6.3.4. Non-decimal classification ΓòÉΓòÉΓòÉ
  1844.  
  1845.  
  1846. Some people prefer other ways of enumerating headings. Today, although decimal 
  1847. classification is a standard, WSformat also supports other forms of 
  1848. enumerations: 
  1849.  
  1850. 1.1 Decimal classification without last dot 
  1851. 1.1. Decimal classification with last dot 
  1852.  
  1853. I. Roman nnumerals (up to 38 = XXXVIII) 
  1854. A. Capital letters 
  1855. 1. Customary (arabic) numerals 
  1856. a. lowercase letters 
  1857. aa. double lowercase letters 
  1858. [alpha character]. Ancient greek characters (bu only those in codepage 437, 
  1859. Alpha = Alt-224, etc.) 
  1860.  
  1861. Instead of typing a dot behind the character, a right parenthesis ')'--is also 
  1862. possible, thus: 1) 
  1863.  
  1864. In the headings template file, you can define any or all of these styles of 
  1865. enumeration. 
  1866.  
  1867.  
  1868. ΓòÉΓòÉΓòÉ 6.3.5. Writing out a table of contents file from your formatted file ΓòÉΓòÉΓòÉ
  1869.  
  1870.  
  1871. After finishing your FMT formatted file and fixing all page breaks, WSformat 
  1872. helps you prepare a properly numbered table of contents. 
  1873.  
  1874. In the unformatted file enter, for example, something like: 
  1875.  
  1876.  
  1877.  .PA
  1878.  Contents of this document
  1879.  
  1880.  .ci7
  1881.  .. (later, place the table of contents file here)
  1882.  .PA
  1883.  .PA
  1884.  
  1885. There are two aspects to consider: 
  1886.  
  1887. .CI 
  1888. contents indention sets the tab stops while formatting the table of contents 
  1889. file, comparable to the Wordstar/WSedit .TB command. The value has to be the 
  1890. maximum number of characters of your deepest heading enumeration plus 2. E. g. 
  1891. if you have selected decimal classification and use headings up to level 3, the 
  1892. width of the heading enumeration does not exceed 5: 
  1893.  
  1894.  
  1895. 123456789
  1896. 1.1.1 TextTextText
  1897.  
  1898. In this case, a .CI value of 7 or more fits your purpose. 
  1899.  
  1900. The other aspect to consider is how many pages the table of contents will 
  1901. occupy. Because the table is printed before the running text begins, the length 
  1902. of the table influences the page numbering of your document. You will therefore 
  1903. have to estimate the length of the table (in pages) and then enter several .PA 
  1904. page break commands, so the first page of your running text will get the final 
  1905. page number after inserting the contents. If your first trial fails, edit the 
  1906. FMT file and enlarge or reduce the number of .PA commands. Please remember that 
  1907. you have to enter at least one empty line between two .PA commands. 
  1908.  
  1909. After inserting the .CI command and .PA page breaks as described above, do the 
  1910. following to embed a table of contents file in your formatted file: 
  1911.  
  1912.      Select Make - Content in the WSformat main window. The extension of the 
  1913.       contents file is TOC. 
  1914.      Now open the formatted file which has remained unchanged while executing 
  1915.       Make - Content. 
  1916.      Remember the page number of the first page of your running text. 
  1917.      Delete the .PA commands you have inserted previously. 
  1918.      Copy the contents of the TOC file to the location you previously 
  1919.       allocated. 
  1920.      Locate the first page of your running text again and see what page number 
  1921.       WSformat has assigned to it. If the number has changed, leave the 
  1922.       formatted file without saving any changes, re-open it, delete or insert a 
  1923.       .PA command, and repeat the procedure. 
  1924.  
  1925.  
  1926.  From a technical point of view, the Make - Content function operates 
  1927.  independently of the headings function, explained above. It does only 
  1928.  interpret formatted files which no longer contain any heading commands. So you 
  1929.  can also use Make - Content if you have entered your headings manually. 
  1930.  WSformat takes a careful look to the beginning of each paragraph of your 
  1931.  formatted file and decides whether or not to copy this file into the table of 
  1932.  contents file. If there is any uncertainty, the line is nevertheless copied to 
  1933.  the table of contents file. It is always advisable to take a close look at the 
  1934.  table of contents file and delete any lines which are not headings. 
  1935.  
  1936.  The criteria are: after reading spaces and printer characters at the beginning 
  1937.  of a paragraph, the first acceptable characters have to be 
  1938.  
  1939.      one or two normal (arabic) digits or latin numberals up to XXXVIII, 
  1940.       followed by a dot or a close-parenthesis ')' 
  1941.      one or two upper- or lower-case letters, followed by a close-parenthesis 
  1942.       ')' 
  1943.      a single captial letter, followed by a dot. 
  1944.  
  1945.  
  1946.  Unrecognized         Recognized 
  1947.  123.             12. 
  1948.  345)             34) 
  1949.  7               7. 
  1950.  IL.              XXXVIII. 
  1951.  IV              IV) 
  1952.  B               B. 
  1953.  ab.              ab) 
  1954.  aac)             ac) 
  1955.  
  1956.  Because a TAF file (text and footnotes) will usually contain many paragraphs 
  1957.  beginning with a number followed by ')' - the footnote paragraphs - all lines 
  1958.  in TAF files with a number and ')' are not copied to the Table of Contents 
  1959.  file. 
  1960.  
  1961.  In the settings notebook, page index, you can specify whether to write page 
  1962.  numbers or not, and whether or not to highlight main headings in boldface. In 
  1963.  any case, an empty line is inserted before writing a main heading. The first 
  1964.  heading type which occurs in the formatted file will be considered the 'main 
  1965.  heading.' This can differ from the .1 command in the unformatted file. 
  1966.  
  1967.  
  1968. ΓòÉΓòÉΓòÉ 6.4. Footnotes, End Notes, Margin Notes ΓòÉΓòÉΓòÉ
  1969.  
  1970. WSformat supports footnotes in an easy and uncomplicated way. 
  1971.  
  1972. If you prepare a file using Wordstar DOS 5-7, load such a file with footnotes 
  1973. or end notes into WSedit, and then save the file, these notes are converted to 
  1974. WSformat and Hypermake format. 
  1975.  
  1976. Because WSedit and WSformat does not support multi-column text, there is a 
  1977. special implementation for creating margin notes. Margin notes are very short 
  1978. text (e.g. 3 or 5 characters long) which appear in the left margin area. 
  1979.  
  1980. subchapters: 
  1981. Writing footnotes or end notes in your unformatted file 
  1982. Handling end notes 
  1983. Getting real footnotes 
  1984. Margin Notes 
  1985.  
  1986. next chapter: 
  1987. Index 
  1988.  
  1989.  
  1990. ΓòÉΓòÉΓòÉ 6.4.1. Writing footnotes or end notes in your unformatted file ΓòÉΓòÉΓòÉ
  1991.  
  1992. Generating Footnotes or end notes with Hypermake is very simple. For example, 
  1993. footnote text can be quoted in brackets like [This will be the content of the 
  1994. footnote] after entering the dot command footnote usage: 
  1995.  
  1996.  
  1997.  .FU[]
  1998.  
  1999. Other useful footnote bracket pairs are { }, < > or Γûä (Alt-220) ΓûÇ (Alt-223). 
  2000. In WSedit, you can highlight these specific characters (^OO settings notebook, 
  2001. hightlt page, entryfield spec. chars). 
  2002.  
  2003. You can add a font selection to the footnote dot command: 
  2004.  
  2005.  
  2006.  .FU[]sfB
  2007.  
  2008. This will select font B for your footnotes or end notes. 
  2009.  
  2010. To select a line height for your footnotes or end notes, add LH followed by 
  2011. your preferred value: 
  2012.  
  2013.  
  2014.  .FU[]sfXlh7
  2015.  
  2016. The order of SF and LH makes no difference. 
  2017.  
  2018. While formatting, WSformat creates 
  2019.  
  2020. Γûá an FMT file where the notes text has disappeared and instead a footnote link 
  2021. appears 
  2022. Γûá an FUN file (.FU Notes file) which contains the text for all notes. 
  2023.  
  2024. You can modify the appearance of your footnote links in the settings notebook, 
  2025. page notes. 
  2026.  
  2027.  
  2028. ΓòÉΓòÉΓòÉ 6.4.2. Handling end notes ΓòÉΓòÉΓòÉ
  2029.  
  2030.  
  2031. To embed the .FU notes file at the end of your document, you can manually copy 
  2032. the FUN file to the end of the FMT file, or you leave this job to WSformat: 
  2033.  
  2034. .FI *.FUN 
  2035.  
  2036. Place this command exactly as it appears above (type the '*' sign, not the 
  2037. filename) at the end of your unformatted file. This will cause the contents of 
  2038. the FUN file to appear in the FMT file. You cannot enter additional notes text 
  2039. in your running text after typing this .FI command. 
  2040.  
  2041.  
  2042. ΓòÉΓòÉΓòÉ 6.4.3. Getting real footnotes ΓòÉΓòÉΓòÉ
  2043.  
  2044.  
  2045. Up to yet, you have only a separate file containing the text of your footnotes. 
  2046.  
  2047. Make - Text and Footnote merges an FMT (formatted text) with an FUN file (notes 
  2048. text) file. The result is a TAF file which combines Text and Footnotes. 
  2049.  
  2050. When merging text and footnotes together, WSformat has to make page breaks by 
  2051. itself. There is no way anymore to optimize the page break by hand in the 
  2052. formatted file. 
  2053.  
  2054. In the notes page of the settings notebook, you can define that e.g. the 2 
  2055. first and the 2 last lines of a paragraph are always hold together. This omits 
  2056. a result where the first or the last line of a paragraphs rests alone on a 
  2057. page. 
  2058.  
  2059. However, this function is not adequate to produce proper page breaks. You 
  2060. frequently have to use the .PA page break and especially .CP conditional page 
  2061. break. All tables, enumerations and so on have to be prefixed by .CP commands 
  2062. to omit page breaks. The more .CP commands you use in your unformatted file, 
  2063. the fewer formatting runs you need to produce a satisfactory final TAF file. 
  2064.  
  2065. WSformat inserts the page breaks in the TAF file one line ahead of where they 
  2066. are necessary. You are therefore both permitted and encouraged to make minor 
  2067. changes in your TAF file by moving the last line on a page of your running text 
  2068. (Wordstar DOS and WSedit ^Y and ^U) to the beginning of the next page, or to do 
  2069. the converse. 
  2070.  
  2071.  
  2072. ΓòÉΓòÉΓòÉ 6.4.4. Margin Notes ΓòÉΓòÉΓòÉ
  2073.  
  2074.  
  2075. Margin notes are short notes which occur in the indented left margin of the 
  2076. formatted file. When insertion of margin notes is activated, all formatted text 
  2077. will be indented. The usage is similar to the footnote / end note command of 
  2078. WSformat. 
  2079.  
  2080. Instead of .FU, you enter .MN margin notes (or .BV German "Blattverweise"). 
  2081.  
  2082. .MN<>3 
  2083. Here is an example of a margin note, as it would occur in the indented left 
  2084. margin of your text. To insert such a note, you would mark<007> this line. 
  2085.  
  2086. To see what the result would be, take a look at the FMT file! 
  2087.  
  2088. This is a sample for a margin note. Margin notes occur in the left indention 
  2089. area of your text. Now I mark<007> this line. 
  2090.  
  2091. The characters < and > bracket the text of a margin note. '5' sets the maximum 
  2092. length of margin notes (in number of characters) to 3. That means that the 
  2093. space allocated for the margin is sufficient to accommodate when printing 
  2094. margin notes with a length of 3 characters: the first character of the 
  2095. paragraph appears in column 5, and the number of soft spaces which are inserted 
  2096. is 4. 
  2097.  
  2098. In the settings notebook, page Notes you can set a default value for the length 
  2099. of margin notes. A numeric value in the .MN command overrides this default 
  2100. value. 
  2101.  
  2102. When using margin notes, the paragraph width is increased, while the right 
  2103. margin gets less. 
  2104.  
  2105. If you want to specify a font attribute (bold, italic) for your margin notes, 
  2106. you can extend the .MN command by entering ^P, followed by the appropriate 
  2107. Printer command character: 
  2108.  
  2109. .MN<>3^Y^Y 
  2110. sets the margin notes' font attribute to italic. 
  2111.  
  2112. .MN 
  2113. without parameters turns off the margin notes function. 
  2114.  
  2115. Margin notes and error messages 
  2116.  
  2117. It is not possible to print two margin notes on one line. Another limitation is 
  2118. that the length of the margin notes may not exceed the numeric value entered in 
  2119. the .MN command, because the space in the margin would be insufficient to 
  2120. accommodate it. 
  2121.  
  2122.  
  2123. ΓòÉΓòÉΓòÉ 6.5. Index ΓòÉΓòÉΓòÉ
  2124.  
  2125.  
  2126. In the next version of WSformat I will explain the Index function and make some 
  2127. changes to the WSformat code that relates to handling the index. The index 
  2128. commands in your source text are identical to the Hypermake syntax. The .IN and 
  2129. .IT commands in this document refer to this function, but it is also possible 
  2130. to mark words or expressions in running text (not used in this document). 
  2131.  
  2132.  
  2133. ΓòÉΓòÉΓòÉ 6.6. Conditional statements ΓòÉΓòÉΓòÉ
  2134.  
  2135. With conditional statements, you can create slightly different variations of 
  2136. the FMT files, derived from the same source text. If you insert these commands 
  2137. in the FMT file manually, these commands will not be interpreted during 
  2138. previewing and printing, because only the format function recognizes these 
  2139. commands. 
  2140.  
  2141. There are three dot commands: 
  2142.  
  2143.  
  2144.  .IF CONDITION
  2145.  .ELSE
  2146.  .END
  2147.  
  2148. The condition statements are not case-sensitive. Note that The ELSE command 
  2149. need not be included. 
  2150.  
  2151. This means text between these commands is interpreted only if the condition is 
  2152. set (is true). They are set in the WSformat main window, if entry field. You 
  2153. may enter more than one condition, which must be separated by spaces. 
  2154.  
  2155. The condition WSFORMAT is always set. Use this condition to distinguish text 
  2156. designated for Hypermake or for WSformat. The OS/2 version of WSformat also 
  2157. sets the condition OS2. 
  2158.  
  2159. WSformat also supports the following expressions: 
  2160.  
  2161.  
  2162.  .IF NOT COND
  2163.  .IF COND1 AND COND2
  2164.  .IF COND1 OR COND2
  2165.  
  2166. I regret that more sophisticated if-conditions grouped with parentheses are not 
  2167. supported. 
  2168.  
  2169. The Wordstar command .EI end if can be used instead of the .END command. 
  2170.  
  2171.  
  2172. ΓòÉΓòÉΓòÉ 7. Dot command summary ΓòÉΓòÉΓòÉ
  2173.  
  2174.  
  2175. This chapter will be available for the next version. 
  2176.  
  2177.  
  2178. ΓòÉΓòÉΓòÉ 8. FAQ ΓòÉΓòÉΓòÉ
  2179.  
  2180. I will place questions I get from you here. 
  2181.  
  2182.  
  2183. ΓòÉΓòÉΓòÉ 9. About ΓòÉΓòÉΓòÉ
  2184.  
  2185.  
  2186. subchapters: 
  2187. Registration 
  2188. Disclaimer 
  2189. Author 
  2190. Versions and future plans 
  2191. History 
  2192. Bug report 
  2193. Download Location 
  2194. Trademarks 
  2195. Other progs 
  2196.  
  2197.  
  2198. ΓòÉΓòÉΓòÉ 9.1. Registration ΓòÉΓòÉΓòÉ
  2199.  
  2200. WSformat is Shareware, but this refers only to the formatting function. If you 
  2201. format documents often, you are asked to register. You are allowed to send 
  2202. WSformat to friends or to a publishing house for printing your formatted 
  2203. document. The registration key rests on your computer. WSedit is Freeware. 
  2204.  
  2205. The normal registration fee is 120 Dollar or 120 EUR. The student registration 
  2206. fee is only 30$ or 30 EUR. 
  2207.  
  2208. The key is valid for all 1.X versions and for all supported operating systems. 
  2209.  
  2210. When ordering more than one licenses, you will get a 40% discount for every 
  2211. additional license (non-student licenses). 
  2212.  
  2213. You can register this software by sending a Mail to BMT Micro, see 
  2214. BMTORDER.TXT. If you want to get the student price, please send a copy of your 
  2215. Student ID to BMT Micro. 
  2216.  
  2217. If you contact BMT Micro, I will get informed by E-Mail. Then I send you the 
  2218. registration key. This process takes 1-2 days. 
  2219.  
  2220. If you have got a bank account in an Euro country, you can transfer the money 
  2221. to my bank account in Germany Dresdner Bank Ottobrunn, german bank code 700 800 
  2222. 00, account Nr. 075 64 62 400. In this case send me your Student ID via postal 
  2223. mail or fia FAX to Germany. 
  2224.  
  2225.  
  2226. ΓòÉΓòÉΓòÉ 9.2. Disclaimer ΓòÉΓòÉΓòÉ
  2227.  
  2228.  
  2229. WSformat is provided as is and comes with no warranty of any kind, either 
  2230. expressed or implied. In no event will the author be liable for any damages 
  2231. resulting from the use of this software. 
  2232.  
  2233.  
  2234. ΓòÉΓòÉΓòÉ 9.3. Author ΓòÉΓòÉΓòÉ
  2235.  
  2236. Martin Vieregg, 37. I've studied economics. My main job is working in my own 
  2237. consulting company. Our special subject is public transport, especially 
  2238. railways and airports. The title of my doctoral (PhD) thesis was 'increasing 
  2239. efficiency of railway long-distance passenger traffic'. 
  2240.  
  2241. E-Mail address: Martin@vr-transport.de 
  2242.  
  2243. Homepage of my Freeware- and Shareware programs: 
  2244.  
  2245. http://www.hypermake.com 
  2246.  
  2247. Postal Address: 
  2248.  
  2249. Dr. Martin Vieregg 
  2250. Emdenstr. 11 
  2251. D-81735 Munich 
  2252. (Germany) 
  2253.  
  2254. Fax Number: 0049-89-26023656 
  2255.  
  2256.  
  2257. ΓòÉΓòÉΓòÉ 9.4. Versions and future plans ΓòÉΓòÉΓòÉ
  2258.  
  2259. WSformat 0.81 
  2260.  
  2261. The first published version of WSformat. While the planned WSformat 
  2262. functionality is not implemented completely, I will use version number 0.8X. 
  2263. 0.9X will be the beta-test version numbers. 
  2264.  
  2265. If you have bug reports and ideas for new functionality, please E-Mail me! 
  2266.  
  2267. Future versions 
  2268.  
  2269. There are a lot of things to to in the next month. 
  2270.  
  2271. Jobs I plan for the next weeks: 
  2272.  
  2273.      Index functionality (documentation and modifications) 
  2274.      Dot command summary in documentation 
  2275.      faster preview on big documents when browsing a document back 
  2276.      more graphics file formats (GIF and JPG). 
  2277.      multi-colum support for preview and printing 
  2278.  
  2279.  
  2280.  Up to version 1.0, I will improve help functionality and write sophisticated 
  2281.  communication between WSedit and WSformat (e.g. jump from Preview back to FMT 
  2282.  or WS file and search the same location) or bubble help of dot command syntax 
  2283.  in the WSedit window, based on WSformat data. Because these changes also 
  2284.  affects WSedit, I will also publish new WSedit versions. 
  2285.  
  2286.  Perhaps I will publish a smaller Freeware EXE version with print functionality 
  2287.  only (WS-Print). 
  2288.  
  2289.  After publishing WSformat, 1.0, I want to publish a Linux version and 
  2290.  translate WSformat into German. To translate WSformat to other languages, I 
  2291.  need help from native speakers. Please contact me if you are interested in 
  2292.  such an effort - you will receive a donation for your work. 
  2293.  
  2294.  For Hypermake, I have written RTF import and export. If there are enough 
  2295.  WSformat registrations, I will implement RTF export (two algorithms, one for 
  2296.  unformatted files and one for formatted files) if you think it will be 
  2297.  necessary. 
  2298.  
  2299.  Last but not least, I'm thinking about a substitute format for the WS file 
  2300.  format. Hypermake already interpretes ANSI text with dot commands, and for 
  2301.  WSedit and WSformat I plan this, too. But the concrete format definition has 
  2302.  to be considered very well. Perhaps I only implement this option for 
  2303.  unformatted files, and not for formatted files. 
  2304.  
  2305.  
  2306. ΓòÉΓòÉΓòÉ 9.5. History ΓòÉΓòÉΓòÉ
  2307.  
  2308. In the late 80's, I published a Worstar DOS extension program 'StarExtender' in 
  2309. german language which had hyphenation, footnote, Line drawing, index and 
  2310. proportional printing support. WSformat is based on this program which is 
  2311. very-well tested for a lot of years. This is the reason that the basic format 
  2312. functionality works very well even WSformat is beta state software. Because the 
  2313. formatting and printing kernel is optimized for old computers from the 80's, 
  2314. today WSformat is extremely fast. 
  2315.  
  2316.  
  2317. ΓòÉΓòÉΓòÉ 9.6. Bug report ΓòÉΓòÉΓòÉ
  2318.  
  2319. Here I will place bug reports. 
  2320.  
  2321.  
  2322. ΓòÉΓòÉΓòÉ 9.7. Download Location ΓòÉΓòÉΓòÉ
  2323.  
  2324.  
  2325. An easy way for uploading is my Homepage 
  2326.  
  2327. http://www.hypermake.com 
  2328.  
  2329. In the Internet, the versions for all platforms are available on 
  2330. ftp://ftp.bmtmicro.com/bmtmicro/ 
  2331.  
  2332. Filenames: 
  2333. OS/2-eCS version: wsf-os2.zip 
  2334. Win95/98/ME/NT/Win2000/XP version: wsf-win.zip 
  2335.  
  2336. Archive file names with version number (e.g. wsf-100.zip) are usually the 
  2337. Windows version. 
  2338.  
  2339.  
  2340. ΓòÉΓòÉΓòÉ 9.8. Trademarks ΓòÉΓòÉΓòÉ
  2341.  
  2342.  
  2343. IBM and OS/2 is a registered trademark of International Business Machines Corp. 
  2344. WordStar is a trademark of The Learning Company. 
  2345. Windows is a trademark of Microsoft. 
  2346.  
  2347.  
  2348. ΓòÉΓòÉΓòÉ 9.9. Other progs ΓòÉΓòÉΓòÉ
  2349.  
  2350.  
  2351. Other programs I have written, both Windows 95/98/ME/NT/2000/XP and OS/2 (Linux 
  2352. versions for some programs are planned) 
  2353.  
  2354. Hypermake: 
  2355. A Hypertext compiler which creates HTML files, Winhelp MS HTML-Help and OS/2 
  2356. Help from WSformat source files. The WSformat help file is created from this 
  2357. docu by Hypermake. Automatic linking, window arrangement, helptables, 
  2358. footnotes, tables and other features. Shareware if source file > 20 kB. 
  2359.  
  2360. WSedit: 
  2361. Wordstar (DOS)-compaitble editor: Reading and writing Wordstar (DOS) files, 
  2362. ASCII IBM and ISO codepage. Supports Wordstar Ctrl key commands and CUA 
  2363. commands. Syntax-highlightning, Translation, spell checking, function key macro 
  2364. recorder and a lot of other features. WSedit handles very large ASCII files. 
  2365. Freeware. 
  2366.  
  2367. pmCalc: a "pocket" calculator automatic clipboard functionality, programmers 
  2368. and scientific functions, Regression. There's a separate input and output 
  2369. field, the formula you type rests in the input field. (Shareware) 
  2370.  
  2371. TinyAlarm: 
  2372. A simple countdown with a slider from 1 to 60, an alarm by entering alarm time 
  2373. and a chime. System shutdown. Freeware. 
  2374.  
  2375. cd-shortcut: 
  2376. instead of whole directory names you enter only substrings. Searching through 
  2377. several drives and opening OS/2 WPS folders. Freeware. 
  2378.  
  2379. Simple Zipshell: 
  2380. Packing and unpacking ZIP files by using the graphical desktop. Freeware. 
  2381.  
  2382. Clear: 
  2383. (only OS/2) Uses also Info-Zip and let you backup your data e.g. on floppies. 
  2384. You can enter filenames like *.BAK which are not copied, directories which are 
  2385. skipped. Then you can enter filenames with a specific age which are deleted. 
  2386. Freeware. 
  2387.  
  2388. For more information, screenshots and downloads, visit my Homepage 
  2389.  
  2390. http://www.hypermake.com 
  2391.  
  2392. end of document 
  2393.