« Return to Thread: externalizing graphics, using same basename

externalizing graphics, using same basename

by Dan Drake-3 :: Rate this Message:

Reply to Author | View in Thread

Hello,

I'm trying to use the external graphics features and I've encountered
some strange behavior. I want to have my TikZ snippet in a file called,
say, foo.tex. To make it easy for myself, I want to use that file to
create foo.pdf. So in my main file, I do

  \beginpgfgraphicnamed{foo}
  \input{foo.tex}
  \endpgfgraphicnamed

When I've done "pdflatex --jobname=foo main.tex" everything works fine:
LaTeX finds foo.pdf and includes it. But if I haven't done that, I
expect it to skip the graphics file and do the \input{foo.tex} business
-- but instead, LaTeX complains "File `foo' not found."

If I change the first line above to \beginpgfgraphicnamed{bar}, then
everything works properly, whether or not I've generated the file
bar.pdf.

I'm using PGF version 2.0 with TeXLive 2008, and am trying to adapt Hans
Maine's setup from
http://kogs-www.informatik.uni-hamburg.de/~meine/tikz/process/.

Am I doing something wrong? It would be convenient to be able to use the
same prefix in both places. Thanks!

Dan

--
---  Dan Drake <drake at kaist dot edu>
-----  KAIST Department of Mathematical Sciences
-------  http://mathsci.kaist.ac.kr/~drake


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

signature.asc (204 bytes) Download Attachment

 « Return to Thread: externalizing graphics, using same basename