Home » Personal collection » Acorn ADFS disks » Electron » EUG_submission_3.ADF » ViewMacros/text

ViewMacros/text

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron » EUG_submission_3.ADF
Filename: ViewMacros/text
Read OK:
File size: 10B2 bytes
Load address: 74206576
Exec address: D747865
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
�.........*.......*.......*.......*.......*.......*.......*.......*.......*.<
In answer to Micheal Harris's letter regarding View macros in EUG20:
       The reason why the page was not ejected after printing each letter,
was that you included a "PE Off" stored command at the start of your
document. This disables not only automatic page breaks, but also the PE
command. If this is removed, your macro should work OK. 
       I have also used macros in View, but have found one major drawback:
The text is formatted using the "@0", "@1", etc. labels, not the real
words that they represent. This means that the text is often shunted off
the right-hand side of the page when a short label (e.g @0) is replaced by
a long phrase (e.g. Saturday 29th July 1995). This is not generally a
problem when you are only varying the address at the top of the letter (as
in Michael Harris's example), but can render the macro facility useless if
they are used to vary the body of the letter. I have developed a rather
long-winded way of getting around this, which I shall now describe.
       First, you should prepare your standard letter as described in the
user manual, with justify mode OFF. You should include a "PB Off" command
at the start of the document (not inside the macro itself). This is
contrary to what I said earlier, but is essential for this method to work
properly.
       Any stored commands within the macro itself (not the DM and EM
commands) should be replaced with the | symbol followed by the two letters
of the command. For example if you want a CE stored command, you should
type |CE at the start of the line where it is needed, but not in the
stored command margin (I will explain this in a moment). Highlight
characters (obtained by pressing FUNC-H or FUNC-J) can be used as usual if
you have a printer driver. At the end of the macro, just before the EM
command, you should include the line |PE, representing a Page Eject
command.
       Next, you must insert the characters |LJ in front of any line that
would be messed up by formatting. This is basically any line which does
NOT start with a space or Tab, and which is NOT part of a paragraph of
text. This usually includes the "Dear Mr. Bloggs" line at the start of a
letter.       
       Now return to command mode, and SAVE your document. Then type:       
                *SPOOL temp
                SCREEN
                *SPOOL
holding down Shift to scroll the text up.
       This text file must now be converted back into a View file so that
it can be be formatted properly. I have written a program to perform this
task, which is included on this disc together with its source code. The
program is called CONVERT, and can be executed from View or BASIC, by the
command *CONVERT. Type this command, and enter the filename of the text
file you wish to convert ("temp" in this case), followed by a filename for
the output file. You may need a lot of disc space for this operation. When
the program has finished converting the file, you may delete the file
"temp" (but not your original document).
       Now load your output file into View, and go into text mode. You
will find that all of your | characters have been turned into stored
commands. Set the ruler as necessary (use FUNC-, to display the default
ruler if necessary), and also switch justify mode on if you want your text
justified. Set the page length, top margin, header margin, header text,
etc. using stored commands as usual. Go back to command mode and FORMAT
the document. Check that this has not messed up any part of the document
(if it has, you may need to go back to your original macro file and add
some more |LJ commands).
       Finally, load a printer driver if necessary, and print the
document.
       This may seem a rather long-winded method, but I cannot see any
other way to format the documents properly. You can probably print the
macros directly if all of the entries for each parameter are about the
same length - just shorten the ends of the lines, and view the document
using the SCREEN command until the lines are about the same length.
Justifying is, I think, impossible without following the long approach.
Can anyone think of a better way?
                                                   Matthew Ford
00000000  81 2e 2e 2e 2e 2e 2e 2e  2e 2e 2a 2e 2e 2e 2e 2e  |..........*.....|
00000010  2e 2e 2a 2e 2e 2e 2e 2e  2e 2e 2a 2e 2e 2e 2e 2e  |..*.......*.....|
*
00000040  2e 2e 2a 2e 2e 2e 2e 2e  2e 2e 2a 2e 3c 0d 49 6e  |..*.......*.<.In|
00000050  20 61 6e 73 77 65 72 20  74 6f 20 4d 69 63 68 65  | answer to Miche|
00000060  61 6c 20 48 61 72 72 69  73 27 73 20 6c 65 74 74  |al Harris's lett|
00000070  65 72 20 72 65 67 61 72  64 69 6e 67 20 56 69 65  |er regarding Vie|
00000080  77 20 6d 61 63 72 6f 73  20 69 6e 20 45 55 47 32  |w macros in EUG2|
00000090  30 3a 0d 20 20 20 20 20  20 20 54 68 65 20 72 65  |0:.       The re|
000000a0  61 73 6f 6e 20 77 68 79  20 74 68 65 20 70 61 67  |ason why the pag|
000000b0  65 20 77 61 73 20 6e 6f  74 20 65 6a 65 63 74 65  |e was not ejecte|
000000c0  64 20 61 66 74 65 72 20  70 72 69 6e 74 69 6e 67  |d after printing|
000000d0  20 65 61 63 68 20 6c 65  74 74 65 72 2c 0d 77 61  | each letter,.wa|
000000e0  73 20 74 68 61 74 20 79  6f 75 20 69 6e 63 6c 75  |s that you inclu|
000000f0  64 65 64 20 61 20 22 50  45 20 4f 66 66 22 20 73  |ded a "PE Off" s|
00000100  74 6f 72 65 64 20 63 6f  6d 6d 61 6e 64 20 61 74  |tored command at|
00000110  20 74 68 65 20 73 74 61  72 74 20 6f 66 20 79 6f  | the start of yo|
00000120  75 72 0d 64 6f 63 75 6d  65 6e 74 2e 20 54 68 69  |ur.document. Thi|
00000130  73 20 64 69 73 61 62 6c  65 73 20 6e 6f 74 20 6f  |s disables not o|
00000140  6e 6c 79 20 61 75 74 6f  6d 61 74 69 63 20 70 61  |nly automatic pa|
00000150  67 65 20 62 72 65 61 6b  73 2c 20 62 75 74 20 61  |ge breaks, but a|
00000160  6c 73 6f 20 74 68 65 20  50 45 0d 63 6f 6d 6d 61  |lso the PE.comma|
00000170  6e 64 2e 20 49 66 20 74  68 69 73 20 69 73 20 72  |nd. If this is r|
00000180  65 6d 6f 76 65 64 2c 20  79 6f 75 72 20 6d 61 63  |emoved, your mac|
00000190  72 6f 20 73 68 6f 75 6c  64 20 77 6f 72 6b 20 4f  |ro should work O|
000001a0  4b 2e 20 0d 20 20 20 20  20 20 20 49 20 68 61 76  |K. .       I hav|
000001b0  65 20 61 6c 73 6f 20 75  73 65 64 20 6d 61 63 72  |e also used macr|
000001c0  6f 73 20 69 6e 20 56 69  65 77 2c 20 62 75 74 20  |os in View, but |
000001d0  68 61 76 65 20 66 6f 75  6e 64 20 6f 6e 65 20 6d  |have found one m|
000001e0  61 6a 6f 72 20 64 72 61  77 62 61 63 6b 3a 0d 54  |ajor drawback:.T|
000001f0  68 65 20 74 65 78 74 20  69 73 20 66 6f 72 6d 61  |he text is forma|
00000200  74 74 65 64 20 75 73 69  6e 67 20 74 68 65 20 22  |tted using the "|
00000210  40 30 22 2c 20 22 40 31  22 2c 20 65 74 63 2e 20  |@0", "@1", etc. |
00000220  6c 61 62 65 6c 73 2c 20  6e 6f 74 20 74 68 65 20  |labels, not the |
00000230  72 65 61 6c 0d 77 6f 72  64 73 20 74 68 61 74 20  |real.words that |
00000240  74 68 65 79 20 72 65 70  72 65 73 65 6e 74 2e 20  |they represent. |
00000250  54 68 69 73 20 6d 65 61  6e 73 20 74 68 61 74 20  |This means that |
00000260  74 68 65 20 74 65 78 74  20 69 73 20 6f 66 74 65  |the text is ofte|
00000270  6e 20 73 68 75 6e 74 65  64 20 6f 66 66 0d 74 68  |n shunted off.th|
00000280  65 20 72 69 67 68 74 2d  68 61 6e 64 20 73 69 64  |e right-hand sid|
00000290  65 20 6f 66 20 74 68 65  20 70 61 67 65 20 77 68  |e of the page wh|
000002a0  65 6e 20 61 20 73 68 6f  72 74 20 6c 61 62 65 6c  |en a short label|
000002b0  20 28 65 2e 67 20 40 30  29 20 69 73 20 72 65 70  | (e.g @0) is rep|
000002c0  6c 61 63 65 64 20 62 79  0d 61 20 6c 6f 6e 67 20  |laced by.a long |
000002d0  70 68 72 61 73 65 20 28  65 2e 67 2e 20 53 61 74  |phrase (e.g. Sat|
000002e0  75 72 64 61 79 20 32 39  74 68 20 4a 75 6c 79 20  |urday 29th July |
000002f0  31 39 39 35 29 2e 20 54  68 69 73 20 69 73 20 6e  |1995). This is n|
00000300  6f 74 20 67 65 6e 65 72  61 6c 6c 79 20 61 0d 70  |ot generally a.p|
00000310  72 6f 62 6c 65 6d 20 77  68 65 6e 20 79 6f 75 20  |roblem when you |
00000320  61 72 65 20 6f 6e 6c 79  20 76 61 72 79 69 6e 67  |are only varying|
00000330  20 74 68 65 20 61 64 64  72 65 73 73 20 61 74 20  | the address at |
00000340  74 68 65 20 74 6f 70 20  6f 66 20 74 68 65 20 6c  |the top of the l|
00000350  65 74 74 65 72 20 28 61  73 0d 69 6e 20 4d 69 63  |etter (as.in Mic|
00000360  68 61 65 6c 20 48 61 72  72 69 73 27 73 20 65 78  |hael Harris's ex|
00000370  61 6d 70 6c 65 29 2c 20  62 75 74 20 63 61 6e 20  |ample), but can |
00000380  72 65 6e 64 65 72 20 74  68 65 20 6d 61 63 72 6f  |render the macro|
00000390  20 66 61 63 69 6c 69 74  79 20 75 73 65 6c 65 73  | facility useles|
000003a0  73 20 69 66 0d 74 68 65  79 20 61 72 65 20 75 73  |s if.they are us|
000003b0  65 64 20 74 6f 20 76 61  72 79 20 74 68 65 20 62  |ed to vary the b|
000003c0  6f 64 79 20 6f 66 20 74  68 65 20 6c 65 74 74 65  |ody of the lette|
000003d0  72 2e 20 49 20 68 61 76  65 20 64 65 76 65 6c 6f  |r. I have develo|
000003e0  70 65 64 20 61 20 72 61  74 68 65 72 0d 6c 6f 6e  |ped a rather.lon|
000003f0  67 2d 77 69 6e 64 65 64  20 77 61 79 20 6f 66 20  |g-winded way of |
00000400  67 65 74 74 69 6e 67 20  61 72 6f 75 6e 64 20 74  |getting around t|
00000410  68 69 73 2c 20 77 68 69  63 68 20 49 20 73 68 61  |his, which I sha|
00000420  6c 6c 20 6e 6f 77 20 64  65 73 63 72 69 62 65 2e  |ll now describe.|
00000430  0d 20 20 20 20 20 20 20  46 69 72 73 74 2c 20 79  |.       First, y|
00000440  6f 75 20 73 68 6f 75 6c  64 20 70 72 65 70 61 72  |ou should prepar|
00000450  65 20 79 6f 75 72 20 73  74 61 6e 64 61 72 64 20  |e your standard |
00000460  6c 65 74 74 65 72 20 61  73 20 64 65 73 63 72 69  |letter as descri|
00000470  62 65 64 20 69 6e 20 74  68 65 0d 75 73 65 72 20  |bed in the.user |
00000480  6d 61 6e 75 61 6c 2c 20  77 69 74 68 20 6a 75 73  |manual, with jus|
00000490  74 69 66 79 20 6d 6f 64  65 20 4f 46 46 2e 20 59  |tify mode OFF. Y|
000004a0  6f 75 20 73 68 6f 75 6c  64 20 69 6e 63 6c 75 64  |ou should includ|
000004b0  65 20 61 20 22 50 42 20  4f 66 66 22 20 63 6f 6d  |e a "PB Off" com|
000004c0  6d 61 6e 64 0d 61 74 20  74 68 65 20 73 74 61 72  |mand.at the star|
000004d0  74 20 6f 66 20 74 68 65  20 64 6f 63 75 6d 65 6e  |t of the documen|
000004e0  74 20 28 6e 6f 74 20 69  6e 73 69 64 65 20 74 68  |t (not inside th|
000004f0  65 20 6d 61 63 72 6f 20  69 74 73 65 6c 66 29 2e  |e macro itself).|
00000500  20 54 68 69 73 20 69 73  0d 63 6f 6e 74 72 61 72  | This is.contrar|
00000510  79 20 74 6f 20 77 68 61  74 20 49 20 73 61 69 64  |y to what I said|
00000520  20 65 61 72 6c 69 65 72  2c 20 62 75 74 20 69 73  | earlier, but is|
00000530  20 65 73 73 65 6e 74 69  61 6c 20 66 6f 72 20 74  | essential for t|
00000540  68 69 73 20 6d 65 74 68  6f 64 20 74 6f 20 77 6f  |his method to wo|
00000550  72 6b 0d 70 72 6f 70 65  72 6c 79 2e 0d 20 20 20  |rk.properly..   |
00000560  20 20 20 20 41 6e 79 20  73 74 6f 72 65 64 20 63  |    Any stored c|
00000570  6f 6d 6d 61 6e 64 73 20  77 69 74 68 69 6e 20 74  |ommands within t|
00000580  68 65 20 6d 61 63 72 6f  20 69 74 73 65 6c 66 20  |he macro itself |
00000590  28 6e 6f 74 20 74 68 65  20 44 4d 20 61 6e 64 20  |(not the DM and |
000005a0  45 4d 0d 63 6f 6d 6d 61  6e 64 73 29 20 73 68 6f  |EM.commands) sho|
000005b0  75 6c 64 20 62 65 20 72  65 70 6c 61 63 65 64 20  |uld be replaced |
000005c0  77 69 74 68 20 74 68 65  20 7c 20 73 79 6d 62 6f  |with the | symbo|
000005d0  6c 20 66 6f 6c 6c 6f 77  65 64 20 62 79 20 74 68  |l followed by th|
000005e0  65 20 74 77 6f 20 6c 65  74 74 65 72 73 0d 6f 66  |e two letters.of|
000005f0  20 74 68 65 20 63 6f 6d  6d 61 6e 64 2e 20 46 6f  | the command. Fo|
00000600  72 20 65 78 61 6d 70 6c  65 20 69 66 20 79 6f 75  |r example if you|
00000610  20 77 61 6e 74 20 61 20  43 45 20 73 74 6f 72 65  | want a CE store|
00000620  64 20 63 6f 6d 6d 61 6e  64 2c 20 79 6f 75 20 73  |d command, you s|
00000630  68 6f 75 6c 64 0d 74 79  70 65 20 7c 43 45 20 61  |hould.type |CE a|
00000640  74 20 74 68 65 20 73 74  61 72 74 20 6f 66 20 74  |t the start of t|
00000650  68 65 20 6c 69 6e 65 20  77 68 65 72 65 20 69 74  |he line where it|
00000660  20 69 73 20 6e 65 65 64  65 64 2c 20 62 75 74 20  | is needed, but |
00000670  6e 6f 74 20 69 6e 20 74  68 65 0d 73 74 6f 72 65  |not in the.store|
00000680  64 20 63 6f 6d 6d 61 6e  64 20 6d 61 72 67 69 6e  |d command margin|
00000690  20 28 49 20 77 69 6c 6c  20 65 78 70 6c 61 69 6e  | (I will explain|
000006a0  20 74 68 69 73 20 69 6e  20 61 20 6d 6f 6d 65 6e  | this in a momen|
000006b0  74 29 2e 20 48 69 67 68  6c 69 67 68 74 0d 63 68  |t). Highlight.ch|
000006c0  61 72 61 63 74 65 72 73  20 28 6f 62 74 61 69 6e  |aracters (obtain|
000006d0  65 64 20 62 79 20 70 72  65 73 73 69 6e 67 20 46  |ed by pressing F|
000006e0  55 4e 43 2d 48 20 6f 72  20 46 55 4e 43 2d 4a 29  |UNC-H or FUNC-J)|
000006f0  20 63 61 6e 20 62 65 20  75 73 65 64 20 61 73 20  | can be used as |
00000700  75 73 75 61 6c 20 69 66  0d 79 6f 75 20 68 61 76  |usual if.you hav|
00000710  65 20 61 20 70 72 69 6e  74 65 72 20 64 72 69 76  |e a printer driv|
00000720  65 72 2e 20 41 74 20 74  68 65 20 65 6e 64 20 6f  |er. At the end o|
00000730  66 20 74 68 65 20 6d 61  63 72 6f 2c 20 6a 75 73  |f the macro, jus|
00000740  74 20 62 65 66 6f 72 65  20 74 68 65 20 45 4d 0d  |t before the EM.|
00000750  63 6f 6d 6d 61 6e 64 2c  20 79 6f 75 20 73 68 6f  |command, you sho|
00000760  75 6c 64 20 69 6e 63 6c  75 64 65 20 74 68 65 20  |uld include the |
00000770  6c 69 6e 65 20 7c 50 45  2c 20 72 65 70 72 65 73  |line |PE, repres|
00000780  65 6e 74 69 6e 67 20 61  20 50 61 67 65 20 45 6a  |enting a Page Ej|
00000790  65 63 74 0d 63 6f 6d 6d  61 6e 64 2e 0d 20 20 20  |ect.command..   |
000007a0  20 20 20 20 4e 65 78 74  2c 20 79 6f 75 20 6d 75  |    Next, you mu|
000007b0  73 74 20 69 6e 73 65 72  74 20 74 68 65 20 63 68  |st insert the ch|
000007c0  61 72 61 63 74 65 72 73  20 7c 4c 4a 20 69 6e 20  |aracters |LJ in |
000007d0  66 72 6f 6e 74 20 6f 66  20 61 6e 79 20 6c 69 6e  |front of any lin|
000007e0  65 20 74 68 61 74 0d 77  6f 75 6c 64 20 62 65 20  |e that.would be |
000007f0  6d 65 73 73 65 64 20 75  70 20 62 79 20 66 6f 72  |messed up by for|
00000800  6d 61 74 74 69 6e 67 2e  20 54 68 69 73 20 69 73  |matting. This is|
00000810  20 62 61 73 69 63 61 6c  6c 79 20 61 6e 79 20 6c  | basically any l|
00000820  69 6e 65 20 77 68 69 63  68 20 64 6f 65 73 0d 4e  |ine which does.N|
00000830  4f 54 20 73 74 61 72 74  20 77 69 74 68 20 61 20  |OT start with a |
00000840  73 70 61 63 65 20 6f 72  20 54 61 62 2c 20 61 6e  |space or Tab, an|
00000850  64 20 77 68 69 63 68 20  69 73 20 4e 4f 54 20 70  |d which is NOT p|
00000860  61 72 74 20 6f 66 20 61  20 70 61 72 61 67 72 61  |art of a paragra|
00000870  70 68 20 6f 66 0d 74 65  78 74 2e 20 54 68 69 73  |ph of.text. This|
00000880  20 75 73 75 61 6c 6c 79  20 69 6e 63 6c 75 64 65  | usually include|
00000890  73 20 74 68 65 20 22 44  65 61 72 20 4d 72 2e 20  |s the "Dear Mr. |
000008a0  42 6c 6f 67 67 73 22 20  6c 69 6e 65 20 61 74 20  |Bloggs" line at |
000008b0  74 68 65 20 73 74 61 72  74 20 6f 66 20 61 0d 6c  |the start of a.l|
000008c0  65 74 74 65 72 2e 20 20  20 20 20 20 20 0d 20 20  |etter.       .  |
000008d0  20 20 20 20 20 4e 6f 77  20 72 65 74 75 72 6e 20  |     Now return |
000008e0  74 6f 20 63 6f 6d 6d 61  6e 64 20 6d 6f 64 65 2c  |to command mode,|
000008f0  20 61 6e 64 20 53 41 56  45 20 79 6f 75 72 20 64  | and SAVE your d|
00000900  6f 63 75 6d 65 6e 74 2e  20 54 68 65 6e 20 74 79  |ocument. Then ty|
00000910  70 65 3a 20 20 20 20 20  20 20 0d 20 20 20 20 20  |pe:       .     |
00000920  20 20 20 20 20 20 20 20  20 20 20 2a 53 50 4f 4f  |           *SPOO|
00000930  4c 20 74 65 6d 70 0d 20  20 20 20 20 20 20 20 20  |L temp.         |
00000940  20 20 20 20 20 20 20 53  43 52 45 45 4e 0d 20 20  |       SCREEN.  |
00000950  20 20 20 20 20 20 20 20  20 20 20 20 20 20 2a 53  |              *S|
00000960  50 4f 4f 4c 0d 68 6f 6c  64 69 6e 67 20 64 6f 77  |POOL.holding dow|
00000970  6e 20 53 68 69 66 74 20  74 6f 20 73 63 72 6f 6c  |n Shift to scrol|
00000980  6c 20 74 68 65 20 74 65  78 74 20 75 70 2e 0d 20  |l the text up.. |
00000990  20 20 20 20 20 20 54 68  69 73 20 74 65 78 74 20  |      This text |
000009a0  66 69 6c 65 20 6d 75 73  74 20 6e 6f 77 20 62 65  |file must now be|
000009b0  20 63 6f 6e 76 65 72 74  65 64 20 62 61 63 6b 20  | converted back |
000009c0  69 6e 74 6f 20 61 20 56  69 65 77 20 66 69 6c 65  |into a View file|
000009d0  20 73 6f 20 74 68 61 74  0d 69 74 20 63 61 6e 20  | so that.it can |
000009e0  62 65 20 62 65 20 66 6f  72 6d 61 74 74 65 64 20  |be be formatted |
000009f0  70 72 6f 70 65 72 6c 79  2e 20 49 20 68 61 76 65  |properly. I have|
00000a00  20 77 72 69 74 74 65 6e  20 61 20 70 72 6f 67 72  | written a progr|
00000a10  61 6d 20 74 6f 20 70 65  72 66 6f 72 6d 20 74 68  |am to perform th|
00000a20  69 73 0d 74 61 73 6b 2c  20 77 68 69 63 68 20 69  |is.task, which i|
00000a30  73 20 69 6e 63 6c 75 64  65 64 20 6f 6e 20 74 68  |s included on th|
00000a40  69 73 20 64 69 73 63 20  74 6f 67 65 74 68 65 72  |is disc together|
00000a50  20 77 69 74 68 20 69 74  73 20 73 6f 75 72 63 65  | with its source|
00000a60  20 63 6f 64 65 2e 20 54  68 65 0d 70 72 6f 67 72  | code. The.progr|
00000a70  61 6d 20 69 73 20 63 61  6c 6c 65 64 20 43 4f 4e  |am is called CON|
00000a80  56 45 52 54 2c 20 61 6e  64 20 63 61 6e 20 62 65  |VERT, and can be|
00000a90  20 65 78 65 63 75 74 65  64 20 66 72 6f 6d 20 56  | executed from V|
00000aa0  69 65 77 20 6f 72 20 42  41 53 49 43 2c 20 62 79  |iew or BASIC, by|
00000ab0  20 74 68 65 0d 63 6f 6d  6d 61 6e 64 20 2a 43 4f  | the.command *CO|
00000ac0  4e 56 45 52 54 2e 20 54  79 70 65 20 74 68 69 73  |NVERT. Type this|
00000ad0  20 63 6f 6d 6d 61 6e 64  2c 20 61 6e 64 20 65 6e  | command, and en|
00000ae0  74 65 72 20 74 68 65 20  66 69 6c 65 6e 61 6d 65  |ter the filename|
00000af0  20 6f 66 20 74 68 65 20  74 65 78 74 0d 66 69 6c  | of the text.fil|
00000b00  65 20 79 6f 75 20 77 69  73 68 20 74 6f 20 63 6f  |e you wish to co|
00000b10  6e 76 65 72 74 20 28 22  74 65 6d 70 22 20 69 6e  |nvert ("temp" in|
00000b20  20 74 68 69 73 20 63 61  73 65 29 2c 20 66 6f 6c  | this case), fol|
00000b30  6c 6f 77 65 64 20 62 79  20 61 20 66 69 6c 65 6e  |lowed by a filen|
00000b40  61 6d 65 20 66 6f 72 0d  74 68 65 20 6f 75 74 70  |ame for.the outp|
00000b50  75 74 20 66 69 6c 65 2e  20 59 6f 75 20 6d 61 79  |ut file. You may|
00000b60  20 6e 65 65 64 20 61 20  6c 6f 74 20 6f 66 20 64  | need a lot of d|
00000b70  69 73 63 20 73 70 61 63  65 20 66 6f 72 20 74 68  |isc space for th|
00000b80  69 73 20 6f 70 65 72 61  74 69 6f 6e 2e 20 57 68  |is operation. Wh|
00000b90  65 6e 0d 74 68 65 20 70  72 6f 67 72 61 6d 20 68  |en.the program h|
00000ba0  61 73 20 66 69 6e 69 73  68 65 64 20 63 6f 6e 76  |as finished conv|
00000bb0  65 72 74 69 6e 67 20 74  68 65 20 66 69 6c 65 2c  |erting the file,|
00000bc0  20 79 6f 75 20 6d 61 79  20 64 65 6c 65 74 65 20  | you may delete |
00000bd0  74 68 65 20 66 69 6c 65  0d 22 74 65 6d 70 22 20  |the file."temp" |
00000be0  28 62 75 74 20 6e 6f 74  20 79 6f 75 72 20 6f 72  |(but not your or|
00000bf0  69 67 69 6e 61 6c 20 64  6f 63 75 6d 65 6e 74 29  |iginal document)|
00000c00  2e 0d 20 20 20 20 20 20  20 4e 6f 77 20 6c 6f 61  |..       Now loa|
00000c10  64 20 79 6f 75 72 20 6f  75 74 70 75 74 20 66 69  |d your output fi|
00000c20  6c 65 20 69 6e 74 6f 20  56 69 65 77 2c 20 61 6e  |le into View, an|
00000c30  64 20 67 6f 20 69 6e 74  6f 20 74 65 78 74 20 6d  |d go into text m|
00000c40  6f 64 65 2e 20 59 6f 75  0d 77 69 6c 6c 20 66 69  |ode. You.will fi|
00000c50  6e 64 20 74 68 61 74 20  61 6c 6c 20 6f 66 20 79  |nd that all of y|
00000c60  6f 75 72 20 7c 20 63 68  61 72 61 63 74 65 72 73  |our | characters|
00000c70  20 68 61 76 65 20 62 65  65 6e 20 74 75 72 6e 65  | have been turne|
00000c80  64 20 69 6e 74 6f 20 73  74 6f 72 65 64 0d 63 6f  |d into stored.co|
00000c90  6d 6d 61 6e 64 73 2e 20  53 65 74 20 74 68 65 20  |mmands. Set the |
00000ca0  72 75 6c 65 72 20 61 73  20 6e 65 63 65 73 73 61  |ruler as necessa|
00000cb0  72 79 20 28 75 73 65 20  46 55 4e 43 2d 2c 20 74  |ry (use FUNC-, t|
00000cc0  6f 20 64 69 73 70 6c 61  79 20 74 68 65 20 64 65  |o display the de|
00000cd0  66 61 75 6c 74 0d 72 75  6c 65 72 20 69 66 20 6e  |fault.ruler if n|
00000ce0  65 63 65 73 73 61 72 79  29 2c 20 61 6e 64 20 61  |ecessary), and a|
00000cf0  6c 73 6f 20 73 77 69 74  63 68 20 6a 75 73 74 69  |lso switch justi|
00000d00  66 79 20 6d 6f 64 65 20  6f 6e 20 69 66 20 79 6f  |fy mode on if yo|
00000d10  75 20 77 61 6e 74 20 79  6f 75 72 20 74 65 78 74  |u want your text|
00000d20  0d 6a 75 73 74 69 66 69  65 64 2e 20 53 65 74 20  |.justified. Set |
00000d30  74 68 65 20 70 61 67 65  20 6c 65 6e 67 74 68 2c  |the page length,|
00000d40  20 74 6f 70 20 6d 61 72  67 69 6e 2c 20 68 65 61  | top margin, hea|
00000d50  64 65 72 20 6d 61 72 67  69 6e 2c 20 68 65 61 64  |der margin, head|
00000d60  65 72 20 74 65 78 74 2c  0d 65 74 63 2e 20 75 73  |er text,.etc. us|
00000d70  69 6e 67 20 73 74 6f 72  65 64 20 63 6f 6d 6d 61  |ing stored comma|
00000d80  6e 64 73 20 61 73 20 75  73 75 61 6c 2e 20 47 6f  |nds as usual. Go|
00000d90  20 62 61 63 6b 20 74 6f  20 63 6f 6d 6d 61 6e 64  | back to command|
00000da0  20 6d 6f 64 65 20 61 6e  64 20 46 4f 52 4d 41 54  | mode and FORMAT|
00000db0  0d 74 68 65 20 64 6f 63  75 6d 65 6e 74 2e 20 43  |.the document. C|
00000dc0  68 65 63 6b 20 74 68 61  74 20 74 68 69 73 20 68  |heck that this h|
00000dd0  61 73 20 6e 6f 74 20 6d  65 73 73 65 64 20 75 70  |as not messed up|
00000de0  20 61 6e 79 20 70 61 72  74 20 6f 66 20 74 68 65  | any part of the|
00000df0  20 64 6f 63 75 6d 65 6e  74 0d 28 69 66 20 69 74  | document.(if it|
00000e00  20 68 61 73 2c 20 79 6f  75 20 6d 61 79 20 6e 65  | has, you may ne|
00000e10  65 64 20 74 6f 20 67 6f  20 62 61 63 6b 20 74 6f  |ed to go back to|
00000e20  20 79 6f 75 72 20 6f 72  69 67 69 6e 61 6c 20 6d  | your original m|
00000e30  61 63 72 6f 20 66 69 6c  65 20 61 6e 64 20 61 64  |acro file and ad|
00000e40  64 0d 73 6f 6d 65 20 6d  6f 72 65 20 7c 4c 4a 20  |d.some more |LJ |
00000e50  63 6f 6d 6d 61 6e 64 73  29 2e 0d 20 20 20 20 20  |commands)..     |
00000e60  20 20 46 69 6e 61 6c 6c  79 2c 20 6c 6f 61 64 20  |  Finally, load |
00000e70  61 20 70 72 69 6e 74 65  72 20 64 72 69 76 65 72  |a printer driver|
00000e80  20 69 66 20 6e 65 63 65  73 73 61 72 79 2c 20 61  | if necessary, a|
00000e90  6e 64 20 70 72 69 6e 74  20 74 68 65 0d 64 6f 63  |nd print the.doc|
00000ea0  75 6d 65 6e 74 2e 0d 20  20 20 20 20 20 20 54 68  |ument..       Th|
00000eb0  69 73 20 6d 61 79 20 73  65 65 6d 20 61 20 72 61  |is may seem a ra|
00000ec0  74 68 65 72 20 6c 6f 6e  67 2d 77 69 6e 64 65 64  |ther long-winded|
00000ed0  20 6d 65 74 68 6f 64 2c  20 62 75 74 20 49 20 63  | method, but I c|
00000ee0  61 6e 6e 6f 74 20 73 65  65 20 61 6e 79 0d 6f 74  |annot see any.ot|
00000ef0  68 65 72 20 77 61 79 20  74 6f 20 66 6f 72 6d 61  |her way to forma|
00000f00  74 20 74 68 65 20 64 6f  63 75 6d 65 6e 74 73 20  |t the documents |
00000f10  70 72 6f 70 65 72 6c 79  2e 20 59 6f 75 20 63 61  |properly. You ca|
00000f20  6e 20 70 72 6f 62 61 62  6c 79 20 70 72 69 6e 74  |n probably print|
00000f30  20 74 68 65 0d 6d 61 63  72 6f 73 20 64 69 72 65  | the.macros dire|
00000f40  63 74 6c 79 20 69 66 20  61 6c 6c 20 6f 66 20 74  |ctly if all of t|
00000f50  68 65 20 65 6e 74 72 69  65 73 20 66 6f 72 20 65  |he entries for e|
00000f60  61 63 68 20 70 61 72 61  6d 65 74 65 72 20 61 72  |ach parameter ar|
00000f70  65 20 61 62 6f 75 74 20  74 68 65 0d 73 61 6d 65  |e about the.same|
00000f80  20 6c 65 6e 67 74 68 20  2d 20 6a 75 73 74 20 73  | length - just s|
00000f90  68 6f 72 74 65 6e 20 74  68 65 20 65 6e 64 73 20  |horten the ends |
00000fa0  6f 66 20 74 68 65 20 6c  69 6e 65 73 2c 20 61 6e  |of the lines, an|
00000fb0  64 20 76 69 65 77 20 74  68 65 20 64 6f 63 75 6d  |d view the docum|
00000fc0  65 6e 74 0d 75 73 69 6e  67 20 74 68 65 20 53 43  |ent.using the SC|
00000fd0  52 45 45 4e 20 63 6f 6d  6d 61 6e 64 20 75 6e 74  |REEN command unt|
00000fe0  69 6c 20 74 68 65 20 6c  69 6e 65 73 20 61 72 65  |il the lines are|
00000ff0  20 61 62 6f 75 74 20 74  68 65 20 73 61 6d 65 20  | about the same |
00001000  6c 65 6e 67 74 68 2e 0d  4a 75 73 74 69 66 79 69  |length..Justifyi|
00001010  6e 67 20 69 73 2c 20 49  20 74 68 69 6e 6b 2c 20  |ng is, I think, |
00001020  69 6d 70 6f 73 73 69 62  6c 65 20 77 69 74 68 6f  |impossible witho|
00001030  75 74 20 66 6f 6c 6c 6f  77 69 6e 67 20 74 68 65  |ut following the|
00001040  20 6c 6f 6e 67 20 61 70  70 72 6f 61 63 68 2e 0d  | long approach..|
00001050  43 61 6e 20 61 6e 79 6f  6e 65 20 74 68 69 6e 6b  |Can anyone think|
00001060  20 6f 66 20 61 20 62 65  74 74 65 72 20 77 61 79  | of a better way|
00001070  3f 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |?.              |
00001080  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000010a0  20 20 20 20 20 4d 61 74  74 68 65 77 20 46 6f 72  |     Matthew For|
000010b0  64 0d                                             |d.|
000010b2
ViewMacros/text.m0
ViewMacros/text.m1
ViewMacros/text.m2
ViewMacros/text.m4
ViewMacros/text.m5