mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Remove unused code related to InsetEnvironment experiment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26768 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
64baf4dedc
commit
7eb60756fd
@ -96,43 +96,3 @@ Style List
|
|||||||
{\end{list}}
|
{\end{list}}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# New environments (not active yet)
|
|
||||||
#
|
|
||||||
#Environment Itemize
|
|
||||||
# LaTeXHeader "\begin{itemize}"
|
|
||||||
# LaTeXFooter "\end{itemize}"
|
|
||||||
# LabelString "*"
|
|
||||||
# Margin Static
|
|
||||||
# LatexType Item_Environment
|
|
||||||
# NextNoIndent 1
|
|
||||||
# LeftMargin MMN
|
|
||||||
# LabelSep xx
|
|
||||||
# ItemSep 0.2
|
|
||||||
# TopSep 0.7
|
|
||||||
# BottomSep 0.7
|
|
||||||
# ParSep 0.3
|
|
||||||
# Align Block
|
|
||||||
# AlignPossible Block, Left
|
|
||||||
# LabelType Static
|
|
||||||
#End
|
|
||||||
|
|
||||||
#Environment Enumerate
|
|
||||||
# Margin Static
|
|
||||||
# LatexType Item_Environment
|
|
||||||
# LatexName enumerate
|
|
||||||
# NextNoIndent 1
|
|
||||||
# LeftMargin MMN
|
|
||||||
# LabelSep xx
|
|
||||||
# ParSkip 0.0
|
|
||||||
# ItemSep 0.2
|
|
||||||
# TopSep 0.7
|
|
||||||
# BottomSep 0.7
|
|
||||||
# ParSep 0.3
|
|
||||||
# Align Block
|
|
||||||
# AlignPossible Block, Left
|
|
||||||
# LabelType Enumerate
|
|
||||||
#End
|
|
||||||
|
|
||||||
|
@ -68,9 +68,6 @@ enum LayoutTags {
|
|||||||
LT_LATEXPARAM,
|
LT_LATEXPARAM,
|
||||||
LT_OPTARGS,
|
LT_OPTARGS,
|
||||||
LT_LATEXTYPE,
|
LT_LATEXTYPE,
|
||||||
LT_LATEXHEADER,
|
|
||||||
LT_LATEXFOOTER,
|
|
||||||
LT_LATEXPARAGRAPH,
|
|
||||||
LT_LEFTMARGIN,
|
LT_LEFTMARGIN,
|
||||||
LT_NEED_PROTECT,
|
LT_NEED_PROTECT,
|
||||||
LT_NEWLINE,
|
LT_NEWLINE,
|
||||||
@ -161,10 +158,7 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
|
|||||||
{ "labelstringappendix", LT_LABELSTRING_APPENDIX },
|
{ "labelstringappendix", LT_LABELSTRING_APPENDIX },
|
||||||
{ "labeltag", LT_LABELTAG },
|
{ "labeltag", LT_LABELTAG },
|
||||||
{ "labeltype", LT_LABELTYPE },
|
{ "labeltype", LT_LABELTYPE },
|
||||||
{ "latexfooter", LT_LATEXFOOTER },
|
|
||||||
{ "latexheader", LT_LATEXHEADER },
|
|
||||||
{ "latexname", LT_LATEXNAME },
|
{ "latexname", LT_LATEXNAME },
|
||||||
{ "latexparagraph", LT_LATEXPARAGRAPH },
|
|
||||||
{ "latexparam", LT_LATEXPARAM },
|
{ "latexparam", LT_LATEXPARAM },
|
||||||
{ "latextype", LT_LATEXTYPE },
|
{ "latextype", LT_LATEXTYPE },
|
||||||
{ "leftmargin", LT_LEFTMARGIN },
|
{ "leftmargin", LT_LEFTMARGIN },
|
||||||
@ -269,18 +263,6 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
|
|||||||
readLatexType(lex);
|
readLatexType(lex);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LT_LATEXHEADER: // header for environments
|
|
||||||
lex >> latexheader;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case LT_LATEXFOOTER: // footer for environments
|
|
||||||
lex >> latexfooter;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case LT_LATEXPARAGRAPH:
|
|
||||||
lex >> latexparagraph;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case LT_INTITLE:
|
case LT_INTITLE:
|
||||||
lex >> intitle;
|
lex >> intitle;
|
||||||
break;
|
break;
|
||||||
|
@ -206,12 +206,6 @@ public:
|
|||||||
int toclevel;
|
int toclevel;
|
||||||
/// special value of toclevel for non-section layouts
|
/// special value of toclevel for non-section layouts
|
||||||
static const int NOT_IN_TOC;
|
static const int NOT_IN_TOC;
|
||||||
/// for new environment insets
|
|
||||||
std::string latexheader;
|
|
||||||
/// for new environment insets
|
|
||||||
std::string latexfooter;
|
|
||||||
/// for new environment insets
|
|
||||||
std::string latexparagraph;
|
|
||||||
|
|
||||||
/** true when the fragile commands in the paragraph need to be
|
/** true when the fragile commands in the paragraph need to be
|
||||||
\protect'ed. */
|
\protect'ed. */
|
||||||
|
Loading…
Reference in New Issue
Block a user