Hi Richard,

Thanks for the info.  As for draft/final setting I see that
fixme.module contains the lines:
AddToPreamble
   \usepackage[status=draft]{fixme}
EndPreamble

Apparently if I change this to:
\usepackage{fixme}
then fixme gets the status from the \documentclass options.

However, I find that if I set the \documentclass options to include
"draft" then the fixme notes are printed in the margins (as expected),
however now my figures are not displayed (only the filenames are
printed in boxes, not expected). When the option is empty (and
therefore defaulting to "final") the fixme notes are not displayed and
the figures are (as expected).  (PS I am using the article class)

In case this is of any use to others it may be best/easiest to change
the status in the fixme.module file (and to close the document and
re-open it in order for the change to occur next time the pdf is
generated).

Also, thanks for the info on LFUN and shortcuts... I'll have a play with this.

Ken



It appears that this seems to set the status of fixme to draft.

On 10 May 2011 13:17, Richard Heck <rgh...@comcast.net> wrote:
> On 05/10/2011 04:31 AM, Ken wrote:
>> Hi. I recently discovered the fixme package and fixme.module.
>>
>> I have installed the package via MikTex and I have placed the
>> fixme.module in the layouts folder:
>> C:\Documents and Settings\Ken\Application Data\lyx16\layouts
>>
>> Now "Insert > Custom Insets > FxNote" allows me to insert a note which
>> is displayed in the margin when the document is compiled to pdf.
>>
>> My questions are:
>> (1) how can I change the document from "draft" to "final" so that the
>> notes are not printed in the pdf document?
>>
> Document>Settings>Document Class>Options: Enter "final" (though that
> should be the default).
>
>> (2) is it possible/easy to add an icon to the toolbar so that I can
>> quickly insert an FxNote (just as easily as a normal note) with a
>> single click? Or is it possible to add a keyboard shortcut?
>>
> Both of these can be done. You just need to know the "LFUN" for doing
> this operation. It should be displayed in the status bar when you insert
> an FxNote. (It will be something like: flex-insert fxnote.) Now go to
> Tools>Preferences>Editing>Shortcuts. Click New. Enter the LFUN and
> select a shortcut.
>
> Getting a toolbar button is slightly more complicated. You would need to
> copy the stdtoolbars.ui file into your local directory and modify it.
> There's some info at the beginning of the file about how to do this.
>
> Richard
>
>

Reply via email to