Bo Peng wrote: >> Python can handle this without a problem. As a matter of fact, I used >> >> infile_base = '''/home/username/Figure3a''' > > Hmm, no, > infile = ''" << quoteName(infile) << "''\n" > > does not look right. quoteName should decide if triple quote is > needed. Use single quote now.
quoteName() quotes names for the shell and is os specific. Maybe you need a python specific quoteName? Put im what you have for now, I have a different solution using temp files that will have the side effect of speeding up pdflatex. Georg