|
Editing Interp Files with Special Codes for .trp files
|
Article Information |
| Article ID: |
225 |
| Author: |
Ray |
| Created: |
9/20/2006 |
| Modified: |
9/20/2006 |
| Views: |
1,637 |
|
If you want to modify the interpretations that
come with the program, here below are a few codes that you can insert
into the document. Editing the interpretations is an advanced topic,
and it's possible to make mistakes that will cause the program to
crash. So make sure to save a copy of the original file somewhere in
case you need to go back to it.
Most importantly these .trp files must be plain text files. Using
the built in editor, or a plain text ascii editor program is best. When
saving files using Microsoft Word then every time you save it you have
to select select 'save as', and then specify plain text, and you need
to put a check in the box that says 'insert line breaks' and make sure
that Word doesn't change the file name to .txt instead of .trp
First off, the file can handle simple RTF codes, for things like bold
and italics and underlines etc. RTF is a word processor file language.
If you do a search for 'RTF spec' you should find a list of RTF codes.
for instance \b will turn on bold, and then \b0 turns it off again.
That's a zero in \b0
\tab inserts a tab. you can specify tab sizes with the \tx command
Here's a link that works as of now which has the RTF Spec
http://www.biblioscape.com/rtf15_spec.htm
You can also put a vertical slash on a blank line to force it to do a blank line.
Like this.
|
There are also a few special codes which use triangular brackets. Here they are:
>~N1< This inserts the persons first name.
>~N2< This inserts the persons Last name.
>~N3< This inserts the persons Full name.
>~N4 his hers< This inserts the first word listed if it's a male chart, or the second if female.
>~A< Us the same as ~N above, but this is for a relationship report and gives the first persons name.
>~B< Us the same as ~N above, but this is for a relationship report and gives the Second persons name.
>~S3 He has his issues~She has her issues< specify a string of words to use for male or female chart separated by ~
>~S4 He has his issues~She has her issues< Same as above but used for relationship chart, based on Chart #2 sex.
>~F picture.jpg< Insert a picture, picture must be in program folder. Will take .bmp .jpg .png .pcx .wmf or .emf
This one has a few extra settings
>~FC picture.jpg< Centered on line.
>~FS picture.jpg 1440 1440< Force size of picture in twips. Twips = 1440 per inch. The RTF Spec uses twips.
>~FL picture.jpg< Force picture to be the same height as the line of text. (for bullets).
>~FR picture.jpg< Make picture Low Res (no more than 16 colors). Makes printing faster and takes less printer memory.
You can combine them like this.
>~FSCR picture.jpg 1440 1440<
This URL:
http://alabe.com/smarterticket/Customer/KBArticle.aspx?articleid=225
|