mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
Fix off by one error
Looks like I forgot to test this case without quotes, but fortunately the new export test found it.
This commit is contained in:
parent
56ecd464f3
commit
ad0643f4b5
@ -218,7 +218,6 @@ export/mathmacros/testcases_master_child_.*
|
|||||||
export/mathmacros/testcases_speed_(dvi|pdf|pdf[23]|(dvi3|pdf[45])_(texF|systemF))
|
export/mathmacros/testcases_speed_(dvi|pdf|pdf[23]|(dvi3|pdf[45])_(texF|systemF))
|
||||||
|
|
||||||
# Language nesting, document is OK, fails because of a bug in LyX
|
# Language nesting, document is OK, fails because of a bug in LyX
|
||||||
export/export/languagenesting1_lyx16
|
|
||||||
export/export/languagenesting1_dvi
|
export/export/languagenesting1_dvi
|
||||||
export/export/languagenesting1_pdf
|
export/export/languagenesting1_pdf
|
||||||
export/export/languagenesting1_pdf2
|
export/export/languagenesting1_pdf2
|
||||||
|
@ -2105,9 +2105,9 @@ def revert_fontsettings(document):
|
|||||||
document.header[i:i+1] = [f + ' ' + line[q1+1:q2]]
|
document.header[i:i+1] = [f + ' ' + line[q1+1:q2]]
|
||||||
else:
|
else:
|
||||||
if use_non_tex_fonts == "true":
|
if use_non_tex_fonts == "true":
|
||||||
document.header[i:i+1] = [f + ' ' + line.split()[2]]
|
|
||||||
else:
|
|
||||||
document.header[i:i+1] = [f + ' ' + line.split()[1]]
|
document.header[i:i+1] = [f + ' ' + line.split()[1]]
|
||||||
|
else:
|
||||||
|
document.header[i:i+1] = [f + ' ' + line.split()[0]]
|
||||||
j = j + 1
|
j = j + 1
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user