mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Explain why we do not update the local layout
We do not update the local layout of our .lyx files because users would then not be able to export to older formats. For example, if a 2.2.0 user exported a template to 2.1.x format and tried to open the file in LyX 2.1.x, there would be an error because the file would contain a local layout whose format is too new. The root reason for this is that we do not convert layouts to older layout formats.
This commit is contained in:
parent
11e12c787a
commit
1405f9efb1
@ -649,6 +649,25 @@ python development/tools/updatelayouts.py
|
|||||||
.
|
.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
Note that we do not update the local layout of our
|
||||||
|
\begin_inset Flex Code
|
||||||
|
status collapsed
|
||||||
|
|
||||||
|
\begin_layout Plain Layout
|
||||||
|
.lyx
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
files because users would then not be able to export to older formats.
|
||||||
|
For example, if a 2.2.0 user exported a template to 2.1.x format and tried
|
||||||
|
to open the file in LyX 2.1.x, there would be an error because the file would
|
||||||
|
contain a local layout whose format is too new.
|
||||||
|
The root reason for this is that we do support converting layouts to older
|
||||||
|
layout formats, as we do for the .lyx file format.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Subsection
|
\begin_layout Subsection
|
||||||
Updating the file format number of bind/ui files
|
Updating the file format number of bind/ui files
|
||||||
\end_layout
|
\end_layout
|
||||||
|
Loading…
Reference in New Issue
Block a user