]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/logicalmkup.module
layouts, templates, examples: port my latest changes to trunk
[lyx.git] / lib / layouts / logicalmkup.module
index 4add152b7e0b7af621db966be54164191a8a445f..86b189d2333fc65b0b9a7ebc26060e5a0e194a83 100644 (file)
@@ -2,12 +2,13 @@
 #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 35
 
-InsetLayout CharStyle:Noun
+InsetLayout Flex:Noun
        LyxType               charstyle
        LabelString           noun
        LatexType             command
@@ -15,11 +16,19 @@ 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
 
 
-InsetLayout CharStyle:Emph
+InsetLayout Flex:Emph
        LyxType               charstyle
        LabelString           emph
        LatexType             command
@@ -27,10 +36,12 @@ InsetLayout CharStyle:Emph
        Font
          Shape               Italic
        EndFont
+       InToc                 true
+       HTMLTag               em
 End
 
 
-InsetLayout CharStyle:Strong
+InsetLayout Flex:Strong
        LyxType               charstyle
        LabelString           strong
        LatexType             command
@@ -41,10 +52,12 @@ InsetLayout CharStyle:Strong
        Preamble
        \newcommand{\strong}[1]{\textbf{#1}}
        EndPreamble
+       InToc                 true
+       HTMLTag               strong
 End
 
 
-InsetLayout CharStyle:Code
+InsetLayout Flex:Code
        LyxType               charstyle
        LabelString           code
        LatexType             command
@@ -55,5 +68,6 @@ InsetLayout CharStyle:Code
        Preamble
        \newcommand{\code}[1]{\texttt{#1}}
        EndPreamble
+       InToc                 true
+       HTMLTag               code
 End
-