mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Really fix start_of_appendix output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9768 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2e801efc57
commit
5307494394
@ -1,3 +1,7 @@
|
||||
2005-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* text.C (parse_text): Really fix \start_of_appendix output
|
||||
|
||||
2005-03-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* tex2lyx.C (read_syntaxfile): Don't use racy test with IsFileReadable
|
||||
|
@ -1158,6 +1158,12 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
// appendix in '\par\appendix\par\chapter{' would
|
||||
// start too late.
|
||||
context.check_layout(os);
|
||||
// FIXME: This is a hack to prevent paragraph
|
||||
// deletion if it is empty. Handle this better!
|
||||
handle_comment(os,
|
||||
"%dummy comment inserted by tex2lyx to "
|
||||
"ensure that this paragraph is not empty",
|
||||
context);
|
||||
// Both measures above may generate an additional
|
||||
// empty paragraph, but that does not hurt, because
|
||||
// whitespace does not matter here.
|
||||
|
Loading…
Reference in New Issue
Block a user