From 24355f90daa6afb319cc72ad547e1b49d8a54d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Matox?= Date: Thu, 11 Aug 2005 22:31:05 +0000 Subject: [PATCH] add \\leftindent to the list of allowed paragraph parameters. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10395 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/ChangeLog | 5 +++++ lib/lyx2lyx/LyX.py | 2 +- lib/lyx2lyx/lyx_1_4.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/lyx2lyx/ChangeLog b/lib/lyx2lyx/ChangeLog index 7c8c3d8494..401c911061 100644 --- a/lib/lyx2lyx/ChangeLog +++ b/lib/lyx2lyx/ChangeLog @@ -1,3 +1,8 @@ +2005-07-29 José Matos + + * lyx_1_4.py: + * LyX.py: add \leftindent to the list of allowed paragraph parameters. + 2005-07-29 José Matos * lyx_1_4.py (remove_paperpackage): Take into account the lines diff --git a/lib/lyx2lyx/LyX.py b/lib/lyx2lyx/LyX.py index 83a8c6f062..9595a3568c 100644 --- a/lib/lyx2lyx/LyX.py +++ b/lib/lyx2lyx/LyX.py @@ -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(): diff --git a/lib/lyx2lyx/lyx_1_4.py b/lib/lyx2lyx/lyx_1_4.py index c38ac34028..47a1932b14 100644 --- a/lib/lyx2lyx/lyx_1_4.py +++ b/lib/lyx2lyx/lyx_1_4.py @@ -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: