User Guide will not export to 1.6.x. This ID can be negative!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38486 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-04-25 01:47:10 +00:00
parent 5f1d31bf16
commit d87ee9fbba

View File

@ -771,7 +771,7 @@ def revert_author_id(document):
" Remove the author_id from the \\author definition " " Remove the author_id from the \\author definition "
i = 0 i = 0
anum = 0 anum = 0
rx = re.compile(r'(\\author)\s+(\d+)\s+(\".*\")\s*(.*)$') rx = re.compile(r'(\\author)\s+(-?\d+)\s+(\".*\")\s*(.*)$')
idmap = dict() idmap = dict()
while True: while True: