]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/logicalmkup.module
DocBook: fix indentation.
[lyx.git] / lib / layouts / logicalmkup.module
index ffdcb576d52be3f32c2ad8dcedffa52a1ddc2e92..8e34871fac01ac725216588f74f532e658385bc3 100644 (file)
@@ -1,12 +1,12 @@
 #\DeclareLyXModule{Logical Markup}
+#\DeclareCategory{Text Markup}
 #DescriptionBegin
 #Defines some character styles for logical markup: noun, emph, strong, and code.
 #DescriptionEnd
-#Category: charstyles
 
 # Author : Martin vermeer <martin.vermeer@hut.fi>
 
-Format 48
+Format 85
 
 InsetLayout Flex:Noun
        LyxType               charstyle
@@ -25,6 +25,10 @@ InsetLayout Flex:Noun
                        font-family: sans-serif;
                }
        EndHTMLStyle
+       ResetsFont            true
+       CustomPars            false
+       DocBookTag            personname
+       DocBookTagType        inline
 End
 
 
@@ -38,6 +42,10 @@ InsetLayout Flex:Emph
        EndFont
        InToc                 true
        HTMLTag               em
+       ResetsFont            true
+       CustomPars            false
+       DocBookTag            emphasis
+       DocBookTagType        inline
 End
 
 
@@ -50,10 +58,15 @@ InsetLayout Flex:Strong
          Series              Bold
        EndFont
        Preamble
-       \newcommand{\strong}[1]{\textbf{#1}}
+       \providecommand*{\strong}[1]{\textbf{#1}}
        EndPreamble
        InToc                 true
        HTMLTag               strong
+       ResetsFont            true
+       CustomPars            false
+       DocBookTag            personname
+       DocBookAttr           role='bold'
+       DocBookTagType        inline
 End
 
 
@@ -66,8 +79,13 @@ InsetLayout Flex: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
+       DocBookTag            code
+       DocBookTagType        inline
 End