]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
Update tex2lyx test files
[lyx.git] / lib / layouts / stdinsets.inc
index 1062b3485d2ef23a75da53add07cfde609c52816..f0e434d6edcf5613d6fafc9dc9d21ebc97b29424 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Detailed format description is available in the customization manual
 
-Format 38
+Format 40
 
 Provides stdinsets 1
 
@@ -170,7 +170,17 @@ InsetLayout Phantom
        ForcePlain            true
 End
 
-InsetLayout ListOfListings
+InsetLayout IPADeco
+       Decoration            minimalistic
+       Font
+         Color               foreground
+       EndFont
+       MultiPar              false
+       CustomPars            false
+       ForcePlain            true
+End
+
+InsetLayout TOC:Listings
        # We need the [[List of Listings]] context, since "Listings" is also
        # the name of the inset and translated differently.
        # "Listings[[List of Listings]]" is the name of the "List of listings"
@@ -187,7 +197,7 @@ InsetLayout ListOfListings
        EndLangPreamble
 End
 
-InsetLayout IncludeListings
+InsetLayout Include:Listings
        BabelPreamble
                \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
        EndBabelPreamble
@@ -200,7 +210,7 @@ InsetLayout IncludeListings
 End
 
 InsetLayout Listings
-       CopyStyle IncludeListings
+       CopyStyle Include:Listings
        LabelString           Listings[[inset]]
        LatexType             none
        Decoration            minimalistic
@@ -476,14 +486,26 @@ InsetLayout Preview
        MultiPar              true
 End
 
+
+InsetLayout Script
+       LatexType       command
+       MultiPar        false
+       ForcePlain      1
+       CustomPars      0
+       InToc           1
+       HTMLIsBlock     0
+End
+
+
 InsetLayout Script:superscript
-       MultiPar false
-       HTMLTag sup
-       HTMLIsBlock 0
+       CopyStyle       Script
+       LaTeXName       textsuperscript
+       HTMLTag         sup
 End
 
 InsetLayout Script:subscript
-       MultiPar false
-       HTMLTag sub
-       HTMLIsBlock 0
+       CopyStyle       Script
+       Requires        subscript
+       LaTeXName       textsubscript
+       HTMLTag         sub
 End