]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/logicalmkup.module
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / logicalmkup.module
index c9565b94c3e3c0c40927eb47990234fcd819a73a..d31acfecdb6166a91913408c29f5e7c8b9a686eb 100644 (file)
@@ -1,8 +1,11 @@
-#\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
 
 # Author : Martin vermeer <martin.vermeer@hut.fi>
 
-Format 5
+Format 11
 
 InsetLayout CharStyle:Noun
        LyxType               charstyle
@@ -12,9 +15,8 @@ InsetLayout CharStyle:Noun
        Font
          Shape               Smallcaps
        EndFont
-       Preamble
-       \newcommand{\noun}[1]{\textsc{#1}}
-       EndPreamble
+       Requires              noun
+       InToc                 true
 End
 
 
@@ -26,6 +28,7 @@ InsetLayout CharStyle:Emph
        Font
          Shape               Italic
        EndFont
+       InToc                 true
 End
 
 
@@ -40,6 +43,7 @@ InsetLayout CharStyle:Strong
        Preamble
        \newcommand{\strong}[1]{\textbf{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -54,5 +58,5 @@ InsetLayout CharStyle:Code
        Preamble
        \newcommand{\code}[1]{\texttt{#1}}
        EndPreamble
+       InToc                 true
 End
-