Nick Bell wrote:

> Thanks for that, but how do I print a list of comments? Nick

With some trickery, you can redefine the LyX comments (not Notes, though) to be 
output as todonotes. Using the todonotes package [1], this gives output that 
might look like what you want. Attached is an example. Provided that you use 
LyX LyX 1.6, you can use the attached module (save it in your (layouts folder), 
which will, if it is loaded, automatically output all your comments as 
todonotes. The list of todonotes is produced by the ERT command \listoftodos.

Shortcomings:
- it gives an error if you have comments with multiple paragraphs and a 
\listoftodos (\todo notes are only for single paragraphs)
- it inserts blanks in the text (this is done by the package)

HTH,
Jürgen

[1] http://ctan.org/tex-archive/macros/latex/contrib/todonotes
#\DeclareLyXModule{Todo-notes}
#DescriptionBegin
#Displays the LyX notes in the output. A list of todo notes can be produced
#by inserting \listoftodos in ERT.
#DescriptionEnd
# Author: Juergen Spitzmueller <[EMAIL PROTECTED]>

Format 11

Preamble
        \RequirePackage{todonotes}
EndPreamble

InsetLayout Note:Comment
        LabelString           comment/todo
        LatexType             command
        LatexName             todo
        MultiPar              false
End

Attachment: todonotes.pdf
Description: Adobe PDF document

Reply via email to