Richard Heck wrote:
> The only way to do it would be to redefine the Note insets via some 
> layout. If that's not possible, then we should make it possible. This is 
> a common request.

It's not possible yet with (yellow) notes, since InsetNote::latex returns 
early if params_.type == InsetNoteParams::Note. Perhaps we should make the 
output a parameter of the layout instead of hardcoding it for a given type.

With comment (and greyed out, for that matter), you can do something like the 
attached.

Jürgen
#\DeclareLyXModule{TODO notes from comments}
#DescriptionBegin
#Outputs comments as TODO-notes. A list of todo notes can be produced
#by inserting \listoftodos in ERT.
#DescriptionEnd
# Author: Juergen Spitzmueller <sp...@lyx.org>

Format 35

Preamble
\RequirePackage{todonotes}
EndPreamble

InsetLayout Note:Comment
        LatexType             command
        LatexName             todo
End

Reply via email to