well, because what I'm writing is a dynamic document (with literate programming); I have some code in the Lyx document which can produce PDF graphs with fixed names, and I can choose to run the code or not to run. In order to save time, I choose not to reproduce the figures (i.e. not to run the code), but just insert static figures there whose file names are the same as what the figures produced by my code. However, other uses might want to modify my code and compile the whole document again. In this case, I hope the file names can be kept the same so that LaTeX can receive new figures produced by the code.
Regards, Yihui On Tue, Dec 8, 2009 at 6:57 PM, Vincent van Ravesteijn <v.f.vanraveste...@tudelft.nl> wrote: > Yihui Xie schreef: >> >> Hi, >> >> When we insert a graph into a Lyx document, say, test.pdf, and compile >> the lyx document using pdfLaTeX, Lyx will first copy the graph to a >> temporary directory and change the file name by adding a path prefix >> before the original file name, e.g. 0E_user_document_test.pdf >> (original file is under E:/user/document/). My question is, how to let >> Lyx copy the file without changing its name? Thanks! >> >> Regards, >> Yihui >> -- >> Yihui Xie <xieyi...@gmail.com> >> Phone: 515-294-6609 Web: http://yihui.name >> Department of Statistics, Iowa State University >> 3211 Snedecor Hall, Ames, IA >> > > that's not possible I guess. > > Why do you want that ? > > Vincent >