Handle is_child runparam in preview (bug #8445)

(cherry picked from commit 1ace930f7d)
This commit is contained in:
Juergen Spitzmueller 2013-09-29 14:14:15 +02:00 committed by Richard Heck
parent 9e9e02d285
commit aba0b41fdc
2 changed files with 4 additions and 0 deletions

View File

@ -722,6 +722,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'

View File

@ -93,6 +93,9 @@ What's new
- Do not close shortcut box if we receive bad input (bug 8703).
- Fix problem with numbering of some child documents when instant preview
is active (bug 8673).
* DOCUMENTATION AND LOCALIZATION