Re: window font looks like crumbled cookies
On Thursday 10 October 2002 05:35, Paul Tremblay wrote: > The appearance of my font in LyX looks like crumbled cookes. It > is hard to make out an exclamation point. > > I searched through the LyX archives, and found that your screen > font is determined by the Lyxrc file. I also found that I could > get font info if I ran 'lyx -dbg font'. I did this, and this is > my output: > > lyx -dbg font > Setting debug level to font > Debugging `font' (Font handling) > Find a free buffer. > Using scalable font to get > -urw-times-medium-r-normal--13-0-0-0-p-0-iso8859-1 *-times-medium-r-normal--13-0-0-0-p-0-iso8859-1 should work, "urw" will only use fonts by urw foundry > Font 'Roman, Medium, Upright, Normal, Language: English' matched > by -urw-times-medium-r-normal--13-0-0-0-p-0-iso8859-1 > LyX: X11 color linen allocated for background > LyX: X11 color grey40 allocated for bottom area > LyX: X11 color black allocated for cursor > LyX: X11 color black allocated for text > > Let me also add that other applications on my linux box look > fine. For example, vim and KDE Word both appear fine. Abiword, > however, looks just like LyX--it has that crumbled cookie look. > > How do I add a nice font to my lyxrc file to get the screen font > to look readable? [...] Which GNU/Linux distribution? Debian, RedHat, SuSE, Mandrake...? May be you don't install all needet fonts. Your problem with Abiword fonts seems to have the same reason. Which LyX Version? Try to use an other Font with: LyX -> Edit -> Preferences -> Screen Fonts and enter a installed font for Roman, Sans Serif and Typewriter, eg: -*-times -*-helvetica -*-courier Encoding seems to be ok, iso8859-1 xfontsel will give you a hint which fonts are installed. Bye, Thomas
window font looks like crumbled cookies
The appearance of my font in LyX looks like crumbled cookes. It is hard to make out an exclamation point. I searched through the LyX archives, and found that your screen font is determined by the Lyxrc file. I also found that I could get font info if I ran 'lyx -dbg font'. I did this, and this is my output: lyx -dbg font Setting debug level to font Debugging `font' (Font handling) Find a free buffer. Using scalable font to get -urw-times-medium-r-normal--13-0-0-0-p-0-iso8859-1 Font 'Roman, Medium, Upright, Normal, Language: English' matched by -urw-times-medium-r-normal--13-0-0-0-p-0-iso8859-1 LyX: X11 color linen allocated for background LyX: X11 color grey40 allocated for bottom area LyX: X11 color black allocated for cursor LyX: X11 color black allocated for text Let me also add that other applications on my linux box look fine. For example, vim and KDE Word both appear fine. Abiword, however, looks just like LyX--it has that crumbled cookie look. How do I add a nice font to my lyxrc file to get the screen font to look readable? Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: math from lyx -> rtf
> > Has anyone else had this problem (or is this the way > it's supposed to be?)? > I haven't had the same problem that you're having but am having a related problem where if I do an export to HTML from within LyX (File->Export->HTML), then the resulting HTML file does not show any of the math in the LyX File. I checked the conversion options in LyX and it does a no subdir conversion... when I export to latex and then do latex2html from the command line after running latex on it (so that the aux file is created) the conversion is fine.. the conversion options is Lyx says "needaux" .. so if aux is needed then what's the best way to use the LyX -> HTML converter if one has to anyways convert to .tex and run latex on it? Thanks, nirmal
Re: Hi, I'm new here, first question
Chris Carlen wrote: [stuff] Thanks for the input, folks. -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: Hi, I'm new here, first question
On Wednesday 09 October 2002 10:51 am, Chris Carlen wrote: > Greetings: > > I am considering using Lyx to prepare some documents. I have tried to > do it with OpenOffice/StarOffice, but the quality of the formulas is > inadequate, and the program is too buggy and quirky when the document is > increasingly complicated. Lyx is my last hope to avoid using Word, > which I basically just won't do. I'll get another job before I do that. > > My company has some LaTeX text class files for making its official > reports, I'm hoping I can use those in Lyx. I haven't learned enough > yet to try that, I'm just starting to learn Lyx. When I get there, > perhaps I'll have some questions about that. You're S fortunate they hav those LaTeX classes. For every one that's an environment, you can bring it right into LyX by surrounding the LaTeX code with a tiny bit of LyX code. See http://www.troubleshooters.com/lpm/200210/200210.htm for the exact technique. You're very fortunate. Your company has done all the hard work for you. Steve -- _ Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist http://www.troubleshooters.com Troubleshooters.Com Webmaster (Legal Disclaimer) Follow these suggestions at your own risk. -
Re: Hi, I'm new here, first question
On Wed, Oct 09, 2002 at 07:51:56AM -0700, Chris Carlen wrote: > A question for now: > > Why is the first line of the first paragraph after a section not > indented, while the first lines of all the following paragraphs are > indented? Because this is a standard typography rule.
Re: Hi, I'm new here, first question
On Wed, Oct 09, 2002 at 07:51:56AM -0700, Chris Carlen wrote: > Why is the first line of the first paragraph after a section not > indented, while the first lines of all the following paragraphs are > indented? Because that's the default chosen by LaTeX, not LyX's doing... You could toggle between 'indent, no space between paragraphs' and 'no indention, but some space between paragraphs' using Layout->Document->Separation. Everything more special would take a line or two of LaTeX. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Hi, I'm new here, first question
On Wed, Oct 09, 2002 at 07:51:56AM -0700, Chris Carlen wrote: > Greetings: Hi ! > Why is the first line of the first paragraph after a section not > indented, while the first lines of all the following paragraphs are > indented? The LyX documentation covers this. Par indentnation is used as a visual guide to help identify separate paragraphs. For the first paragraph, there is no need for this, as there is already vertical space. However, if you want the indentation (some would say this is broken behaviour), simply do Layout->preamble and type : \usepackage{indentfirst} regards john -- "Everything in the world runs through Birmingham, and gets stuck on New Street." - Brian Marsden
Hi, I'm new here, first question
Greetings: I am considering using Lyx to prepare some documents. I have tried to do it with OpenOffice/StarOffice, but the quality of the formulas is inadequate, and the program is too buggy and quirky when the document is increasingly complicated. Lyx is my last hope to avoid using Word, which I basically just won't do. I'll get another job before I do that. My company has some LaTeX text class files for making its official reports, I'm hoping I can use those in Lyx. I haven't learned enough yet to try that, I'm just starting to learn Lyx. When I get there, perhaps I'll have some questions about that. A question for now: Why is the first line of the first paragraph after a section not indented, while the first lines of all the following paragraphs are indented? Good day! -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: remove T1 font encoding.
On Wed, Oct 09, 2002 at 10:56:35AM +0200, Jean-Marc Lasgouttes wrote: > > "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: > Bo> Hi, I need to work on a latex system without T1 support. As a > Bo> result, if I pdflatex a lyx generated tex file, I will get lots of > Bo> error messages, unless I explicitly remove the line > Bo> \usepackage[T1]{fontenc} > Bo> Is there a way to tell lyx not to use T1 font encoding? > What surprises me is that, if you have no T1 font support, lyx should > autodetect this and default to OT1. The whole story is a little bit long. I frequently work on both my linux box (with T1) and the department server (without T1). Since the linux/lyx file could not be compiled on the server so I complained to our system administrator. He added T1 support to latex recently but pdflatex still does not work with T1. I am too tired of this and would like to switch off T1 on both side. I have reconfigured lyx on the server so I do not know if server/lyx was using OT1 or not. I might still need to use T1 since some new latex packages require it. Thank you very much for your help. -- Bo Peng
Re: EPS figures not displaying
Takashi Soma wrote: > I don't have eps2eps. Is it in the LyX package? I run lyx-1.2.1-1.i386.rpm attached > on Linux 7.1J. Using ps to eps in gsview32.exe and with the -depth 8 in eps > to xpm, the problem is still not solved. The problem seems related to the > way in which functions are defined for drawing line in ps script. The eps > file from GNUPLOT works fine. This phenomenon became evident after I > upgraed LyX from 1.6 to 2.1. 1.1.6 runs with gv and 1.3 with the internal xforms viewer. I suppose a problem with the colors of your eps-file. It is a grascale one and there maybe problems with the definition of these colors like gray56. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/ #!/bin/sh # $Id: eps2eps,v 1.3 2002/04/23 11:58:33 easysw Exp $ # "Distill" Encapsulated PostScript. OPTIONS="-dDEVICEWIDTH=25 -dDEVICEHEIGHT=25" while true do case "$1" in -*) OPTIONS="$OPTIONS $1" ;; *) break ;; esac shift done if [ $# -ne 2 ]; then echo "Usage: `basename $0` ...switches... input.eps output.eps" 1>&2 exit 1 fi exec gs -q -sDEVICE=epswrite "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"
Re: large documents, devision into several parts
On Wednesday 09 October 2002 0406 am, Felix Voigt wrote: > Hello lyxers, > can anybody give me a hint how best to organize a large document in > lyx? I have written a 480,000 word book in 38 chapters using a master file and a separate file for each chapter. I use "include" (Insert>Include) without any ERT. The only problem I have had is occasional reluctance to generate (or regenerate) the table of contents. One big advantage is that I can easily maintain different master files for different print formats: for example, I currently have master files to generate Letter and A4 page sizes. I keep the master and chapter files in one directory, and use the same directory for PDF, TeX and PS files. The master file and chapter files need to be all the same class (in my case, book) and no preamble in the chapter files. -- L. R. Denham -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Re: EPS figures not displaying
On Wed, Oct 09, 2002 at 10:03:52PM +0900, Takashi Soma wrote: > I don't have eps2eps. Is it in the LyX package? No. On my SuSE 7.3 system it is in ghostscript-library-6.51-41.rpm > I run lyx-1.2.1-1.i386.rpm on Linux 7.1J. [ObNote: Linux is at 2.5.something at best...] > Using ps to eps in gsview32.exe and with the -depth 8 in eps > to xpm, the problem is still not solved. Does the produced .eps look ok? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: EPS figures not displaying
> Takashi Soma wrote: > > >>Here are a sample EPS file from IDL and LyX error message. I don't know > > the boundingbox of the file is wrong. However it should be > > converted. Could you try > > 1. eps2eps testeps.eps testeps2.eps > and then load the second one > > and try > 2. a converter eps to xpm "convert -depth 8 $$i $$o" > in edit->preferences->converter > > Herbert > I don't have eps2eps. Is it in the LyX package? I run lyx-1.2.1-1.i386.rpm on Linux 7.1J. Using ps to eps in gsview32.exe and with the -depth 8 in eps to xpm, the problem is still not solved. The problem seems related to the way in which functions are defined for drawing line in ps script. The eps file from GNUPLOT works fine. This phenomenon became evident after I upgraed LyX from 1.6 to 2.1. T Soma
Re: 2 parts in one chapter
On Wed, Oct 09, 2002 at 11:55:31AM +0200, J.Lauffenburger wrote: > > Chapter X "The main title of the chapter" > Part 1 (numbering here is not necessary, the title is enough) - "The > first part of the work" > 1.1 Introduction > 1.2 Work done > 1.3 Conclusion > > Part 2 "Second part of the work" > 2.1 Introduction > 2.2 > > How should I define each part in order to have this scheme? In the preamble: \newcounter{mypart} \renewcommand{\themypart}{\arabic{mypart}} \@addtoreset{section}{mypart} \newcommand{\mypart}[1]{ \refstepcounter{mypart} \renewcommand{\thesection}{\themypart.\arabic{section}} {\centering\huge\bfseries #1\par}} You might need to add some vertical space above/below the title. If the chapter is not the last chapter, you will need to add \renewcommand{\thesection}{\thechapter.\arabic{section}} at the end of the chapter.
2 parts in one chapter
Hi lyxers, I'm using the book-koma-script style and want to format one chapter with aspecial description. All the chapters are based on (section, subsection...) but this one should be different: It should contain 2 parts, each containing sections, subsections... as described below. Each part should have a minitoc and independant numbering of the sections, subsections... Perhaps easy for lyx/latex users but... Hope it is clear enough... exemple: Chapter X "The main title of the chapter" Part 1 (numbering here is not necessary, the title is enough) - "The first part of the work" 1.1 Introduction 1.2 Work done 1.3 Conclusion Part 2 "Second part of the work" 2.1 Introduction 2.2 How should I define each part in order to have this scheme? -- Heaven is where the police are British, the cooks are French, the mechanics German, the lovers Italian and it's all organised by the Swiss. Hell is where the chefs are British, the mechanics French, the lover's Swiss, the police German and it's all organised by the Italians. __ Jean-Philippe LAUFFENBURGER Ecole Supérieure des Sciences Appliquées à l'ingénieur Mulhouse Laboratoire MIPS / Equipe MIAM 12 rue des frères Lumière 68093 Mulhouse Cedex Tél : +33.3.89.33.69.13 Fax : +33.3.89.33.69.49 e-mail : [EMAIL PROTECTED] __
Re: large documents, devision into several parts
Felix Voigt wrote: > Hello lyxers, > can anybody give me a hint how best to organize a large document in > lyx? > I will have to write a dissertation and have started to use lyx. In > latex I know it's fine to use > \includeonly{chapx, chapy,chapz} > \include{chapa} > \include{chapb} > \include{chapc} > \include{chapd} > . > . > . > > Is there a better fitting way to do a similar thing with lyx? have a look at http://www.educat.hu-berlin.de/~voss/lyx/misc/IncludeInput.phtml Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
large documents, devision into several parts
Hello lyxers, can anybody give me a hint how best to organize a large document in lyx? I will have to write a dissertation and have started to use lyx. In latex I know it's fine to use \includeonly{chapx, chapy,chapz} \include{chapa} \include{chapb} \include{chapc} \include{chapd} . . . Is there a better fitting way to do a similar thing with lyx? remark: I've tried \includeonly{} for lyx in tex-code but I get an error message. If I use the include command from the lyx menue insert and choose "nicht setzten" (german, maybe it's something like "do not set" in english) it does not work properly. I use lyx version 1.1.6fix2. Kind regards Felix Felix Voigt Carl-von-Ossietzky-Universität Fachbereich Physik, AG GRECO 26111 Oldenburg Germany Home Address Johann-Justus-Weg 136, 2-53 26127 Oldenburg Germany Phone: Office 0049-441-798-3158 Laboratory -3310 private 0049-441-683639
Re: remove T1 font encoding.
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> Hi, I need to work on a latex system without T1 support. As a Bo> result, if I pdflatex a lyx generated tex file, I will get lots of Bo> error messages, unless I explicitly remove the line Bo> \usepackage[T1]{fontenc} Bo> Is there a way to tell lyx not to use T1 font encoding? What surprises me is that, if you have no T1 font support, lyx should autodetect this and default to OT1. JMarc
Re: newbie question
On Wednesday 09 October 2002 02:02, [EMAIL PROTECTED] wrote: > Greetings. > > I'm a new lyx user, and have just finished the very helpful tutorial > at http://www.troubleshooters.com/linux/lyx/index.htm. > The course needs the following formatting: > > shaded boxes (a la fancybox package) > graphics in shaded boxes (any graphics format that will work) > horizontal lines ( ERT \rule ) The last is easy and supported by lyx. In the menu Layout->Paragraph, and then you have the option bellow or above current paragraph. -- José Abílio
Re: math from lyx -> rtf
Andre Poenitz wrote: > On Wed, Oct 09, 2002 at 02:48:51AM -0400, Alex Casti wrote: > > > It looks like a latex2html problem, doesn't it? > > > If so, the authors of latex2html might help. > > > > It didn't seem beyond the realm of possibilty that it had > > something to do with the lyx conversion to latex. It > > was also a current thread of discussion on this list, so... > > Well, then how does the intermediate .tex and the final .html > look like? Well, like you suggested, the promised land was within the borders of latex2html documentation. For the sake of completeness I'll mention the fix. The equation numbers weren't appearing in my .html because I ran the converter on the latex file without first compiling the latex and creating the .aux file. When I compiled the latex first, and then ran the converter, everything turned out beautiful. Thanks, Alex