This is a text file used to demonstrate the ability of AscToRTF to convert text into good-looking RTF. Each section will have it's heading recognised, and the contents of each section are correctly handled. The file created uses RTF "Styles" to identify the text. As a result of this all headings that are detected can be included in a generated contents list field. By adding the following line to the text file, the program's pre-processor will add a contents list field will be added, which if you press F9 in word will reveal the contents of the document. $_$_CONTENTS_LIST The pre-processor also supports many other features, for example a GOTO tag can be turned into a hyperlink to a named section like this - see the section called "[[GOTO hyperlinks]]" Tables ====== The following table is automatically detected by the software. The column structure is correctly detected, and the table heading is spotted and placed in bold. The column widths are then set to the correct size for the text, in the chosen font. Shot Fire Damage vs. Armor Weapon Type Range Rate None Wood Light Heavy -------------------------------------------------- Colt 45 HP 5.75 180 50 2 2 2 AA Gun AP 6 90 -- -- 18 25 Vulcan SA 5 22 40 20 24 10 Maverick AP 6 300 15 37 37 50 Fireball Fire 4 18 112 125 75 31 Code ==== The following is a small software sample. This is detected by the software and then output in a non-proportional font that preserves the layout. int i; if (ppBuffer != NULL) { for (i = 0; i