]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/logicalmkup.module
apa6.layout: add dependencies
[lyx.git] / lib / layouts / logicalmkup.module
index c46fcf7f2cb38fa83430e9cd05917b24ef575ab0..dad9995d069c72d8a47bd169e72f975cfe7b2b80 100644 (file)
@@ -6,9 +6,9 @@
 
 # Author : Martin vermeer <martin.vermeer@hut.fi>
 
-Format 27
+Format 65
 
-InsetLayout CharStyle:Noun
+InsetLayout Flex:Noun
        LyxType               charstyle
        LabelString           noun
        LatexType             command
@@ -25,10 +25,11 @@ InsetLayout CharStyle:Noun
                        font-family: sans-serif;
                }
        EndHTMLStyle
+       ResetsFont true
 End
 
 
-InsetLayout CharStyle:Emph
+InsetLayout Flex:Emph
        LyxType               charstyle
        LabelString           emph
        LatexType             command
@@ -38,10 +39,11 @@ InsetLayout CharStyle:Emph
        EndFont
        InToc                 true
        HTMLTag               em
+       ResetsFont true
 End
 
 
-InsetLayout CharStyle:Strong
+InsetLayout Flex:Strong
        LyxType               charstyle
        LabelString           strong
        LatexType             command
@@ -50,14 +52,15 @@ InsetLayout CharStyle:Strong
          Series              Bold
        EndFont
        Preamble
-       \newcommand{\strong}[1]{\textbf{#1}}
+       \providecommand*{\strong}[1]{\textbf{#1}}
        EndPreamble
        InToc                 true
        HTMLTag               strong
+       ResetsFont true
 End
 
 
-InsetLayout CharStyle:Code
+InsetLayout Flex:Code
        LyxType               charstyle
        LabelString           code
        LatexType             command
@@ -66,8 +69,10 @@ InsetLayout CharStyle:Code
          Family              Typewriter
        EndFont
        Preamble
-       \newcommand{\code}[1]{\texttt{#1}}
+       \providecommand*{\code}[1]{\texttt{#1}}
        EndPreamble
        InToc                 true
        HTMLTag               code
+       ResetsFont true
+       Spellcheck            false
 End