]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/logicalmkup.module
Update covington support in linguistics module (file format change)
[lyx.git] / lib / layouts / logicalmkup.module
index 5319faf3eaaaa83fb188904a73e3d37c3c53dd8d..b1d80cf281bd8de2897e6e8af2b4e8980a13284e 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 49
+Format 100
 
 InsetLayout Flex:Noun
        LyxType               charstyle
@@ -19,13 +19,16 @@ InsetLayout Flex:Noun
        Requires              noun
        InToc                 true
        HTMLTag               span
-       HTMLAttr              class='noun'
+       HTMLClass             "noun"
        HTMLStyle
                span.noun {
                        font-family: sans-serif;
                }
        EndHTMLStyle
-       ResetsFont true
+       ResetsFont            true
+       CustomPars            false
+       DocBookTag            personname
+       DocBookTagType        inline
 End
 
 
@@ -39,7 +42,10 @@ InsetLayout Flex:Emph
        EndFont
        InToc                 true
        HTMLTag               em
-       ResetsFont true
+       ResetsFont            true
+       CustomPars            false
+       DocBookTag            emphasis
+       DocBookTagType        inline
 End
 
 
@@ -52,11 +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
+       ResetsFont            true
+       CustomPars            false
+       DocBookTag            personname
+       DocBookAttr           role='bold'
+       DocBookTagType        inline
 End
 
 
@@ -69,10 +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
+       ResetsFont            true
+       CustomPars            false
        Spellcheck            false
+       DocBookTag            code
+       DocBookTagType        inline
 End