]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/logicalmkup.module
Amend 3058deb: Make convert_fonts robust
[lyx.git] / lib / layouts / logicalmkup.module
index cf7e9461696b90b0cd28ae9e4c5b7eb0ce6e4f5f..6d36fd1d43e990b06843a7303c16f477363a89eb 100644 (file)
@@ -6,9 +6,9 @@
 
 # Author : Martin vermeer <martin.vermeer@hut.fi>
 
-Format 16
+Format 68
 
-InsetLayout CharStyle:Noun
+InsetLayout Flex:Noun
        LyxType               charstyle
        LabelString           noun
        LatexType             command
@@ -25,10 +25,12 @@ InsetLayout CharStyle:Noun
                        font-family: sans-serif;
                }
        EndHTMLStyle
+       ResetsFont            true
+       CustomPars            false
 End
 
 
-InsetLayout CharStyle:Emph
+InsetLayout Flex:Emph
        LyxType               charstyle
        LabelString           emph
        LatexType             command
@@ -38,10 +40,12 @@ InsetLayout CharStyle:Emph
        EndFont
        InToc                 true
        HTMLTag               em
+       ResetsFont            true
+       CustomPars            false
 End
 
 
-InsetLayout CharStyle:Strong
+InsetLayout Flex:Strong
        LyxType               charstyle
        LabelString           strong
        LatexType             command
@@ -50,14 +54,16 @@ InsetLayout CharStyle:Strong
          Series              Bold
        EndFont
        Preamble
-       \newcommand{\strong}[1]{\textbf{#1}}
+       \providecommand*{\strong}[1]{\textbf{#1}}
        EndPreamble
        InToc                 true
        HTMLTag               strong
+       ResetsFont            true
+       CustomPars            false
 End
 
 
-InsetLayout CharStyle:Code
+InsetLayout Flex:Code
        LyxType               charstyle
        LabelString           code
        LatexType             command
@@ -66,8 +72,11 @@ InsetLayout CharStyle:Code
          Family              Typewriter
        EndFont
        Preamble
-       \newcommand{\code}[1]{\texttt{#1}}
+       \providecommand*{\code}[1]{\texttt{#1}}
        EndPreamble
        InToc                 true
        HTMLTag               code
+       ResetsFont            true
+       CustomPars            false
+       Spellcheck            false
 End