font problem
I a have installed lyx1.3.4-5mdk on Mandrake10.1. In the mathematical equation on writing \sum remains as sum in red. simillarly for other mathematical signs. I have installed latex-xft-fonts-0.1-1.noarch.rpm but the problem still persists. I then installed lyx-1.3.5-1mdk101_qt.i586.rpm but the problem still persists. Can any one suggest some remedy for this problem. Thanks in advance. Subir
Simplifying the print job
Hello everyone, I have created a lyx document and converted it to pdf using pdflatex. When I print the pdf document, the HP laser printer gives me an error message 21 Page Too Complex and some of the pages print in half only, I googled that error and found http://www.printertechs.com/tech/error-codes/error-codes-20-49.php which advices to simplify the print job. My question, how can I ensure my lyx document is simply when I convert it to pdf? Sincerely, Yousef A. Raffah Join FSF as an Associate Member at: member.fsf.orghttp://member.fsf.org/join?referrer=3036 Get a real browser! Get Firefox www.getfirefox.com signature.asc Description: This is a digitally signed message part
Re: Document class unavailable
Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand
Re: Document class unavailable
Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. Is your LyX working? If it is working, then, go to Layout -- Document --- Layout and select Book (Komascript) there. Contact me for further help if needed. Regards, Anand
Re: Document class unavailable
R S Ananda Murthy wrote: Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. I even installed tetex-src, now I only don't have tetex-brev(Norwegian A4 letter style for LaTeX), tetex-frogg(Little collection of French LaTeX/BiBTeX styles) and tetex-frogg-doc not installed. Is your LyX working? If it is working, then, go to Layout -- Document --- Layout and select Book (Komascript) there. I've done a re installation of LyX, now I could see Book (Komascript) there. I think I didn't explain my problem clearly enough. Because Book (Koma-script) doesn't support Abstract which I need, and the numbering is not correct (I want chapter numbering start with 1 not 0.1). Contact me for further help if needed. Thank you very much for your help! I really appreciate that! Regards, Anand
Re: Document class unavailable
Hi Everyone The problem is solved by document class report. The thing I didn't notice is report has an environment called chapter, section is under chapter that's why I got everything starts with 0 (in article class there is no chapter so my chapters are set as section). Thank you everyone especially Ananda. p.s. it's a pity that in manual there is nowhere tells me which document class I should choose to do my job. I find the right document class by try-and-error and searching google, it took me a long time to get it right. I think most people come to LyX only when it is really necessary (e.g. if you have a dissertation paper to write ^_^), otherwise people will just use things like openoffice. It would be much more user-friendly if there is somewhere that tell people which document class to choose for their purpose or some guidelines on which document class to choose for some typical cases. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. Is your LyX working? If it is working, then, go to Layout -- Document --- Layout and select Book (Komascript) there. Contact me for further help if needed. Regards, Anand
Re: Typography aesthetic question
Robert Thorsby wrote: Go and buy a (very thin) book on typography and style. The few dollars you spend will be the most valuable investment in your project. The time spent reading that primer will be the most rewarding research you have done. I think that Steve knows that. However, I think the one cannot overemphasize simplicity of changes. Particularly, why \upshape? and why in the world you want to have any section in \footnotesize?! Section command should never ever be smaller than body text. BTW, if you want really good guide to the typesetting than I would strongly suggest Phillip Taylor's articles http://www.ntg.nl/maps/pdf/19_10.pdf and http://www.ntg.nl/maps/pdf/19_11.pdf . Really good stuff! Matj -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The politician attempts to remedy the evil by increasing the very thing that caused the evil in the first place: legal plunder. -- Frederick Bastiat
Re: Lyx-qt Button icons
Santiago Hirschfeld wrote: I'm using KDE now, and i wonder, how can i change the default icons in the toolbar of LyX? I am afraid you can't without recompiling whole thing -- LyX is Qt, not KDE application, and some things (notably menus and toolbars) are done in LyX itself not by Qt/KDE. I think it is a design flaw of LyX, but that's another question (well, I think that relying on XForms as a first UI toolkit is a design flaw in itself, but that highly flammable and off-topic). Matj -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The main idea of the pope's asking for forgiveness was not to be afraid of the truth. DO NOT BE AFRAID OF TRUTH! We have to have faith in the God's governing power to be able not to be afraid. -- On NPR The Connection from March 13, 2000
Re: Lyx-qt Button icons
Matej Cepl wrote: Santiago Hirschfeld wrote: I'm using KDE now, and i wonder, how can i change the default icons in the toolbar of LyX? I am afraid you can't without recompiling whole thing -- What makes you say that? What appears in the menu and toolbars is controlled by an external file. If you fire up LyX and open the Edit-Preferences dialog, you'll see a User interface file entry at the top of the Look and feel-User interface pane. (I assume that you're using the Qt frontend.) This is set, by default, to a file default.ui. Copy $PREFIX/share/lyx/ui/default.ui to $HOME/.lyx/ui/default.ui or to some other file name if you change the file in the Edit-Preferences dialog. Edit this file to taste. The toolbar entries, eg Icon graphics-insert, detail the LFUN that will be executed when you press the button. Thus, add or remove entries to alter the contents of the toolbar. The names of the image files associated with each LFUN cannot be changed. Ie, there is a direct correspondence between LFUN and image file name. Thus you'll find $PREFIX/share/lyx/images/graphics-insert.xpm Insert your own version of this file in $HOME/.lyx/images/graphics-insert.xpm LyX is Qt, not KDE application, and some things (notably menus and toolbars) are done in LyX itself not by Qt/KDE. I think it is a design flaw of LyX, but that's another question (well, I think that relying on XForms as a first UI toolkit is a design flaw in itself, but that highly flammable and off-topic). I think we're coming round to the idea of just dropping XForms. Angus
Re: Lyx-qt Button icons
Angus Leeming wrote: What makes you say that? What appears in the menu and toolbars is controlled by an external file. I am sorry for misleading information. I think we're coming round to the idea of just dropping XForms. Cool! Matj -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 understand, v.: To reach a point, in your investigation of some subject, at which you cease to examine what is really present, and operate on the basis of your own internal model instead.
Re: Typography aesthetic question
On Sunday 10 April 2005 12:57 pm, Matej Cepl wrote: Robert Thorsby wrote: Go and buy a (very thin) book on typography and style. The few dollars you spend will be the most valuable investment in your project. The time spent reading that primer will be the most rewarding research you have done. I think that Steve knows that. However, I think the one cannot overemphasize simplicity of changes. Particularly, why \upshape? and why in the world you want to have any section in \footnotesize?! \footnotesize in sans is just a smidgen smaller than \normal in serif, and actually takes up more horizontal space per character I think. When combined with the fact that the header is bold, it gives the visual impression of being bigger. The reason I used \footnotesize is so that I could spread the 3 levels out to make them unmistakable. Section command should never ever be smaller than body text. BTW, if you want really good guide to the typesetting than I would strongly suggest Phillip Taylor's articles http://www.ntg.nl/maps/pdf/19_10.pdf and http://www.ntg.nl/maps/pdf/19_11.pdf . Really good stuff! Thank you for that. I wish I'd read it before beginning to write, as I would have written less text. Now that I know to limit it to 70 characters across, my pagecount balooned from 164 (original target 150) to over 200. Ugh, shipping! The abovereferenced pdf files gave me a much better feeling about my varying thickness horizontal lines. The pdf's strongly urged that header levels be obvious with combinations of size, bold, and other stuff. The other thing the pdfs mentioned was that the headlines must be MUCH closer to the text they introduce than to the text that came before them. That is not the default in the book document class, so I'll need to do that. I see no obvious way within sectsty because you control what comes before the text, but not after. I want to remove the obnoxious empty space AFTER the heading (which will also provide a handy reduction to my page count). Anyone have an idea how to do that? Thanks all for your ideas on aesthetics. SteveT Matj -- Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist Webmaster * Troubleshooters.Com * http://www.troubleshooters.com (Legal Disclaimer) Follow these suggestions at your own risk.
Re: Document class unavailable
Alan Tang wrote: Hi Everyone The problem is solved by document class report. The thing I didn't notice is report has an environment called chapter, section is under chapter that's why I got everything starts with 0 (in article class there is no chapter so my chapters are set as section). Thank you everyone especially Ananda. p.s. it's a pity that in manual there is nowhere tells me which document class I should choose to do my job. I find the right document class by try-and-error and searching google, it took me a long time to get it right. I think most people come to LyX only when it is really necessary (e.g. if you have a dissertation paper to write ^_^), otherwise people will just use things like openoffice. It would be much more user-friendly if there is somewhere that tell people which document class to choose for their purpose or some guidelines on which document class to choose for some typical cases. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. Is your LyX working? If it is working, then, go to Layout -- Document --- Layout and select Book (Komascript) there. Contact me for further help if needed. Regards, Anand Hello: Please visit http://www.texnik.de/ for all kinds of help regarding LyX and LaTeX. Please go through all items in Help menu in LyX. You will find answers for most of the questions you have asked. LyX is very powerful. I have used it to typeset a book having about 450 pages. It is possible to write your thesis using LyX very conveniently. Please, please do not any wordprocessor like MSWord. Regards, Anand
font problem
I a have installed lyx1.3.4-5mdk on Mandrake10.1. In the mathematical equation on writing \sum remains as sum in red. simillarly for other mathematical signs. I have installed latex-xft-fonts-0.1-1.noarch.rpm but the problem still persists. I then installed lyx-1.3.5-1mdk101_qt.i586.rpm but the problem still persists. Can any one suggest some remedy for this problem. Thanks in advance. Subir
Simplifying the print job
Hello everyone, I have created a lyx document and converted it to pdf using pdflatex. When I print the pdf document, the HP laser printer gives me an error message 21 Page Too Complex and some of the pages print in half only, I googled that error and found http://www.printertechs.com/tech/error-codes/error-codes-20-49.php which advices to simplify the print job. My question, how can I ensure my lyx document is simply when I convert it to pdf? Sincerely, Yousef A. Raffah Join FSF as an Associate Member at: member.fsf.orghttp://member.fsf.org/join?referrer=3036 Get a real browser! Get Firefox www.getfirefox.com signature.asc Description: This is a digitally signed message part
Re: Document class unavailable
Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand
Re: Document class unavailable
Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. Is your LyX working? If it is working, then, go to Layout -- Document --- Layout and select Book (Komascript) there. Contact me for further help if needed. Regards, Anand
Re: Document class unavailable
R S Ananda Murthy wrote: Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. I even installed tetex-src, now I only don't have tetex-brev(Norwegian A4 letter style for LaTeX), tetex-frogg(Little collection of French LaTeX/BiBTeX styles) and tetex-frogg-doc not installed. Is your LyX working? If it is working, then, go to Layout -- Document --- Layout and select Book (Komascript) there. I've done a re installation of LyX, now I could see Book (Komascript) there. I think I didn't explain my problem clearly enough. Because Book (Koma-script) doesn't support Abstract which I need, and the numbering is not correct (I want chapter numbering start with 1 not 0.1). Contact me for further help if needed. Thank you very much for your help! I really appreciate that! Regards, Anand
Re: Document class unavailable
Hi Everyone The problem is solved by document class report. The thing I didn't notice is report has an environment called chapter, section is under chapter that's why I got everything starts with 0 (in article class there is no chapter so my chapters are set as section). Thank you everyone especially Ananda. p.s. it's a pity that in manual there is nowhere tells me which document class I should choose to do my job. I find the right document class by try-and-error and searching google, it took me a long time to get it right. I think most people come to LyX only when it is really necessary (e.g. if you have a dissertation paper to write ^_^), otherwise people will just use things like openoffice. It would be much more user-friendly if there is somewhere that tell people which document class to choose for their purpose or some guidelines on which document class to choose for some typical cases. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. Is your LyX working? If it is working, then, go to Layout -- Document --- Layout and select Book (Komascript) there. Contact me for further help if needed. Regards, Anand
Re: Typography aesthetic question
Robert Thorsby wrote: Go and buy a (very thin) book on typography and style. The few dollars you spend will be the most valuable investment in your project. The time spent reading that primer will be the most rewarding research you have done. I think that Steve knows that. However, I think the one cannot overemphasize simplicity of changes. Particularly, why \upshape? and why in the world you want to have any section in \footnotesize?! Section command should never ever be smaller than body text. BTW, if you want really good guide to the typesetting than I would strongly suggest Phillip Taylor's articles http://www.ntg.nl/maps/pdf/19_10.pdf and http://www.ntg.nl/maps/pdf/19_11.pdf . Really good stuff! Matj -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The politician attempts to remedy the evil by increasing the very thing that caused the evil in the first place: legal plunder. -- Frederick Bastiat
Re: Lyx-qt Button icons
Santiago Hirschfeld wrote: I'm using KDE now, and i wonder, how can i change the default icons in the toolbar of LyX? I am afraid you can't without recompiling whole thing -- LyX is Qt, not KDE application, and some things (notably menus and toolbars) are done in LyX itself not by Qt/KDE. I think it is a design flaw of LyX, but that's another question (well, I think that relying on XForms as a first UI toolkit is a design flaw in itself, but that highly flammable and off-topic). Matj -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The main idea of the pope's asking for forgiveness was not to be afraid of the truth. DO NOT BE AFRAID OF TRUTH! We have to have faith in the God's governing power to be able not to be afraid. -- On NPR The Connection from March 13, 2000
Re: Lyx-qt Button icons
Matej Cepl wrote: Santiago Hirschfeld wrote: I'm using KDE now, and i wonder, how can i change the default icons in the toolbar of LyX? I am afraid you can't without recompiling whole thing -- What makes you say that? What appears in the menu and toolbars is controlled by an external file. If you fire up LyX and open the Edit-Preferences dialog, you'll see a User interface file entry at the top of the Look and feel-User interface pane. (I assume that you're using the Qt frontend.) This is set, by default, to a file default.ui. Copy $PREFIX/share/lyx/ui/default.ui to $HOME/.lyx/ui/default.ui or to some other file name if you change the file in the Edit-Preferences dialog. Edit this file to taste. The toolbar entries, eg Icon graphics-insert, detail the LFUN that will be executed when you press the button. Thus, add or remove entries to alter the contents of the toolbar. The names of the image files associated with each LFUN cannot be changed. Ie, there is a direct correspondence between LFUN and image file name. Thus you'll find $PREFIX/share/lyx/images/graphics-insert.xpm Insert your own version of this file in $HOME/.lyx/images/graphics-insert.xpm LyX is Qt, not KDE application, and some things (notably menus and toolbars) are done in LyX itself not by Qt/KDE. I think it is a design flaw of LyX, but that's another question (well, I think that relying on XForms as a first UI toolkit is a design flaw in itself, but that highly flammable and off-topic). I think we're coming round to the idea of just dropping XForms. Angus
Re: Lyx-qt Button icons
Angus Leeming wrote: What makes you say that? What appears in the menu and toolbars is controlled by an external file. I am sorry for misleading information. I think we're coming round to the idea of just dropping XForms. Cool! Matj -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 understand, v.: To reach a point, in your investigation of some subject, at which you cease to examine what is really present, and operate on the basis of your own internal model instead.
Re: Typography aesthetic question
On Sunday 10 April 2005 12:57 pm, Matej Cepl wrote: Robert Thorsby wrote: Go and buy a (very thin) book on typography and style. The few dollars you spend will be the most valuable investment in your project. The time spent reading that primer will be the most rewarding research you have done. I think that Steve knows that. However, I think the one cannot overemphasize simplicity of changes. Particularly, why \upshape? and why in the world you want to have any section in \footnotesize?! \footnotesize in sans is just a smidgen smaller than \normal in serif, and actually takes up more horizontal space per character I think. When combined with the fact that the header is bold, it gives the visual impression of being bigger. The reason I used \footnotesize is so that I could spread the 3 levels out to make them unmistakable. Section command should never ever be smaller than body text. BTW, if you want really good guide to the typesetting than I would strongly suggest Phillip Taylor's articles http://www.ntg.nl/maps/pdf/19_10.pdf and http://www.ntg.nl/maps/pdf/19_11.pdf . Really good stuff! Thank you for that. I wish I'd read it before beginning to write, as I would have written less text. Now that I know to limit it to 70 characters across, my pagecount balooned from 164 (original target 150) to over 200. Ugh, shipping! The abovereferenced pdf files gave me a much better feeling about my varying thickness horizontal lines. The pdf's strongly urged that header levels be obvious with combinations of size, bold, and other stuff. The other thing the pdfs mentioned was that the headlines must be MUCH closer to the text they introduce than to the text that came before them. That is not the default in the book document class, so I'll need to do that. I see no obvious way within sectsty because you control what comes before the text, but not after. I want to remove the obnoxious empty space AFTER the heading (which will also provide a handy reduction to my page count). Anyone have an idea how to do that? Thanks all for your ideas on aesthetics. SteveT Matj -- Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist Webmaster * Troubleshooters.Com * http://www.troubleshooters.com (Legal Disclaimer) Follow these suggestions at your own risk.
Re: Document class unavailable
Alan Tang wrote: Hi Everyone The problem is solved by document class report. The thing I didn't notice is report has an environment called chapter, section is under chapter that's why I got everything starts with 0 (in article class there is no chapter so my chapters are set as section). Thank you everyone especially Ananda. p.s. it's a pity that in manual there is nowhere tells me which document class I should choose to do my job. I find the right document class by try-and-error and searching google, it took me a long time to get it right. I think most people come to LyX only when it is really necessary (e.g. if you have a dissertation paper to write ^_^), otherwise people will just use things like openoffice. It would be much more user-friendly if there is somewhere that tell people which document class to choose for their purpose or some guidelines on which document class to choose for some typical cases. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. Is your LyX working? If it is working, then, go to Layout -- Document --- Layout and select Book (Komascript) there. Contact me for further help if needed. Regards, Anand Hello: Please visit http://www.texnik.de/ for all kinds of help regarding LyX and LaTeX. Please go through all items in Help menu in LyX. You will find answers for most of the questions you have asked. LyX is very powerful. I have used it to typeset a book having about 450 pages. It is possible to write your thesis using LyX very conveniently. Please, please do not any wordprocessor like MSWord. Regards, Anand
font problem
I a have installed lyx1.3.4-5mdk on Mandrake10.1. In the mathematical equation on writing \sum remains as sum in red. simillarly for other mathematical signs. I have installed latex-xft-fonts-0.1-1.noarch.rpm but the problem still persists. I then installed lyx-1.3.5-1mdk101_qt.i586.rpm but the problem still persists. Can any one suggest some remedy for this problem. Thanks in advance. Subir
Simplifying the print job
Hello everyone, I have created a lyx document and converted it to pdf using pdflatex. When I print the pdf document, the HP laser printer gives me an error message "21 Page Too Complex" and some of the pages print in half only, I googled that error and found http://www.printertechs.com/tech/error-codes/error-codes-20-49.php which advices to simplify the print job. My question, how can I ensure my lyx document is "simply" when I convert it to pdf? Sincerely, Yousef A. Raffah Join FSF as an Associate Member at: member.fsf.org Get a real browser! Get Firefox signature.asc Description: This is a digitally signed message part
Re: Document class unavailable
Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand
Re: Document class unavailable
Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. Is your LyX working? If it is working, then, go to Layout --> Document ---> Layout and select Book (Komascript) there. Contact me for further help if needed. Regards, Anand
Re: Document class unavailable
R S Ananda Murthy wrote: Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. I even installed tetex-src, now I only don't have tetex-brev(Norwegian A4 letter style for LaTeX), tetex-frogg(Little collection of French LaTeX/BiBTeX styles) and tetex-frogg-doc not installed. Is your LyX working? If it is working, then, go to Layout --> Document ---> Layout and select Book (Komascript) there. I've done a re installation of LyX, now I could see Book (Komascript) there. I think I didn't explain my problem clearly enough. Because Book (Koma-script) doesn't support Abstract which I need, and the numbering is not correct (I want chapter numbering start with 1 not 0.1). Contact me for further help if needed. Thank you very much for your help! I really appreciate that! Regards, Anand
Re: Document class unavailable
Hi Everyone The problem is solved by document class report. The thing I didn't notice is report has an environment called chapter, section is under chapter that's why I got everything starts with 0 (in article class there is no chapter so my "chapters" are set as section). Thank you everyone especially Ananda. p.s. it's a pity that in manual there is nowhere tells me which document class I should choose to do my job. I find the right document class by try-and-error and searching google, it took me a long time to get it right. I think most people come to LyX only when it is really necessary (e.g. if you have a dissertation paper to write ^_^), otherwise people will just use things like openoffice. It would be much more user-friendly if there is somewhere that tell people which document class to choose for their purpose or some guidelines on which document class to choose for some typical cases. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. Is your LyX working? If it is working, then, go to Layout --> Document ---> Layout and select Book (Komascript) there. Contact me for further help if needed. Regards, Anand
Re: Typography aesthetic question
Robert Thorsby wrote: > Go and buy a (very thin) book on typography and style. The few dollars > you spend will be the most valuable investment in your project. The > time spent reading that primer will be the most rewarding research you > have done. I think that Steve knows that. However, I think the one cannot overemphasize simplicity of changes. Particularly, why \upshape? and why in the world you want to have any section in \footnotesize?! Section command should never ever be smaller than body text. BTW, if you want really good guide to the typesetting than I would strongly suggest Phillip Taylor's articles http://www.ntg.nl/maps/pdf/19_10.pdf and http://www.ntg.nl/maps/pdf/19_11.pdf . Really good stuff! Matěj -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The politician attempts to remedy the evil by increasing the very thing that caused the evil in the first place: legal plunder. -- Frederick Bastiat
Re: Lyx-qt Button icons
Santiago Hirschfeld wrote: > I'm using KDE now, and i wonder, how can i change the default icons in > the toolbar of LyX? I am afraid you can't without recompiling whole thing -- LyX is Qt, not KDE application, and some things (notably menus and toolbars) are done in LyX itself not by Qt/KDE. I think it is a design flaw of LyX, but that's another question (well, I think that relying on XForms as a first UI toolkit is a design flaw in itself, but that highly flammable and off-topic). Matěj -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The main idea of the pope's asking for forgiveness was not to be afraid of the truth. DO NOT BE AFRAID OF TRUTH! We have to have faith in the God's governing power to be able not to be afraid. -- On NPR The Connection from March 13, 2000
Re: Lyx-qt Button icons
Matej Cepl wrote: Santiago Hirschfeld wrote: I'm using KDE now, and i wonder, how can i change the default icons in the toolbar of LyX? I am afraid you can't without recompiling whole thing -- What makes you say that? What appears in the menu and toolbars is controlled by an external file. If you fire up LyX and open the Edit->Preferences dialog, you'll see a "User interface file" entry at the top of the "Look and feel->User interface" pane. (I assume that you're using the Qt frontend.) This is set, by default, to a file "default.ui". Copy "$PREFIX/share/lyx/ui/default.ui" to "$HOME/.lyx/ui/default.ui" or to some other file name if you change the file in the Edit->Preferences dialog. Edit this file to taste. The toolbar entries, eg Icon "graphics-insert", detail the LFUN that will be executed when you press the button. Thus, add or remove entries to alter the contents of the toolbar. The names of the image files associated with each LFUN cannot be changed. Ie, there is a direct correspondence between LFUN and image file name. Thus you'll find "$PREFIX/share/lyx/images/graphics-insert.xpm" Insert your own version of this file in "$HOME/.lyx/images/graphics-insert.xpm" LyX is Qt, not KDE application, and some things (notably menus and > toolbars) are done in LyX itself not by Qt/KDE. I think it is a > design flaw of LyX, but that's another question (well, I think that > relying on XForms as a first UI toolkit is a design flaw in itself, but that highly flammable and off-topic). I think we're coming round to the idea of just dropping XForms. Angus
Re: Lyx-qt Button icons
Angus Leeming wrote: > What makes you say that? > What appears in the menu and toolbars is controlled by an external > file. I am sorry for misleading information. > I think we're coming round to the idea of just dropping XForms. Cool! Matěj -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 understand, v.: To reach a point, in your investigation of some subject, at which you cease to examine what is really present, and operate on the basis of your own internal model instead.
Re: Typography aesthetic question
On Sunday 10 April 2005 12:57 pm, Matej Cepl wrote: > Robert Thorsby wrote: > > Go and buy a (very thin) book on typography and style. The few dollars > > you spend will be the most valuable investment in your project. The > > time spent reading that primer will be the most rewarding research you > > have done. > > I think that Steve knows that. However, I think the one cannot > overemphasize simplicity of changes. Particularly, why \upshape? and why in > the world you want to have any section in \footnotesize?! \footnotesize in sans is just a smidgen smaller than \normal in serif, and actually takes up more horizontal space per character I think. When combined with the fact that the header is bold, it gives the visual impression of being bigger. The reason I used \footnotesize is so that I could spread the 3 levels out to make them unmistakable. > Section command > should never ever be smaller than body text. > > BTW, if you want really good guide to the typesetting than I would strongly > suggest Phillip Taylor's articles http://www.ntg.nl/maps/pdf/19_10.pdf and > http://www.ntg.nl/maps/pdf/19_11.pdf . Really good stuff! Thank you for that. I wish I'd read it before beginning to write, as I would have written less text. Now that I know to limit it to 70 characters across, my pagecount balooned from 164 (original target 150) to over 200. Ugh, shipping! The abovereferenced pdf files gave me a much better feeling about my varying thickness horizontal lines. The pdf's strongly urged that header levels be obvious with combinations of size, bold, and other stuff. The other thing the pdfs mentioned was that the headlines must be MUCH closer to the text they introduce than to the text that came before them. That is not the default in the book document class, so I'll need to do that. I see no obvious way within sectsty because you control what comes before the text, but not after. I want to remove the obnoxious empty space AFTER the heading (which will also provide a handy reduction to my page count). Anyone have an idea how to do that? Thanks all for your ideas on aesthetics. SteveT > > Matěj -- Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist Webmaster * Troubleshooters.Com * http://www.troubleshooters.com (Legal Disclaimer) Follow these suggestions at your own risk.
Re: Document class unavailable
Alan Tang wrote: Hi Everyone The problem is solved by document class report. The thing I didn't notice is report has an environment called chapter, section is under chapter that's why I got everything starts with 0 (in article class there is no chapter so my "chapters" are set as section). Thank you everyone especially Ananda. p.s. it's a pity that in manual there is nowhere tells me which document class I should choose to do my job. I find the right document class by try-and-error and searching google, it took me a long time to get it right. I think most people come to LyX only when it is really necessary (e.g. if you have a dissertation paper to write ^_^), otherwise people will just use things like openoffice. It would be much more user-friendly if there is somewhere that tell people which document class to choose for their purpose or some guidelines on which document class to choose for some typical cases. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Folks, I've tried to install everything I could think of (tetex-doc, tetex-src...). I am using Debian Unstable. Could someone please tell me which package to install in order to make that annoying Unavailable in font of Komascript-Book class (and many document class) away? I've searched the keyword koma-script in http://www.debian.org/distrib/packages#search_contents couldn't find anything I don't have in my system. Anand, thank you for your reply. Regards Alan. R S Ananda Murthy wrote: Alan Tang wrote: Hi Everyone I am writing my thesis paper using LyX. Here is a small problem. I have a table of contents, and abstract, but if I choose document class as article, the abstract will try to follow the space left by toc, that result in my case, after toc there is a line with abstract then a new page with my abstract. So I try to find a document class can start a new page for my abstract, book type does not have abstract, and most document type like article (paper) are stated Unavailable in front thus I can not preview. Report type can set the pages right but have numbering problem e.g. 1.Introduction becomes 0.1 and all my sections have 0 in front. Anyone can help me out? Thanks in advance. Regards Alan. Use Komascript-Book class. Anand Hello: Ensure that you have installed all tetex related packages. Is your LyX working? If it is working, then, go to Layout --> Document ---> Layout and select Book (Komascript) there. Contact me for further help if needed. Regards, Anand Hello: Please visit http://www.texnik.de/ for all kinds of help regarding LyX and LaTeX. Please go through all items in Help menu in LyX. You will find answers for most of the questions you have asked. LyX is very powerful. I have used it to typeset a book having about 450 pages. It is possible to write your thesis using LyX very conveniently. Please, please do not any wordprocessor like MSWord. Regards, Anand