-
Notifications
You must be signed in to change notification settings - Fork 0
/
trip.aft
executable file
·285 lines (210 loc) · 6.66 KB
/
trip.aft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
#---SET \[={brace}
#---SET \]={end}
#---SET trip=_TRIP_
#---SET-HTML test=<i>test</i>
#---SET-LaTeX test=\emph{test}
*Title: %trip% %test%
*Author: Todd Coram
''hello''
_there_ ''_ok_''
~''Trying to %trip% up AFT the best we can :)''~
----
_''A %[%Table%]% of %trip% %test% Contents''_
*TOC
--------
* Testing SECTION
_A bolded paragraph by any other name is still an
emphasis._
Except when...
''There are italics to be dealt with!''
~Or small text,
as in this case.~
Here at level }-Level 1-{1.
He said underscored \_ by me \_. And this |\|| (pipe) too.
A backslash: \ and
a _continued \
line_.
As well as \~this\~. ~But not that~
#---SET-LaTeX tilde=~
#---SET-HTML tilde=~
So this is a test?
{+http://www.foo_bar_x.com+}
http://www.foobarx.com/%tilde%todd
Tilde is %tilde%.
=[(A target)]=
"What do you expect?", he said. "I dunno. Something better.", she replied.
TeX is =[^cool]=. TeX is cool. Yes, "TeX" is cool. But LaTeX is easier.
|What is this? A Bar || not a marker.|
|What is this? A Bar || not a marker.|
** ''Section'' Level 2
** Not a Section
*** Section Level 3 again (its a %trip%)
** Section Level 2 again (its an HTML %test%)
**** Section Level 4 with a trailing space
**** Another Section Level 4
** Section Level 2 with several trailing spaces
Very =[^cool]=.
* Testing PASS
#---PASS-TROFF // Troff silliness not supported yet!
#---PASS-HTML <font color=red size=+1>
This should be red. (#---PASS test)
#---PASS-HTML </font>
* Testing TABSTOP
#---TABSTOP=8
=[^TABSTOP]= is 8
* A bullet (preceded by 8 spaces)
* Another bullet at same level (preceded by hard tab)
* A sub-bullet (2 hard tabs)
* Another sub-bullet (16 spaces)
TABSTOP is 4
#---TABSTOP=4
* A bullet preceded by 4 spaces (Level 1)
* A bullet preceded by 8 spaces (Level 2)
* Testing LINKS
}-Link Tests-{}-Another Target-{
** Test Plain Old Links
A mere footnote in this convoluted file [Note: Yes, convoluted it is.\
But pretty damn proud.]
[Testing Links] [Test Plain Old Links] [Another (Testing Links)] [And another (Test Plain Old Links)]
Double bracket test: [[Testing Links]] Did it work?
How about Double bracket test with escape: \[[Testing Links]] [Test Plain Old Links] Did it work? [Note: Better damn work!]
This is my homepage http://www.pobox.com/~tcoram .
Try this at home:
http://www.foo.bar.fubar.what.is.going.on.com
But here is the URL as a local link (brackets!):
[http://www.foo.bar.fubar.what.is.going.on.com]
[Now external (http://www.foo.bar.fubar.what.is.going.on.com)]
ftp://www.foo.bar.fubar.what-is-going-on.com/file.dat is long.
(http://www.foo.bar.fubar.what.is.going.on.com/topdir/lowdir#subpage) okay?
This is my alternate homepage: (http://patriot.net/~maroc).
A period on the end: http://www.google.com. should work
But, what is =[^TABSTOP]= set to?
http://slashdot.org should work.
Alternate URL forms:
* Home {+http://www.pobox.com/~tcoram+} Sweet Home.
* Send me mail at {+mailto:[email protected]+}.
* Send me mail [here (mailto:[email protected])].
* Download relative [file (:aft.tar.gz)].
* Or, just click {-here@mailto:[email protected]}.
* Go to [Level One (Level 1)].
* Again! Go to [Level One(Level 1)].
* Go to [Level 1]. Or click on [this to go to Level 1(Level 1)].
* These are regular brackets \[not a link]!
* These are regular brackets \[not a link(Level 1)]!
* Again, these are regular brackets [not a link
]!
* Local file reference: {-Reference Manual@:aft-refman.html-}
[ [Level 1] Named List] a Named list element.
* Another Local file reference: {-Target stuff@:aft-refman.html#HTML Targets-}
* Yet Another Local file reference: [Target stuff (:aft-refman.html#HTML Targets)]
{+Link Tests+}=[Another Target]=
------
#---SET aftimage=aft.gif
#---SET-HTML aftimage=aft.gif
#---SET-LaTeX aftimage=aft.jpg
* Testing IMAGE
Plain image command right after text-->
*Image: %aftimage%
Plain Image command (*Image) three times.
*Image: %aftimage%
*Image: %aftimage%
*Image: %aftimage%
Okay, now a left image
*Image-left: %aftimage%
Now a right flushed image
*Image-right: %aftimage%
Now a centered image
*Image-center: %aftimage%
* Testing INCLUDES
Again, but, what is =[^TABSTOP]= set to?
*Include: trip-1
*Include: trip-1
*Insert: trip-1.aft
*Insert: trip-1.aft
* Testing LISTS
1 This is not a list, but should be _verbatim_!
[Something] Named List item.
[Else] Another named list item.
[Nest] Can these nest?
1. Level 1 numbered (Item 1).
#) Level 1 with continuation (# numbered)
onto next line (Item 2)
1. Level 2 numbered.
* Level 2 bulleted.
#. Level 3 numbered...
and with a continuation.
3. Back to Level 1 numbered (Item 3).
* Switching to bullets (Level 2).
#) Back to Level 1 numbered (Item 1). (# numbered)
* Testing Centered
This is centered.
This is not.
* Testing Quoted
An eloquent reflection:
# You're damned if you do,
You're damned if you don't - Bart Simpson
Or, so they say...
#---SET ex=!
#---SET-CONTROL tableparser=new
* Testing Table
#---SET ex=!
#---SET bday=It's my birthday. This cell will wrap but must be typed on one line.
! _Very_ Important Dates%ex% !
!-------------------------------!
! Year ! Month ! Day ! Notes !
!-------------------------------!
! 1966 ! Oct ! 9 ! %bday% !
!-------------------------------!
! 1999 ! Dec ! 25 ! xmas !
!-------------------------------!
! 2000 ! Jan ! 1 ! New Years!
!-------------------------------!
test again.
! _Very_ Important Dates\! !
!-------------------------------!
! Year ! Month ! Day ! Notes !
!-------------------------------!
! 1966 ! Oct ! 9 ! Hello\! !
! ! ! ! Multiline!
! ! ! ! text here!
!-------------------------------!
! 1999 ! Dec- ! 25 ! xmas is !
! !ember ! ! Christmas!
!-------------------------------!
! 2000 ! Jan ! 1 ! Hi\! New Years!
!-------------------------------!
* Test Verbatim
** Straight Verbatim
This is just some random tuff:
<>&^%$##@#*$sjdfhkjfs*(_+_))**(^&^%^%%^$#
* This isn't a bullet.
1. This isn't a list.
** Blocked Verbatim
^<<
This is just some random tuff:
test|<>&^%$##@#*$sjdfhkjfs*(_+_))**(^&^%^%%^$#
!"#$%&'()*+,-./0123456789:;<=>?@
ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`
abcdefghijklmnopqrstuvwxyz{|}~
|What is this? A Bar || not a marker.|
* This isn't a section.
* This isn't a bullet.
1. This isn't a list.
^>>
** Filtered Verbatim
^<<Filter
_Some bold_ moves.
This is just some random tuff:
<>&^%$##@#*$sjdfhkjfs*(+))**(^&^%^%%^$#
* This isn't a bullet.
1. This isn't a list.
^>>
** Verbatim and Line Continuations
^<<
This
list of words \
is very long \
and should not \
get wrapped as a \
single line.
^>>