Fixme (package/module)
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? (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? Thanks, Ken P.S. This is my first attempt at using a module. So far it has been easy to install but learning the subtleties is a bit trickier. If there is documentation which would easily answer my questions please point me in that direction. Thanks!
Re: Fixme (package/module)
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? DocumentSettingsDocument ClassOptions: 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 ToolsPreferencesEditingShortcuts. 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
Re: Fixme (package/module)
On Tue, May 10, 2011 at 8:40 AM, Ken kmai...@gmail.com wrote: 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). An alternative would be to create two modules: fixme.module and fixme-draft.module, only the latter of which has the status=draft option in the preamble. Then you could simply switch from one module to the other using Document Settings. This is a bit clunky, but far easier than manually editing the fixme.module each time, and it would only affect the current document rather than all documents that use that module. BH
Re: Fixme (package/module)
From: Ken kmai...@gmail.com Thanks for the info. As for draft/final setting I see that fixme.module contains the lines: AddToPreamble \usepackage[status=draft]{fixme} EndPreamble Given this, perhaps putting status=draft (rather than just draft) in the \documentclass options would affect the fixme package, and not images? I haven't checked, this is just an idea. Jim
Re: Fixme (package/module)
Hi Jim, Yes, status=draft (rather than just draft) did the trick perfectly. Thanks both for your help! On 10 May 2011 14:04, Jim Oldfield jim_...@yahoo.co.uk wrote: Given this, perhaps putting status=draft (rather than just draft) in the \documentclass options would affect the fixme package, and not images? I haven't checked, this is just an idea. Jim
Fixme (package/module)
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? (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? Thanks, Ken P.S. This is my first attempt at using a module. So far it has been easy to install but learning the subtleties is a bit trickier. If there is documentation which would easily answer my questions please point me in that direction. Thanks!
Re: Fixme (package/module)
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? DocumentSettingsDocument ClassOptions: 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 ToolsPreferencesEditingShortcuts. 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
Re: Fixme (package/module)
On Tue, May 10, 2011 at 8:40 AM, Ken kmai...@gmail.com wrote: 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). An alternative would be to create two modules: fixme.module and fixme-draft.module, only the latter of which has the status=draft option in the preamble. Then you could simply switch from one module to the other using Document Settings. This is a bit clunky, but far easier than manually editing the fixme.module each time, and it would only affect the current document rather than all documents that use that module. BH
Re: Fixme (package/module)
From: Ken kmai...@gmail.com Thanks for the info. As for draft/final setting I see that fixme.module contains the lines: AddToPreamble \usepackage[status=draft]{fixme} EndPreamble Given this, perhaps putting status=draft (rather than just draft) in the \documentclass options would affect the fixme package, and not images? I haven't checked, this is just an idea. Jim
Re: Fixme (package/module)
Hi Jim, Yes, status=draft (rather than just draft) did the trick perfectly. Thanks both for your help! On 10 May 2011 14:04, Jim Oldfield jim_...@yahoo.co.uk wrote: Given this, perhaps putting status=draft (rather than just draft) in the \documentclass options would affect the fixme package, and not images? I haven't checked, this is just an idea. Jim
Fixme (package/module)
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? (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? Thanks, Ken P.S. This is my first attempt at using a module. So far it has been easy to install but learning the subtleties is a bit trickier. If there is documentation which would easily answer my questions please point me in that direction. Thanks!
Re: Fixme (package/module)
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
Re: Fixme (package/module)
On Tue, May 10, 2011 at 8:40 AM, Kenwrote: > 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). An alternative would be to create two modules: fixme.module and fixme-draft.module, only the latter of which has the status=draft option in the preamble. Then you could simply switch from one module to the other using Document > Settings. This is a bit clunky, but far easier than manually editing the fixme.module each time, and it would only affect the current document rather than all documents that use that module. BH
Re: Fixme (package/module)
> From: Ken> > Thanks for the info. As for draft/final setting I see that > fixme.module contains the lines: > AddToPreamble > \usepackage[status=draft]{fixme} > EndPreamble > > Given this, perhaps putting "status=draft" (rather than just "draft") in the \documentclass options would affect the fixme package, and not images? I haven't checked, this is just an idea. Jim
Re: Fixme (package/module)
Hi Jim, Yes, "status=draft" (rather than just "draft") did the trick perfectly. Thanks both for your help! On 10 May 2011 14:04, Jim Oldfieldwrote: > Given this, perhaps putting "status=draft" (rather than just "draft") in the > \documentclass options would affect the fixme package, and not images? I > haven't > checked, this is just an idea. > > Jim