home *** CD-ROM | disk | FTP | other *** search
- .// Cannot be used with JGDoc; requires a Merge file
- .// 32. Extab
- .// By reading this file you have entered into a contract specified in the
- .// file Licence. Please refer thereto for details.
- .nofj
- .setm 6
- :
- \g\f}Title} by \f}Author}, published by \f}Publisher} at \f}Price},
- :
- .col
- \d| |The Old Statesman |
- .col
- | |Tumbledown Printshop|
- .col
- | |Gutenberg-by-Sea |
-
-
- Dear \f}Name},
-
- .setu 5 :\f}Ex}:
- .setu 1 :\f}Reviewer}:
- .setu 2 :\f}add1}:
- .setu 3 :\f}add2}:
- .setu 4 :\f}postcode}:
- We should be glad if you would review the following books for us next month:
- \u6 \u6
- and
- \u6
- .if \u5
- .fj
-
- \g}Since this is the first review you have written for us, I here give you an
- example of the kind of thing your predecessor wrote:\|
- "It is always a delight to read \f}Author} at her best, though \f}Title
- (\f}Publisher}, \f}Price}) is perhaps not quite as fine as her last book. Still,
- this thundering yarn of passion and fury in Ante\-Bellum Virginia makes
- \g\f}Title , the latest offering from \f}Author}, look a little
- milk\-amd\-water, especially as the court of Elizabeth I is a somewhat
- overdone location. (\f}Publisher}, \f}Price}). On the other hand, I would
- rather read any number of
- \f}Title}s than \g\f}Author}'s boring new offering; I am surprised that
- \f}Publisher} continues to put out this kind of rubbish, especially at a price
- of \f}Price}. (\f}Title})."
-
- We would recommend you not to use this as a model.
- .fi
-
- Yours sincerely,
-
-
- .col
- | |Literary Editor
-
- .nofj
- \u1
- \u2
- \u3
- \u4
-
- .if \u5
- .fj
- .setst :| :
- .setend : |:
- .stop include comments?
- This example shows the use of \\f to pick up fields from records, both
- automatically for repeated copies of the same text (classic Mailmege), and
- changing the record in mid\-text by \\g. It also shows the use of .if for the
- conditional inclusion of text, and .setu and \\u for picking up user strings for
- later use. Notice that, even if .nofj, wordwrap occurs to keep within margins.
- You will be offered a user variable file before you exit. There are no forward
- references in this text, so you do not need it. You might be interested, though,
- to see its format. Note the use of .SETM rather than .SETU for the (macro)string
- containing directives that should be reinterpreted wherever it is used, rather
- than once where it is defined.
-
- I do not know, and doubt the existence of, any wordprocessors that can hold
- fields of one record for use after several records have been read in, as is
- used for the address at the bottom of each letter. Of course, systems that
- allow multiple merge files could do it their way, and there are nine and
- forty ways of constructing tribal lays, and evry single one of them is right.
-
- An alternative approach would be to use .RPT. This would not be so appropriate
- here, since there could be the danger of getting two letters on the same page.
- Moreover, an explicit \\g would be needed at the bottom of the text. If, as is
- not the case here, the text were longer than a page, there would also be a
- blank page between each repetition. Finally, the last repetition is longer
- than the others, but .rpt leaves just enough space on a page as was used by the
- last repetition for the next one.
- .fi
-