mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
Bump layout format for the new Display tag used in Comments and Greyedout notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37381 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
37179bca4b
commit
6919ddf078
@ -14266,6 +14266,98 @@ Conglomerate
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Display
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
[
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
0
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
,
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\emph on
|
||||
1
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
] Only useful if
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
LatexType
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
is
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Environment
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
.
|
||||
Indicates whether the environment will stand on its own in LaTeX output
|
||||
or will appear inline with the surrounding text.
|
||||
If set to false, it is supposed that the LaTeX environment ignores white
|
||||
space (including one newline character) after the
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\backslash
|
||||
begin{
|
||||
\emph on
|
||||
LatexName
|
||||
\emph default
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
and
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\backslash
|
||||
end{
|
||||
\emph on
|
||||
LatexName
|
||||
\emph default
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
tags.
|
||||
Default is true.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Description
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
End
|
||||
\end_layout
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Detailled format description is available in the customization manual
|
||||
|
||||
Format 31
|
||||
Format 32
|
||||
|
||||
Provides stdinsets 1
|
||||
|
||||
|
@ -110,6 +110,9 @@ import os, re, string, sys
|
||||
# Incremented to format 31, 12 January 2011 by rgh
|
||||
# Introducted NoCounter tag.
|
||||
|
||||
# Incremented to format 32, 30 January 2011 by forenr
|
||||
# Added Display tag for InsetLayout
|
||||
|
||||
# Do not forget to document format change in Customization
|
||||
# Manual (section "Declaring a new text class").
|
||||
|
||||
@ -117,7 +120,7 @@ import os, re, string, sys
|
||||
# development/tools/updatelayouts.sh script to update all
|
||||
# layout files to the new format.
|
||||
|
||||
currentFormat = 31
|
||||
currentFormat = 32
|
||||
|
||||
|
||||
def usage(prog_name):
|
||||
@ -291,9 +294,9 @@ def convert(lines):
|
||||
while i < len(lines) and not re_EndBabelPreamble.match(lines[i]):
|
||||
i += 1
|
||||
continue
|
||||
|
||||
|
||||
# Only new features
|
||||
if format == 29 or format == 30:
|
||||
if format >= 29 and format <= 31:
|
||||
i += 1
|
||||
continue
|
||||
|
||||
|
@ -60,7 +60,7 @@ namespace lyx {
|
||||
// development/updatelayouts.sh script, to update the format of
|
||||
// all of our layout files.
|
||||
//
|
||||
int const LAYOUT_FORMAT = 31;
|
||||
int const LAYOUT_FORMAT = 32;
|
||||
|
||||
namespace {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user