X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftodonotes.module;h=2ed5b481adabd8d2c08af85e26dcefdda70b0f31;hb=f8f9eec358c5dcd45665defed13d51c0b304fb8e;hp=05bfb1b7d7f28ba44afc64ffbabe704442cf335d;hpb=1977beb5b260c39cd0997426bbaef22c7fab9d89;p=lyx.git diff --git a/lib/layouts/todonotes.module b/lib/layouts/todonotes.module index 05bfb1b7d7..2ed5b481ad 100644 --- a/lib/layouts/todonotes.module +++ b/lib/layouts/todonotes.module @@ -2,13 +2,18 @@ #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 # Jürgen Spitzmüller -Format 48 +Format 68 + +OutlinerName todonotes "TODO" + +PackageOptions todonotes obeyFinal # # List of TODOs @@ -30,12 +35,11 @@ Style List_of_TODOs LeftMargin MMMMM LabelString "[List of TODOs]" - LabelFont - Family sansserif - Series Medium - Size large + LabelFont + Family Sans + Series Bold + Size Large Color latex - Shape bold EndFont Argument 1 @@ -55,19 +59,21 @@ InsetLayout Flex:TODO_Note_(Margin) LyxType custom LabelString "TODO (Margin)" Decoration classic - BgColor blue + BgColor orange Font - Color yellow + Color black 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" @@ -109,25 +115,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