]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/todonotes.module
Do not throw away runparams settings of InsetText in InsetFoot::latex
[lyx.git] / lib / layouts / todonotes.module
index d18ef3bf1758c84dc6ed40c22f23ce6fe49d2966..b6bee2fe16fa1603df417c2f90b0309cc7329d2c 100644 (file)
@@ -1,14 +1,20 @@
 #\DeclareLyXModule[todonotes.sty]{TODO Notes}
+#\DeclareCategory{Annotation & Revision}
 #DescriptionBegin
 #Provides custom insets to insert TODO items in your document
 #(using the todonotes package). In order to generate a 'List of TODOs',
-#the module provides a paragraph style.
+#the module provides a paragraph style. Passing 'final' as document class
+#option suppresses the output of TODO notes.
 #DescriptionEnd
 
 # Authors: Stephen <stephen4mailinglists@googlemail.com>
 #          Jürgen Spitzmüller <spitz@lyx.org>
 
-Format 48
+Format 100
+
+OutlinerName todonotes "TODO"
+
+PackageOptions todonotes obeyFinal
 
 #
 # List of TODOs
@@ -28,12 +34,12 @@ Style List_of_TODOs
        LabelType       Static
        LabelBottomSep  0
        LeftMargin      MMMMM
-       LabelString     "[LIST of TODOs]"
+       LabelString     "[List of TODOs]"
 
-       LabelFont 
-           Family      typewriter
-           Series      Medium
-           Size        Small
+       LabelFont
+           Family      Sans
+           Series      Bold
+           Size        Large
            Color       latex
        EndFont
 
@@ -54,19 +60,21 @@ InsetLayout Flex:TODO_Note_(Margin)
        LyxType         custom
        LabelString     "TODO (Margin)"
        Decoration      classic
-       BgColor         blue
+       BgColor         orange
        Font
-           Color       yellow
+           Color       foreground
            Family      Typewriter
        EndFont
        LabelFont
-           Color       blue
+           Color       brown
            Family      Sans
            Size        Small
        EndFont
        MultiPar        true
        LatexType       command
        LatexName       todo
+       AddToToc      todonotes
+       IsTocCaption  1
        Argument 1
                LabelString     "Options"
                MenuString      "TODO Note Options|s"
@@ -108,25 +116,20 @@ End
 # Backwards compatibility to user-provided
 # modules on the LyX wiki
 #
-# FIXME: uncomment these when #9000 is fixed.
 
-#InsetLayout TODO
-#      ObsoletedBy           Flex:TODO_Note_(Margin)
-#End
-#
-#InsetLayout MakeTableOfToDos
-#      ObsoletedBy           List_of_TODOs
-#End
-#
-#InsetLayout Todo[Inline]
-#      ObsoletedBy           Flex:TODO_Note_(inline)
-#End
-#
-#InsetLayout Todo[margin]
-#      ObsoletedBy           Flex:TODO_Note_(Margin)
-#End
-#
-#InsetLayout MissingFigure
-#      ObsoletedBy           Flex:Missing_Figure
-#End
+InsetLayout Flex:TODO
+       ObsoletedBy           Flex:TODO_Note_(Margin)
+End
+
+InsetLayout Flex:Todo[Inline]
+       ObsoletedBy           Flex:TODO_Note_(inline)
+End
+
+InsetLayout Flex:Todo[margin]
+       ObsoletedBy           Flex:TODO_Note_(Margin)
+End
+
+InsetLayout Flex:MissingFigure
+       ObsoletedBy           Flex:Missing_Figure
+End