mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
The current buffer is the master of an included file, not the grandmaster.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31677 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8355b32381
commit
ba9d500de4
@ -544,7 +544,7 @@ int InsetInclude::latex(odocstream & os, OutputParams const & runparams) const
|
||||
Encoding const * const oldEnc = runparams.encoding;
|
||||
Language const * const oldLang = runparams.master_language;
|
||||
runparams.encoding = &tmp->params().encoding();
|
||||
runparams.master_language = masterBuffer->params().language;
|
||||
runparams.master_language = buffer().params().language;
|
||||
tmp->makeLaTeXFile(writefile,
|
||||
masterFileName(buffer()).onlyPath().absFilename(),
|
||||
runparams, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user