tex2lyx/Preamble.cpp: add support for all \defskip lengths

backports commit c2e0f223
This commit is contained in:
Uwe Stöhr 2014-12-04 00:41:51 +01:00
parent a0b723f2b7
commit 515e70a7da
3 changed files with 3 additions and 2 deletions

View File

@ -1731,7 +1731,7 @@ void Preamble::parse(Parser & p, string const & forceclass,
else if (content == "\\bigskipamount")
h_defskip = "bigskip";
else
h_defskip = content;
h_defskip = translate_len(content);
} else
h_preamble << "\\setlength{" << name << "}{" << content << "}";
}

View File

@ -36,7 +36,6 @@ Format LaTeX feature LyX feature
358 custom makeindex command \index_command
363 horizontal longtable alignment InsetTabular
364 branch file name suffix \filename_suffix
366 relative lengths for parskip \defskip
367 relative lengths for h and v space InsetSpace, InsetVSpace
368 glue lengths InsetSpace
371 automatic mhchem loading \use_mhchem

View File

@ -49,6 +49,8 @@ What's new
- Support for the Libertine fonts.
- Support for relative lengths in the paragraph separation setting.
* USER INTERFACE