Re: strange text alignment in tables
christiaan pauw wrote: Hi all I am writhing a questionnaire in Lyx 1.4.1 on Win XP. The whole thing is one gigantic table. I experience very strange effects with the alignment of text both vertically and horizontally 1. Text in adjacent columns are not aligned even when both are set at the same vertical alignment. This happens not only but especially when a ctr-enter was used. 2. Multicolunm the cells above and below to disregard their column width settings 3. Horizontal alignment is not the same for rows either. Sometimes the text begins with an indent, sometimes not 4. Setting the column with sometimes does not set the width of the column but the width of the text within . this is the case in multicolumns. The problem is that there is no control over the width of a column when one cell is also part of a multicolumn Can anyone help regards Christiaan . It might be best if you posted a minimal example of the problem. /Paul
Re: bibtex my.bst
Wolfgang Engelmann wrote: Am Freitag, 23. Juni 2006 18:13 schrieb Paul A. Rubin: Hi Paul (I am sure your mother was right..) Disclaimer: I have not done this myself (being an English-speaker) (although the Brits might disagree). Theoretically, if you run latex against makebst.tex and choose merlin as the master file, you should be asked what language to use. The default choice is merlin (which means English), but you should answer german.mbs, spanish.mbs or whatever language you need. If you want English, the default should be merlin.mbs and it should work. (There is an english.mbs if you want to try that.) Does that help? yes, it does, but how do I make changes in the dbj file effective (I want to avoid running the latex makebst again). With other words, how do I get my.bst from my.dbj? Or do I make the changes in bst directly? But what is than the function of the dbj? Wolfgang The .dbj file is a batch job that is run to generate the .bst file. If you edit the .dbj file directly, just run tex against it to get the new .bst file. /Paul
Re: htlatex html conversion best methods
Steve Harris wrote: I recently became curious about the best way to produce a web page from LyX->export as Latex (.tex) and conversion to html and .png code for a web page with "htlatex example.tex"->example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: --- Re: Lyx 1.4.2svn Windows SH: Is there some reason this equation/png looks so feint (pixellated?) as I've seen something like this in an htlatex generated html conversion which I would like to fix. Ekkehart supplied the original intop.png. [SH: intop.png displays with a similar poor quality to newfile0x.png] Regards, Stephen Ekkehart replied: Yes, the reason is that I took a screen shown from a pdf output and transformed it into png (to have a small file that can be attached). The original is the standard Latex output which is slightly pixelated, but for real things you would use an outline font. Ekkehart - SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, "convert *.png *.jpg" should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. I am sending newfile0x.jpg as an attachment. This is newfilejpg.htm which can be copied and pasted into a text editor and saved to an appropriate directory. The original attached files were munged. <--> Example of Jpg-based Webpage This line is part of the internal html code, the .jpg image follows: <-> This is newfilepng.htm which can be copied and pasted, inside the arrowed lines, into a text editor and saved to an appropriate directory. <---> Example of Png-based Webpage This line is part of the internal html code, the .png image follows: <--> Regards, Stephen <>
htlatex html conversion best methods
I recently became curious about the best way to produce a web page from LyX->export as Latex (.tex) and conversion to html and .png code for a web page with "htlatex example.tex"->example.htm + .pngs. I asked Ekkehart about this issue arising from a recent post of his: --- Re: Lyx 1.4.2svn Windows SH: Is there some reason this equation/png looks so feint (pixellated?) as I've seen something like this in an htlatex generated html conversion which I would like to fix. Ekkehart supplied the original intop.png. [SH: intop.png displays with a similar poor quality to newfile0x.png] Regards, Stephen Ekkehart replied: Yes, the reason is that I took a screen shown from a pdf output and transformed it into png (to have a small file that can be attached). The original is the standard Latex output which is slightly pixelated, but for real things you would use an outline font. Ekkehart - SH: So I tried substituting/converting newfile0x.png with ImageMagick to newfile0x.jpg and viewing it, and the result looked pretty good. Next I made a simple .htm (which is text) file to see how it looked in a browser. It looked good in both Firefox and IE. I've included the files used in case anyone want to test it. The .htm files point to C:\uploads, so the files should be saved there; or with Linux save to the directory of choice, but edit the .htm file to show it. A thesis might have 175+ equations in it, which are all converted to .png files by htlatex. Supposing all these .png files are found in ~/thesis, or C:\thesis, they need to be converted automatically to the new .jpg format. Assuming ImageMagick is in the Path, then from the ~/thesis command line, "convert *.png *.jpg" should work in both Linux and Windows/Dos to change the extension of every .png file to its .jpg counterpart. Then all the occurrences of *.png need to be changed to *.jpg in the thesis.htm (text file). I think most quality text editors can perform such a Search/Replace, input *.png, output *.jpg through the entire document, which should then display as well as the sample newfilejpg.htm which is attached. I think. Paul the Probabilist is invited to comment or clarify. This solution may be obvious to some but could be less apparent to inexperienced users. So I decided to record it for prosperity. -- Regards, Stephen "Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful people with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination alone are omnipotent. The slogan "press on" has solved and always will solve the problems of the human race." Calvin Coolidge <>
Hyphenation depends on formatting?
Hello, there is a strange situation with hyphenation that seems to depend on my current formatting. The line I wrote is --- Resulting genotype YRM5: natNT2::PADH-DON1-3mCherry::kanMX6, PADH-meGFP::URA3 --- where "PADH" both times is written with ADH as subscript, therefore these 3 letters are in a math box. When the text is written in upright characters, all is fine. Due to nomenclature rules the text has to be italic -- and now the hyphenation does not work and the line does not break. Can anybody please tell me why this is and how to cope with the situation? Thanks in advance! Cz. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: bibtex my.bst
Am Freitag, 23. Juni 2006 18:13 schrieb Paul A. Rubin: Hi Paul (I am sure your mother was right..) > > Disclaimer: I have not done this myself (being an English-speaker) > (although the Brits might disagree). Theoretically, if you run latex > against makebst.tex and choose merlin as the master file, you should be > asked what language to use. The default choice is merlin (which means > English), but you should answer german.mbs, spanish.mbs or whatever > language you need. If you want English, the default should be > merlin.mbs and it should work. (There is an english.mbs if you want to > try that.) > > Does that help? yes, it does, but how do I make changes in the dbj file effective (I want to avoid running the latex makebst again). With other words, how do I get my.bst from my.dbj? Or do I make the changes in bst directly? But what is than the function of the dbj? Wolfgang
Re: Numbered vs. Unnumbered Sectioning
On Friday 23 June 2006 23:03, Rich Shepard wrote: >Why is it that numbered sectioning commands appear both in a > ToC and on the fancy headers, but their unnumbered versions don't? I know > this is a LaTeX action, but I'm wondering why it's this way. I guess that is by design. :-) The start sections are to be used when you want to give emphasis to some part of your document but do not want it to show in TOC. Notice that koma class of layouts as a style called addchap, addsect and addpart that act as start section but show in TOC. >I can see unnumbered sections in the frontmatter of a book or report, > but to not have headers with the sectioning titles? And articles -- at > least in the science fields in which I am most familiar -- have sections, > but they're not numbered. Yet the running heads reflect the page's section. You can use Document->Settings->Numbering and TOC to control this. You can use sections (and derived) without a number. By default only paragraph and subparagraph (level 4 and 5) are not numbered. You can easily change that there. Try it. :-) > Just curious, > > Rich -- José Abílio
Re: lyx-1.4.1 display fonts
On Saturday 24 June 2006 11:57, Subir Singh Lamba wrote: > Hello, > > I have compiled and installed lyx-1.4.1. using xforms option on > redhat9.0. Now the problem is symbols are not properly displayed in the > lyx file while they appear properly in .ps or .pdf file. What do I need to > do to overcome this problem ? > > Any help will be greatlty appreciated. According to your description you seem to be missing the latex-xft-fonts package. http://wiki.lyx.org/FAQ/Unsorted#mathSymbolsNotShown > Regards, > > Subir -- José Abílio
Re: lyx-1.4.1 display fonts
On 6/24/06, Subir Singh Lamba <[EMAIL PROTECTED]> wrote: I have compiled and installed lyx-1.4.1. using xforms option on redhat9.0. Now the problem is symbols are not properly displayed in the lyx file while they appear properly in .ps or .pdf file. What do I need to do to overcome this problem ? Perhaps, it would be better to compile LyX with the qt option instead, but anyway the crucial problem is caused by the fact that you do not have the proper fonts installed. See http://wiki.lyx.org/FAQ/Qt Paul
lyx-1.4.1 display fonts
Hello, I have compiled and installed lyx-1.4.1. using xforms option on redhat9.0. Now the problem is symbols are not properly displayed in the lyx file while they appear properly in .ps or .pdf file. What do I need to do to overcome this problem ? Any help will be greatlty appreciated. Regards, Subir
Re: Instant Preview working in LyX 1.4.1?
I finally got it working ... It was a stupid bug listed on wiki page ... latex-xft-fonts were missing ... Thanks you for your help! Jose' Matos wrote: On Saturday 17 June 2006 11:15, Stefano Grioni wrote: Do you know which package does the math-preview? Because on arch they aren't packaged so I'd like to package on my own the right one . A subpackage of auctex: http://www.gnu.org/software/auctex/ Thx