Re: Friends, Fellows, Comrades!
On 2011-04-08, Ron McMillan wrote: > Still, I have one question which is hoping for a simple answer: Is there > a way to label the notes and comments in a LyX document? > What I mean is when you go to 'Insert > Note > Comment' for example, you > get a comment icon on the page. It is called 'Comment' but I would like > to change that to say 'May Ideas' 'Important Page Numbers' or whatever. > Is there a way to do that? The most simple way is using "branches". Set up a branch for every type of note/comment in Document>Settings and make it "inactive" to prevent printing on paper. You can even give every branch a different colour... Günter
Re: Friends, Fellows, Comrades!
On 04/08/2011 10:52 AM, Ron McMillan wrote: Thank you for your replies. I believe it is a trifle early for me to be customizing, though I did go to section 5.3 to have a look. And it is not much work to label the comment by putting a description in front of it. The LyX comments beat the heck out of both writer and word by a country mile. I'll attach a simple version, then. These things are not very complicated once you get a sense for how they are supposed to work. The best way to learn is really to look at the various files in the layouts/ directory. This module has two insets, neither of which prints anything. Put this in the layouts/ subdirectory of your LyX user directory (~/.lyx/layouts/, by default, on Linux). Then reconfigure LyX (Tools>Reconfigure); restart; open a document; go to Document>Settings, and under Modules, choose "More Comments". The new insets will be under Insert>Custom Insets. rh Regards, Ron On 08/04/2011 5:29 AM, Richard Heck wrote: On 04/08/2011 05:52 AM, Liviu Andronic wrote: On Fri, Apr 8, 2011 at 10:42 AM, Ron McMillan wrote: Hi, first let me say that I have started using LyX for studying Spanish because it is easier to use and less distracting than word or writer. Of course there are always thing one wants done better but if one isn't doing them oneself and as the program is free... Still, I have one question which is hoping for a simple answer: Is there a way to label the notes and comments in a LyX document? What I mean is when you go to 'Insert> Note> Comment' for example, you get a comment icon on the page. It is called 'Comment' but I would like to change that to say 'May Ideas' 'Important Page Numbers' or whatever. You can do this, but it can be daunting at first. You would need to understand Help> Customization> 5.3, especially the 'LabelString' and related options. Then you would clone the inset config from the default config files and make a custom module (or simply hack the default config files altogether). I think this is the right way to go. But better than changing the label for a comment would be to create a new sort of inset for "May Ideas" or whatever; then you can have as many of them as you wish. You can pretty much start, say, the endnotes.module file and just modify it as you see fit. Richard #\DeclareLyXModule{More Comments} #DescriptionBegin # Adds some comment-type insets. #DescriptionEnd Format 11 # This inset will not actually print anything. InsetLayout Custom:MayIdeas LyXType custom LatexName mayideas LatexType command Decoration classic MultiPar true LabelString "May Ideas" BgColor commentbg LabelFont Color comment Size Small EndFont Preamble # You can define this any way you like. \newcommand\mayideas[1]{} EndPreamble End # This inset will not actually print anything. InsetLayout Custom:PageNumbers LyXType custom LatexName imptpgnums LatexType command Decoration classic MultiPar true LabelString "Important Page Numbers" BgColor commentbg LabelFont Color comment Size Small EndFont Preamble # You can define this any way you like. \newcommand\imptpgnums[1]{} EndPreamble End
Re: Friends, Fellows, Comrades!
Thank you for your replies. I believe it is a trifle early for me to be customizing, though I did go to section 5.3 to have a look. And it is not much work to label the comment by putting a description in front of it. The LyX comments beat the heck out of both writer and word by a country mile. Regards, Ron On 08/04/2011 5:29 AM, Richard Heck wrote: On 04/08/2011 05:52 AM, Liviu Andronic wrote: On Fri, Apr 8, 2011 at 10:42 AM, Ron McMillan wrote: Hi, first let me say that I have started using LyX for studying Spanish because it is easier to use and less distracting than word or writer. Of course there are always thing one wants done better but if one isn't doing them oneself and as the program is free... Still, I have one question which is hoping for a simple answer: Is there a way to label the notes and comments in a LyX document? What I mean is when you go to 'Insert> Note> Comment' for example, you get a comment icon on the page. It is called 'Comment' but I would like to change that to say 'May Ideas' 'Important Page Numbers' or whatever. You can do this, but it can be daunting at first. You would need to understand Help> Customization> 5.3, especially the 'LabelString' and related options. Then you would clone the inset config from the default config files and make a custom module (or simply hack the default config files altogether). I think this is the right way to go. But better than changing the label for a comment would be to create a new sort of inset for "May Ideas" or whatever; then you can have as many of them as you wish. You can pretty much start, say, the endnotes.module file and just modify it as you see fit. Richard
Re: Friends, Fellows, Comrades!
On 04/08/2011 05:52 AM, Liviu Andronic wrote: On Fri, Apr 8, 2011 at 10:42 AM, Ron McMillan wrote: Hi, first let me say that I have started using LyX for studying Spanish because it is easier to use and less distracting than word or writer. Of course there are always thing one wants done better but if one isn't doing them oneself and as the program is free... Still, I have one question which is hoping for a simple answer: Is there a way to label the notes and comments in a LyX document? What I mean is when you go to 'Insert> Note> Comment' for example, you get a comment icon on the page. It is called 'Comment' but I would like to change that to say 'May Ideas' 'Important Page Numbers' or whatever. You can do this, but it can be daunting at first. You would need to understand Help> Customization> 5.3, especially the 'LabelString' and related options. Then you would clone the inset config from the default config files and make a custom module (or simply hack the default config files altogether). I think this is the right way to go. But better than changing the label for a comment would be to create a new sort of inset for "May Ideas" or whatever; then you can have as many of them as you wish. You can pretty much start, say, the endnotes.module file and just modify it as you see fit. Richard
Re: Friends, Fellows, Comrades!
On Fri, Apr 8, 2011 at 10:42 AM, Ron McMillan wrote: > Hi, first let me say that I have started using LyX for studying Spanish > because it is easier to use and less distracting than word or writer. Of > course there are always thing one wants done better but if one isn't doing > them oneself and as the program is free... > Still, I have one question which is hoping for a simple answer: Is there a > way to label the notes and comments in a LyX document? > > What I mean is when you go to 'Insert > Note > Comment' for example, you get > a comment icon on the page. It is called 'Comment' but I would like to > change that to say 'May Ideas' 'Important Page Numbers' or whatever. > You can do this, but it can be daunting at first. You would need to understand Help > Customization > 5.3, especially the 'LabelString' and related options. Then you would clone the inset config from the default config files and make a custom module (or simply hack the default config files altogether). But I may be missing something. Regards Liviu > Is there a way to do that? > > Sincerely, > > Ron McMillan > > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Friends, Fellows, Comrades!
> What I mean is when you go to 'Insert > Note > Comment' for example, you > get a comment icon on the page. It is called 'Comment' but I would like > to change that to say 'May Ideas' 'Important Page Numbers' or whatever. Don't think so. You have to use "Label" that you place before the note. But this will not show up in the outliner. Cheers, Sam
Friends, Fellows, Comrades!
Hi, first let me say that I have started using LyX for studying Spanish because it is easier to use and less distracting than word or writer. Of course there are always thing one wants done better but if one isn't doing them oneself and as the program is free... Still, I have one question which is hoping for a simple answer: Is there a way to label the notes and comments in a LyX document? What I mean is when you go to 'Insert > Note > Comment' for example, you get a comment icon on the page. It is called 'Comment' but I would like to change that to say 'May Ideas' 'Important Page Numbers' or whatever. Is there a way to do that? Sincerely, Ron McMillan