]> git.lyx.org Git - features.git/commitdiff
Fix 39e3fabf.
authorRichard Heck <rgheck@lyx.org>
Wed, 7 Dec 2016 17:29:27 +0000 (12:29 -0500)
committerRichard Heck <rgheck@lyx.org>
Wed, 7 Dec 2016 17:29:27 +0000 (12:29 -0500)
Rather than including the file, just cut and paste it so that we
can mark the new layouts as "ForceLocal".

lib/layouts/iopart.layout

index cab08705d23027ea75f171daaa13a6bd39ca5fa7..f51b93adeeeef5a9fc9a9e1a69173c1de064eff7 100644 (file)
@@ -50,7 +50,6 @@ Input stdfloats.inc
 Input stdlists.inc
 Input stdsections.inc
 Input stdstarsections.inc
-Input stdlayouts.inc
 
 NoStyle Chapter
 NoCounter chapter
@@ -299,3 +298,99 @@ Style "Bibliography heading"
        LabelString     "References"
 End
 
+Style Quotation
+       Category              MainText
+       Margin                Static
+       LatexType             Environment
+       LatexName             quotation
+       NextNoIndent          1
+       ToggleIndent          Always
+       LeftMargin            MMM
+       RightMargin           MMM
+       ParIndent             MM
+       ParSkip               0
+       ItemSep               0
+       TopSep                0.5
+       BottomSep             0.5
+       ParSep                0
+       Align                 Block
+       AlignPossible         Block, Left, Right, Center
+       HTMLTag               blockquote
+       HTMLItem              div
+       ForceLocal            1
+End
+
+
+Style Quote
+       Category              MainText
+       Margin                Static
+       LatexType             Environment
+       LatexName             quote
+       NextNoIndent          1
+       ToggleIndent          Never
+       LeftMargin            MMM
+       RightMargin           MMM
+       TopSep                0.5
+       ParSep                0.5
+       BottomSep             0.5
+       Align                 Block
+       AlignPossible         Block, Left, Right, Center
+       LabelType             No_Label
+       HTMLTag               blockquote
+       HTMLItem              div
+       ForceLocal            1
+End
+
+
+Style Verse
+       # LaTeX type is first dynamic because of LaTeX implementation.
+       # In LyX this does not make sense.
+       Category              MainText
+       LatexType             Environment
+       LatexName             verse
+       Margin                First_Dynamic
+       NextNoIndent          1
+       LeftMargin            MMMM
+       LabelIndent           MMMM
+       ParSkip               0.4
+       TopSep                0.7
+       BottomSep             0.7
+       ParSep                0.5
+       Align                 Block
+       AlignPossible         Block, Left
+       LabelType             No_Label
+       HTMLTag               blockquote
+       HTMLItem              p
+       ForceLocal            1
+End
+
+
+Style Verbatim
+       Category              MainText
+       LatexType             Environment
+       LatexName             verbatim
+       NextNoIndent          1
+       ParbreakIsNewline         1
+       FreeSpacing           1
+       PassThru              1
+       KeepEmpty             1
+       NewLine               0
+       TopSep                0.7
+       BottomSep             0.7
+       Align                 Block
+       AlignPossible         Block
+       LabelType             No_Label
+       Font
+         Family              Typewriter
+       EndFont
+       HTMLTag               <pre></pre>
+       HTMLItem              p
+       ForceLocal            1
+End
+
+
+Style Verbatim*
+       CopyStyle             Verbatim
+       LatexName             verbatim*
+       ForceLocal            1
+End