¢ OHAUG MACRO FOR TEXTPRO¢ ¢ The Ol' Hackers Newsletter on disk has¢ files formatted in 38 columns for¢ convenience of reading on screen. It¢ also has an excellent utility to print¢ articles in two columns. I wrote a¢ TextPro macro to reformat OHAUG¢ articles for printing with any format¢ you like, using TextPro. This is what¢ it does:¢ ¢ 1. It removes one-space left margin;¢ 2. It removes carriage returns from¢ each line, but retains double c/r at¢ the end of each paragraph;¢ 3. It removes excess spaces between¢ words that were used for right margin¢ justification.¢ ¢ Reformatted files will be about 10%¢ smaller than originals due to removal¢ of unwanted spaces.¢ ¢ ¢ HOW TO USE OHAUG.MAX¢ ¢ Load TextPro (preferably v.5.20) and¢ load the desired text file from OHAUG¢ disk into the editor.¢ Load OHAUG.MAX using START and typing¢ OHAUG [Return]. Or use CTRL_V and type¢ OHAUG.MAX [Return].¢ Execute macro with START key. When¢ macro is finished it leaves a message¢ on the status line:¢ ¢ "Reformat complete. START to repeat."¢ ¢ You may save the reformatted file to¢ another disk, load a different file¢ and press START again to reformat the¢ new text file. Or press HELP (or¢ OPTION_/ with Atari 800) to reload¢ TEXTPRO.MAX into your macro buffer.¢ ¢ CAUTION: This macro may not be¢ desirable for certain text files that¢ use formats such as the meeting dates,¢ which are structured for 40-column¢ format only.¢ ¢ PRINTING RE-FORMATTED FILES:¢ ¢ To print the reformatted files, you¢ insert your own format commands on top¢ line for margins, page numbering,¢ printer fonts, and whatever else you¢ like. You may print re-formatted files¢ with ANY word processor, not just¢ TextPro.¢ ¢ ¢ REVERSING THE PROCEDURE:¢ ¢ To convert any unformatted (or¢ re-formmated) text file into OHAUG¢ newsletter format, simply insert the¢ following TextPro format line at the¢ top of the editor:¢ ¢ <l>1<r>39<t>0<b>255<q>1<x>40¢ ¢ NOTE: <brackets> indicate INVERSE.¢ ¢ Use CTRL_P to print the file to disk¢ using Dn:filename.ext in the status¢ line in place of the default P:. If¢ the article is longer than 255 lines,¢ load the disk file into the editor and¢ remove blank lines (c/r) between¢ 255-line pages, if necessary. You¢ might want to use this to print a text¢ file in two-column format using the¢ OHAUG disk printer utility.¢ ¢ That's all there is to it.¢ ¢ ¢ Frank Walters¢ T.A.C.O. Bell BBS¢ 02/10/97¢ ¢ * * *¢¢