mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
lyx_1_5.py: better method to write preamble, suggested by Georg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18161 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
45dd396555
commit
286463df06
@ -1307,7 +1307,7 @@ def revert_armenian(document):
|
||||
i = i + 1
|
||||
# set the armtex entry as the first preamble line
|
||||
if k != -1:
|
||||
document.preamble[0] = "\\usepackage{armtex}" + "\r" + document.preamble[0][0:]
|
||||
document.preamble[0:0] = ["\\usepackage{armtex}"]
|
||||
# create the preamble when it doesn't exist
|
||||
else:
|
||||
document.preamble.append('\\usepackage{armtex}')
|
||||
|
Loading…
Reference in New Issue
Block a user