From: Juergen Spitzmueller Date: Sun, 29 Sep 2013 12:14:15 +0000 (+0200) Subject: Handle is_child runparam in preview (bug #8445) X-Git-Tag: 2.1.0beta2~57 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1ace930f7dfe1bf154888009a1b76981908d913f;p=features.git Handle is_child runparam in preview (bug #8445) --- diff --git a/src/graphics/PreviewLoader.cpp b/src/graphics/PreviewLoader.cpp index 10eeee321d..b4d78e0ab5 100644 --- a/src/graphics/PreviewLoader.cpp +++ b/src/graphics/PreviewLoader.cpp @@ -718,6 +718,7 @@ void PreviewLoader::Impl::dumpPreamble(otexstream & os) const runparams.nice = true; runparams.moving_arg = true; runparams.free_spacing = true; + runparams.is_child = buffer_.parent(); buffer_.writeLaTeXSource(os, buffer_.filePath(), runparams, Buffer::OnlyPreamble); // FIXME! This is a HACK! The proper fix is to control the 'true'