]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/logicalmkup.module
fix typos.
[lyx.git] / lib / layouts / logicalmkup.module
index 1d4511e89afaf46fbf176f5618bc300daf96ff69..cf7e9461696b90b0cd28ae9e4c5b7eb0ce6e4f5f 100644 (file)
@@ -1,8 +1,12 @@
-#\DeclareLyXModule{Defines some character styles for logical markup: noun, emph, strong, and code.}{Logical Markup}
+#\DeclareLyXModule{Logical 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 6
+Format 16
 
 InsetLayout CharStyle:Noun
        LyxType               charstyle
@@ -12,7 +16,15 @@ InsetLayout CharStyle:Noun
        Font
          Shape               Smallcaps
        EndFont
-       Requires              noun
+       Requires              noun
+       InToc                 true
+       HTMLTag               span
+       HTMLAttr              class='noun'
+       HTMLStyle
+               span.noun {
+                       font-family: sans-serif;
+               }
+       EndHTMLStyle
 End
 
 
@@ -24,6 +36,8 @@ InsetLayout CharStyle:Emph
        Font
          Shape               Italic
        EndFont
+       InToc                 true
+       HTMLTag               em
 End
 
 
@@ -38,6 +52,8 @@ InsetLayout CharStyle:Strong
        Preamble
        \newcommand{\strong}[1]{\textbf{#1}}
        EndPreamble
+       InToc                 true
+       HTMLTag               strong
 End
 
 
@@ -52,5 +68,6 @@ InsetLayout CharStyle:Code
        Preamble
        \newcommand{\code}[1]{\texttt{#1}}
        EndPreamble
+       InToc                 true
+       HTMLTag               code
 End
-