Georg, Em Sex 08 Jul 2005 12:11, Georg Baum escreveu: > Angus Leeming wrote: > > Ok, the problem is that ChangeExtension calls os::internal_path > > internally, so the \ characters here are converted to / ones: > > path = ChangeExtension("\\string\"" + base + "\\string\"", ext); > > Attached is the equivalent patch for 1.4. Note that I also changed the > external inset where it made sense. This quoting business does not play > well with the external inset, since it may require to add the extension, > but IMO we should ignore that. > > BTW, I was not very successful with my pdftex bug report: > > http://sarovar.org/tracker/?func=detail&atid=493&aid=377&group_id=106 > > Does somebody have the time to create a \pdfximage external template? > > > I will apply the patch shortly.
There is a problem with the patch: g++ -DHAVE_CONFIG_H -I. -I../../../src/insets -I../../src -I../../../src/insets/.. -I../../../boost -W -Wall -I/usr/X11R6/include -fno-exceptions -g -O2 -fno-exceptions -c ../../../src/insets/ExternalSupport.C -o ExternalSupport.o ../../../src/insets/ExternalSupport.C: In function `const std::string lyx::external::<unnamed>::subst_path(const std::string&, const std::string&, const std::string&, bool, bool)': ../../../src/insets/ExternalSupport.C:75: error: `use_lyxdot' undeclared (first use this function) ../../../src/insets/ExternalSupport.C:75: error: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: ** [ExternalSupport.lo] Erro 1 Also, it misses a semicolon -std::string const latex_path(std::string const & path); +std::string const latex_path(std::string const & path, + bool exclude_extension = false) <--- Here Regards, João.