]> git.lyx.org Git - lyx.git/blob - lib/layouts/todonotes.module
Remove debugging code.
[lyx.git] / lib / layouts / todonotes.module
1 #\DeclareLyXModule[todonotes.sty]{TODO Notes}
2 #DescriptionBegin
3 #Provides custom insets to insert TODO items in your document
4 #(using the todonotes package). In order to generate a 'List of TODOs',
5 #the module provides a paragraph style.
6 #DescriptionEnd
7
8 # Authors: Stephen <stephen4mailinglists@googlemail.com>
9 #          Jürgen Spitzmüller <spitz@lyx.org>
10
11 Format 60
12
13 OutlinerName todonotes "TODO"
14
15 #
16 # List of TODOs
17 #
18
19 Style List_of_TODOs
20         KeepEmpty       1
21         LatexType       Command
22         LatexName       listoftodos
23         Margin          First_Dynamic
24         NextNoIndent    1
25         ParSkip         0
26         TopSep          0
27         BottomSep       0.25
28         ParSep          0
29         Align           Center
30         LabelType       Static
31         LabelBottomSep  0
32         LeftMargin      MMMMM
33         LabelString     "[List of TODOs]"
34
35         LabelFont
36             Family      Sans
37             Series      Bold
38             Size        Large
39             Color       latex
40         EndFont
41
42         Argument 1
43                 LabelString     "Heading"
44                 MenuString      "List of TODOs Heading|s"
45                 Tooltip         "Enter a custom header for the List of TODOs here"
46         EndArgument
47         Requires        todonotes
48 End
49
50
51 #
52 # TODO Notes
53 #
54
55 InsetLayout Flex:TODO_Note_(Margin)
56         LyxType         custom
57         LabelString     "TODO (Margin)"
58         Decoration      classic
59         BgColor         blue
60         Font
61             Color       yellow
62             Family      Typewriter
63         EndFont
64         LabelFont
65             Color       blue
66             Family      Sans
67             Size        Small
68         EndFont
69         MultiPar        true
70         LatexType       command
71         LatexName       todo
72         AddToToc      todonotes
73         IsTocCaption  1
74         Argument 1
75                 LabelString     "Options"
76                 MenuString      "TODO Note Options|s"
77                 Tooltip         "See the todonotes manual for possible options"
78         EndArgument
79         Requires        todonotes
80 End
81
82
83 InsetLayout Flex:TODO_Note_(inline)
84         CopyStyle       Flex:TODO_Note_(Margin)
85         LabelString     "TODO (Inline)"
86         Argument 1
87                 LabelString     "Options"
88                 MenuString      "TODO Note Options|s"
89                 PresetArg       inline
90         EndArgument
91 End
92
93
94 #
95 # Specific Notes
96 #
97
98 InsetLayout Flex:Missing_Figure
99         CopyStyle       Flex:TODO_Note_(Margin)
100         LabelString     "Missing Figure"
101         MultiPar        false
102         LatexName       missingfigure
103         Argument 1
104                 LabelString     "Options"
105                 MenuString      "Missing Figure Note Options|s"
106                 Tooltip         "See the todonotes manual for possible options"
107         EndArgument
108 End
109
110
111 #
112 # Backwards compatibility to user-provided
113 # modules on the LyX wiki
114 #
115
116 InsetLayout Flex:TODO
117         ObsoletedBy           Flex:TODO_Note_(Margin)
118 End
119
120 InsetLayout Flex:Todo[Inline]
121         ObsoletedBy           Flex:TODO_Note_(inline)
122 End
123
124 InsetLayout Flex:Todo[margin]
125         ObsoletedBy           Flex:TODO_Note_(Margin)
126 End
127
128 InsetLayout Flex:MissingFigure
129         ObsoletedBy           Flex:Missing_Figure
130 End
131