]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/logicalmkup.module
* linguistics.module:
[lyx.git] / lib / layouts / logicalmkup.module
index d31acfecdb6166a91913408c29f5e7c8b9a686eb..cf7e9461696b90b0cd28ae9e4c5b7eb0ce6e4f5f 100644 (file)
@@ -2,10 +2,11 @@
 #DescriptionBegin
 #Defines some character styles for logical markup: noun, emph, strong, and code.
 #DescriptionEnd
+#Category: charstyles
 
 # Author : Martin vermeer <martin.vermeer@hut.fi>
 
-Format 11
+Format 16
 
 InsetLayout CharStyle:Noun
        LyxType               charstyle
@@ -17,6 +18,13 @@ InsetLayout CharStyle:Noun
        EndFont
        Requires              noun
        InToc                 true
+       HTMLTag               span
+       HTMLAttr              class='noun'
+       HTMLStyle
+               span.noun {
+                       font-family: sans-serif;
+               }
+       EndHTMLStyle
 End
 
 
@@ -29,6 +37,7 @@ InsetLayout CharStyle:Emph
          Shape               Italic
        EndFont
        InToc                 true
+       HTMLTag               em
 End
 
 
@@ -44,6 +53,7 @@ InsetLayout CharStyle:Strong
        \newcommand{\strong}[1]{\textbf{#1}}
        EndPreamble
        InToc                 true
+       HTMLTag               strong
 End
 
 
@@ -59,4 +69,5 @@ InsetLayout CharStyle:Code
        \newcommand{\code}[1]{\texttt{#1}}
        EndPreamble
        InToc                 true
+       HTMLTag               code
 End