Georg's tex2lyx patch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8549 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2004-03-27 16:51:21 +00:00
parent 57689df48b
commit 77d02a91dd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* text.C (parse_text): handle vspaces like '1cm' correctly
2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
* text.C (parse_box): "\\" -> '\\' in calls to contains.

View File

@ -1403,7 +1403,8 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
unit = "vfill";
known_vspace = true;
}
} else {
}
if (!known_vspace) {
switch (unitFromString(unit)) {
case LyXLength::SP:
case LyXLength::PT: