mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 07:16:48 +00:00
9ae4b659dc
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.
See #10678 for discussion
This last part updates the layout format and changes collapsable color.
This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
(cherry picked from commit 4345331870
)
135 lines
2.5 KiB
Plaintext
135 lines
2.5 KiB
Plaintext
#\DeclareLyXModule[todonotes.sty]{TODO Notes}
|
|
#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. 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 65
|
|
|
|
OutlinerName todonotes "TODO"
|
|
|
|
PackageOptions todonotes obeyFinal
|
|
|
|
#
|
|
# List of TODOs
|
|
#
|
|
|
|
Style List_of_TODOs
|
|
KeepEmpty 1
|
|
LatexType Command
|
|
LatexName listoftodos
|
|
Margin First_Dynamic
|
|
NextNoIndent 1
|
|
ParSkip 0
|
|
TopSep 0
|
|
BottomSep 0.25
|
|
ParSep 0
|
|
Align Center
|
|
LabelType Static
|
|
LabelBottomSep 0
|
|
LeftMargin MMMMM
|
|
LabelString "[List of TODOs]"
|
|
|
|
LabelFont
|
|
Family Sans
|
|
Series Bold
|
|
Size Large
|
|
Color latex
|
|
EndFont
|
|
|
|
Argument 1
|
|
LabelString "Heading"
|
|
MenuString "List of TODOs Heading|s"
|
|
Tooltip "Enter a custom header for the List of TODOs here"
|
|
EndArgument
|
|
Requires todonotes
|
|
End
|
|
|
|
|
|
#
|
|
# TODO Notes
|
|
#
|
|
|
|
InsetLayout Flex:TODO_Note_(Margin)
|
|
LyxType custom
|
|
LabelString "TODO (Margin)"
|
|
Decoration classic
|
|
BgColor orange
|
|
Font
|
|
Color black
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
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"
|
|
Tooltip "See the todonotes manual for possible options"
|
|
EndArgument
|
|
Requires todonotes
|
|
End
|
|
|
|
|
|
InsetLayout Flex:TODO_Note_(inline)
|
|
CopyStyle Flex:TODO_Note_(Margin)
|
|
LabelString "TODO (Inline)"
|
|
Argument 1
|
|
LabelString "Options"
|
|
MenuString "TODO Note Options|s"
|
|
PresetArg inline
|
|
EndArgument
|
|
End
|
|
|
|
|
|
#
|
|
# Specific Notes
|
|
#
|
|
|
|
InsetLayout Flex:Missing_Figure
|
|
CopyStyle Flex:TODO_Note_(Margin)
|
|
LabelString "Missing Figure"
|
|
MultiPar false
|
|
LatexName missingfigure
|
|
Argument 1
|
|
LabelString "Options"
|
|
MenuString "Missing Figure Note Options|s"
|
|
Tooltip "See the todonotes manual for possible options"
|
|
EndArgument
|
|
End
|
|
|
|
|
|
#
|
|
# Backwards compatibility to user-provided
|
|
# modules on the LyX wiki
|
|
#
|
|
|
|
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
|
|
|