]> git.lyx.org Git - features.git/commitdiff
tex2lyx/Preamble.cpp: add support for all \defskip lengths
authorUwe Stöhr <uwestoehr@lyx.org>
Wed, 3 Dec 2014 23:41:51 +0000 (00:41 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Wed, 3 Dec 2014 23:41:51 +0000 (00:41 +0100)
backports commit c2e0f223

src/tex2lyx/Preamble.cpp
src/tex2lyx/TODO.txt
status.21x

index d0e90e95c2d420c213844dd33cd0afe9627580ef..7cf11bcefb0ef151c125b16d8fb547b07ed25a48 100644 (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 << "}";
                }
index f3dd52e29b75deab1c4469166cece3fac2fe0361..f7118e11e25186e9f90a7e8d789bf91167b41ef0 100644 (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
index 9c1043cd6a49d0cdd04bef73ca80f0deeddabab3..5ae673d3eba35ef4a01a89e715e2fbd373864b42 100644 (file)
@@ -49,6 +49,8 @@ What's new
 
 - Support for the Libertine fonts.
 
+- Support for relative lengths in  the paragraph separation setting. 
+
 
 * USER INTERFACE