Le 13/01/2016 18:20, Guillaume Munch a écrit :
i = find_token(document.header, '\\begin_header', 0)
if i = -1:
document.warning("Malformed lyx document: Missing
'\\begin_header'!!")
return
document.header.insert(i + 1, '\\save_transient_properties true')
That puts it at the beginning
Le 13/01/2016 17:46, Richard Heck a écrit :
On 01/12/2016 04:36 PM, Guillaume Munch wrote:
diff --git a/lib/lyx2lyx/lyx_2_2.py b/lib/lyx2lyx/lyx_2_2.py
index 5a639cd..5361420 100644
--- a/lib/lyx2lyx/lyx_2_2.py
+++
On 01/12/2016 04:36 PM, Guillaume Munch wrote:
>
> diff --git a/lib/lyx2lyx/lyx_2_2.py b/lib/lyx2lyx/lyx_2_2.py
> index 5a639cd..5361420 100644
> --- a/lib/lyx2lyx/lyx_2_2.py
> +++ b/lib/lyx2lyx/lyx_2_2.py
> @@ -2184,6 +2184,23