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}}
|
||||
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
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user