2 sys
.path
.insert(0, "..")
5 text
.set(mode
="latex", docclass
="scrartcl", docopt
="11pt", fontmaps
="tipa.map")
6 text
.preamble(r
"\usepackage{tipa}")
8 c
.text(0, 0, r
"\textipa{[%s]}" % sys
.argv
[1])
9 c
.writePDFfile("tipa%s.pdf" % sys
.argv
[2], bboxenlarge
=0)