mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +00:00
fix 514 (from herbert)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4668 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7de2b3523e
commit
1dbfc15548
@ -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>
|
2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||||
|
|
||||||
* insetcite.C (getNatbibLabel):
|
* insetcite.C (getNatbibLabel):
|
||||||
|
@ -679,10 +679,11 @@ string const InsetGraphics::prepareFile(Buffer const *buf) const
|
|||||||
// "nice" means that the buffer is exported to LaTeX format but not
|
// "nice" means that the buffer is exported to LaTeX format but not
|
||||||
// run through the LaTeX compiler.
|
// run through the LaTeX compiler.
|
||||||
// if (nice)
|
// if (nice)
|
||||||
// No conversion of the graphics file is needed.
|
// no conversion needed!
|
||||||
// Return the original filename without any extension.
|
// Return the original filename as is, because we do not know
|
||||||
|
// what the user decide.
|
||||||
if (buf->niceFile)
|
if (buf->niceFile)
|
||||||
return RemoveExtension(orig_file);
|
return orig_file;
|
||||||
|
|
||||||
// We're going to be running the exported buffer through the LaTeX
|
// We're going to be running the exported buffer through the LaTeX
|
||||||
// compiler, so must ensure that LaTeX can cope with the graphics
|
// compiler, so must ensure that LaTeX can cope with the graphics
|
||||||
|
Loading…
Reference in New Issue
Block a user