mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-19 05:53:35 +00:00
fix 514 (from herbert)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4667 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8867400a40
commit
f778741c01
@ -1,3 +1,8 @@
|
||||
2002-07-17 Herbert Voss <voss@perce.de>
|
||||
|
||||
* insetgraphics.C (prepareFile): keep the extension when
|
||||
exporting to nice file
|
||||
|
||||
2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* insetcite.C (getNatbibLabel):
|
||||
|
@ -656,10 +656,11 @@ string const InsetGraphics::prepareFile(Buffer const *buf) const
|
||||
// "nice" means that the buffer is exported to LaTeX format but not
|
||||
// run through the LaTeX compiler.
|
||||
// if (nice)
|
||||
// No conversion of the graphics file is needed.
|
||||
// Return the original filename without any extension.
|
||||
// no conversion needed!
|
||||
// Return the original filename as is, because we do not know
|
||||
// what the user decide.
|
||||
if (buf->niceFile)
|
||||
return RemoveExtension(orig_file);
|
||||
return orig_file;
|
||||
|
||||
// We're going to be running the exported buffer through the LaTeX
|
||||
// compiler, so must ensure that LaTeX can cope with the graphics
|
||||
|
Loading…
x
Reference in New Issue
Block a user