]> git.lyx.org Git - features.git/commitdiff
Re-organize and repair the InsetLayout for the script inset.
authorRichard Heck <rgheck@lyx.org>
Tue, 17 Apr 2012 13:42:59 +0000 (09:42 -0400)
committerRichard Heck <rgheck@lyx.org>
Tue, 17 Apr 2012 13:43:21 +0000 (09:43 -0400)
lib/layouts/stdinsets.inc

index 62b5f2ffc546fc935b9d11d9d0186070d9bd24f1..4bc60d9101aa483184615a47200fb7eff79164a0 100644 (file)
@@ -476,21 +476,26 @@ InsetLayout Preview
        MultiPar              true
 End
 
+
+InsetLayout Script
+       LatexType       command
+       MultiPar        false
+       ForcePlain      1
+       CustomPars      0
+       InToc           1
+       HTMLIsBlock     0
+End
+
+
 InsetLayout Script:superscript
-       LyXType standard
-       LatexType command
-       LaTeXName textsuperscript
-       MultiPar false
-       HTMLTag sup
-       HTMLIsBlock 0
+       CopyStyle       Script
+       LaTeXName       textsuperscript
+       HTMLTag         sup
 End
 
 InsetLayout Script:subscript
-       Requires subscript
-       LyXType standard
-       LatexType command
-       LaTeXName textsubscript
-       MultiPar false
-       HTMLTag sub
-       HTMLIsBlock 0
+       CopyStyle       Script
+       Requires        subscript
+       LaTeXName       textsubscript
+       HTMLTag         sub
 End