mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
- Try to improve require(lyxdot) detection for insetgraphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15458 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8d8d76a6bf
commit
a36aac0510
@ -898,12 +898,8 @@ void InsetGraphics::validate(LaTeXFeatures & features) const
|
||||
|
||||
if (features.runparams().nice) {
|
||||
Buffer const * m_buffer = features.buffer().getMasterBuffer();
|
||||
string basename =
|
||||
params().filename.outputFilename(m_buffer->filePath());
|
||||
basename = removeExtension(basename);
|
||||
if(params().filename.isZipped())
|
||||
basename = removeExtension(basename);
|
||||
if (contains(basename, "."))
|
||||
string const rel_file = removeExtension(params().filename.relFilename(m_buffer->filePath()));
|
||||
if (contains(rel_file, "."))
|
||||
features.require("lyxdot");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user