mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
second part of Claus' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4487 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
639e179c8b
commit
7e652bb51c
@ -1,3 +1,8 @@
|
||||
2002-06-26 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* insetgraphics.C: use os::external_path where necesaary according to a
|
||||
patch from Claus Hentschel)
|
||||
|
||||
2002-06-25 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* insetgraphics.[Ch]: The inset now assumes the responsibility for
|
||||
|
@ -103,6 +103,7 @@ TODO Before initial production release:
|
||||
#include "support/lyxalgo.h" // lyx::count
|
||||
#include "support/path.h"
|
||||
#include "support/systemcall.h"
|
||||
#include "support/os.h"
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
@ -948,7 +949,7 @@ int InsetGraphics::latex(Buffer const *buf, ostream & os,
|
||||
// and remove the extension so the LaTeX will use whatever is
|
||||
// appropriate (when there are several versions in different formats)
|
||||
string const latex_str = message.empty() ?
|
||||
(before + '{' + prepareFile(buf) + '}' + after) :
|
||||
(before + '{' + os::external_path(prepareFile(buf)) + '}' + after) :
|
||||
(before + '{' + params().filename + " not found!}" + after);
|
||||
os << latex_str;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user