mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
forgotten fixes for bug 2027
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10494 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
be94e5691a
commit
aba9a83f22
@ -1,3 +1,7 @@
|
||||
2005-09-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* doc_toc.py: make it work again with builddir == srcdir
|
||||
|
||||
2005-09-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* de_UserGuide.lyx, it_UserGuide.lyx: repair invalid syntax, maybe
|
||||
|
@ -25,7 +25,11 @@
|
||||
import sys
|
||||
import os
|
||||
|
||||
sys.path.insert(0, os.path.dirname(sys.argv[0]) + "/../lyx2lyx")
|
||||
srcdir = os.path.dirname(sys.argv[0])
|
||||
if srcdir == '':
|
||||
srcdir = '.'
|
||||
sys.path.insert(0, srcdir + "/../lyx2lyx")
|
||||
|
||||
import parser_tools
|
||||
import LyX
|
||||
import depend
|
||||
@ -105,8 +109,6 @@ def main(argv):
|
||||
if lang not in info:
|
||||
lang = 'en'
|
||||
|
||||
srcdir = os.path.dirname(sys.argv[0])
|
||||
|
||||
# Determine existing translated documents for that language.
|
||||
toc_general = []
|
||||
for file in depend.documents(srcdir, pref):
|
||||
|
@ -1,3 +1,7 @@
|
||||
2005-09-28 José Matos <jamatos@lyx.org>
|
||||
|
||||
* LyX.py: fix relation_format reversion
|
||||
|
||||
2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* LyX.py: enlarge range to current format (244).
|
||||
|
@ -284,7 +284,7 @@ class LyX_Base:
|
||||
" Set the value of the header parameter."
|
||||
i = find_token(self.header, '\\' + param, 0)
|
||||
if i == -1:
|
||||
self.warning(3, 'Parameter not found in the header: %s' % param)
|
||||
self.warning('Parameter not found in the header: %s' % param, 3)
|
||||
return
|
||||
self.header[i] = '\\%s %s' % (param, str(value))
|
||||
|
||||
@ -375,7 +375,7 @@ class LyX_Base:
|
||||
steps.append(step[0])
|
||||
else:
|
||||
mode = "revert"
|
||||
relation_format = format_relation
|
||||
relation_format = format_relation[:]
|
||||
relation_format.reverse()
|
||||
last_step = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user