parallel.sty
Pardon my ignorance... I have found this, but how do I install it to use with Lyx? and once it's installed, how to I use it? Thanks for the help. MC
vertical alignment in table-cells
Hi, I have a little problem concerning the vertical alignment of text in table-cells (Lyx 1.3.0). Basically I defined a table with 2 columns, the first column containing simple text and the second column containing small diagrams using the psmatrix-command. The problem is that the text in the first column appears at the bottom of the cell. I tried to set the vertical alignment to top or center as explained in http://www.damek.kth.se/~chr/lyx/Herbert/table.html#valign but without any success. I would appreciate any suggestions on how to solve that problem! Thanks in advance - Jan -
Re: vertical alignment in table-cells
-BEGIN PGP SIGNED MESSAGE- On Freitag, 12. September 2003 10:42, Jan W. Schemm wrote: Hi, I have a little problem concerning the vertical alignment of text in table-cells (Lyx 1.3.0). Basically I defined a table with 2 columns, the first column containing simple text and the second column containing small diagrams using the psmatrix-command. The problem is that the text in the first column appears at the bottom of the cell. I tried to set the vertical alignment to top or center as explained in Add empty text (ERT: {}) in front of the graphics-cell. Make the vertical alignment of the cell be center too. Dvi-output should be ok. http://www.damek.kth.se/~chr/lyx/Herbert/table.html#valign but without any success. I would appreciate any suggestions on how to solve that problem! Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iQCVAwUBP2GPSrewfbDGmeqhAQEctwQA1BDO4Wn02PTxW6+XBzoGqCJs0yH1OC6m ZRuc7u8wCM4wikINa+5ipD/FpQKIumw3NgeiJyQUqSFZAViOY5d7Q+cDjEUspCjf Fiudo51mxY41eVDejpSl1kKKsIFrm41jw1AJRpt9f3MByzOdSTsEpqRW1AA6UA21 2Do4y6pAurw= =88jT -END PGP SIGNATURE-
Re: image conversion tools
Hello again, I am not sure what was going on, but I noticed in the about box that qt lyx was not using the shared library under its own installation. It was using the shared libraries for the lyx 1.3.1 version (under cygwin). I renamed temporary my cygwin directory to something else so the qt lyx can not find it. Now I don't need any to set explicitly the converters it works out of the box. I guess there is some problem with my path since renaming the cywin directory temporary fixed the problem. jorgen Rob S wrote: Hi; You're not alone - I suffer the same problem and have done since changing from the cygwin version. However, one thing that others have found successful is ensuring that imagemagick convert.exe is in your path BEFORE any windows directories. This is because of the system32 similarly named convert.exe being found first and trying to convert the image into a FAT32 or NFTS file system!! Even this though has not resolved the problem for me. Now I just use .eps images throughout and put up with not viewing them in the lyx gui but rely on viewing them in the DVI preview instead. Rob S -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of jorgen johansson Sent: 10 September 2003 19:37 To: [EMAIL PROTECTED] Subject: Re: image conversion tools Hello, I wonder if imagemagick has to be installed as a part of cygwin or can I use the native windows imagemagick when I want use the native qt lyx 1.3.2 on windows XP? I tried installing a couple of months ago and couldn't get it to work (the image conversion) I debugged and was also in contact with Ruurd Reitsma directly. No solution back then. I tried tonight again and same error. Was the problem that I need the cygwin version of imagemagick?. For my lyx 1.3.1 under cygwin I am using the native windows version of imagemagick. One would think it would work with the native qt version of Lyx as well then. /jorgen Kayvan A. Sylvan wrote: On Thu, Aug 28, 2003 at 02:17:34PM +, Angus Leeming wrote: What does the debug output tell you? (lyx -dbg graphics) What happens if you define a converter explicitly. Eg \converter eps png my_ps2png $$i $$o \converter eps ppm my_ps2ppm $$i $$o \converter png eps convert PNG:$$i EPS:$$o Sorry. I'm an idiot. convert.exe on my machine is the Windows executable that turns a DOS filesystem into an NTFS filesystem. Turns out that I had not compiled and installed ImageMagick on that laptop. I compiled and installed the latest ImageMagick under Cygwin and now it works. ---Kayvan
Re: image conversion tools
Jorgen Johansson wrote: Hello again, I am not sure what was going on, but I noticed in the about box that qt lyx was not using the shared library under its own installation. It was using the shared libraries for the lyx 1.3.1 version (under cygwin). I renamed temporary my cygwin directory to something else so the qt lyx can not find it. Now I don't need any to set explicitly the converters it works out of the box. I guess there is some problem with my path since renaming the cywin directory temporary fixed the problem. jorgen Rob S wrote: Hi; You're not alone - I suffer the same problem and have done since changing from the cygwin version. However, one thing that others have etc... I can confirm that renaming the cygwin directory immediately made any problems with graphic conversion disappear in lyx (native win32-qt) 1.3.2. I have tried all the solutions discussed here before without success. Too bad that I also need the cygwin-installation :) regards Niklas Hulden
Printing using Aqua-Lyx
Hi: I am a newbie with Lyx and have played with it for little more than an hour but fail printing. I think that I installed all the bits and pieces indicated in the Lyx/Mac web page: gimp-print, esp ghostscript. I have also set the name of my printer which I found in /private/etc/printcap, and have configured textconfig (as indicated in the User's guide). Yet the print option of the file menu is dimmed. Also, the Lyx/Mac web page indicates that one can also print by previewing pdf and printing from preview. I did not even found how one previews with pdf... Any help would be appreciated... jp -- Want to convene a Biogeosciences session at the next meeting of the European Geosciences Union (Nice, April 2004)? Go to: http://www.cosis.net/members/meetings/skeleton/view.php?p_id=86. Jean-Pierre Gattuso | mailto:[EMAIL PROTECTED] | http://www.obs-vlfr.fr/~gattuso
Re: Printing using Aqua-Lyx
On Fri, Sep 12, 2003 at 01:07:35PM +0200, Gattuso, Jean-Pierre wrote: Hi: I am a newbie with Lyx and have played with it for little more than an hour but fail printing. I think that I installed all the bits and pieces indicated in the Lyx/Mac web page: gimp-print, esp ghostscript. I have also set the name of my printer which I found in /private/etc/printcap, and have configured textconfig (as indicated in the User's guide). Yet the print option of the file menu is dimmed. Also, the Lyx/Mac web page indicates that one can also print by previewing pdf and printing from preview. I did not even found how one previews with pdf... Any help would be appreciated... Which LyX Version? Output of Edit-Reconfigure? Can you view .dvi from within LyX? Can you view .ps from within LyX? Can you view .dvi elsewhere? Can you view .ps elsewhere? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: vertical alignment in table-cells
Kornel Benko wrote: Add empty text (ERT: {}) in front of the graphics-cell. Make the vertical alignment of the cell be center too. Dvi-output should be ok. Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. --- snip --- \begin{tabular}{|p{3cm}|p{8cm}|} \hline \tabularnewline \hline \hline test {} \psmatrix[colsep=1cm,rowsep=0.5cm] A1 \\ A2 A4 \\ A3 A9 \\ A5 A10 \\ A6 \endpsmatrix \psset{nodesep=2pt, arrows=-} \ncline{1,1}{2,2} \ncline{1,1}{3,2} \tabularnewline \hline \end{tabular} --- snap --- - Jan -
Re: parallel.sty
Michael Chabon schrieb: Pardon my ignorance... I have found this, but how do I install it to use with Lyx? and once it's installed, how to I use it? http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages read the doc, to see how it works Herbert
Re: vertical alignment in table-cells
Jan W. Schemm schrieb: Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. give a LyX example file. Herbert
Re: Centering a figure in a float
Herbert Voß [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes schrieb: Rich Shepard [EMAIL PROTECTED] writes: | On Fri, 12 Sep 2003, Owen Lucas wrote: highlight the image then go layout paragraph then select center. | Thanks, Owen. I received a private reply with the same solution. As I had | not needed to do this before I never went rummaging through the | menus. In some earlier verision of LyX centering of graphics was done automatically, however we (or was it I) changed this since this is not the default in LaTeX. | the default is a centered caption and in 99,9% the | user centers the image, too. So the question is, | what is user friendly ... | and by the way: LyX has tons of stuff which is against | the LaTeX default True, but if done the wrong way it adds clutter. (in the code) And that was the case earlier. The possibility to make float contents default to be centered might come back, but only with a clean implementation. btw. I consider most stuff where lyx do not use the latex default as a bug... (who are we to overrule the latex documentclass) -- Lgb
Re: vertical alignment in table-cells
-BEGIN PGP SIGNED MESSAGE- On Freitag, 12. September 2003 15:34, Herbert Voß wrote: Jan W. Schemm schrieb: Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. give a LyX example file. Seems to be ok now. Each call to '\ncline{..}{..}' was on its own line. This has messed up the dvi and ps- output. Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iQCVAwUBP2HXB7ewfbDGmeqhAQFYVgQAqOPqQCyDfXmCBU+zHcDL5gkDYok0A7Gv xARE5onWUqamEKJqJIWqo00w4RzTtnmMY1sT6YQbDg3Sz1pCswjQw6InEaaw8igb jxBT15JcEn6XFz2xiDK4pklw3AdAnTdcf0Sk4uw5WdkZTQ/Z3xAwRaGm8hMF0II0 H6o8r0ZU0lo= =kTUS -END PGP SIGNATURE-
Re: Image conversion and Lyx qt 1.3.2 win
Hi Jorgen, I am using AFPL Ghostscript 8.11 D:\Program Files\ImageMagick-5.5.7-Q8\ That's strange. I moved back to ImageMagick Q8 (from Q16) and I was using Ghostscript 8.11 all the time. But still I cannot convert a sample file. convert test.eps test.bmp or convert test.eps test.ppm from the command line doesn't work (but the correct convert.exe is called, so the path is ok somehow). Still, ghostscript is complaining about /undefinedfilename. I put my sample file here (if you are interested) www.personal.uni-jena.de/~p9libe/test.eps If it's a path issue, what does your path variable (both system and user) look like? -- Ben Liesfeld
Re: Image conversion and Lyx qt 1.3.2 win
On Fri, Sep 12, 2003 at 05:11:25PM +0200, Ben Liesfeld wrote: convert test.eps test.bmp or convert test.eps test.ppm from the command line doesn't work (but the correct convert.exe is called, so the path is ok somehow). Still, ghostscript is complaining about /undefinedfilename. I put my sample file here (if you are interested) www.personal.uni-jena.de/~p9libe/test.eps Works fine with [EMAIL PROTECTED]:/tmp gv -v gv 3.5.8 [EMAIL PROTECTED]:/tmp gs -v ESP Ghostscript 7.05.3 (2002-06-28) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. [EMAIL PROTECTED]:/tmp convert -v Version: @(#)ImageMagick 5.4.7 07/18/02 Q:16 http://www.imagemagick.org Copyright: Copyright (C) 2002 ImageMagick Studio LLC What exactly do you type and what exactly do you get as result? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Math symbol question
Thanks for the information, \sslash using stmaryrd package in the preamble did the job. Cláudio Dekel Tsur wrote: On Thu, Sep 11, 2003 at 03:02:24PM -0300, Cl?udio Geraldo Sch?n wrote: Sorry to make this silly question, but I'm writing a paper containing crystallographic notations using LyX and I need the symbol for parallel planes or directions (//, i.e. two slash bars, but spaced closer than normal), I already looked at the AMS-LaTeX documentation, but couldn't find this symbol in the list of the million and one amsfont provide. Do somebody know how to write this symbol in LyX? Look at ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf -- Cláudio Geraldo Schön Comp. Mat. Sci. Lab. Dept. Metallurgical and Materials Engineering Escola Politécnica da Universidade de São Paulo Av. Prof. Mello Moraes, 2463 CEP 05508-900 São Paulo-SP Brazil Tel.: +55-11-3091-5726 (new number!) Fax : +55-11-3091-5243
hyperref and toc
Greetings. Is there a tutorial that teaches the newbie user how to use hyperref to create hypertext links in a table of contents in Lyx? I have looked, but I haven't found anything. Thanks. Mike
Re: hyperref and toc
[EMAIL PROTECTED] wrote: Is there a tutorial that teaches the newbie user how to use hyperref to create hypertext links in a table of contents in Lyx? I have looked, but I haven't found anything. A very comfortable solution is the tex2pdf script, which uses hyperref, thumbpdf etc. The homepage describes how to use the script with LyX. http://tex2pdf.berlios.de/ Juergen.
Re: vertical alignment in table-cells
Kornel Benko schrieb: Jan W. Schemm schrieb: Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. give a LyX example file. Seems to be ok now. Each call to '\ncline{..}{..}' was on its own line. This has messed up the dvi and ps- output. sure, but I wanted to know, why it doesn't work from inside LyX. Herbert
Re: parallel.sty
Michael Chabon wrote: Pardon my ignorance... I have found this, but how do I install it to use with Lyx? and once it's installed, how to I use it? Thanks for the help. MC As with any package, the first thing you need to do is make it available to LaTeX. Put it somewhere inside your LaTeX distribution (on my computer this is /usr/share/texmf/tex/latex/ but it could be different on yours). Then run the command texhash (without the quotes) to update LaTeX. Note: you may need to be logged in as root/admin to do this. Using it in LyX depends on whether it's supported by LyX. If it is, then all you have to do is click Edit-Reconfigure, then restart LyX and you can use it just like any other document class. If it isn't, then you will need to put LaTeX commands in your Preamble (in LyX 1.3.* you get there from Layout-Document). If there's any documnetation with the package, read it and see what it asks you to do. If not, try putting \usepackage{parallel.sty} in the preamble and see what happens. Robin -- There are other rules, but you'll find out what those are when you break them. - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Image conversion and Lyx qt 1.3.2 win
Hi Andre, On Fri, Sep 12, 2003 at 05:11:25PM +0200, Ben Liesfeld wrote: convert test.eps test.bmp or convert test.eps test.ppm from the command line doesn't work (but the correct convert.exe is called, so the path is ok somehow). Still, ghostscript is complaining about /undefinedfilename. I put my sample file here (if you are interested) www.personal.uni-jena.de/~p9libe/test.eps Works fine with [EMAIL PROTECTED]:/tmp gv -v gv 3.5.8 [EMAIL PROTECTED]:/tmp gs -v ESP Ghostscript 7.05.3 (2002-06-28) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. [EMAIL PROTECTED]:/tmp convert -v Version: @(#)ImageMagick 5.4.7 07/18/02 Q:16 http://www.imagemagick.org Copyright: Copyright (C) 2002 ImageMagick Studio LLC What exactly do you type and what exactly do you get as result? I was referring to the use of ImageMagick and Ghostscript on the windows platform (you are apparently using *nix). There are no problems with LyxQt on *nix converting images. Somehow ImageMagick and GS don't work together on my platform (WinXP) but it seems that other users (like Jorgen Johansson) have a working configuration. I made sure that I have the same ImageMagick and GS versions installed but still I get error messages like the one below: --snip-- C:\convert test.eps test.ppm AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push Dictionary stack: --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local Last OS error: No such file or directory AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push Dictionary stack: --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local Last OS error: No such file or directory AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 convert: DPS library is not available (test.eps). --snip-- -- Ben Liesfeld
Re: parallel.sty
robin schrieb: Using it in LyX depends on whether it's supported by LyX. If it is, then all you have to do is click Edit-Reconfigure, then restart LyX and you can use it just like any other document class. If it isn't, then you will need to put LaTeX commands in your Preamble (in LyX 1.3.* you get there from Layout-Document). If there's any documnetation with the package, read it and see what it asks you to do. If not, try putting \usepackage{parallel.sty} in the preamble and see what happens. I suppose an error ... :-) Herbert
Re: Image conversion and Lyx qt 1.3.2 win
On Fri, Sep 12, 2003 at 06:09:49PM +0200, Ben Liesfeld wrote: I was referring to the use of ImageMagick and Ghostscript on the windows platform (you are apparently using *nix). I noticed that. Somehow ImageMagick and GS don't work together on my platform (WinXP) but it seems that other users (like Jorgen Johansson) have a working configuration. I made sure that I have the same ImageMagick and GS versions installed but still I get error messages like the one below: --snip-- C:\convert test.eps test.ppm AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Can you view the .eps somehow else? With gsview for instance? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Image conversion and Lyx qt 1.3.2 win
Hi Andre, On Fri, Sep 12, 2003 at 06:09:49PM +0200, Ben Liesfeld wrote: I was referring to the use of ImageMagick and Ghostscript on the windows platform (you are apparently using *nix). I noticed that. Sorry for stating the obvious ;-) I was just loosing track of the whole thread myself. Somehow ImageMagick and GS don't work together on my platform (WinXP) but it seems that other users (like Jorgen Johansson) have a working configuration. I made sure that I have the same ImageMagick and GS versions installed but still I get error messages like the one below: --snip-- C:\convert test.eps test.ppm AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Can you view the .eps somehow else? With gsview for instance? Viewing the .eps works fine. E. g. I can insert a converter line in preferences like \converter eps ppm gswin32c.exe -dBATCH -dNOPAUSE -sDEVICE=ppmraw -r72 -sOutputFile=$$o -c save pop -f $$i which results in a preview of the eps in lyx but in disrespect of the bounding box of the eps. So around a tiny eps there's always the huge DINA4 whitespace. GS works therefore and I can also convert jpg or bmp to other formats with ImageMagick, it's just that both don't work together properly. -- Ben Liesfeld
Re: Printing using Aqua-Lyx
Hi: I am a newbie with Lyx and have played with it for little more than an hour but fail printing. I think that I installed all the bits and pieces indicated in the Lyx/Mac web page: gimp-print, esp ghostscript. I have also set the name of my printer which I found in /private/etc/printcap, and have configured textconfig (as indicated in the User's guide). You do not indicate whether or not you properly installed all of the LaTeX components necessary to use LyX. (I am guessing from the fact that the Print option is dimmed that you do not have the necessary components properly set up.) To check to see that you have LyX and all the necessary components of TeX/LaTeX properly installed, do this: 1. Edit--Reconfigure 2. Restart LyX 3. Open (or create) a short document. 4. Click on the View menu. At the top of the menu you should see DVI, PDF, PDF (dvipdfm), PDF (pdflatex),... If you do not see these options to preview the document, you most likely do not have LaTeX properly set up. Alternatively, you can open up the Console application right after you do step 1, and view the log to see whether LyX has found the necessary LaTeX components. If LaTeX is not properly installed, please see my website http://www.la.utexas.edu/~tnishino/osx_lyx/ for detailed instructions on installing the various necessary components to use LyX-Aqua. Yet the print option of the file menu is dimmed. Also, the Lyx/Mac web page indicates that one can also print by previewing pdf and printing from preview. I did not even found how one previews with pdf... Any help would be appreciated... jp Assuming you have everything properly set up, to view the document using Preview, this is what you need to do. Open the Preferences to File formats. In each of the PDF entries set the viewer to open -a Preview. Remember to click modify to get LyX to register the change, and save to make the Preference change permanent. (Similarly, if you want to use Acrobat, you can enter open -a Acrobat instead.) Then with the document you want to preview open, select View--PDF from the menus. This should compile the document, launch the Preview app, and display the fully formatted document. Hope this helps. Tomoharu Nishino
parallel.sty
Pardon my ignorance... I have found this, but how do I install it to use with Lyx? and once it's installed, how to I use it? Thanks for the help. MC
vertical alignment in table-cells
Hi, I have a little problem concerning the vertical alignment of text in table-cells (Lyx 1.3.0). Basically I defined a table with 2 columns, the first column containing simple text and the second column containing small diagrams using the psmatrix-command. The problem is that the text in the first column appears at the bottom of the cell. I tried to set the vertical alignment to top or center as explained in http://www.damek.kth.se/~chr/lyx/Herbert/table.html#valign but without any success. I would appreciate any suggestions on how to solve that problem! Thanks in advance - Jan -
Re: vertical alignment in table-cells
-BEGIN PGP SIGNED MESSAGE- On Freitag, 12. September 2003 10:42, Jan W. Schemm wrote: Hi, I have a little problem concerning the vertical alignment of text in table-cells (Lyx 1.3.0). Basically I defined a table with 2 columns, the first column containing simple text and the second column containing small diagrams using the psmatrix-command. The problem is that the text in the first column appears at the bottom of the cell. I tried to set the vertical alignment to top or center as explained in Add empty text (ERT: {}) in front of the graphics-cell. Make the vertical alignment of the cell be center too. Dvi-output should be ok. http://www.damek.kth.se/~chr/lyx/Herbert/table.html#valign but without any success. I would appreciate any suggestions on how to solve that problem! Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iQCVAwUBP2GPSrewfbDGmeqhAQEctwQA1BDO4Wn02PTxW6+XBzoGqCJs0yH1OC6m ZRuc7u8wCM4wikINa+5ipD/FpQKIumw3NgeiJyQUqSFZAViOY5d7Q+cDjEUspCjf Fiudo51mxY41eVDejpSl1kKKsIFrm41jw1AJRpt9f3MByzOdSTsEpqRW1AA6UA21 2Do4y6pAurw= =88jT -END PGP SIGNATURE-
Re: image conversion tools
Hello again, I am not sure what was going on, but I noticed in the about box that qt lyx was not using the shared library under its own installation. It was using the shared libraries for the lyx 1.3.1 version (under cygwin). I renamed temporary my cygwin directory to something else so the qt lyx can not find it. Now I don't need any to set explicitly the converters it works out of the box. I guess there is some problem with my path since renaming the cywin directory temporary fixed the problem. jorgen Rob S wrote: Hi; You're not alone - I suffer the same problem and have done since changing from the cygwin version. However, one thing that others have found successful is ensuring that imagemagick convert.exe is in your path BEFORE any windows directories. This is because of the system32 similarly named convert.exe being found first and trying to convert the image into a FAT32 or NFTS file system!! Even this though has not resolved the problem for me. Now I just use .eps images throughout and put up with not viewing them in the lyx gui but rely on viewing them in the DVI preview instead. Rob S -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of jorgen johansson Sent: 10 September 2003 19:37 To: [EMAIL PROTECTED] Subject: Re: image conversion tools Hello, I wonder if imagemagick has to be installed as a part of cygwin or can I use the native windows imagemagick when I want use the native qt lyx 1.3.2 on windows XP? I tried installing a couple of months ago and couldn't get it to work (the image conversion) I debugged and was also in contact with Ruurd Reitsma directly. No solution back then. I tried tonight again and same error. Was the problem that I need the cygwin version of imagemagick?. For my lyx 1.3.1 under cygwin I am using the native windows version of imagemagick. One would think it would work with the native qt version of Lyx as well then. /jorgen Kayvan A. Sylvan wrote: On Thu, Aug 28, 2003 at 02:17:34PM +, Angus Leeming wrote: What does the debug output tell you? (lyx -dbg graphics) What happens if you define a converter explicitly. Eg \converter eps png my_ps2png $$i $$o \converter eps ppm my_ps2ppm $$i $$o \converter png eps convert PNG:$$i EPS:$$o Sorry. I'm an idiot. convert.exe on my machine is the Windows executable that turns a DOS filesystem into an NTFS filesystem. Turns out that I had not compiled and installed ImageMagick on that laptop. I compiled and installed the latest ImageMagick under Cygwin and now it works. ---Kayvan
Re: image conversion tools
Jorgen Johansson wrote: Hello again, I am not sure what was going on, but I noticed in the about box that qt lyx was not using the shared library under its own installation. It was using the shared libraries for the lyx 1.3.1 version (under cygwin). I renamed temporary my cygwin directory to something else so the qt lyx can not find it. Now I don't need any to set explicitly the converters it works out of the box. I guess there is some problem with my path since renaming the cywin directory temporary fixed the problem. jorgen Rob S wrote: Hi; You're not alone - I suffer the same problem and have done since changing from the cygwin version. However, one thing that others have etc... I can confirm that renaming the cygwin directory immediately made any problems with graphic conversion disappear in lyx (native win32-qt) 1.3.2. I have tried all the solutions discussed here before without success. Too bad that I also need the cygwin-installation :) regards Niklas Hulden
Printing using Aqua-Lyx
Hi: I am a newbie with Lyx and have played with it for little more than an hour but fail printing. I think that I installed all the bits and pieces indicated in the Lyx/Mac web page: gimp-print, esp ghostscript. I have also set the name of my printer which I found in /private/etc/printcap, and have configured textconfig (as indicated in the User's guide). Yet the print option of the file menu is dimmed. Also, the Lyx/Mac web page indicates that one can also print by previewing pdf and printing from preview. I did not even found how one previews with pdf... Any help would be appreciated... jp -- Want to convene a Biogeosciences session at the next meeting of the European Geosciences Union (Nice, April 2004)? Go to: http://www.cosis.net/members/meetings/skeleton/view.php?p_id=86. Jean-Pierre Gattuso | mailto:[EMAIL PROTECTED] | http://www.obs-vlfr.fr/~gattuso
Re: Printing using Aqua-Lyx
On Fri, Sep 12, 2003 at 01:07:35PM +0200, Gattuso, Jean-Pierre wrote: Hi: I am a newbie with Lyx and have played with it for little more than an hour but fail printing. I think that I installed all the bits and pieces indicated in the Lyx/Mac web page: gimp-print, esp ghostscript. I have also set the name of my printer which I found in /private/etc/printcap, and have configured textconfig (as indicated in the User's guide). Yet the print option of the file menu is dimmed. Also, the Lyx/Mac web page indicates that one can also print by previewing pdf and printing from preview. I did not even found how one previews with pdf... Any help would be appreciated... Which LyX Version? Output of Edit-Reconfigure? Can you view .dvi from within LyX? Can you view .ps from within LyX? Can you view .dvi elsewhere? Can you view .ps elsewhere? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: vertical alignment in table-cells
Kornel Benko wrote: Add empty text (ERT: {}) in front of the graphics-cell. Make the vertical alignment of the cell be center too. Dvi-output should be ok. Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. --- snip --- \begin{tabular}{|p{3cm}|p{8cm}|} \hline \tabularnewline \hline \hline test {} \psmatrix[colsep=1cm,rowsep=0.5cm] A1 \\ A2 A4 \\ A3 A9 \\ A5 A10 \\ A6 \endpsmatrix \psset{nodesep=2pt, arrows=-} \ncline{1,1}{2,2} \ncline{1,1}{3,2} \tabularnewline \hline \end{tabular} --- snap --- - Jan -
Re: parallel.sty
Michael Chabon schrieb: Pardon my ignorance... I have found this, but how do I install it to use with Lyx? and once it's installed, how to I use it? http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages read the doc, to see how it works Herbert
Re: vertical alignment in table-cells
Jan W. Schemm schrieb: Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. give a LyX example file. Herbert
Re: Centering a figure in a float
Herbert Voß [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes schrieb: Rich Shepard [EMAIL PROTECTED] writes: | On Fri, 12 Sep 2003, Owen Lucas wrote: highlight the image then go layout paragraph then select center. | Thanks, Owen. I received a private reply with the same solution. As I had | not needed to do this before I never went rummaging through the | menus. In some earlier verision of LyX centering of graphics was done automatically, however we (or was it I) changed this since this is not the default in LaTeX. | the default is a centered caption and in 99,9% the | user centers the image, too. So the question is, | what is user friendly ... | and by the way: LyX has tons of stuff which is against | the LaTeX default True, but if done the wrong way it adds clutter. (in the code) And that was the case earlier. The possibility to make float contents default to be centered might come back, but only with a clean implementation. btw. I consider most stuff where lyx do not use the latex default as a bug... (who are we to overrule the latex documentclass) -- Lgb
Re: vertical alignment in table-cells
-BEGIN PGP SIGNED MESSAGE- On Freitag, 12. September 2003 15:34, Herbert Voß wrote: Jan W. Schemm schrieb: Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. give a LyX example file. Seems to be ok now. Each call to '\ncline{..}{..}' was on its own line. This has messed up the dvi and ps- output. Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iQCVAwUBP2HXB7ewfbDGmeqhAQFYVgQAqOPqQCyDfXmCBU+zHcDL5gkDYok0A7Gv xARE5onWUqamEKJqJIWqo00w4RzTtnmMY1sT6YQbDg3Sz1pCswjQw6InEaaw8igb jxBT15JcEn6XFz2xiDK4pklw3AdAnTdcf0Sk4uw5WdkZTQ/Z3xAwRaGm8hMF0II0 H6o8r0ZU0lo= =kTUS -END PGP SIGNATURE-
Re: Image conversion and Lyx qt 1.3.2 win
Hi Jorgen, I am using AFPL Ghostscript 8.11 D:\Program Files\ImageMagick-5.5.7-Q8\ That's strange. I moved back to ImageMagick Q8 (from Q16) and I was using Ghostscript 8.11 all the time. But still I cannot convert a sample file. convert test.eps test.bmp or convert test.eps test.ppm from the command line doesn't work (but the correct convert.exe is called, so the path is ok somehow). Still, ghostscript is complaining about /undefinedfilename. I put my sample file here (if you are interested) www.personal.uni-jena.de/~p9libe/test.eps If it's a path issue, what does your path variable (both system and user) look like? -- Ben Liesfeld
Re: Image conversion and Lyx qt 1.3.2 win
On Fri, Sep 12, 2003 at 05:11:25PM +0200, Ben Liesfeld wrote: convert test.eps test.bmp or convert test.eps test.ppm from the command line doesn't work (but the correct convert.exe is called, so the path is ok somehow). Still, ghostscript is complaining about /undefinedfilename. I put my sample file here (if you are interested) www.personal.uni-jena.de/~p9libe/test.eps Works fine with [EMAIL PROTECTED]:/tmp gv -v gv 3.5.8 [EMAIL PROTECTED]:/tmp gs -v ESP Ghostscript 7.05.3 (2002-06-28) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. [EMAIL PROTECTED]:/tmp convert -v Version: @(#)ImageMagick 5.4.7 07/18/02 Q:16 http://www.imagemagick.org Copyright: Copyright (C) 2002 ImageMagick Studio LLC What exactly do you type and what exactly do you get as result? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Math symbol question
Thanks for the information, \sslash using stmaryrd package in the preamble did the job. Cláudio Dekel Tsur wrote: On Thu, Sep 11, 2003 at 03:02:24PM -0300, Cl?udio Geraldo Sch?n wrote: Sorry to make this silly question, but I'm writing a paper containing crystallographic notations using LyX and I need the symbol for parallel planes or directions (//, i.e. two slash bars, but spaced closer than normal), I already looked at the AMS-LaTeX documentation, but couldn't find this symbol in the list of the million and one amsfont provide. Do somebody know how to write this symbol in LyX? Look at ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf -- Cláudio Geraldo Schön Comp. Mat. Sci. Lab. Dept. Metallurgical and Materials Engineering Escola Politécnica da Universidade de São Paulo Av. Prof. Mello Moraes, 2463 CEP 05508-900 São Paulo-SP Brazil Tel.: +55-11-3091-5726 (new number!) Fax : +55-11-3091-5243
hyperref and toc
Greetings. Is there a tutorial that teaches the newbie user how to use hyperref to create hypertext links in a table of contents in Lyx? I have looked, but I haven't found anything. Thanks. Mike
Re: hyperref and toc
[EMAIL PROTECTED] wrote: Is there a tutorial that teaches the newbie user how to use hyperref to create hypertext links in a table of contents in Lyx? I have looked, but I haven't found anything. A very comfortable solution is the tex2pdf script, which uses hyperref, thumbpdf etc. The homepage describes how to use the script with LyX. http://tex2pdf.berlios.de/ Juergen.
Re: vertical alignment in table-cells
Kornel Benko schrieb: Jan W. Schemm schrieb: Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. give a LyX example file. Seems to be ok now. Each call to '\ncline{..}{..}' was on its own line. This has messed up the dvi and ps- output. sure, but I wanted to know, why it doesn't work from inside LyX. Herbert
Re: parallel.sty
Michael Chabon wrote: Pardon my ignorance... I have found this, but how do I install it to use with Lyx? and once it's installed, how to I use it? Thanks for the help. MC As with any package, the first thing you need to do is make it available to LaTeX. Put it somewhere inside your LaTeX distribution (on my computer this is /usr/share/texmf/tex/latex/ but it could be different on yours). Then run the command texhash (without the quotes) to update LaTeX. Note: you may need to be logged in as root/admin to do this. Using it in LyX depends on whether it's supported by LyX. If it is, then all you have to do is click Edit-Reconfigure, then restart LyX and you can use it just like any other document class. If it isn't, then you will need to put LaTeX commands in your Preamble (in LyX 1.3.* you get there from Layout-Document). If there's any documnetation with the package, read it and see what it asks you to do. If not, try putting \usepackage{parallel.sty} in the preamble and see what happens. Robin -- There are other rules, but you'll find out what those are when you break them. - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Image conversion and Lyx qt 1.3.2 win
Hi Andre, On Fri, Sep 12, 2003 at 05:11:25PM +0200, Ben Liesfeld wrote: convert test.eps test.bmp or convert test.eps test.ppm from the command line doesn't work (but the correct convert.exe is called, so the path is ok somehow). Still, ghostscript is complaining about /undefinedfilename. I put my sample file here (if you are interested) www.personal.uni-jena.de/~p9libe/test.eps Works fine with [EMAIL PROTECTED]:/tmp gv -v gv 3.5.8 [EMAIL PROTECTED]:/tmp gs -v ESP Ghostscript 7.05.3 (2002-06-28) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. [EMAIL PROTECTED]:/tmp convert -v Version: @(#)ImageMagick 5.4.7 07/18/02 Q:16 http://www.imagemagick.org Copyright: Copyright (C) 2002 ImageMagick Studio LLC What exactly do you type and what exactly do you get as result? I was referring to the use of ImageMagick and Ghostscript on the windows platform (you are apparently using *nix). There are no problems with LyxQt on *nix converting images. Somehow ImageMagick and GS don't work together on my platform (WinXP) but it seems that other users (like Jorgen Johansson) have a working configuration. I made sure that I have the same ImageMagick and GS versions installed but still I get error messages like the one below: --snip-- C:\convert test.eps test.ppm AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push Dictionary stack: --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local Last OS error: No such file or directory AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push Dictionary stack: --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local Last OS error: No such file or directory AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 convert: DPS library is not available (test.eps). --snip-- -- Ben Liesfeld
Re: parallel.sty
robin schrieb: Using it in LyX depends on whether it's supported by LyX. If it is, then all you have to do is click Edit-Reconfigure, then restart LyX and you can use it just like any other document class. If it isn't, then you will need to put LaTeX commands in your Preamble (in LyX 1.3.* you get there from Layout-Document). If there's any documnetation with the package, read it and see what it asks you to do. If not, try putting \usepackage{parallel.sty} in the preamble and see what happens. I suppose an error ... :-) Herbert
Re: Image conversion and Lyx qt 1.3.2 win
On Fri, Sep 12, 2003 at 06:09:49PM +0200, Ben Liesfeld wrote: I was referring to the use of ImageMagick and Ghostscript on the windows platform (you are apparently using *nix). I noticed that. Somehow ImageMagick and GS don't work together on my platform (WinXP) but it seems that other users (like Jorgen Johansson) have a working configuration. I made sure that I have the same ImageMagick and GS versions installed but still I get error messages like the one below: --snip-- C:\convert test.eps test.ppm AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Can you view the .eps somehow else? With gsview for instance? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Image conversion and Lyx qt 1.3.2 win
Hi Andre, On Fri, Sep 12, 2003 at 06:09:49PM +0200, Ben Liesfeld wrote: I was referring to the use of ImageMagick and Ghostscript on the windows platform (you are apparently using *nix). I noticed that. Sorry for stating the obvious ;-) I was just loosing track of the whole thread myself. Somehow ImageMagick and GS don't work together on my platform (WinXP) but it seems that other users (like Jorgen Johansson) have a working configuration. I made sure that I have the same ImageMagick and GS versions installed but still I get error messages like the one below: --snip-- C:\convert test.eps test.ppm AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Can you view the .eps somehow else? With gsview for instance? Viewing the .eps works fine. E. g. I can insert a converter line in preferences like \converter eps ppm gswin32c.exe -dBATCH -dNOPAUSE -sDEVICE=ppmraw -r72 -sOutputFile=$$o -c save pop -f $$i which results in a preview of the eps in lyx but in disrespect of the bounding box of the eps. So around a tiny eps there's always the huge DINA4 whitespace. GS works therefore and I can also convert jpg or bmp to other formats with ImageMagick, it's just that both don't work together properly. -- Ben Liesfeld
Re: Printing using Aqua-Lyx
Hi: I am a newbie with Lyx and have played with it for little more than an hour but fail printing. I think that I installed all the bits and pieces indicated in the Lyx/Mac web page: gimp-print, esp ghostscript. I have also set the name of my printer which I found in /private/etc/printcap, and have configured textconfig (as indicated in the User's guide). You do not indicate whether or not you properly installed all of the LaTeX components necessary to use LyX. (I am guessing from the fact that the Print option is dimmed that you do not have the necessary components properly set up.) To check to see that you have LyX and all the necessary components of TeX/LaTeX properly installed, do this: 1. Edit--Reconfigure 2. Restart LyX 3. Open (or create) a short document. 4. Click on the View menu. At the top of the menu you should see DVI, PDF, PDF (dvipdfm), PDF (pdflatex),... If you do not see these options to preview the document, you most likely do not have LaTeX properly set up. Alternatively, you can open up the Console application right after you do step 1, and view the log to see whether LyX has found the necessary LaTeX components. If LaTeX is not properly installed, please see my website http://www.la.utexas.edu/~tnishino/osx_lyx/ for detailed instructions on installing the various necessary components to use LyX-Aqua. Yet the print option of the file menu is dimmed. Also, the Lyx/Mac web page indicates that one can also print by previewing pdf and printing from preview. I did not even found how one previews with pdf... Any help would be appreciated... jp Assuming you have everything properly set up, to view the document using Preview, this is what you need to do. Open the Preferences to File formats. In each of the PDF entries set the viewer to open -a Preview. Remember to click modify to get LyX to register the change, and save to make the Preference change permanent. (Similarly, if you want to use Acrobat, you can enter open -a Acrobat instead.) Then with the document you want to preview open, select View--PDF from the menus. This should compile the document, launch the Preview app, and display the fully formatted document. Hope this helps. Tomoharu Nishino
parallel.sty
Pardon my ignorance... I have found this, but how do I install it to use with Lyx? and once it's installed, how to I use it? Thanks for the help. MC
vertical alignment in table-cells
Hi, I have a little problem concerning the vertical alignment of text in table-cells (Lyx 1.3.0). Basically I defined a table with 2 columns, the first column containing simple text and the second column containing small diagrams using the psmatrix-command. The problem is that the text in the first column appears at the bottom of the cell. I tried to set the vertical alignment to top or center as explained in http://www.damek.kth.se/~chr/lyx/Herbert/table.html#valign but without any success. I would appreciate any suggestions on how to solve that problem! Thanks in advance - Jan -
Re: vertical alignment in table-cells
-BEGIN PGP SIGNED MESSAGE- On Freitag, 12. September 2003 10:42, Jan W. Schemm wrote: > Hi, > > I have a little problem concerning the vertical alignment of text in > table-cells (Lyx 1.3.0). Basically I defined a table with 2 columns, the > first column containing simple text and the second column containing small > diagrams using the psmatrix-command. The problem is that the text in the > first column appears at the bottom of the cell. I tried to set the vertical > alignment to top or center as explained in Add empty text (ERT: {}) in front of the graphics-cell. Make the vertical alignment of the cell be center too. Dvi-output should be ok. > http://www.damek.kth.se/~chr/lyx/Herbert/table.html#valign > > but without any success. I would appreciate any suggestions on how to solve > that problem! Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iQCVAwUBP2GPSrewfbDGmeqhAQEctwQA1BDO4Wn02PTxW6+XBzoGqCJs0yH1OC6m ZRuc7u8wCM4wikINa+5ipD/FpQKIumw3NgeiJyQUqSFZAViOY5d7Q+cDjEUspCjf Fiudo51mxY41eVDejpSl1kKKsIFrm41jw1AJRpt9f3MByzOdSTsEpqRW1AA6UA21 2Do4y6pAurw= =88jT -END PGP SIGNATURE-
Re: image conversion tools
Hello again, I am not sure what was going on, but I noticed in the about box that qt lyx was not using the shared library under its own installation. It was using the shared libraries for the lyx 1.3.1 version (under cygwin). I renamed temporary my cygwin directory to something else so the qt lyx can not find it. Now I don't need any to set explicitly the converters it works "out of the box". I guess there is some problem with my path since renaming the cywin directory temporary fixed the problem. jorgen Rob S wrote: Hi; You're not alone - I suffer the same problem and have done since changing from the cygwin version. However, one thing that others have found successful is ensuring that imagemagick convert.exe is in your path BEFORE any windows directories. This is because of the system32 similarly named convert.exe being found first and trying to convert the image into a FAT32 or NFTS file system!! Even this though has not resolved the problem for me. Now I just use .eps images throughout and put up with not viewing them in the lyx gui but rely on viewing them in the DVI preview instead. Rob S -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of jorgen johansson Sent: 10 September 2003 19:37 To: [EMAIL PROTECTED] Subject: Re: image conversion tools Hello, I wonder if imagemagick has to be installed as a part of cygwin or can I use the native windows imagemagick when I want use the native qt lyx 1.3.2 on windows XP? I tried installing a couple of months ago and couldn't get it to work (the image conversion) I debugged and was also in contact with Ruurd Reitsma directly. No solution back then. I tried tonight again and same error. Was the problem that I need the cygwin version of imagemagick?. For my lyx 1.3.1 under cygwin I am using the native windows version of imagemagick. One would think it would work with the native qt version of Lyx as well then. /jorgen Kayvan A. Sylvan wrote: On Thu, Aug 28, 2003 at 02:17:34PM +, Angus Leeming wrote: What does the debug output tell you? (lyx -dbg graphics) What happens if you define a converter explicitly. Eg \converter "eps" "png" "my_ps2png $$i $$o" "" \converter "eps" "ppm" "my_ps2ppm $$i $$o" "" \converter "png" "eps" "convert PNG:$$i EPS:$$o" "" Sorry. I'm an idiot. "convert.exe" on my machine is the Windows executable that turns a DOS filesystem into an NTFS filesystem. Turns out that I had not compiled and installed ImageMagick on that laptop. I compiled and installed the latest ImageMagick under Cygwin and now it works. ---Kayvan
Re: image conversion tools
Jorgen Johansson wrote: Hello again, I am not sure what was going on, but I noticed in the about box that qt lyx was not using the shared library under its own installation. It was using the shared libraries for the lyx 1.3.1 version (under cygwin). I renamed temporary my cygwin directory to something else so the qt lyx can not find it. Now I don't need any to set explicitly the converters it works "out of the box". I guess there is some problem with my path since renaming the cywin directory temporary fixed the problem. jorgen Rob S wrote: Hi; You're not alone - I suffer the same problem and have done since changing from the cygwin version. However, one thing that others have etc... I can confirm that renaming the cygwin directory immediately made any problems with graphic conversion disappear in lyx (native win32-qt) 1.3.2. I have tried all the solutions discussed here before without success. Too bad that I also need the cygwin-installation :) regards Niklas Hulden
Printing using Aqua-Lyx
Hi: I am a newbie with Lyx and have played with it for little more than an hour but fail printing. I think that I installed all the bits and pieces indicated in the Lyx/Mac web page: gimp-print, esp ghostscript. I have also set the name of my printer which I found in /private/etc/printcap, and have configured textconfig (as indicated in the User's guide). Yet the print option of the file" menu is dimmed. Also, the Lyx/Mac web page indicates that one can also print by previewing pdf and printing from preview. I did not even found how one previews with pdf... Any help would be appreciated... jp -- Want to convene a "Biogeosciences" session at the next meeting of the European Geosciences Union (Nice, April 2004)? Go to: http://www.cosis.net/members/meetings/skeleton/view.php?p_id=86. Jean-Pierre Gattuso | mailto:[EMAIL PROTECTED] | http://www.obs-vlfr.fr/~gattuso
Re: Printing using Aqua-Lyx
On Fri, Sep 12, 2003 at 01:07:35PM +0200, Gattuso, Jean-Pierre wrote: > Hi: > > I am a newbie with Lyx and have played with it > for little more than an hour but fail printing. > > I think that I installed all the bits and pieces > indicated in the Lyx/Mac web page: gimp-print, > esp ghostscript. I have also set the name of my > printer which I found in /private/etc/printcap, > and have configured textconfig (as indicated in > the User's guide). > > Yet the print option of the file" menu is dimmed. > Also, the Lyx/Mac web page indicates that one can > also print by previewing pdf and printing from > preview. I did not even found how one previews > with pdf... > > Any help would be appreciated... Which LyX Version? Output of Edit->Reconfigure? Can you view .dvi from within LyX? Can you view .ps from within LyX? Can you view .dvi elsewhere? Can you view .ps elsewhere? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: vertical alignment in table-cells
Kornel Benko wrote: > Add empty text (ERT: {}) in front of the graphics-cell. Make the vertical > alignment of the cell be center too. Dvi-output should be ok. Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. --- snip --- \begin{tabular}{|p{3cm}|p{8cm}|} \hline & \tabularnewline \hline \hline test& {} \psmatrix[colsep=1cm,rowsep=0.5cm] A1 \\ A2 & A4 \\ A3 & A9 \\ A5 & A10 \\ A6 \endpsmatrix \psset{nodesep=2pt, arrows=->} \ncline{1,1}{2,2} \ncline{1,1}{3,2} \tabularnewline \hline \end{tabular} --- snap --- - Jan -
Re: parallel.sty
Michael Chabon schrieb: Pardon my ignorance... I have found this, but how do I install it to use with Lyx? and once it's installed, how to I use it? http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages read the doc, to see how it works Herbert
Re: vertical alignment in table-cells
Jan W. Schemm schrieb: Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. give a LyX example file. Herbert
Re: Centering a figure in a float
Herbert Voß <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes schrieb: >> Rich Shepard <[EMAIL PROTECTED]> writes: >> | On Fri, 12 Sep 2003, Owen Lucas wrote: >> highlight the image then go layout paragraph then select center. >>> >> | Thanks, Owen. I received a private reply with the same solution. As I had >> | not needed to do this before I never went rummaging through the >> | menus. >> In some earlier verision of LyX centering of graphics was done >> automatically, however we (or was it I) changed this since this is not >> the default in LaTeX. > | the default is a centered caption and in 99,9% the | user centers the image, too. So the question is, | what is user friendly ... | and by the way: LyX has tons of stuff which is against | the LaTeX default True, but if done the wrong way it adds clutter. (in the code) And that was the case earlier. The possibility to make float contents default to be centered might come back, but only with a clean implementation. btw. I consider most stuff where lyx do not use the latex default as a bug... (who are we to overrule the latex documentclass) -- Lgb
Re: vertical alignment in table-cells
-BEGIN PGP SIGNED MESSAGE- On Freitag, 12. September 2003 15:34, Herbert Voß wrote: > Jan W. Schemm schrieb: > > Still doesn't work. Lyx produced the following Latex-Code, but the > > vertical alignment is still messed up. > > give a LyX example file. Seems to be ok now. Each call to '\ncline{..}{..}' was on its own line. This has messed up the dvi and ps- output. Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iQCVAwUBP2HXB7ewfbDGmeqhAQFYVgQAqOPqQCyDfXmCBU+zHcDL5gkDYok0A7Gv xARE5onWUqamEKJqJIWqo00w4RzTtnmMY1sT6YQbDg3Sz1pCswjQw6InEaaw8igb jxBT15JcEn6XFz2xiDK4pklw3AdAnTdcf0Sk4uw5WdkZTQ/Z3xAwRaGm8hMF0II0 H6o8r0ZU0lo= =kTUS -END PGP SIGNATURE-
Re: Image conversion and Lyx qt 1.3.2 win
Hi Jorgen, > I am using > AFPL Ghostscript 8.11 > D:\Program Files\ImageMagick-5.5.7-Q8\ That's strange. I moved back to ImageMagick Q8 (from Q16) and I was using Ghostscript 8.11 all the time. But still I cannot convert a sample file. convert test.eps test.bmp or convert test.eps test.ppm from the command line doesn't work (but the correct convert.exe is called, so the path is ok somehow). Still, ghostscript is complaining about /undefinedfilename. I put my sample file here (if you are interested) www.personal.uni-jena.de/~p9libe/test.eps If it's a path issue, what does your path variable (both system and user) look like? -- Ben Liesfeld
Re: Image conversion and Lyx qt 1.3.2 win
On Fri, Sep 12, 2003 at 05:11:25PM +0200, Ben Liesfeld wrote: > convert test.eps test.bmp > or > convert test.eps test.ppm > > from the command line doesn't work (but the correct convert.exe is > called, so the path is ok somehow). Still, ghostscript is complaining > about /undefinedfilename. > I put my sample file here (if you are interested) > www.personal.uni-jena.de/~p9libe/test.eps Works fine with [EMAIL PROTECTED]:/tmp > gv -v gv 3.5.8 [EMAIL PROTECTED]:/tmp > gs -v ESP Ghostscript 7.05.3 (2002-06-28) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. [EMAIL PROTECTED]:/tmp > convert -v Version: @(#)ImageMagick 5.4.7 07/18/02 Q:16 http://www.imagemagick.org Copyright: Copyright (C) 2002 ImageMagick Studio LLC What exactly do you type and what exactly do you get as result? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Math symbol question
Thanks for the information, \sslash using stmaryrd package in the preamble did the job. Cláudio Dekel Tsur wrote: > > On Thu, Sep 11, 2003 at 03:02:24PM -0300, Cl?udio Geraldo Sch?n wrote: > > Sorry to make this silly question, but I'm writing a paper containing > > crystallographic notations using LyX and I need the symbol for parallel > > planes or directions ("//", i.e. two slash bars, but spaced closer than > > normal), I already looked at the AMS-LaTeX documentation, but couldn't > > find this symbol in the list of the million and one amsfont provide. Do > > somebody know how to write this symbol in LyX? > > Look at > ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf -- Cláudio Geraldo Schön Comp. Mat. Sci. Lab. Dept. Metallurgical and Materials Engineering Escola Politécnica da Universidade de São Paulo Av. Prof. Mello Moraes, 2463 CEP 05508-900 São Paulo-SP Brazil Tel.: +55-11-3091-5726 (new number!) Fax : +55-11-3091-5243
hyperref and toc
Greetings. Is there a tutorial that teaches the newbie user how to use hyperref to create hypertext links in a table of contents in Lyx? I have looked, but I haven't found anything. Thanks. Mike
Re: hyperref and toc
[EMAIL PROTECTED] wrote: > Is there a tutorial that teaches the newbie user how to use hyperref to > create hypertext links in a table of contents in Lyx? I have looked, but I > haven't found anything. A very comfortable solution is the tex2pdf script, which uses hyperref, thumbpdf etc. The homepage describes how to use the script with LyX. http://tex2pdf.berlios.de/ Juergen.
Re: vertical alignment in table-cells
Kornel Benko schrieb: Jan W. Schemm schrieb: Still doesn't work. Lyx produced the following Latex-Code, but the vertical alignment is still messed up. give a LyX example file. Seems to be ok now. Each call to '\ncline{..}{..}' was on its own line. This has messed up the dvi and ps- output. sure, but I wanted to know, why it doesn't work from inside LyX. Herbert
Re: parallel.sty
Michael Chabon wrote: Pardon my ignorance... I have found this, but how do I install it to use with Lyx? and once it's installed, how to I use it? Thanks for the help. MC As with any package, the first thing you need to do is make it available to LaTeX. Put it somewhere inside your LaTeX distribution (on my computer this is /usr/share/texmf/tex/latex/ but it could be different on yours). Then run the command "texhash" (without the quotes) to update LaTeX. Note: you may need to be logged in as root/admin to do this. Using it in LyX depends on whether it's supported by LyX. If it is, then all you have to do is click Edit->Reconfigure, then restart LyX and you can use it just like any other document class. If it isn't, then you will need to put LaTeX commands in your Preamble (in LyX 1.3.* you get there from Layout->Document). If there's any documnetation with the package, read it and see what it asks you to do. If not, try putting \usepackage{parallel.sty} in the preamble and see what happens. Robin -- "There are other rules, but you'll find out what those are when you break them." - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Image conversion and Lyx qt 1.3.2 win
Hi Andre, > On Fri, Sep 12, 2003 at 05:11:25PM +0200, Ben Liesfeld wrote: >> convert test.eps test.bmp >> or >> convert test.eps test.ppm >> >> from the command line doesn't work (but the correct convert.exe is >> called, so the path is ok somehow). Still, ghostscript is complaining >> about /undefinedfilename. >> I put my sample file here (if you are interested) >> www.personal.uni-jena.de/~p9libe/test.eps > Works fine with [EMAIL PROTECTED]:/tmp >> gv -v > gv 3.5.8 [EMAIL PROTECTED]:/tmp >> gs -v > ESP Ghostscript 7.05.3 (2002-06-28) > Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. [EMAIL PROTECTED]:/tmp >> convert -v > Version: @(#)ImageMagick 5.4.7 07/18/02 Q:16 http://www.imagemagick.org > Copyright: Copyright (C) 2002 ImageMagick Studio LLC > What exactly do you type and what exactly do you get as result? I was referring to the use of ImageMagick and Ghostscript on the windows platform (you are apparently using *nix). There are no problems with LyxQt on *nix converting images. Somehow ImageMagick and GS don't work together on my platform (WinXP) but it seems that other users (like Jorgen Johansson) have a working configuration. I made sure that I have the same ImageMagick and GS versions installed but still I get error messages like the one below: --snip-- C:\>convert test.eps test.ppm AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push Dictionary stack: --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local Last OS error: No such file or directory AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 AFPL Ghostscript 8.11 (2003-08-16) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push Dictionary stack: --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local Last OS error: No such file or directory AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 convert: DPS library is not available (test.eps). --snip-- -- Ben Liesfeld
Re: parallel.sty
robin schrieb: Using it in LyX depends on whether it's supported by LyX. If it is, then all you have to do is click Edit->Reconfigure, then restart LyX and you can use it just like any other document class. If it isn't, then you will need to put LaTeX commands in your Preamble (in LyX 1.3.* you get there from Layout->Document). If there's any documnetation with the package, read it and see what it asks you to do. If not, try putting \usepackage{parallel.sty} in the preamble and see what happens. I suppose an error ... :-) Herbert
Re: Image conversion and Lyx qt 1.3.2 win
On Fri, Sep 12, 2003 at 06:09:49PM +0200, Ben Liesfeld wrote: > I was referring to the use of ImageMagick and Ghostscript on the > windows platform (you are apparently using *nix). I noticed that. > Somehow ImageMagick and GS don't work together on my platform > (WinXP) but it seems that other users (like Jorgen Johansson) have a > working configuration. I made sure that I have the same ImageMagick > and GS versions installed but still I get error messages like the > one below: > > --snip-- > > C:\>convert test.eps test.ppm > AFPL Ghostscript 8.11 (2003-08-16) > Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. > This software comes with NO WARRANTY: see the file PUBLIC for details. > Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) Can you view the .eps somehow else? With gsview for instance? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Image conversion and Lyx qt 1.3.2 win
Hi Andre, > On Fri, Sep 12, 2003 at 06:09:49PM +0200, Ben Liesfeld wrote: >> I was referring to the use of ImageMagick and Ghostscript on the >> windows platform (you are apparently using *nix). > I noticed that. Sorry for stating the obvious ;-) I was just loosing track of the whole thread myself. >> Somehow ImageMagick and GS don't work together on my platform >> (WinXP) but it seems that other users (like Jorgen Johansson) have a >> working configuration. I made sure that I have the same ImageMagick >> and GS versions installed but still I get error messages like the >> one below: >> >> --snip-- >> >> C:\>convert test.eps test.ppm >> AFPL Ghostscript 8.11 (2003-08-16) >> Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. >> This software comes with NO WARRANTY: see the file PUBLIC for details. >> Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) > Can you view the .eps somehow else? With gsview for instance? Viewing the .eps works fine. E. g. I can insert a converter line in preferences like \converter "eps" "ppm" "gswin32c.exe -dBATCH -dNOPAUSE -sDEVICE=ppmraw -r72 -sOutputFile=$$o -c save pop -f $$i" "" which results in a preview of the eps in lyx but in disrespect of the bounding box of the eps. So around a tiny eps there's always the huge DINA4 whitespace. GS works therefore and I can also convert jpg or bmp to other formats with ImageMagick, it's just that both don't work together properly. -- Ben Liesfeld
Re: Printing using Aqua-Lyx
Hi: I am a newbie with Lyx and have played with it for little more than an hour but fail printing. I think that I installed all the bits and pieces indicated in the Lyx/Mac web page: gimp-print, esp ghostscript. I have also set the name of my printer which I found in /private/etc/printcap, and have configured textconfig (as indicated in the User's guide). You do not indicate whether or not you properly installed all of the LaTeX components necessary to use LyX. (I am guessing from the fact that the "Print" option is dimmed that you do not have the necessary components properly set up.) To check to see that you have LyX and all the necessary components of TeX/LaTeX properly installed, do this: 1. "Edit-->Reconfigure" 2. Restart LyX 3. Open (or create) a short document. 4. Click on the View menu. At the top of the menu you should see DVI, PDF, PDF (dvipdfm), PDF (pdflatex),... If you do not see these options to preview the document, you most likely do not have LaTeX properly set up. Alternatively, you can open up the "Console" application right after you do step 1, and view the log to see whether LyX has found the necessary LaTeX components. If LaTeX is not properly installed, please see my website http://www.la.utexas.edu/~tnishino/osx_lyx/ for detailed instructions on installing the various necessary components to use LyX-Aqua. Yet the print option of the file" menu is dimmed. Also, the Lyx/Mac web page indicates that one can also print by previewing pdf and printing from preview. I did not even found how one previews with pdf... Any help would be appreciated... jp Assuming you have everything properly set up, to view the document using Preview, this is what you need to do. Open the Preferences to "File formats". In each of the PDF entries set the viewer to "open -a Preview". Remember to click modify to get LyX to register the change, and save to make the Preference change permanent. (Similarly, if you want to use Acrobat, you can enter "open -a Acrobat" instead.) Then with the document you want to preview open, select View-->PDF from the menus. This should compile the document, launch the Preview app, and display the fully formatted document. Hope this helps. Tomoharu Nishino