Re: How I can add a new button to the tool bar?
> > lib/images, Ok, but, in /home/marcelo or > /usr/share? > > In /home/marcelo/.lyx/images > > (maybe the ".lyx" is something else). The files there > override the ones > from /usr/share/lyx/images). > > JMarc This worked very well. Thank you very much. Marcelo Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/
Re: How I can add a new button to the tool bar?
Marcelo Acuña writes: > lib/images, Ok, but, in /home/marcelo or /usr/share? In /home/marcelo/.lyx/images (maybe the ".lyx" is something else). The files there override the ones from /usr/share/lyx/images). JMarc
Re: How I can add a new button to the tool bar?
> > The unique problem that I could not solve is to > have > > icons adapted for those buttons, since, I don´t > know in which > > directory I must put them and whereupon name so > that it > > takes them to Lyx. > > You only need to replace the existing icons in the LyX > installation subfolder "lib/images" with the ones of > Olivier's Zip-package. > Then restart LyX and that's it. > > regards Uwe lib/images, Ok, but, in /home/marcelo or /usr/share? I put buttons for language Spanish and English, this are new icons, What names I must put to them to these icons? Marcelo Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/
Re: How I can add a new button to the tool bar?
Marcelo Acuña schrieb: The unique problem that I could not solve is to have > icons adapted for those buttons, since, I don´t know in which > directory I must put them and whereupon name so that it > takes them to Lyx. You only need to replace the existing icons in the LyX installation subfolder "lib/images" with the ones of Olivier's Zip-package. Then restart LyX and that's it. regards Uwe
Re: How I can add a new button to the tool bar?
> > I need to make many changes in the size of the > letters, and also to put bold or normal, in texts in which I > must emphasize certain parts. > > It would help me much to have buttons > such as those of emphasized and noum. > > How I can add them to the tool bar? > > Toggling bold can be done withe the shortcut "Ctrl+B". The > toolbar button named "Font" (with the small arrow below) can > be used to apply changes multiple times. It takes the last > settings of the text style dialog. So when you e.g. have to > make 50 words bold, italic, green, highlight one word and > use the text style dialog to apply the changes.l For all > further words, highlight them and press the "Font" button. > > In case this method is not what you need, you can add > toolbar buttons by creating PNG-images (size 24x24 Pixels or > smaller). Name the image by the LyX-function it stands for > (e.g. "font-bold.png"). In the text file "stdtoolbars.inc" > add the toolbar button where you like it. > Finally reconfigure LyX. Thanks Uwe, Olivier! I could put all the buttons who I need since the system to apply the last style was not to me useful. The unique problem that I could not solve is to have icons adapted for those buttons, since, I don´t know in which directory I must put them and whereupon name so that it takes them to Lyx. Regards. Marcelo Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/
Re: How I can add a new button to the tool bar?
Olivier Ripoll schrieb: The question is what size we should design for because right-clicking on a toolbar offers you 3 different icon sizes. I remember that one of the Tango designer, Jimmac, bloggeed about how the scalable (svg) icons were not good, but they could still be a solution. Most desktops follow the freedesktop icon standards. It seems they create one folder per size. Could be also a solution. That is probably the best solution but requires a lot of work. But anyway, as you identified problematic icons, can you provide a better one for e.g. the table float icon? LyX will benefit from this. I have tried, but this list has restrictions that makes it hard posting the result. You can send your result to me directly or to po-updateslyx-dot-org. regards Uwe
Re: How I can add a new button to the tool bar?
Uwe Stöhr wrote: Olivier Ripoll schrieb: Fuzzy icons when they should be sharp, black lines that are not lines nor black any more. Don't tell me you don't see the problem with the table float image, it's obvious. I must admit that I never noticed this. As I now know where to look, I see that the lines in this icon are a bit blurred. Icon designers spend days to get pixel-perfect icons. Bitmap icons cannot be scaled. The question is what size we should design for because right-clicking on a toolbar offers you 3 different icon sizes. I remember that one of the Tango designer, Jimmac, bloggeed about how the scalable (svg) icons were not good, but they could still be a solution. Most desktops follow the freedesktop icon standards. It seems they create one folder per size. Could be also a solution. But anyway, as you identified problematic icons, can you provide a better one for e.g. the table float icon? LyX will benefit from this. I have tried, but this list has restrictions that makes it hard posting the result. See the thread "Why this list refuses small zip / 7z archives ?" I started a few weeks ago, it should contain an image of the Tango icons I use (and a link on rapidshare to download it). At present, my issue in distributing it is about mixed licenses (LyX icons are GPL, Tango are public domain, I use part of a gimp icon, several icons come from the Tango openoffice.org theme, whose license I haven't found yet, but comes with Mandriva "free" edition). Best regards Olivier regards Uwe
Re: How I can add a new button to the tool bar?
Olivier Ripoll schrieb: Fuzzy icons when they should be sharp, black lines that are not lines nor black any more. Don't tell me you don't see the problem with the table float image, it's obvious. I must admit that I never noticed this. As I now know where to look, I see that the lines in this icon are a bit blurred. Icon designers spend days to get pixel-perfect icons. Bitmap icons cannot be scaled. The question is what size we should design for because right-clicking on a toolbar offers you 3 different icon sizes. But anyway, as you identified problematic icons, can you provide a better one for e.g. the table float icon? LyX will benefit from this. regards Uwe
Re: How I can add a new button to the tool bar?
Uwe Stöhr wrote: Olivier Ripoll schrieb: When you have a look at the icons in the "images" folder, you see that there are icons with the size 24x24, 22x22 and 20x20; and all look OK for me in the toolbar. They don't for me: See attached picture, esp. the "table float" and the "save" icons. But since I'm not using those icons anyway... :-) I cannot see a problem. What do you find ugly? Fuzzy icons when they should be sharp, black lines that are not lines nor black any more. Don't tell me you don't see the problem with the table float image, it's obvious. Icon designers spend days to get pixel-perfect icons. Bitmap icons cannot be scaled. regards Uwe Regards, Olivier
Re: How I can add a new button to the tool bar?
Olivier Ripoll schrieb: When you have a look at the icons in the "images" folder, you see that there are icons with the size 24x24, 22x22 and 20x20; and all look OK for me in the toolbar. They don't for me: See attached picture, esp. the "table float" and the "save" icons. But since I'm not using those icons anyway... :-) I cannot see a problem. What do you find ugly? regards Uwe
Re: How I can add a new button to the tool bar?
Uwe Stöhr wrote: Olivier Ripoll schrieb: I think LyX images need to be 20x20, at least on Windows with your version, or the result is ugly. When you have a look at the icons in the "images" folder, you see that there are icons with the size 24x24, 22x22 and 20x20; and all look OK for me in the toolbar. They don't for me: See attached picture, esp. the "table float" and the "save" icons. But since I'm not using those icons anyway... :-) I'd love it if LyX used same size as original Tango icons (22x22), I wouldn't have had to spend so many hours shrinking these icons pixel-per-pixel from 22 to 20. I think in the case of the "bold" function, there is already (at least in your installer) an icon for it : "font-bold.png" Yes, I therefore chose this as example. regards Uwe Best regards, Olivier <>
Re: How I can add a new button to the tool bar?
Olivier Ripoll schrieb: I think LyX images need to be 20x20, at least on Windows with your version, or the result is ugly. When you have a look at the icons in the "images" folder, you see that there are icons with the size 24x24, 22x22 and 20x20; and all look OK for me in the toolbar. I'd love it if LyX used same size as original Tango icons (22x22), I wouldn't have had to spend so many hours shrinking these icons pixel-per-pixel from 22 to 20. I think in the case of the "bold" function, there is already (at least in your installer) an icon for it : "font-bold.png" Yes, I therefore chose this as example. regards Uwe
Re: How I can add a new button to the tool bar?
Uwe Stöhr wrote: Am 31.01.2010 23:15, schrieb Marcelo Acuña: I need to make many changes in the size of the letters, and also to put bold or normal, in texts in which I must emphasize certain parts. It would help me much to have buttons such as those of emphasized and noum. How I can add them to the tool bar? Toggling bold can be done withe the shortcut "Ctrl+B". The toolbar button named "Font" (with the small arrow below) can be used to apply changes multiple times. It takes the last settings of the text style dialog. So when you e.g. have to make 50 words bold, italic, green, highlight one word and use the text style dialog to apply the changes.l For all further words, highlight them and press the "Font" button. In case this method is not what you need, you can add toolbar buttons by creating PNG-images (size 24x24 Pixels or smaller). Hi Uwe, I think LyX images need to be 20x20, at least on Windows with your version, or the result is ugly. I'd love it if LyX used same size as original Tango icons (22x22), I wouldn't have had to spend so many hours shrinking these icons pixel-per-pixel from 22 to 20. I think in the case of the "bold" function, there is already (at least in your installer) an icon for it : "font-bold.png" Name the image by the LyX-function it stands for (e.g. "font-bold.png"). In the text file "stdtoolbars.inc" add the toolbar button where you like it. Finally reconfigure LyX. In other words, Marcelo should add the following line Item "Toggle bold" "font-bold" in the file "stdtoolbars.inc", precisely in the part where the following lines are: Separator Item "Toggle emphasis" "font-emph" Item "Toggle noun" "font-noun" Item "Apply last" "textstyle-apply" The best would be to copy the original "stdtoolbars.inc" from the system folder (1) to the user LyX "ui" folder (2) and work on the copy. More details being given in: http://wiki.lyx.org/LyX/UserInterface Best regards, Olivier (1) http://wiki.lyx.org/LyX/SystemDir (2) http://wiki.lyx.org/LyX/UserDir regards Uwe
Re: How I can add a new button to the tool bar?
Am 31.01.2010 23:15, schrieb Marcelo Acuña: I need to make many changes in the size of the letters, and also to put bold or normal, in texts in which I must emphasize certain parts. It would help me much to have buttons such as those of emphasized and noum. How I can add them to the tool bar? Toggling bold can be done withe the shortcut "Ctrl+B". The toolbar button named "Font" (with the small arrow below) can be used to apply changes multiple times. It takes the last settings of the text style dialog. So when you e.g. have to make 50 words bold, italic, green, highlight one word and use the text style dialog to apply the changes.l For all further words, highlight them and press the "Font" button. In case this method is not what you need, you can add toolbar buttons by creating PNG-images (size 24x24 Pixels or smaller). Name the image by the LyX-function it stands for (e.g. "font-bold.png"). In the text file "stdtoolbars.inc" add the toolbar button where you like it. Finally reconfigure LyX. regards Uwe
How I can add a new button to the tool bar?
Hello, I need to make many changes in the size of the letters, and also to put bold or normal, in texts in which I must emphasize certain parts. It would help me much to have buttons such as those of emphasized and noum. How I can add them to the tool bar? Regards Marcelo Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar == Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/