Added 2 output options

Only pdf output is working, but marginally. It would be best if we could
append all pdfs to one file, but I was having trouble getting that to
work. Text file output should be straightforward. Also, naming the
figures isn't exactly perfect yet. They need to be unambiguously named.