mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix lyx2lyx export of long tables
For some .lyx files with long tables, this fix reduces the differences in LaTeX export of master, compared to LaTeX export of the lyx2lyx exported file. Further, this export fixes the lyx2lyx roundtrip convergence for these cases. For discussion, see: https://www.mail-archive.com/search?l=mid&q=20190102230924.7zgla5lhkwxpx5fi%40barna
This commit is contained in:
parent
5d5bb53887
commit
253b12aba1
@ -556,8 +556,6 @@ def handle_longtable_captions(document, forward):
|
|||||||
get_option_value(document.body[begin_row], 'endlastfoot') != 'true'):
|
get_option_value(document.body[begin_row], 'endlastfoot') != 'true'):
|
||||||
document.body[begin_row] = set_option_value(document.body[begin_row], 'caption', 'true", endfirsthead="true')
|
document.body[begin_row] = set_option_value(document.body[begin_row], 'caption', 'true", endfirsthead="true')
|
||||||
elif get_option_value(document.body[begin_row], 'caption') == 'true':
|
elif get_option_value(document.body[begin_row], 'caption') == 'true':
|
||||||
if get_option_value(document.body[begin_row], 'endfirsthead') == 'true':
|
|
||||||
document.body[begin_row] = set_option_value(document.body[begin_row], 'endfirsthead', 'false')
|
|
||||||
if get_option_value(document.body[begin_row], 'endhead') == 'true':
|
if get_option_value(document.body[begin_row], 'endhead') == 'true':
|
||||||
document.body[begin_row] = set_option_value(document.body[begin_row], 'endhead', 'false')
|
document.body[begin_row] = set_option_value(document.body[begin_row], 'endhead', 'false')
|
||||||
if get_option_value(document.body[begin_row], 'endfoot') == 'true':
|
if get_option_value(document.body[begin_row], 'endfoot') == 'true':
|
||||||
|
Loading…
Reference in New Issue
Block a user