PageRenderTime 42ms CodeModel.GetById 26ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 1ms

/samples/sample.rtf

http://txt2tags.googlecode.com/
Unknown | 312 lines | 310 code | 2 blank | 0 comment | 0 complexity | ca56d00c75ed7a9b1fb65930071dc05f MD5 | raw file
  1{\rtf1\ansi\ansicpg1252\deff0
  2{\fonttbl
  3{\f0\froman Times;}
  4{\f1\fswiss Arial;}
  5{\f2\fmodern Courier;}
  6}
  7{\colortbl;\red0\green0\blue255;}
  8{\stylesheet
  9{\s1\sbasedon222\snext1\f0\fs24\cf0 Normal;}
 10{\s2\sbasedon1\snext2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360 Body Text;}
 11{\s3\sbasedon2\snext3{\*\txttags verbatim}\f2\fs20\ql\sb0\sa240\sl240\slmult1\li720\ri720\fi0 Verbatim;}
 12{\s4\sbasedon2\snext4{\*\txttags quote}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li720\ri720\fi0 Block Quote;}
 13{\s10\sbasedon1\snext10\keepn{\*\txttags maintitle}\f1\fs24\qc\sb0\sa0\sl480\slmult1\li0\ri0\fi0 Title;}
 14{\s11\sbasedon1\snext2\keepn{\*\txttags title1}\f1\fs24\qc\sb240\sa240\sl480\slmult1\li0\ri0\fi0\b Heading 1;}
 15{\s12\sbasedon11\snext2\keepn{\*\txttags title2}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li0\ri0\fi0\b Heading 2;}
 16{\s13\sbasedon11\snext2\keepn{\*\txttags title3}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li360\ri0\fi0\b Heading 3;}
 17{\s14\sbasedon11\snext2\keepn{\*\txttags title4}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li360\ri0\fi0\b\i Heading 4;}
 18{\s15\sbasedon11\snext2\keepn{\*\txttags title5}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li360\ri0\fi0\i Heading 5;}
 19{\s21\sbasedon2\snext21{\*\txttags list}\f0\fs24\qj\sb0\sa0\sl480\slmult1{\*\txttags list indent}\li720\ri0\fi-360 List;}
 20}
 21{\*\listtable
 22{\list\listtemplateid1
 23{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\'95;}{\levelnumbers;}{\*\txttags list indent}\li720\ri0\fi-360}
 24{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\'95;}{\levelnumbers;}{\*\txttags list indent}\li1080\ri0\fi-360}
 25{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\'95;}{\levelnumbers;}{\*\txttags list indent}\li1440\ri0\fi-360}
 26{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\'95;}{\levelnumbers;}{\*\txttags list indent}\li1800\ri0\fi-360}
 27{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\'95;}{\levelnumbers;}{\*\txttags list indent}\li2160\ri0\fi-360}
 28{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\'95;}{\levelnumbers;}{\*\txttags list indent}\li2520\ri0\fi-360}
 29{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\'95;}{\levelnumbers;}{\*\txttags list indent}\li2880\ri0\fi-360}
 30{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\'95;}{\levelnumbers;}{\*\txttags list indent}\li3240\ri0\fi-360}
 31{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\'95;}{\levelnumbers;}{\*\txttags list indent}\li3600\ri0\fi-360}
 32\listid1}
 33{\list\listtemplateid2
 34{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'00.;}{\levelnumbers\'01;}{\*\txttags list indent}\li720\ri0\fi-360}
 35{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'01.;}{\levelnumbers\'01;}{\*\txttags list indent}\li1080\ri0\fi-360}
 36{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'02.;}{\levelnumbers\'01;}{\*\txttags list indent}\li1440\ri0\fi-360}
 37{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'03.;}{\levelnumbers\'01;}{\*\txttags list indent}\li1800\ri0\fi-360}
 38{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'04.;}{\levelnumbers\'01;}{\*\txttags list indent}\li2160\ri0\fi-360}
 39{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'05.;}{\levelnumbers\'01;}{\*\txttags list indent}\li2520\ri0\fi-360}
 40{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'06.;}{\levelnumbers\'01;}{\*\txttags list indent}\li2880\ri0\fi-360}
 41{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'07.;}{\levelnumbers\'01;}{\*\txttags list indent}\li3240\ri0\fi-360}
 42{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'08.;}{\levelnumbers\'01;}{\*\txttags list indent}\li3600\ri0\fi-360}
 43\listid2}
 44{\list\listtemplateid3
 45{\listlevel\levelnfc0\leveljc1\levelstartat1\levelfollow1{\leveltext \'02\'00.;}{\levelnumbers\'01;}}
 46{\listlevel\levelnfc0\leveljc1\levelstartat1\levelfollow1{\leveltext \'04\'00.\'01.;}{\levelnumbers\'01\'03;}}
 47{\listlevel\levelnfc0\leveljc1\levelstartat1\levelfollow1{\leveltext \'06\'00.\'01.\'02.;}{\levelnumbers\'01\'03\'05;}}
 48{\listlevel\levelnfc0\leveljc1\levelstartat1\levelfollow1{\leveltext \'08\'00.\'01.\'02.\'03.;}{\levelnumbers\'01\'03\'05\'07;}}
 49{\listlevel\levelnfc0\leveljc1\levelstartat1\levelfollow1{\leveltext \'10\'00.\'01.\'02.\'03.\'04.;}{\levelnumbers\'01\'03\'05\'07\'09;}}
 50{\listlevel\levelnfc0\leveljc1\levelstartat1\levelfollow1{\leveltext \'02\'05.;}{\levelnumbers\'01;}}
 51{\listlevel\levelnfc0\leveljc1\levelstartat1\levelfollow1{\leveltext \'02\'06.;}{\levelnumbers\'01;}}
 52{\listlevel\levelnfc0\leveljc1\levelstartat1\levelfollow1{\leveltext \'02\'07.;}{\levelnumbers\'01;}}
 53{\listlevel\levelnfc0\leveljc1\levelstartat1\levelfollow0{\leveltext \'02\'08.;}{\levelnumbers\'01;}}
 54\listid3}
 55}
 56{\listoverridetable
 57{\listoverride\listid1\listoverridecount0\ls1}
 58{\listoverride\listid2\listoverridecount0\ls2}
 59{\listoverride\listid3\listoverridecount0\ls3}
 60}
 61{\info
 62{\title TXT2TAGS SAMPLE }
 63{\author Aurelio Jargas }
 64}
 65\deflang1033\widowctrl\hyphauto\uc1\fromtext
 66\paperw12240\paperh15840
 67\margl1440\margr1440\margt1440\margb1440
 68\sectd
 69{\header\pard\qr\plain\f0 Page \chpgn\par}
 70{\pard\plain\s10\keepn{\*\txttags maintitle}\f1\fs24\qc\sb2880\sa0\sl480\slmult1\li0\ri0\fi0 TXT2TAGS SAMPLE\par}
 71{\pard\plain\s10\keepn{\*\txttags maintitle}\f1\fs24\qc\sb0\sa0\sl480\slmult1\li0\ri0\fi0 Aurelio Jargas\par}
 72{\pard\plain\s10\keepn{\*\txttags maintitle}\f1\fs24\qc\sb0\sa0\sl480\slmult1\li0\ri0\fi0 02/28/2011\par}
 73
 74{\pard\plain\s11\keepn{\*\txttags title1}\f1\fs24\qc\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Introduction}}\par}
 75{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
 76Welcome to the txt2tags sample file.
 77\par}
 78{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
 79Here you have examples and a brief explanation of all marks.
 80\par}
 81{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
 82The first 3 lines of the this file are used as headers, on the following format:
 83\par}
 84{\pard\plain\s3{\*\txttags verbatim}\f2\fs20\ql\sb0\sa240\sl240\slmult1\li720\ri720\fi0
 85line1: document title
 86\line
 87line2: author name, email
 88\line
 89line3: date, version
 90\par}
 91{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
 92Lines with balanced equal signs = around are titles.
 93\par}
 94{\pard\plain\s11\keepn{\*\txttags title1}\f1\fs24\qc\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Fonts and Beautifiers}}\par}
 95{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
 96We have two sets of fonts:
 97\par}
 98{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
 99The NORMAL type that can be improved with beautifiers.
100\par}
101{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
102The TYPEWRITER type that uses monospaced font for pre-formatted text.
103\par}
104{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
105We will now enter on a subtitle...
106\par}
107{\pard\plain\s12\keepn{\*\txttags title2}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Beautifiers}}\par}
108{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
109The text marks for beautifiers are simple, just as you type on a plain text email message.
110\par}
111{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
112We use double *, /, - and _ to represent {\b{bold}}, {\i{italic}}, {\strike{strike}} and {\ul{underline}}.
113\par}
114{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
115The {\b{{\i{bold italic}}}} style is also supported as a combination.
116\par}
117{\pard\plain\s12\keepn{\*\txttags title2}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Pre-Formatted Text}}\par}
118{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
119We can put a code sample or other pre-formatted text:
120\par}
121{\pard\plain\s3{\*\txttags verbatim}\f2\fs20\ql\sb0\sa240\sl240\slmult1\li720\ri720\fi0
122  here    is     pre-formatted
123\line
124//marks// are  **not**  ``interpreted``
125\par}
126{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
127And also, it's easy to put a one line pre-formatted text:
128\par}
129{\pard\plain\s3{\*\txttags verbatim}\f2\fs20\ql\sb0\sa240\sl240\slmult1\li720\ri720\fi0
130prompt$ ls /etc
131\par}
132{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
133Or use {\f2\fs20{pre-formatted}} inside sentences.
134\par}
135{\pard\plain\s12\keepn{\*\txttags title2}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{More Cosmetics}}\par}
136{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
137Special entities like email ({\field{\*\fldinst{HYPERLINK "mailto:duh@somewhere.com"}}{\fldrslt{\ul\cf1 duh@somewhere.com}}}) and URL ({\field{\*\fldinst{HYPERLINK "http://www.duh.com"}}{\fldrslt{\ul\cf1 http://www.duh.com}}}) are detected automagically, as long as the horizontal line:
138\par}
139{\pard\plain\s1\brdrt\brdrs\brdrw10\li1400\sb120\sa120\ri1400\fs12\par}
140{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
141^ thin or large v
142\par}
143{\pard\plain\s1\brdrt\brdrs\brdrdb\brdrw10\sb120\sa120\li1400\ri1400\fs12\par}
144{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
145You can also specify an {\field{\*\fldinst{HYPERLINK "http://duh.org"}}{\fldrslt{\ul\cf1 explicit link}}} or an {\field{\*\fldinst{HYPERLINK "mailto:duh@somewhere.com"}}{\fldrslt{\ul\cf1 explicit email}}} with label.
146\par}
147{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
148And remember,
149\par}
150{\pard\plain\s4{\*\txttags quote}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li720\ri720\fi0
151A TAB in front of the line does a quotation.
152\par}
153{\pard\plain\s4{\*\txttags quote}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li1080\ri720\fi0
154More TABs, more depth (if allowed).
155\par}
156{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
157Nice.
158\par}
159{\pard\plain\s11\keepn{\*\txttags title1}\f1\fs24\qc\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Lists}}\par}
160{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
161A list of items is natural, just putting a {\b{dash}} or a {\b{plus}} at the beginning of the line.
162\par}
163{\pard\plain\s12\keepn{\*\txttags title2}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Plain List}}\par}
164{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
165The dash is the default list identifier. For sublists, just add {\b{spaces}} at the beginning of the line. More spaces, more sublists.
166\par}
167{\pard\plain\s21{\*\txttags list}\f0\fs24\qj\sb0\sa0\sl480\slmult1
168{\*\listtext{\*\txttags list indent}\li720\ri0\fi-360\'95\tab}\ls1\ilvl1{\*\txttags list indent}\li720\ri0\fi-360
169Earth
170\par
171{\*\listtext{\*\txttags list indent}\li1080\ri0\fi-360\'95\tab}\ls1\ilvl2{\*\txttags list indent}\li1080\ri0\fi-360
172America
173\par
174{\*\listtext{\*\txttags list indent}\li1440\ri0\fi-360\'95\tab}\ls1\ilvl3{\*\txttags list indent}\li1440\ri0\fi-360
175South America
176\par
177{\*\listtext{\*\txttags list indent}\li1800\ri0\fi-360\'95\tab}\ls1\ilvl4{\*\txttags list indent}\li1800\ri0\fi-360
178Brazil
179\par
180{\*\listtext{\*\txttags list indent}\li2160\ri0\fi-360\'95\tab}\ls1\ilvl5{\*\txttags list indent}\li2160\ri0\fi-360
181How deep can I go?
182\par
183{\*\listtext{\*\txttags list indent}\li1080\ri0\fi-360\'95\tab}\ls1\ilvl2{\*\txttags list indent}\li1080\ri0\fi-360
184Europe
185\par
186{\*\listtext{\*\txttags list indent}\li1440\ri0\fi-360\'95\tab}\ls1\ilvl3{\*\txttags list indent}\li1440\ri0\fi-360
187Lots of countries
188\par
189{\*\listtext{\*\txttags list indent}\li720\ri0\fi-360\'95\tab}\ls1\ilvl1{\*\txttags list indent}\li720\ri0\fi-360
190Mars
191\par
192{\*\listtext{\*\txttags list indent}\li1080\ri0\fi-360\'95\tab}\ls1\ilvl2{\*\txttags list indent}\li1080\ri0\fi-360
193Who knows?
194\par
195}
196{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
197The list ends with {\b{two}} consecutive blank lines.
198\par}
199{\pard\plain\s12\keepn{\*\txttags title2}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Numbered List}}\par}
200{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
201The same rules as the plain list, just a different identifier (plus).
202\par}
203{\pard\plain\s21{\*\txttags list}\f0\fs24\qj\sb0\sa0\sl480\slmult1
204{\*\listtext{\*\txttags list indent}\li720\ri0\fi-360 1.\tab}\ls2\ilvl1{\*\txttags list indent}\li720\ri0\fi-360
205one
206\par
207{\*\listtext{\*\txttags list indent}\li720\ri0\fi-360 2.\tab}\ls2\ilvl1{\*\txttags list indent}\li720\ri0\fi-360
208two
209\par
210{\*\listtext{\*\txttags list indent}\li720\ri0\fi-360 3.\tab}\ls2\ilvl1{\*\txttags list indent}\li720\ri0\fi-360
211three
212\par
213{\*\listtext{\*\txttags list indent}\li1080\ri0\fi-360\'95\tab}\ls1\ilvl2{\*\txttags list indent}\li1080\ri0\fi-360
214mixed lists!
215\par
216{\*\listtext{\*\txttags list indent}\li1080\ri0\fi-360\'95\tab}\ls1\ilvl2{\*\txttags list indent}\li1080\ri0\fi-360
217what a mess
218\par
219{\*\listtext{\*\txttags list indent}\li1440\ri0\fi-360 1.\tab}\ls2\ilvl3{\*\txttags list indent}\li1440\ri0\fi-360
220counting again
221\par
222{\*\listtext{\*\txttags list indent}\li1440\ri0\fi-360 2.\tab}\ls2\ilvl3{\*\txttags list indent}\li1440\ri0\fi-360
223...
224\par
225{\*\listtext{\*\txttags list indent}\li720\ri0\fi-360 4.\tab}\ls2\ilvl1{\*\txttags list indent}\li720\ri0\fi-360
226four
227\par
228}
229{\pard\plain\s12\keepn{\*\txttags title2}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Definition List}}\par}
230{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
231The definition list identifier is a colon, followed by the term. The term contents is placed on the next line.
232\par}
233{\pard\plain\s21{\*\txttags list}\f0\fs24\qj\sb0\sa0\sl480\slmult1
234{\*\txttags list indent}\li720\ri0\fi-360{\b
235orange:}\tab
236a yellow fruit
237\par
238{\*\txttags list indent}\li720\ri0\fi-360{\b
239apple:}\tab
240a green or red fruit
241\par
242{\*\txttags list indent}\li720\ri0\fi-360{\b
243other fruits:}\tab
244\par
245{\*\listtext{\*\txttags list indent}\li1080\ri0\fi-360\'95\tab}\ls1\ilvl2{\*\txttags list indent}\li1080\ri0\fi-360
246wee!
247\par
248{\*\listtext{\*\txttags list indent}\li1080\ri0\fi-360\'95\tab}\ls1\ilvl2{\*\txttags list indent}\li1080\ri0\fi-360
249mixing lists
250\par
251{\*\listtext{\*\txttags list indent}\li1440\ri0\fi-360 1.\tab}\ls2\ilvl3{\*\txttags list indent}\li1440\ri0\fi-360
252again!
253\par
254{\*\listtext{\*\txttags list indent}\li1440\ri0\fi-360 2.\tab}\ls2\ilvl3{\*\txttags list indent}\li1440\ri0\fi-360
255and again!
256\par
257}
258{\pard\plain\s11\keepn{\*\txttags title1}\f1\fs24\qc\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Tables}}\par}
259{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
260Use pipes to compose table rows and cells. Double pipe at the line beginning starts a heading row. Natural spaces specify each cell alignment.
261\par}
262{\pard\plain
263{\trowd\trgaph60\trhdr\trqc\trbrdrt\brdrs\brdrw10\trbrdrb\brdrs\brdrw10\trbrdrl\brdrs\brdrw10\trbrdrr\brdrs\brdrw10\trbrdrt\brdrs\brdrw20\trbrdrb\brdrs\brdrw20\clbrdrt\brdrs\brdrw10\clbrdrb\brdrs\brdrw10\clbrdrl\brdrs\brdrw10\clbrdrr\brdrs\brdrw10\clbrdrt\brdrs\brdrw20\clbrdrb\brdrs\brdrw20\cellx1080\clbrdrt\brdrs\brdrw10\clbrdrb\brdrs\brdrw10\clbrdrl\brdrs\brdrw10\clbrdrr\brdrs\brdrw10\clbrdrt\brdrs\brdrw20\clbrdrb\brdrs\brdrw20\cellx2160\clbrdrt\brdrs\brdrw10\clbrdrb\brdrs\brdrw10\clbrdrl\brdrs\brdrw10\clbrdrr\brdrs\brdrw10\clbrdrt\brdrs\brdrw20\clbrdrb\brdrs\brdrw20\cellx3240{\intbl\itap1\f0\fs20\ql\b heading 1\cell}{\intbl\itap1\f0\fs20\qc\b heading 2\cell}{\intbl\itap1\f0\fs20\qr\b heading 3\cell}\row}
264{\trowd\trgaph60\trqc\trbrdrt\brdrs\brdrw10\trbrdrb\brdrs\brdrw10\trbrdrl\brdrs\brdrw10\trbrdrr\brdrs\brdrw10\clbrdrt\brdrs\brdrw10\clbrdrb\brdrs\brdrw10\clbrdrl\brdrs\brdrw10\clbrdrr\brdrs\brdrw10\cellx1080\clbrdrt\brdrs\brdrw10\clbrdrb\brdrs\brdrw10\clbrdrl\brdrs\brdrw10\clbrdrr\brdrs\brdrw10\cellx2160\clbrdrt\brdrs\brdrw10\clbrdrb\brdrs\brdrw10\clbrdrl\brdrs\brdrw10\clbrdrr\brdrs\brdrw10\cellx3240{\intbl\itap1\f0\fs20\ql cell 1.1\cell}{\intbl\itap1\f0\fs20\qc cell 1.2\cell}{\intbl\itap1\f0\fs20\qr cell 1.3\cell}\row}
265{\trowd\trgaph60\trqc\trbrdrt\brdrs\brdrw10\trbrdrb\brdrs\brdrw10\trbrdrl\brdrs\brdrw10\trbrdrr\brdrs\brdrw10\clbrdrt\brdrs\brdrw10\clbrdrb\brdrs\brdrw10\clbrdrl\brdrs\brdrw10\clbrdrr\brdrs\brdrw10\cellx1080\clbrdrt\brdrs\brdrw10\clbrdrb\brdrs\brdrw10\clbrdrl\brdrs\brdrw10\clbrdrr\brdrs\brdrw10\cellx2160\clbrdrt\brdrs\brdrw10\clbrdrb\brdrs\brdrw10\clbrdrl\brdrs\brdrw10\clbrdrr\brdrs\brdrw10\cellx3240{\intbl\itap1\f0\fs20\ql cell 2.1\cell}{\intbl\itap1\f0\fs20\qc cell 2.2\cell}{\intbl\itap1\f0\fs20\qr cell 2.3\cell}\row}
266\par}
267{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
268Without the last pipe, no border:
269\par}
270{\pard\plain
271{\trowd\trgaph60\trhdr\trqc\trbrdrt\brdrs\brdrw20\trbrdrb\brdrs\brdrw20\clbrdrt\brdrs\brdrw20\clbrdrb\brdrs\brdrw20\cellx1080\clbrdrt\brdrs\brdrw20\clbrdrb\brdrs\brdrw20\cellx2160\clbrdrt\brdrs\brdrw20\clbrdrb\brdrs\brdrw20\cellx3240{\intbl\itap1\f0\fs20\ql\b heading 1\cell}{\intbl\itap1\f0\fs20\qc\b heading 2\cell}{\intbl\itap1\f0\fs20\qr\b heading 3\cell}\row}
272{\trowd\trgaph60\trqc\cellx1080\cellx2160\cellx3240{\intbl\itap1\f0\fs20\ql cell 1.1\cell}{\intbl\itap1\f0\fs20\qc cell 1.2\cell}{\intbl\itap1\f0\fs20\qr cell 1.3\cell}\row}
273{\trowd\trgaph60\trqc\cellx1080\cellx2160\cellx3240{\intbl\itap1\f0\fs20\ql cell 2.1\cell}{\intbl\itap1\f0\fs20\qc cell 2.2\cell}{\intbl\itap1\f0\fs20\qr cell 2.3\cell}\row}
274\par}
275{\pard\plain\s11\keepn{\*\txttags title1}\f1\fs24\qc\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Special Entities}}\par}
276{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
277Because things were too simple.
278\par}
279{\pard\plain\s12\keepn{\*\txttags title2}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Images}}\par}
280{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
281The image mark is as simple as it can be: {\f2\fs20{[filename]}}.
282\par}
283{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
284                      {\field{\*\fldinst{INCLUDEPICTURE "./img/photo.jpg" \\* MERGEFORMAT \\d}}{\fldrslt{(img/photo.jpg)}}}  
285\par}
286{\pard\plain\s21{\*\txttags list}\f0\fs24\qj\sb0\sa0\sl480\slmult1
287{\*\listtext{\*\txttags list indent}\li720\ri0\fi-360\'95\tab}\ls1\ilvl1{\*\txttags list indent}\li720\ri0\fi-360
288The filename must end in PNG, JPG, GIF, or similar.
289\par
290{\*\listtext{\*\txttags list indent}\li720\ri0\fi-360\'95\tab}\ls1\ilvl1{\*\txttags list indent}\li720\ri0\fi-360
291No spaces inside the brackets!
292\par
293}
294{\pard\plain\s12\keepn{\*\txttags title2}\f1\fs24\ql\sb240\sa240\sl480\slmult1\li0\ri0\fi0{\b{Other}}\par}
295{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
296The handy {\f2\fs20{%%date}} macro expands to the current date.
297\par}
298{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
299So today is 20110602 on the ISO {\f2\fs20{YYYYMMDD}} format.
300\par}
301{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
302You can also specify the date format with the %? flags, as {\f2\fs20{%%date(%m-%d-%Y)}} which gives: 06-02-2011.
303\par}
304{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
305That's all for now.
306\par}
307{\pard\plain\s1\brdrt\brdrs\brdrw10\li1400\sb120\sa120\ri1400\fs12\par}
308{\pard\plain\s2{\*\txttags paragraph}\f0\fs24\qj\sb0\sa0\sl480\slmult1\li0\ri0\fi360
309{\field{\*\fldinst{INCLUDEPICTURE "./img/t2tpowered.png" \\* MERGEFORMAT \\d}}{\fldrslt{(img/t2tpowered.png)}}} ({\field{\*\fldinst{HYPERLINK "sample.t2t"}}{\fldrslt{\ul\cf1 sample.t2t}}})
310\par}
311
312}