home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / txt2html.zip / test.txt < prev    next >
Text File  |  1998-09-21  |  2KB  |  103 lines

  1. Welcome to txt2html test
  2.  
  3. You can create HTML text from ordinary text file!
  4.  
  5. new paragraph separated by 
  6. empty string
  7.  
  8. Special character & " < > are automatically converted. If 850 code page is
  9. used special characters like ä converting to HTML notation.
  10.  
  11. (first string is considered as the header and the title of document)
  12.  
  13.  
  14.  
  15. two empty lines is header H2
  16.  
  17. definition list consists from lines, starting 
  18. from sign '-', '[' or numbers.
  19. -line 
  20. first
  21. -line 
  22. second
  23. -line
  24. third
  25.  
  26. or like this (as separate paragraphs):
  27.  
  28. 1. line
  29. first
  30.  
  31. 2. line
  32. second
  33.  
  34. However, a single string, starting with - inside paragraph
  35. - doesn't considered
  36. as a list!
  37.  
  38. paragraph with huge spaces or tabulation are considered as 
  39. preformatted text.
  40.               column1          column2
  41.               column1          column2
  42.               column1          column2
  43.  
  44.     However, paragraph started with tabulation,
  45. is considered as ordinary text.
  46.  
  47. Paragraph with preformatted test with columns is converted to
  48. table.
  49.  
  50.           cell11  cell12  cell13  cell14  cell15
  51.           cell21  cell22  cell23  cell24  cell25
  52.           cell31  cell32  cell33  cell34  cell35
  53.           cell41  cell42  cell43  cell44  cell45
  54.          
  55.  
  56.  
  57.            a1   a2 & b2         a3
  58.            a4   mail@me.please! a5
  59.  
  60. Note, that a table must have a lot of spaces, or tabs and two tables
  61. must be separated by at least two lines.
  62.  
  63. Take care: preformatted text with some pseudo column also
  64. is considered as table:
  65.  
  66.  
  67.                  more    example
  68.         please,  look at this!    
  69.  
  70.                     short line in center
  71.  
  72. look at horizontal rules:
  73.  
  74. short:
  75. ----------------
  76.  
  77. wide:
  78. ********************************
  79.  
  80.  
  81.  
  82. And now - URLs
  83.  
  84. You can simply type URL in your text:
  85. http://hobbes.nmsu.edu, www.leo.org, ftp.leo.org,
  86. president@whitehouse.gov, myfile.html etc.
  87.  
  88. Extra point will be excluded from URL: www.w3.org. 
  89.  
  90. Words which are looking as 'broken' URL 
  91. (such as ftp. , xhttp: , @ ) are not considered as hyperlinks.
  92.  
  93. Also you can include images into HTML by typing
  94. image file name: /icons/img.jpg (this file is not exist) or
  95. txt2html.gif (this file is exist). Note that extra attributes
  96. for IMG tag (HEIGHT, WIDTH) will added for latter file.
  97.  
  98.    New version of the program you may find at 
  99.    http://wgc.chem.pu.ru/personal/valera/mypub/
  100.  
  101.    Any comments, bugs, suggestions  send to Valera Veryazov :  
  102.    valera@wgc.chem.pu.ru 
  103.