]> git.lyx.org Git - features.git/commit
Fix bug #8104 (\date argument was eaten)
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 19 Apr 2012 18:46:08 +0000 (20:46 +0200)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 6 May 2012 10:42:11 +0000 (12:42 +0200)
commit1be371baaeebda94f2cea8d39fdd31b1814bc46a
tree49477e3da25f59d46d9f0d2eba352903b916a0f7
parent773f2b365c647b5685a05714b84b94cdff587f29
Fix bug #8104 (\date argument was eaten)

I introduced this bug in r40091 where support for empty dates was added.
I also noticed that the title_layout_found flag was not properly passed down
to all variants of parse_text*. Since this is rather a global variable I
placed it into the preamble class.

The test case of bug #8104 shows other problems as well, but those are no
regressions and will be fixed separately.

OK for branch?
src/tex2lyx/Preamble.cpp
src/tex2lyx/Preamble.h
src/tex2lyx/test/test-insets.tex
src/tex2lyx/text.cpp