From: Uwe Stöhr Date: Wed, 3 Dec 2014 23:41:51 +0000 (+0100) Subject: tex2lyx/Preamble.cpp: add support for all \defskip lengths X-Git-Tag: 2.1.3~68 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=515e70a7daefda5d7d2a27c3aec73883fbff889c;p=features.git tex2lyx/Preamble.cpp: add support for all \defskip lengths backports commit c2e0f223 --- diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index d0e90e95c2..7cf11bcefb 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -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 << "}"; } diff --git a/src/tex2lyx/TODO.txt b/src/tex2lyx/TODO.txt index f3dd52e29b..f7118e11e2 100644 --- a/src/tex2lyx/TODO.txt +++ b/src/tex2lyx/TODO.txt @@ -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 diff --git a/status.21x b/status.21x index 9c1043cd6a..5ae673d3eb 100644 --- a/status.21x +++ b/status.21x @@ -49,6 +49,8 @@ What's new - Support for the Libertine fonts. +- Support for relative lengths in the paragraph separation setting. + * USER INTERFACE