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
This commit is contained in:
José Matox 2005-08-11 22:31:05 +00:00
parent e16d163582
commit 24355f90da
3 changed files with 7 additions and 2 deletions

View 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

View 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():

View 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: