]> git.lyx.org Git - features.git/commitdiff
add \\leftindent to the list of allowed paragraph parameters.
authorJosé Matox <jamatos@lyx.org>
Thu, 11 Aug 2005 22:31:05 +0000 (22:31 +0000)
committerJosé Matox <jamatos@lyx.org>
Thu, 11 Aug 2005 22:31:05 +0000 (22:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10395 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/ChangeLog
lib/lyx2lyx/LyX.py
lib/lyx2lyx/lyx_1_4.py

index 7c8c3d8494c076074476caa3f1e28a6af7c731d4..401c9110615b29c3081039d692bbaf732864a9fb 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-29  José Matos  <jamatos@lyx.org>
+
+       * lyx_1_4.py:
+       * LyX.py: add \leftindent to the list of allowed paragraph parameters.
+
 2005-07-29  José Matos  <jamatos@lyx.org>
 
        * lyx_1_4.py (remove_paperpackage): Take into account the lines
index 83a8c6f0621e8abe99a3c950174557dd135fdb60..9595a3568ca8e2857391bc447a05f1120dd1bdcb 100644 (file)
@@ -376,7 +376,7 @@ class LyX_Base:
         " Returns the TOC of this LyX document."
         paragraphs_filter = {'Title' : 0,'Chapter' : 1, 'Section' : 2, 'Subsection' : 3, 'Subsubsection': 4}
         allowed_insets = ['Quotes']
-        allowed_parameters = '\\paragraph_spacing', '\\noindent', '\\align', '\\labelwidthstring', "\\start_of_appendix"
+        allowed_parameters = '\\paragraph_spacing', '\\noindent', '\\align', '\\labelwidthstring', "\\start_of_appendix", "\\leftindent"
 
         sections = []
         for section in paragraphs_filter.keys():
index c38ac34028fc88143a4d551c31f2c69e1ed396e8..47a1932b1480142e13bac4eb4c6c1a52dcbf99b6 100644 (file)
@@ -1693,7 +1693,7 @@ def use_x_binary(file):
 #
 def normalize_paragraph_params(file):
     body = file.body
-    allowed_parameters = '\\paragraph_spacing', '\\noindent', '\\align', '\\labelwidthstring', "\\start_of_appendix"
+    allowed_parameters = '\\paragraph_spacing', '\\noindent', '\\align', '\\labelwidthstring', "\\start_of_appendix", "\\leftindent"
 
     i = 0
     while 1: