The embedded LaTeX seems to have intermittent issues; sometimes it works,
sometimes it doesn't. I need to learn how to make it work properly all the
time because it's really holding me up.

  My python application includes embedded LaTeX for reports. In one of these
reports I generate plots which are written to the reports/ subdirectory,
immediately beneath the CWD. This works fine.

  However, when I try to include these files, pdflatex tells me that the
graphic file is not found. Sometimes it works as intended, sometimes it does
not.

  Here is the code:

        ivr.write('\\includegraphics{reports/'+comp+row[0]+'}')

here is pdflatex's response:

        ! LaTeX Error: File `reports/JobsDuration' not found.

l.447 ...er}\includegraphics{reports/JobsDuration}
                                                  \end{center}

  However, the file is present:

        [EMAIL PROTECTED] /data1/eikos]$ ls reports/JobsDuration.pdf
        reports/JobsDuration.pdf

  Because pdflatex is looking in the proper directory, and the file is
there, I do not understand why I get the file not found error.

Rich

--
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

Reply via email to