From c2fef67f455104f2bf58aa552cb4a2369e41f6d6 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 11 Jul 2010 13:49:09 +0000 Subject: [PATCH] Reference prefixes for enumerations. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34857 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/apa.layout | 2 ++ lib/layouts/beamer.layout | 1 + lib/layouts/egs.layout | 1 + lib/layouts/powerdot.layout | 7 ++++--- lib/layouts/stdlists.inc | 1 + lib/layouts/theorems-bytype.inc | 1 + lib/layouts/theorems.inc | 1 + 7 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/layouts/apa.layout b/lib/layouts/apa.layout index 8f6888b4fe..9364f33e4a 100644 --- a/lib/layouts/apa.layout +++ b/lib/layouts/apa.layout @@ -390,6 +390,7 @@ Style Enumerate Align Block AlignPossible Block, Left LabelType Enumerate + RefPrefix enu End @@ -411,5 +412,6 @@ Style Seriate LabelCounter enumii LabelString "(\alph{enumii})" LabelStringAppendix "(\alph{enumii})" + RefPrefix ser End diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index ec3fa8e346..05d525421d 100644 --- a/lib/layouts/beamer.layout +++ b/lib/layouts/beamer.layout @@ -78,6 +78,7 @@ Style Enumerate ParSep 0.3 Align Left LabelType Enumerate + RefPrefix enu End # Description style definition diff --git a/lib/layouts/egs.layout b/lib/layouts/egs.layout index 271245d37d..ea73dae1e3 100644 --- a/lib/layouts/egs.layout +++ b/lib/layouts/egs.layout @@ -161,6 +161,7 @@ Style Enumerate Align Block AlignPossible Block, Left LabelType Enumerate + RefPrefix enu End diff --git a/lib/layouts/powerdot.layout b/lib/layouts/powerdot.layout index 75139a1a13..1b8bb357b1 100644 --- a/lib/layouts/powerdot.layout +++ b/lib/layouts/powerdot.layout @@ -270,8 +270,8 @@ Style Enumerate Margin Static LatexType Item_Environment LatexName enumerate - NextNoIndent 1 - LeftMargin MMN + NextNoIndent 1 + LeftMargin MMN LabelSep xx ParSkip 0.0 ItemSep 0.2 @@ -279,8 +279,9 @@ Style Enumerate BottomSep 0.7 ParSep 0.3 Align Block - AlignPossible Block, Left + AlignPossible Block, Left LabelType Enumerate + RefPrefix enu End Style EnumerateType1 diff --git a/lib/layouts/stdlists.inc b/lib/layouts/stdlists.inc index a772acf3f1..ad26c0f5f6 100644 --- a/lib/layouts/stdlists.inc +++ b/lib/layouts/stdlists.inc @@ -51,6 +51,7 @@ Style Enumerate HTMLTag ol HTMLItem li HTMLLabel NONE + RefPrefix enu End Style Description diff --git a/lib/layouts/theorems-bytype.inc b/lib/layouts/theorems-bytype.inc index ea84288c60..96937a49e8 100644 --- a/lib/layouts/theorems-bytype.inc +++ b/lib/layouts/theorems-bytype.inc @@ -234,6 +234,7 @@ Style Case \usecounter{casectr}} {\end{list}} EndPreamble + RefPrefix OFF End Input theorems-refprefix.inc diff --git a/lib/layouts/theorems.inc b/lib/layouts/theorems.inc index 79f5f22bf2..69ff35383c 100644 --- a/lib/layouts/theorems.inc +++ b/lib/layouts/theorems.inc @@ -302,6 +302,7 @@ Style Case BabelPreamble \addto\captions$$lang{\renewcommand{\casename}{_(Case)}} EndBabelPreamble + RefPrefix OFF End Input theorems-refprefix.inc -- 2.39.2