From 7eb60756fdfcca930021273b98fd8081379441ee Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 6 Oct 2008 04:23:26 +0000 Subject: [PATCH] Remove unused code related to InsetEnvironment experiment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26768 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/stdlists.inc | 40 ---------------------------------------- src/Layout.cpp | 18 ------------------ src/Layout.h | 6 ------ 3 files changed, 64 deletions(-) diff --git a/lib/layouts/stdlists.inc b/lib/layouts/stdlists.inc index 5c4b3d6fcd..3cf546f1bc 100644 --- a/lib/layouts/stdlists.inc +++ b/lib/layouts/stdlists.inc @@ -96,43 +96,3 @@ Style List {\end{list}} EndPreamble 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 - diff --git a/src/Layout.cpp b/src/Layout.cpp index 033f5f978c..74ff2ff8a1 100644 --- a/src/Layout.cpp +++ b/src/Layout.cpp @@ -68,9 +68,6 @@ enum LayoutTags { LT_LATEXPARAM, LT_OPTARGS, LT_LATEXTYPE, - LT_LATEXHEADER, - LT_LATEXFOOTER, - LT_LATEXPARAGRAPH, LT_LEFTMARGIN, LT_NEED_PROTECT, LT_NEWLINE, @@ -161,10 +158,7 @@ bool Layout::read(Lexer & lex, TextClass const & tclass) { "labelstringappendix", LT_LABELSTRING_APPENDIX }, { "labeltag", LT_LABELTAG }, { "labeltype", LT_LABELTYPE }, - { "latexfooter", LT_LATEXFOOTER }, - { "latexheader", LT_LATEXHEADER }, { "latexname", LT_LATEXNAME }, - { "latexparagraph", LT_LATEXPARAGRAPH }, { "latexparam", LT_LATEXPARAM }, { "latextype", LT_LATEXTYPE }, { "leftmargin", LT_LEFTMARGIN }, @@ -269,18 +263,6 @@ bool Layout::read(Lexer & lex, TextClass const & tclass) readLatexType(lex); 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: lex >> intitle; break; diff --git a/src/Layout.h b/src/Layout.h index 5fb887302e..7bfe1bb0f9 100644 --- a/src/Layout.h +++ b/src/Layout.h @@ -206,12 +206,6 @@ public: int toclevel; /// special value of toclevel for non-section layouts 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 \protect'ed. */ -- 2.39.2