Re: Does true TTF work in LyX on Linux
Silly question: Are you using Evince? If so, try acroread. I have found that Evince sometimes gives strange fuzzyness. For what it's worth, I don't find the same problem with Evince on Gutsy. Apologies if this is irrelevant. Declan
lyx problems
hi all, I'm using lyx 1.4.4 for Windows, I've tried to install the lyx 1.5 and it doesn't work, because when I try to open it, it doesn't. I have a problem with my archive, I'm using the report type file, but I cannot export to a pdf... I had this problem before but I solved changing the way to introduce the formula (If I did it with the keyboard it didn't worked it), but now, I don't know where is the problem. My text is really extensive, I'm using the JabRef and I have a lot of figures. I don't know where the problem can be. ¿Any idea? Lyx work ok with shorter examples, but not with muy file ¿What can I do? Thank you in advance... For me it's really important to finish...
Re: lyx problems
NinaNutz schrieb: I'm using lyx 1.4.4 for Windows, I've tried to install the lyx 1.5 and it doesn't work, because when I try to open it, it doesn't. Then try out this installer: http://wiki.lyx.org/Windows/LyXWinInstaller If this doesn't help, uninstall LyX 1.5, then LyX 1.4.4 and afterwards, and reinstall LyX 1.5 again. I have a problem with my archive, I'm using the report type file, but I cannot export to a pdf... Then it seems that your LaTeX-system is broken. To solve this - uninstall MiKTeX _completely_ before you try to install LyX 1.5 - open an internet connection - install LyX 1.5 using the Complete version of the LyXWinInstaller (it can last a while until the installer installed all needed LaTeX- packages, but you are informed) regards Uwe
Re: Does true TTF work in LyX on Linux
Declan O'Byrne wrote: Silly question: Are you using Evince? If so, try acroread. I have found that Evince sometimes gives strange fuzzyness. For what it's worth, I don't find the same problem with Evince on Gutsy. Apologies if this is irrelevant. Declan Look at the fonts used. Make sure they are type 1. If not, maybe you need either: \usepackage{lmodern} or \usepackage{cmlgc}
Adding longtables to List of Tables
Hi All I have a 100 page document with a lot of table floats in it. Thus have a List of Tables in the Table of Content. Everything works fine except for 4 longtables that I have. I could not place these tables in a float because they cover several pages. I have searched this list and found some advice on how to add tables to a List of Tables. I added the following ERT \addcontentsline{lot}{lot}{\hspace{0.6cm}\thetable\hspace{0.7cm} TABLE NAME \hfill} The first table look OK in the List of Tables The second and all subsequent ones have the table number too far left The fourth table has the page number too far left It looks something like this: 1. TABLE 1 i 2. TABLE 2 ii 3. TABLE 3 iii 4. TABLE 4 1 (too much space here) 5. TABLE 5 5 6. TABLE 6 6 ...etc Table 5 is the first float. From there on everything is OK Adjusting the values of the \hspace in the inserted ERT seems to have no effect. This is the only mistake is an otherwise beautiful document. Does anybody know how to fix this. regards Christiaan
Re: Adding longtables to List of Tables
christiaan pauw schrieb: I have a 100 page document with a lot of table floats in it. Thus have a List of Tables in the Table of Content. Everything works fine except for 4 longtables that I have. How to do this is described in section Longtables and its subsection of the EmbeddedObjects manual that you find in the Help menu. regards Uwe
ps2pdf, ERT, and includegraphics
Dear all, I am using lyx with powerdot for a presentation. I am trying to insert a figure within an ERT box, to get advantage of the \twocolumn command of powerdot. I discovered that lyx does not output figures to pdf when using ps2pdf (I checked this with a new article document containing a single ERT command \includegraphics{}). It does output the figure when using dvipdfm, but the problem is that powerdot requires ps2pdf... Does anybody know of a workaround? I am using lyx 1.4.3 on Ubuntu (and the figure I am inserting is an eps). thank you very much for any suggestion giuseppe -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
Re: Does true TTF work in LyX on Linux
Neal Becker wrote: Look at the fonts used. Make sure they are type 1. If not, maybe you need either: \usepackage{lmodern} or \usepackage{cmlgc} To elaborate a bit on Neal's point, in LyX 1.5.x you can go to Document - Settings... - Fonts and set the Roman, Sans Serif and Typewriter fonts to their Latin Modern choices. That will automatically insert the needed \usepackage in the preamble. Alternatively, you can set them to Times Roman, Helvetica and Courier respectively, which are T1 fonts. In LyX 1.4.x and earlier, you can pick the Adobe T1 fonts from the font menu (I think the choice is labeled 'psfonts'). To use Latin Modern, you need to insert \usepackage{lmodern} in the preamble. I seem to get pretty good results with the Computer Modern fonts, as well (don't know if that relates to my being on Windoze). /Paul
Re: ps2pdf, ERT, and includegraphics
Giuseppe Pagnoni wrote: I am using lyx with powerdot for a presentation. I am trying to insert a figure within an ERT box, to get advantage of the \twocolumn command of powerdot. I discovered that lyx does not output figures to pdf when using ps2pdf (I checked this with a new article document containing a single ERT command \includegraphics{}). It does output the figure when using dvipdfm, but the problem is that powerdot requires ps2pdf... Does anybody know of a workaround? I am using lyx 1.4.3 on Ubuntu (and the figure I am inserting is an eps). What you're describing works for me in LyX 1.4.4 on Windows -- I put \includegraphics{...} in ERT, View - PDF (ps2pdf) and the image is there, provided that the image is EPS (which you said yours is). The only caveat is that you will need to add \usepackage{graphicx} to the preamble if you are not inserting any other images using Insert - Graphics. LyX automatically adds the command when it inserts a graphic, but it does not poke around your ERT to see if you are inserting one manually. I assume you either have the command in the preamble or have other images inserted normally (or maybe Powerdot loads graphicx?) -- otherwise I don't think you would get the dvipdfm output. /Paul
Two Column Question
A colleague of mine has a LaTeX question. In the past (about five years ago), he would use \twocolumn[header text], with the title, author, and abstract substituted in as the header text, to get the title, author, and abstract at the top of the page and written across the width of the page before the two columns begin. Now he's been trying to do the same thing and it's producing error messages about missing braces. Anyone know what the problem might be? Has there been a change in the syntax requirement for \twocolumn? Thanks for any suggestions, Bruce
Re: Does true TTF work in LyX on Linux
On Thu, 13 Sep 2007 09:16:12 +0100, Declan O'Byrne wrote: Silly question: Are you using Evince? If so, try acroread. I have found that Evince sometimes gives strange fuzzyness. For what it's worth, I don't find the same problem with Evince on Gutsy. Apologies if this is irrelevant. No apologies needed. I tried kpdf, evince and acroread. Even on acroread it's fuzzy. L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: Two Column Question
Bruce Pourciau wrote: A colleague of mine has a LaTeX question. In the past (about five years ago), he would use \twocolumn[header text], with the title, author, and abstract substituted in as the header text, to get the title, author, and abstract at the top of the page and written across the width of the page before the two columns begin. Now he's been trying to do the same thing and it's producing error messages about missing braces. Anyone know what the problem might be? Has there been a change in the syntax requirement for \twocolumn? Works fine for me. Sample doc attached. Maybe he's using a package that redefines the twocolumn command? /Paul %% LyX 1.5.1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter \usepackage{babel} \makeatother \begin{document} \twocolumn[\centering An Essay on the Evil of Administrators, by A. Nonymous\par Abstract: Yes, it is indeed abstract. Very, very abstract.\hrule] blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \newpage{}yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada \end{document}
Re: Does true TTF work in LyX on Linux
On Thu, 13 Sep 2007 09:50:20 -0400, Paul A. Rubin wrote: To elaborate a bit on Neal's point, in LyX 1.5.x you can go to Document - Settings... - Fonts and set the Roman, Sans Serif and Typewriter fonts to their Latin Modern choices. That will automatically insert the needed \usepackage in the preamble. Alternatively, you can set them to Times Roman, Helvetica and Courier respectively, which are T1 fonts. Ah! So all this preamble mucking wasn't needed? Good to know! I tried and it still looks fuzzy on Linux. However, on Windows it looks fine. So it seems to be a problem with my display (LCD; on Windows it's on CRT). Excellent, this does exactly what I wanted. Thanks! L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: How do you change background color and put a frame
Laurent Duperval schrieb: I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? This is described in section 5.7. Colored Boxes of the Embedded Objects manual that you find in LyX's help menu. regards Uwe
Re: lyx problems
Hi again, I have solved the problem. I think my computer had very little space at C, and probably the virtual memory had not enough. I have uninstalled a lot of programs and I have liberated space. Now it works... last a while, but it works. I still continue using the version 1.4.4... :) Maybe someone can find the same problem and for this reason I post that here. Thank you Uwe :D I'll try to uninstall everything completely next time (and to restart the computer too after the uninstallation).
Re: Does true TTF work in LyX on Linux
Laurent Duperval wrote: I tried and it still looks fuzzy on Linux. However, on Windows it looks fine. So it seems to be a problem with my display (LCD; on Windows it's on CRT). [Disclaimer: fonts are not my specialty.] I don't think the display is the culprit; I'm using an LCD (with Windows) and fonts look fine. Of course, if one of the displays has inordinately low resolution, that would make everything look fuzzy. More likely it's either the viewer app you're using under Linux or the supply of screen fonts installed with your X machine. Keep in mind that fonts for printing don't always have screen versions, and screen versions that exist are not perfect matches (printing is likely at 300-1200 dpi; screen fonts are around 72 dpi as a rule, aren't they?). Seems to me that was one of the selling points when MS introduced TrueType fonts -- with proper drivers, they look about the same on a screen (with decent resolution) as they do on paper. So your viewer (or maybe the X terminal) might be saying don't have a display version of this font, but this other one is close enough. /Paul
Re: ps2pdf, ERT, and includegraphics
Dear Paul, thank you very much for your comments. It is quite weird: if I export my file prova.lyx in latex (pdflatex or plain) and run latex prova.tex, the dvi file shows the picture correctly, and of course the picture is kept through the chain of dvips and ps2pdf; if I, however, try to preview the document in LyX or export it directly to pdf (ps2pdf), the image does not appear. Looking at the output in the shell window I see the message: dvips: Could not find figure file /home/giuseppe/tmp//beckmann2005.eps; continuing which is puzzling given that the file is definitely there: ls /home/giuseppe/tmp//beckmann2005.eps /home/giuseppe/tmp//beckmann2005.eps I noticed the use of the double slash in front of the eps file name, but that should not be a problem, right? The document I am testing this on is an article with the command \usepackage{graphicx} in the preamble, and a single ERT box containing the command: \includegraphics[scale=0.2]{beckmann2005} where the image beckmann2005.eps is contained in the local directory. I am attaching in the following my prova.lyx file, which may contain useful information. Thank you very much for your help, I truly appreciate it but please do not feel obliged to reply if this takes up too much of your time. best regards giuseppe --- #LyX 1.4.3 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass article \begin_preamble \usepackage{graphicx} \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \backslash includegraphics[scale=0.2]{beckmann2005} \end_layout \end_inset \end_layout \end_body \end_document -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
Mutltiple personal dictionaries with aspell
Hi, I write half my material in French and the other half in English. I need a personal dictionary for each language. As it stands now, whenever I change languages for my documents, I need to go to the preferences and change my personal dictionary from one language to another, otherwise I get an error (running aspell). Is there a way to do this that I am not aware of? Thanks, L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: ps2pdf, ERT, and includegraphics
Giuseppe Pagnoni wrote: Dear Paul, thank you very much for your comments. It is quite weird: if I export my file prova.lyx in latex (pdflatex or plain) and run latex prova.tex, the dvi file shows the picture correctly, and of course the picture is kept through the chain of dvips and ps2pdf; if I, however, try to preview the document in LyX or export it directly to pdf (ps2pdf), the image does not appear. Looking at the output in the shell window I see the message: dvips: Could not find figure file /home/giuseppe/tmp//beckmann2005.eps; continuing which is puzzling given that the file is definitely there: ls /home/giuseppe/tmp//beckmann2005.eps /home/giuseppe/tmp//beckmann2005.eps I noticed the use of the double slash in front of the eps file name, but that should not be a problem, right? The document I am testing this on is an article with the command \usepackage{graphicx} in the preamble, and a single ERT box containing the command: \includegraphics[scale=0.2]{beckmann2005} where the image beckmann2005.eps is contained in the local directory. I am attaching in the following my prova.lyx file, which may contain useful information. Thank you very much for your help, I truly appreciate it but please do not feel obliged to reply if this takes up too much of your time. best regards giuseppe Oops -- answered out-of-band, forgot to check the list first to see if the message was posted here. Short synopsis (for archival purposes): The test doc works fine for me using LyX 1.4.4 on Win XP Home. I don't see the double slash causing problems (it didn't for me). Best guess (and I freely admit it's shooting from the hip) is a permissions problem. Since running the latex - dvips - ps2pdf sequence manually worked, and ls found the image file, this would seem to imply that LyX is running dvips under a different account than the user's account (and, particularly, one that's not allowed to read the EPS file). /Paul
Seeing HEVEA errors
Hi, Sometimes when I export to HTML, I get an error window that pops up saying there was an error with the hevea execution, but I see no details. Is there any way to see the details? L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: Does true TTF work in LyX on Linux
Silly question: Are you using Evince? If so, try acroread. I have found that Evince sometimes gives strange fuzzyness. For what it's worth, I don't find the same problem with Evince on Gutsy. Apologies if this is irrelevant. Declan
lyx problems
hi all, I'm using lyx 1.4.4 for Windows, I've tried to install the lyx 1.5 and it doesn't work, because when I try to open it, it doesn't. I have a problem with my archive, I'm using the report type file, but I cannot export to a pdf... I had this problem before but I solved changing the way to introduce the formula (If I did it with the keyboard it didn't worked it), but now, I don't know where is the problem. My text is really extensive, I'm using the JabRef and I have a lot of figures. I don't know where the problem can be. ¿Any idea? Lyx work ok with shorter examples, but not with muy file ¿What can I do? Thank you in advance... For me it's really important to finish...
Re: lyx problems
NinaNutz schrieb: I'm using lyx 1.4.4 for Windows, I've tried to install the lyx 1.5 and it doesn't work, because when I try to open it, it doesn't. Then try out this installer: http://wiki.lyx.org/Windows/LyXWinInstaller If this doesn't help, uninstall LyX 1.5, then LyX 1.4.4 and afterwards, and reinstall LyX 1.5 again. I have a problem with my archive, I'm using the report type file, but I cannot export to a pdf... Then it seems that your LaTeX-system is broken. To solve this - uninstall MiKTeX _completely_ before you try to install LyX 1.5 - open an internet connection - install LyX 1.5 using the Complete version of the LyXWinInstaller (it can last a while until the installer installed all needed LaTeX- packages, but you are informed) regards Uwe
Re: Does true TTF work in LyX on Linux
Declan O'Byrne wrote: Silly question: Are you using Evince? If so, try acroread. I have found that Evince sometimes gives strange fuzzyness. For what it's worth, I don't find the same problem with Evince on Gutsy. Apologies if this is irrelevant. Declan Look at the fonts used. Make sure they are type 1. If not, maybe you need either: \usepackage{lmodern} or \usepackage{cmlgc}
Adding longtables to List of Tables
Hi All I have a 100 page document with a lot of table floats in it. Thus have a List of Tables in the Table of Content. Everything works fine except for 4 longtables that I have. I could not place these tables in a float because they cover several pages. I have searched this list and found some advice on how to add tables to a List of Tables. I added the following ERT \addcontentsline{lot}{lot}{\hspace{0.6cm}\thetable\hspace{0.7cm} TABLE NAME \hfill} The first table look OK in the List of Tables The second and all subsequent ones have the table number too far left The fourth table has the page number too far left It looks something like this: 1. TABLE 1 i 2. TABLE 2 ii 3. TABLE 3 iii 4. TABLE 4 1 (too much space here) 5. TABLE 5 5 6. TABLE 6 6 ...etc Table 5 is the first float. From there on everything is OK Adjusting the values of the \hspace in the inserted ERT seems to have no effect. This is the only mistake is an otherwise beautiful document. Does anybody know how to fix this. regards Christiaan
Re: Adding longtables to List of Tables
christiaan pauw schrieb: I have a 100 page document with a lot of table floats in it. Thus have a List of Tables in the Table of Content. Everything works fine except for 4 longtables that I have. How to do this is described in section Longtables and its subsection of the EmbeddedObjects manual that you find in the Help menu. regards Uwe
ps2pdf, ERT, and includegraphics
Dear all, I am using lyx with powerdot for a presentation. I am trying to insert a figure within an ERT box, to get advantage of the \twocolumn command of powerdot. I discovered that lyx does not output figures to pdf when using ps2pdf (I checked this with a new article document containing a single ERT command \includegraphics{}). It does output the figure when using dvipdfm, but the problem is that powerdot requires ps2pdf... Does anybody know of a workaround? I am using lyx 1.4.3 on Ubuntu (and the figure I am inserting is an eps). thank you very much for any suggestion giuseppe -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
Re: Does true TTF work in LyX on Linux
Neal Becker wrote: Look at the fonts used. Make sure they are type 1. If not, maybe you need either: \usepackage{lmodern} or \usepackage{cmlgc} To elaborate a bit on Neal's point, in LyX 1.5.x you can go to Document - Settings... - Fonts and set the Roman, Sans Serif and Typewriter fonts to their Latin Modern choices. That will automatically insert the needed \usepackage in the preamble. Alternatively, you can set them to Times Roman, Helvetica and Courier respectively, which are T1 fonts. In LyX 1.4.x and earlier, you can pick the Adobe T1 fonts from the font menu (I think the choice is labeled 'psfonts'). To use Latin Modern, you need to insert \usepackage{lmodern} in the preamble. I seem to get pretty good results with the Computer Modern fonts, as well (don't know if that relates to my being on Windoze). /Paul
Re: ps2pdf, ERT, and includegraphics
Giuseppe Pagnoni wrote: I am using lyx with powerdot for a presentation. I am trying to insert a figure within an ERT box, to get advantage of the \twocolumn command of powerdot. I discovered that lyx does not output figures to pdf when using ps2pdf (I checked this with a new article document containing a single ERT command \includegraphics{}). It does output the figure when using dvipdfm, but the problem is that powerdot requires ps2pdf... Does anybody know of a workaround? I am using lyx 1.4.3 on Ubuntu (and the figure I am inserting is an eps). What you're describing works for me in LyX 1.4.4 on Windows -- I put \includegraphics{...} in ERT, View - PDF (ps2pdf) and the image is there, provided that the image is EPS (which you said yours is). The only caveat is that you will need to add \usepackage{graphicx} to the preamble if you are not inserting any other images using Insert - Graphics. LyX automatically adds the command when it inserts a graphic, but it does not poke around your ERT to see if you are inserting one manually. I assume you either have the command in the preamble or have other images inserted normally (or maybe Powerdot loads graphicx?) -- otherwise I don't think you would get the dvipdfm output. /Paul
Two Column Question
A colleague of mine has a LaTeX question. In the past (about five years ago), he would use \twocolumn[header text], with the title, author, and abstract substituted in as the header text, to get the title, author, and abstract at the top of the page and written across the width of the page before the two columns begin. Now he's been trying to do the same thing and it's producing error messages about missing braces. Anyone know what the problem might be? Has there been a change in the syntax requirement for \twocolumn? Thanks for any suggestions, Bruce
Re: Does true TTF work in LyX on Linux
On Thu, 13 Sep 2007 09:16:12 +0100, Declan O'Byrne wrote: Silly question: Are you using Evince? If so, try acroread. I have found that Evince sometimes gives strange fuzzyness. For what it's worth, I don't find the same problem with Evince on Gutsy. Apologies if this is irrelevant. No apologies needed. I tried kpdf, evince and acroread. Even on acroread it's fuzzy. L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: Two Column Question
Bruce Pourciau wrote: A colleague of mine has a LaTeX question. In the past (about five years ago), he would use \twocolumn[header text], with the title, author, and abstract substituted in as the header text, to get the title, author, and abstract at the top of the page and written across the width of the page before the two columns begin. Now he's been trying to do the same thing and it's producing error messages about missing braces. Anyone know what the problem might be? Has there been a change in the syntax requirement for \twocolumn? Works fine for me. Sample doc attached. Maybe he's using a package that redefines the twocolumn command? /Paul %% LyX 1.5.1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter \usepackage{babel} \makeatother \begin{document} \twocolumn[\centering An Essay on the Evil of Administrators, by A. Nonymous\par Abstract: Yes, it is indeed abstract. Very, very abstract.\hrule] blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \newpage{}yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada \end{document}
Re: Does true TTF work in LyX on Linux
On Thu, 13 Sep 2007 09:50:20 -0400, Paul A. Rubin wrote: To elaborate a bit on Neal's point, in LyX 1.5.x you can go to Document - Settings... - Fonts and set the Roman, Sans Serif and Typewriter fonts to their Latin Modern choices. That will automatically insert the needed \usepackage in the preamble. Alternatively, you can set them to Times Roman, Helvetica and Courier respectively, which are T1 fonts. Ah! So all this preamble mucking wasn't needed? Good to know! I tried and it still looks fuzzy on Linux. However, on Windows it looks fine. So it seems to be a problem with my display (LCD; on Windows it's on CRT). Excellent, this does exactly what I wanted. Thanks! L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: How do you change background color and put a frame
Laurent Duperval schrieb: I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? This is described in section 5.7. Colored Boxes of the Embedded Objects manual that you find in LyX's help menu. regards Uwe
Re: lyx problems
Hi again, I have solved the problem. I think my computer had very little space at C, and probably the virtual memory had not enough. I have uninstalled a lot of programs and I have liberated space. Now it works... last a while, but it works. I still continue using the version 1.4.4... :) Maybe someone can find the same problem and for this reason I post that here. Thank you Uwe :D I'll try to uninstall everything completely next time (and to restart the computer too after the uninstallation).
Re: Does true TTF work in LyX on Linux
Laurent Duperval wrote: I tried and it still looks fuzzy on Linux. However, on Windows it looks fine. So it seems to be a problem with my display (LCD; on Windows it's on CRT). [Disclaimer: fonts are not my specialty.] I don't think the display is the culprit; I'm using an LCD (with Windows) and fonts look fine. Of course, if one of the displays has inordinately low resolution, that would make everything look fuzzy. More likely it's either the viewer app you're using under Linux or the supply of screen fonts installed with your X machine. Keep in mind that fonts for printing don't always have screen versions, and screen versions that exist are not perfect matches (printing is likely at 300-1200 dpi; screen fonts are around 72 dpi as a rule, aren't they?). Seems to me that was one of the selling points when MS introduced TrueType fonts -- with proper drivers, they look about the same on a screen (with decent resolution) as they do on paper. So your viewer (or maybe the X terminal) might be saying don't have a display version of this font, but this other one is close enough. /Paul
Re: ps2pdf, ERT, and includegraphics
Dear Paul, thank you very much for your comments. It is quite weird: if I export my file prova.lyx in latex (pdflatex or plain) and run latex prova.tex, the dvi file shows the picture correctly, and of course the picture is kept through the chain of dvips and ps2pdf; if I, however, try to preview the document in LyX or export it directly to pdf (ps2pdf), the image does not appear. Looking at the output in the shell window I see the message: dvips: Could not find figure file /home/giuseppe/tmp//beckmann2005.eps; continuing which is puzzling given that the file is definitely there: ls /home/giuseppe/tmp//beckmann2005.eps /home/giuseppe/tmp//beckmann2005.eps I noticed the use of the double slash in front of the eps file name, but that should not be a problem, right? The document I am testing this on is an article with the command \usepackage{graphicx} in the preamble, and a single ERT box containing the command: \includegraphics[scale=0.2]{beckmann2005} where the image beckmann2005.eps is contained in the local directory. I am attaching in the following my prova.lyx file, which may contain useful information. Thank you very much for your help, I truly appreciate it but please do not feel obliged to reply if this takes up too much of your time. best regards giuseppe --- #LyX 1.4.3 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass article \begin_preamble \usepackage{graphicx} \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \backslash includegraphics[scale=0.2]{beckmann2005} \end_layout \end_inset \end_layout \end_body \end_document -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
Mutltiple personal dictionaries with aspell
Hi, I write half my material in French and the other half in English. I need a personal dictionary for each language. As it stands now, whenever I change languages for my documents, I need to go to the preferences and change my personal dictionary from one language to another, otherwise I get an error (running aspell). Is there a way to do this that I am not aware of? Thanks, L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: ps2pdf, ERT, and includegraphics
Giuseppe Pagnoni wrote: Dear Paul, thank you very much for your comments. It is quite weird: if I export my file prova.lyx in latex (pdflatex or plain) and run latex prova.tex, the dvi file shows the picture correctly, and of course the picture is kept through the chain of dvips and ps2pdf; if I, however, try to preview the document in LyX or export it directly to pdf (ps2pdf), the image does not appear. Looking at the output in the shell window I see the message: dvips: Could not find figure file /home/giuseppe/tmp//beckmann2005.eps; continuing which is puzzling given that the file is definitely there: ls /home/giuseppe/tmp//beckmann2005.eps /home/giuseppe/tmp//beckmann2005.eps I noticed the use of the double slash in front of the eps file name, but that should not be a problem, right? The document I am testing this on is an article with the command \usepackage{graphicx} in the preamble, and a single ERT box containing the command: \includegraphics[scale=0.2]{beckmann2005} where the image beckmann2005.eps is contained in the local directory. I am attaching in the following my prova.lyx file, which may contain useful information. Thank you very much for your help, I truly appreciate it but please do not feel obliged to reply if this takes up too much of your time. best regards giuseppe Oops -- answered out-of-band, forgot to check the list first to see if the message was posted here. Short synopsis (for archival purposes): The test doc works fine for me using LyX 1.4.4 on Win XP Home. I don't see the double slash causing problems (it didn't for me). Best guess (and I freely admit it's shooting from the hip) is a permissions problem. Since running the latex - dvips - ps2pdf sequence manually worked, and ls found the image file, this would seem to imply that LyX is running dvips under a different account than the user's account (and, particularly, one that's not allowed to read the EPS file). /Paul
Seeing HEVEA errors
Hi, Sometimes when I export to HTML, I get an error window that pops up saying there was an error with the hevea execution, but I see no details. Is there any way to see the details? L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: Does true TTF work in LyX on Linux
Silly question: Are you using Evince? If so, try acroread. I have found that Evince sometimes gives strange fuzzyness. For what it's worth, I don't find the same problem with Evince on Gutsy. Apologies if this is irrelevant. Declan
lyx problems
hi all, I'm using lyx 1.4.4 for Windows, I've tried to install the lyx 1.5 and it doesn't work, because when I try to open it, it doesn't. I have a problem with my archive, I'm using the report type file, but I cannot export to a pdf... I had this problem before but I solved changing the way to introduce the formula (If I did it with the keyboard it didn't worked it), but now, I don't know where is the problem. My text is really extensive, I'm using the JabRef and I have a lot of figures. I don't know where the problem can be. ¿Any idea? Lyx work ok with shorter examples, but not with muy file ¿What can I do? Thank you in advance... For me it's really important to finish...
Re: lyx problems
NinaNutz schrieb: I'm using lyx 1.4.4 for Windows, I've tried to install the lyx 1.5 and it doesn't work, because when I try to open it, it doesn't. Then try out this installer: http://wiki.lyx.org/Windows/LyXWinInstaller If this doesn't help, uninstall LyX 1.5, then LyX 1.4.4 and afterwards, and reinstall LyX 1.5 again. I have a problem with my archive, I'm using the report type file, but I cannot export to a pdf... Then it seems that your LaTeX-system is broken. To solve this - uninstall MiKTeX _completely_ before you try to install LyX 1.5 - open an internet connection - install LyX 1.5 using the Complete version of the LyXWinInstaller (it can last a while until the installer installed all needed LaTeX- packages, but you are informed) regards Uwe
Re: Does true TTF work in LyX on Linux
Declan O'Byrne wrote: > Silly question: Are you using Evince? If so, try acroread. I have > found that Evince sometimes gives strange fuzzyness. For what it's > worth, I don't find the same problem with Evince on Gutsy. > > Apologies if this is irrelevant. > > Declan Look at the fonts used. Make sure they are type 1. If not, maybe you need either: \usepackage{lmodern} or \usepackage{cmlgc}
Adding longtables to List of Tables
Hi All I have a 100 page document with a lot of table floats in it. Thus have a List of Tables in the Table of Content. Everything works fine except for 4 longtables that I have. I could not place these tables in a float because they cover several pages. I have searched this list and found some advice on how to add tables to a List of Tables. I added the following ERT \addcontentsline{lot}{lot}{\hspace{0.6cm}\thetable\hspace{0.7cm} TABLE NAME \hfill} The first table look OK in the List of Tables The second and all subsequent ones have the table number too far left The fourth table has the page number too far left It looks something like this: 1. TABLE 1 i 2. TABLE 2 ii 3. TABLE 3 iii 4. TABLE 4 1 (too much space here) 5. TABLE 5 5 6. TABLE 6 6 ...etc Table 5 is the first float. From there on everything is OK Adjusting the values of the \hspace in the inserted ERT seems to have no effect. This is the only mistake is an otherwise beautiful document. Does anybody know how to fix this. regards Christiaan
Re: Adding longtables to List of Tables
christiaan pauw schrieb: I have a 100 page document with a lot of table floats in it. Thus have a List of Tables in the Table of Content. Everything works fine except for 4 longtables that I have. How to do this is described in section "Longtables" and its subsection of the EmbeddedObjects manual that you find in the Help menu. regards Uwe
ps2pdf, ERT, and includegraphics
Dear all, I am using lyx with powerdot for a presentation. I am trying to insert a figure within an ERT box, to get advantage of the \twocolumn command of powerdot. I discovered that lyx does not output figures to pdf when using ps2pdf (I checked this with a new "article" document containing a single ERT command \includegraphics{}). It does output the figure when using dvipdfm, but the problem is that powerdot requires ps2pdf... Does anybody know of a workaround? I am using lyx 1.4.3 on Ubuntu (and the figure I am inserting is an eps). thank you very much for any suggestion giuseppe -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
Re: Does true TTF work in LyX on Linux
Neal Becker wrote: Look at the fonts used. Make sure they are type 1. If not, maybe you need either: \usepackage{lmodern} or \usepackage{cmlgc} To elaborate a bit on Neal's point, in LyX 1.5.x you can go to Document -> Settings... -> Fonts and set the Roman, Sans Serif and Typewriter fonts to their Latin Modern choices. That will automatically insert the needed \usepackage in the preamble. Alternatively, you can set them to Times Roman, Helvetica and Courier respectively, which are T1 fonts. In LyX 1.4.x and earlier, you can pick the Adobe T1 fonts from the font menu (I think the choice is labeled 'psfonts'). To use Latin Modern, you need to insert \usepackage{lmodern} in the preamble. I seem to get pretty good results with the Computer Modern fonts, as well (don't know if that relates to my being on Windoze). /Paul
Re: ps2pdf, ERT, and includegraphics
Giuseppe Pagnoni wrote: I am using lyx with powerdot for a presentation. I am trying to insert a figure within an ERT box, to get advantage of the \twocolumn command of powerdot. I discovered that lyx does not output figures to pdf when using ps2pdf (I checked this with a new "article" document containing a single ERT command \includegraphics{}). It does output the figure when using dvipdfm, but the problem is that powerdot requires ps2pdf... Does anybody know of a workaround? I am using lyx 1.4.3 on Ubuntu (and the figure I am inserting is an eps). What you're describing works for me in LyX 1.4.4 on Windows -- I put \includegraphics{...} in ERT, View -> PDF (ps2pdf) and the image is there, provided that the image is EPS (which you said yours is). The only caveat is that you will need to add \usepackage{graphicx} to the preamble if you are not inserting any other images using Insert -> Graphics. LyX automatically adds the command when it inserts a graphic, but it does not poke around your ERT to see if you are inserting one manually. I assume you either have the command in the preamble or have other images inserted normally (or maybe Powerdot loads graphicx?) -- otherwise I don't think you would get the dvipdfm output. /Paul
Two Column Question
A colleague of mine has a LaTeX question. In the past (about five years ago), he would use \twocolumn[header text], with the title, author, and abstract substituted in as the header text, to get the title, author, and abstract at the top of the page and written across the width of the page before the two columns begin. Now he's been trying to do the same thing and it's producing error messages about missing braces. Anyone know what the problem might be? Has there been a change in the syntax requirement for \twocolumn? Thanks for any suggestions, Bruce
Re: Does true TTF work in LyX on Linux
On Thu, 13 Sep 2007 09:16:12 +0100, Declan O'Byrne wrote: > Silly question: Are you using Evince? If so, try acroread. I have > found that Evince sometimes gives strange fuzzyness. For what it's > worth, I don't find the same problem with Evince on Gutsy. > > Apologies if this is irrelevant. > No apologies needed. I tried kpdf, evince and acroread. Even on acroread it's fuzzy. L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: Two Column Question
Bruce Pourciau wrote: A colleague of mine has a LaTeX question. In the past (about five years ago), he would use \twocolumn[header text], with the title, author, and abstract substituted in as the header text, to get the title, author, and abstract at the top of the page and written across the width of the page before the two columns begin. Now he's been trying to do the same thing and it's producing error messages about missing braces. Anyone know what the problem might be? Has there been a change in the syntax requirement for \twocolumn? Works fine for me. Sample doc attached. Maybe he's using a package that redefines the twocolumn command? /Paul %% LyX 1.5.1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter \usepackage{babel} \makeatother \begin{document} \twocolumn[\centering "An Essay on the Evil of Administrators", by A. Nonymous\par Abstract: Yes, it is indeed abstract. Very, very abstract.\hrule] blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \newpage{}yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada \end{document}
Re: Does true TTF work in LyX on Linux
On Thu, 13 Sep 2007 09:50:20 -0400, Paul A. Rubin wrote: > To elaborate a bit on Neal's point, in LyX 1.5.x you can go to Document > -> Settings... -> Fonts and set the Roman, Sans Serif and Typewriter > fonts to their Latin Modern choices. That will automatically insert the > needed \usepackage in the preamble. Alternatively, you can set them to > Times Roman, Helvetica and Courier respectively, which are T1 fonts. > Ah! So all this preamble mucking wasn't needed? Good to know! I tried and it still looks fuzzy on Linux. However, on Windows it looks fine. So it seems to be a problem with my display (LCD; on Windows it's on CRT). Excellent, this does exactly what I wanted. Thanks! L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: How do you change background color and put a frame
Laurent Duperval schrieb: I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? This is described in section "5.7. Colored Boxes" of the Embedded Objects manual that you find in LyX's help menu. regards Uwe
Re: lyx problems
Hi again, I have solved the problem. I think my computer had very little space at C, and probably the virtual memory had not enough. I have uninstalled a lot of programs and I have liberated space. Now it works... last a while, but it works. I still continue using the version 1.4.4... :) Maybe someone can find the same problem and for this reason I post that here. Thank you Uwe :D I'll try to uninstall everything completely next time (and to restart the computer too after the uninstallation).
Re: Does true TTF work in LyX on Linux
Laurent Duperval wrote: I tried and it still looks fuzzy on Linux. However, on Windows it looks fine. So it seems to be a problem with my display (LCD; on Windows it's on CRT). [Disclaimer: fonts are not my specialty.] I don't think the display is the culprit; I'm using an LCD (with Windows) and fonts look fine. Of course, if one of the displays has inordinately low resolution, that would make everything look fuzzy. More likely it's either the viewer app you're using under Linux or the supply of screen fonts installed with your X machine. Keep in mind that fonts for printing don't always have screen versions, and screen versions that exist are not perfect matches (printing is likely at 300-1200 dpi; screen fonts are around 72 dpi as a rule, aren't they?). Seems to me that was one of the selling points when MS introduced TrueType fonts -- with proper drivers, they look about the same on a screen (with decent resolution) as they do on paper. So your viewer (or maybe the X terminal) might be saying "don't have a display version of this font, but this other one is close enough". /Paul
Re: ps2pdf, ERT, and includegraphics
Dear Paul, thank you very much for your comments. It is quite weird: if I export my file prova.lyx in latex (pdflatex or plain) and run latex prova.tex, the dvi file shows the picture correctly, and of course the picture is kept through the chain of dvips and ps2pdf; if I, however, try to preview the document in LyX or export it directly to pdf (ps2pdf), the image does not appear. Looking at the output in the shell window I see the message: dvips: Could not find figure file /home/giuseppe/tmp//beckmann2005.eps; continuing which is puzzling given that the file is definitely there: ls /home/giuseppe/tmp//beckmann2005.eps /home/giuseppe/tmp//beckmann2005.eps I noticed the use of the double slash in front of the eps file name, but that should not be a problem, right? The document I am testing this on is an "article" with the command \usepackage{graphicx} in the preamble, and a single ERT box containing the command: \includegraphics[scale=0.2]{beckmann2005} where the image beckmann2005.eps is contained in the local directory. I am attaching in the following my prova.lyx file, which may contain useful information. Thank you very much for your help, I truly appreciate it but please do not feel obliged to reply if this takes up too much of your time. best regards giuseppe --- #LyX 1.4.3 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass article \begin_preamble \usepackage{graphicx} \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \backslash includegraphics[scale=0.2]{beckmann2005} \end_layout \end_inset \end_layout \end_body \end_document -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
Mutltiple personal dictionaries with aspell
Hi, I write half my material in French and the other half in English. I need a personal dictionary for each language. As it stands now, whenever I change languages for my documents, I need to go to the preferences and change my personal dictionary from one language to another, otherwise I get an error (running aspell). Is there a way to do this that I am not aware of? Thanks, L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: ps2pdf, ERT, and includegraphics
Giuseppe Pagnoni wrote: Dear Paul, thank you very much for your comments. It is quite weird: if I export my file prova.lyx in latex (pdflatex or plain) and run latex prova.tex, the dvi file shows the picture correctly, and of course the picture is kept through the chain of dvips and ps2pdf; if I, however, try to preview the document in LyX or export it directly to pdf (ps2pdf), the image does not appear. Looking at the output in the shell window I see the message: dvips: Could not find figure file /home/giuseppe/tmp//beckmann2005.eps; continuing which is puzzling given that the file is definitely there: ls /home/giuseppe/tmp//beckmann2005.eps /home/giuseppe/tmp//beckmann2005.eps I noticed the use of the double slash in front of the eps file name, but that should not be a problem, right? The document I am testing this on is an "article" with the command \usepackage{graphicx} in the preamble, and a single ERT box containing the command: \includegraphics[scale=0.2]{beckmann2005} where the image beckmann2005.eps is contained in the local directory. I am attaching in the following my prova.lyx file, which may contain useful information. Thank you very much for your help, I truly appreciate it but please do not feel obliged to reply if this takes up too much of your time. best regards giuseppe Oops -- answered out-of-band, forgot to check the list first to see if the message was posted here. Short synopsis (for archival purposes): The test doc works fine for me using LyX 1.4.4 on Win XP Home. I don't see the double slash causing problems (it didn't for me). Best guess (and I freely admit it's shooting from the hip) is a permissions problem. Since running the latex - dvips - ps2pdf sequence manually worked, and ls found the image file, this would seem to imply that LyX is running dvips under a different account than the user's account (and, particularly, one that's not allowed to read the EPS file). /Paul
Seeing HEVEA errors
Hi, Sometimes when I export to HTML, I get an error window that pops up saying there was an error with the hevea execution, but I see no details. Is there any way to see the details? L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186