Handle is_child runparam in preview (bug #8445)

This commit is contained in:
Juergen Spitzmueller 2013-09-29 14:14:15 +02:00
parent 2c6eab541f
commit 1ace930f7d

View File

@ -718,6 +718,7 @@ void PreviewLoader::Impl::dumpPreamble(otexstream & os) const
runparams.nice = true; runparams.nice = true;
runparams.moving_arg = true; runparams.moving_arg = true;
runparams.free_spacing = true; runparams.free_spacing = true;
runparams.is_child = buffer_.parent();
buffer_.writeLaTeXSource(os, buffer_.filePath(), runparams, Buffer::OnlyPreamble); buffer_.writeLaTeXSource(os, buffer_.filePath(), runparams, Buffer::OnlyPreamble);
// FIXME! This is a HACK! The proper fix is to control the 'true' // FIXME! This is a HACK! The proper fix is to control the 'true'