Re: No VIEW->DVI in LyX Win32
Charles Schulz <[EMAIL PROTECTED]> writes: > > I have installed LyX Win32 on an XP machine including cygwin. I chose to > get all the necessary prerequisite stuff through cygwin rather than having > the install script download it (they all end up in $cygwin/bin). I have > added $cygwin/bin and $cygwin/usr/X11R6/bin to my environment path. When > I try going through the tutorial and follow the "My first LyX document!" > example, I'm hung up at producing a DVI version since there is not > VIEW->DVI menu item. It isn't greyed out, it just doesn't exist. I've > checked that $cygwin/usr/X11R6/bin/xdvi.exe exists. If you mean the Windows system PATH then you should use the native syntax, i.e., you should add C:\cygwin\bin and C:\cygwin\usr\X11R6\bin to the environment (change C:\cygwin with your actual cygwin root path). However, I suggest that you use the PATH prefix method. In Edit->Preferences->Paths (or Tools->Preferences->Paths in 1.4.0) add \bin and \usr\X11R6\bin to PATH prefix, replacing with whatever appropriate in your case (most probably C:\cygwin). Remember to use ; as a path separator and then reconfigure LyX. If you run LyX from a terminal, you can monitor the procedure and will see if xdvi is spotted. A last note: If you use python from cygwin, be warned that python.exe is a symlink to the real python and native Windows programs do not understand symlinks. For example in my case I have: $ ls -l /bin/python.exe lrwxrwxrwx 1 ef users 13 Dec 9 04:20 /bin/python.exe -> python2.4.exe so I use the following python.bat script (put it in ~\LyX\bin) 8<8<8< @echo off python2.4 %* exit 8<8<8< Needless to say that all of this only applies to a native LyX version. -- Enrico
Re: No VIEW->DVI in LyX Win32
Am Freitag, 10. März 2006 16:55 schrieb Charles Schulz: > I have installed LyX Win32 on an XP machine including cygwin. I chose to > get all the necessary prerequisite stuff through cygwin rather than having > the install script download it (they all end up in $cygwin/bin). I have > added $cygwin/bin and $cygwin/usr/X11R6/bin to my environment path. When > I try going through the tutorial and follow the "My first LyX document!" > example, I'm hung up at producing a DVI version since there is not > VIEW->DVI menu item. It isn't greyed out, it just doesn't exist. I've > checked that $cygwin/usr/X11R6/bin/xdvi.exe exists. > > Any help will be greatly appreciated. > > Chuck > > If self-replicating chemicals had as hard a time reaching maturity as good > ideas, this planet would still be lifeless. Robert Qualkinbush Maybe, you will have to reconfigure via the tools-menu and then restart lyx. Wolfram Heider
Re: No VIEW->DVI in LyX Win32
Charles Schulz wrote: I have installed LyX Win32 on an XP machine including cygwin. I chose to get all the necessary prerequisite stuff through cygwin rather than having the install script download it (they all end up in $cygwin/bin). I have added $cygwin/bin and $cygwin/usr/X11R6/bin to my environment path. When I try going through the tutorial and follow the "My first LyX document!" example, I'm hung up at producing a DVI version since there is not VIEW->DVI menu item. It isn't greyed out, it just doesn't exist. I've checked that $cygwin/usr/X11R6/bin/xdvi.exe exists. Any help will be greatly appreciated. Chuck If self-replicating chemicals had as hard a time reaching maturity as good ideas, this planet would still be lifeless. Robert Qualkinbush I'm assuming here that you installed 1.3.7 and not the preliminary version of 1.4.0. Does LyX know that xdvi is your viewer of choice? Go to Edit->Preferences->File formats, highlight DVI, and if necessary add xdvi to the Viewer field. (You should also do the same for the DraftDVI format, which is DVI minus the pretty pictures.) After filling in the Viewer field, click Modify and then Save. If that doesn't get DVI (and DraftDVI) onto the View menu, we can plumb deeper. /Paul
Re: No VIEW->DVI in LyX Win32
- Original Message - From: "Charles Schulz" <[EMAIL PROTECTED]> To: Sent: Friday, March 10, 2006 7:55 AM Subject: No VIEW->DVI in LyX Win32 I have installed LyX Win32 on an XP machine including cygwin. I chose to get all the necessary prerequisite stuff through cygwin rather than having the install script download it (they all end up in $cygwin/bin). I have added $cygwin/bin and $cygwin/usr/X11R6/bin to my environment path. When I try going through the tutorial and follow the "My first LyX document!" example, I'm hung up at producing a DVI version since there is not VIEW->DVI menu item. It isn't greyed out, it just doesn't exist. I've checked that $cygwin/usr/X11R6/bin/xdvi.exe exists. Any help will be greatly appreciated. Chuck Enrico Forestieri wrote this Howto using Qt3. He is active on this list so perhaps will see your post and be more helpful. This approach worked out quite well. http://wiki.lyx.org/LyX/LyXOnCygwin SH: I asked Kayvan Sylvan about this (using X11) and he replied: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg45585.html There is a make file included with that post. Regards, Stephen
No VIEW->DVI in LyX Win32
I have installed LyX Win32 on an XP machine including cygwin. I chose to get all the necessary prerequisite stuff through cygwin rather than having the install script download it (they all end up in $cygwin/bin). I have added $cygwin/bin and $cygwin/usr/X11R6/bin to my environment path. When I try going through the tutorial and follow the "My first LyX document!" example, I'm hung up at producing a DVI version since there is not VIEW->DVI menu item. It isn't greyed out, it just doesn't exist. I've checked that $cygwin/usr/X11R6/bin/xdvi.exe exists. Any help will be greatly appreciated. Chuck If self-replicating chemicals had as hard a time reaching maturity as good ideas, this planet would still be lifeless. Robert Qualkinbush
Re: LyX 1.4 packages for Debian Unstable Amd64
> "Charles" == Charles de Miramon <[EMAIL PROTECTED]> writes: Charles> Hello, I've put packages here : http://mvdlugt.nerim.net/LyX/ Charles> and also on ftp://devel.lyx.org I will put them in a subdir (like ubuntu). What name should I give? JMarc
LyX 1.4 packages for Debian Unstable Amd64
Hello, I've put packages here : http://mvdlugt.nerim.net/LyX/ and also on ftp://devel.lyx.org Charles -- http://www.kde-france.org
Re: Spanish and Jurabib
Julio Rojas wrote: > Sure... Here are the test "tex" and "bib" files and "pdf" output. You can > see the word "in" instead of "en": > > "...Prólogo In Segundo..." I see. This special word is still hardcoded (not translatable) in jurabib v.0.6. You can find an hardcoded "In" in jurabib.bst under "FUNCTION {inbook}" (line 1.999). You could save the file to "myjurabib.bst" and change that word to "en". Everything else should be translated, no? Apparently, this has been fixed in the beta version (jurabib 0.6.1), to be found here: http://www.jurabib.homelinux.org/jurabib/beta/ Jürgen
Problems with XFig and LyX 1.4.0
Hi Everyone! I just installed the new version of LyX and I discovered that it can't generate the pdf (with pdflatex) when pictures are drawn with XFig. What I did is: 1) Insert -> Float -> Figure 2) Insert -> File -> External Material -> Template Xfig When I compile the document I get the following error message: Undefined control sequence: \epsfig {file=0_Users_valerio_Documents_PhD_Report2003_figures_Schroed}% The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. I also get other error messages: Missing $ inserted, Extra }, or forgotten $, etc... The same file works fine on LyX 1.3.7. Do you have any idea how to fix this problem? Thank you very much for your help! Valerio "I don't like it and I'm sorry I ever had anything to do with it." (E. Schroedinger, talking about Born's Probability Wave Interpretation of Quantum Mechanics) Valerio Trigari, AMRSC Computational Photochemistry Group Department of Chemistry South Kensington Campus Imperial College London London SW7 2AZ, UK e-mail: [EMAIL PROTECTED] web: http://www.gaussian.com/g_people/valerio.htm
Re: some observation in the new menu layout of lyx 1.4
On Friday 10 March 2006 09:06, Martin A. Hansen wrote: > the now gone "layout" menu has been removed: document setting is now found > under "document", and paragraph setting and text style under "edit". i > guess one can get used to that, but perhaps it was a good idea to keep > these settings in the same menu? the "edit" menu that is. that seems more > appropriate to me. > > change tracking is a tool and should be in the "tools" menu and not the > "document" menu, IMHO. The change tracking stuff is a document property. Either the document have or it does not have it. > and insert TOC and insert appendix should logically be placed under the > "insert" menu. Try "document->table of contents" and see what you get. Certainly it does not belong to insert. :-) > that makes the menu "document" obsolete - menu layout gets more clean. how > about it? This is not my area, FWIW. :-) > martin -- José Abílio
Re: Spanish and Jurabib
Sure... Here are the test "tex" and "bib" files and "pdf" output. You can see the word "in" instead of "en": "...Prólogo In Segundo..." Of course, this "tex" file is an output from LyX. On 3/10/06, Juergen Spitzmueller <[EMAIL PROTECTED]> wrote: Also sprach Julio Rojas:> I saw what the problem was. A bad reference to the bibtex file. Everything> now runs smoothly!!! The only thing is, I believe, Jurabib related. My> document is in spanish, but in the bibliography appears the english word > "in" instead of the spanish word "en" when I quote an Inbook record. Any> ideas on how to fix this???Hmm, this works for me. Jurabib translates thoise words to Spanish when I select "Spanish" as the document language.Could you provide an example file?Jürgen-- -Julio Rojas [EMAIL PROTECTED] test_esp.tex Description: TeX document %% This BibTeX bibliography file was created using BibDesk. %% http://bibdesk.sourceforge.net/ %% Created for Matthias at 2006-03-09 11:58:20 +0100 %% Saved with string encoding Western (ASCII) @inbook{Mellizo:1990, Address = {Madrid}, Author = {John Locke}, Chapter = {Pr{\'o}logo}, Date-Added = {2006-02-08 02:01:34 +0100}, Date-Modified = {2006-03-09 11:58:17 +0100}, Edition = {Tercera reimpresi{\'o}n, 2004}, Keywords = {Filosof{\'\i}a}, Pages = {7-27}, Publisher = {Alianza}, Title = {Segundo tratado sobre el gobierno civil}, Translator = {Carlos Mellizo}, Year = {1990 [1690]}} test_esp.pdf Description: Adobe PDF document
spell check
hi folks. I have installed 1.4 on ubuntu. When I attempt to run spell checking the spell check box pops up for a second (less) and then disappears. It tells me the number of words checked, but does not in fact check them or offer me alternatives. Does anyone have any idea what is going on? is there anything i can do to fix this problem? thanks in advance bruce
Re: [Announce] LyX version 1.4.0
> "Gour" == Gour <[EMAIL PROTECTED]> writes: Gour> Can we assume that work Unicode-aware version (aka LyX-1.5.0) Gour> has already begun? Not seriously yet, but we have a brand new Qt4 frontend :) Gour> Let's hope we'll have it in less-than-3-years and that LyX-gtk Gour> will catch soon so that gtk-lib users can be (even more) happy Gour> ;) I think gtk will be officially supported in 1.4.x soon. JMarc
Re: Spanish and Jurabib
Also sprach Julio Rojas: > I saw what the problem was. A bad reference to the bibtex file. Everything > now runs smoothly!!! The only thing is, I believe, Jurabib related. My > document is in spanish, but in the bibliography appears the english word > "in" instead of the spanish word "en" when I quote an Inbook record. Any > ideas on how to fix this??? Hmm, this works for me. Jurabib translates thoise words to Spanish when I select "Spanish" as the document language. Could you provide an example file? Jürgen
Re: Spanish and Jurabib
I saw what the problem was. A bad reference to the bibtex file. Everything now runs smoothly!!! The only thing is, I believe, Jurabib related. My document is in spanish, but in the bibliography appears the english word "in" instead of the spanish word "en" when I quote an Inbook record. Any ideas on how to fix this??? Thanx a lot for your kind help!!! You've been great!!! On 3/10/06, Juergen Spitzmueller <[EMAIL PROTECTED]> wrote: > > Am Freitag, 10. März 2006 11:20 schrieb Julio Rojas: > > Almost perfect!!! No errors now, but instead of the author in the > > quotations, appears a "?". > > Can you run LyX from the console and see if there are any bibtex warnings? > > Jürgen > -- - Julio Rojas [EMAIL PROTECTED]
Debian testing packages of LyX 1.4.0
Hi. I build LyX 1.4.0 (qt frontend only) as described in the wiki and uploaded the packages to http://www.math.tu-dresden.de/~kuettler/lyx/ My system is Debian testing on a i386 machine. Regards, Heiner P.S. Thanks to all the developers for the new LyX!
eeew! the ugly font problem persists
editing preferences in lyx 1.4.0 and the screen fonts get turned into the butt-ugly Andale font. Palantino is not even in the list? this is an old issue, but what was the fix? martin
Re: Spanish and Jurabib
Am Freitag, 10. März 2006 11:20 schrieb Julio Rojas: > Almost perfect!!! No errors now, but instead of the author in the > quotations, appears a "?". Can you run LyX from the console and see if there are any bibtex warnings? Jürgen
Re: Spanish and Jurabib
Almost perfect!!! No errors now, but instead of the author in the quotations, appears a "?". On 3/10/06, Juergen Spitzmueller <[EMAIL PROTECTED]> wrote: > > Julio Rojas wrote: > > I don't have a .lyx directory, so I created it a moved the languages > file > > there. > > You must have one. Help->About LyX tells you where ("User directory"). > Please try again by moving the file there. > > Jürgen > -- - Julio Rojas [EMAIL PROTECTED]
Re: Spanish and Jurabib
Julio Rojas wrote: > I don't have a .lyx directory, so I created it a moved the languages file > there. You must have one. Help->About LyX tells you where ("User directory"). Please try again by moving the file there. Jürgen
Re: Spanish and Jurabib
I don't have a .lyx directory, so I created it a moved the languages file there. Tryed again generating a PDF thru LyX and the same errors appeared: Undefined control sequence \begin{document} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Argument of ~/[EMAIL PROTECTED]@arg~has an extra }. \begin{document} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Undefined control sequence [EMAIL PROTECTED] The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Argument of ~/[EMAIL PROTECTED]@arg~has an extra }. [EMAIL PROTECTED] I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Did I miss something??? On 3/10/06, Juergen Spitzmueller <[EMAIL PROTECTED]> wrote: > Julio Rojas wrote: > > [EMAIL PROTECTED] > > This is the problem. Clash of active character definition. > > Does it work if you put the attached languages file in your $HOME$/.lyx > directory? > > > If I remove this line and recompile it manualy using "latex, bibtex, > > latex, latex" the output is perfect. > > > > Besides, someone on the Jurabib user list told me LyX is starting > > Babel before Jurabib and this can generate problems. > > Not anymore. With 1.4, jurabib is loaded after babel. > > Jürgen > > > -- - Julio Rojas [EMAIL PROTECTED]
Re: Strange cropping of SVG?
John Pye wrote: > This is what puzzled me: I expected to see a SVG->xx converter in my > LyX preferences menu. But there is none shown. Nevertheless LyX seems to > know what to do with my SVG document; it just happens to do it wrong. LyX calls the "convert" utility from imagemagick for unknown formats. This one is used here. > If the SVG->whatever converter is not shown in my preferences menu, then > where to do the settings for it live? Maybe there's a default embedded > in the compiled code, or something like that? > > Also the SVG format is not shown in the File Formats list. Then you should add it and an appropriate converter, too. > Also, don't know if this related: on the console, I see: >> xset: bad font path element (#90), possible causes are: >> Directory does not exist or has wrong permissions >> Directory missing fonts.dir >> Incorrect font server address or syntax >> Unable to add font path. You can ignore that. >> pnmcrop: The image is entirely background; there is nothing to crop. >> pnmcrop: Error reading magic number from Netpbm image stream. Most >> often, this means your input file is empty. >> convert: unable to read font >> `/usr/share/fonts/default/TrueType/arial.ttf'. >> Mutex destroy failure: Device or resource busy > > Is it possible that NetPBM is being used to handle SVG via some kind of > fallback? Yes, that is possible. Look up the imagemagick documentation. Georg
Re: Strange cropping of SVG?
Hi again, Georg Baum wrote: > John Pye wrote: > > >> The drawing showed up in lyx, but only approximately the left two-thirds >> and the top two-thirds were showing. The rest was chopped off. This was >> the same in both the Lyx edit view and the DVI view (ctrl-D). >> >> This seems like a bug -- is that correct? Or am I doing something illegal? >> > > This is not illegal. What you see has nothing to do with LyX, but with the > converter from SVG to EPS/PNG. Look up what converter is used in the > preferences. maybe you can find out some commandline parameters to make it > work, or find a better one, although I understand that all existing SVG -> > EPS converters are suboptimal. > This is what puzzled me: I expected to see a SVG->xx converter in my LyX preferences menu. But there is none shown. Nevertheless LyX seems to know what to do with my SVG document; it just happens to do it wrong. If the SVG->whatever converter is not shown in my preferences menu, then where to do the settings for it live? Maybe there's a default embedded in the compiled code, or something like that? Also the SVG format is not shown in the File Formats list. >> Could this be related to the fact that I have the 'Zoom %' set to 150% >> in my view preferences? >> > > I don't know. > I can confirm that this *isn't* the problem. I changed text zoom to 100% but the problem with the SVG persisted. Also, don't know if this related: on the console, I see: > xset: bad font path element (#90), possible causes are: > Directory does not exist or has wrong permissions > Directory missing fonts.dir > Incorrect font server address or syntax > Unable to add font path. > This is dvips(k) 5.95a Copyright 2005 Radical Eye Software > (www.radicaleye.com) > ' TeX output 2006.03.10:2027' -> 0lyxpreview.ps > . > > [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] > [14] [15] > [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] > [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] > [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] > [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] > [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] > [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] > [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] > [116] [117] > [118] [119] [120] [121] [122] [123] [124] > pnmcrop: The image is entirely background; there is nothing to crop. > pnmcrop: Error reading magic number from Netpbm image stream. Most > often, this means your input file is empty. > convert: unable to read font > `/usr/share/fonts/default/TrueType/arial.ttf'. > Mutex destroy failure: Device or resource busy Is it possible that NetPBM is being used to handle SVG via some kind of fallback? Cheers JP -- John Pye School of Mechanical and Manufacturing Engineering The University of New South Wales Sydney NSW 2052 Australia t +61 2 9385 5127 f +61 2 9663 1222 mailto:john.pye_AT_student_DOT_unsw.edu.au http://pye.dyndns.org/
some observation in the new menu layout of lyx 1.4
the now gone "layout" menu has been removed: document setting is now found under "document", and paragraph setting and text style under "edit". i guess one can get used to that, but perhaps it was a good idea to keep these settings in the same menu? the "edit" menu that is. that seems more appropriate to me. change tracking is a tool and should be in the "tools" menu and not the "document" menu, IMHO. and insert TOC and insert appendix should logically be placed under the "insert" menu. that makes the menu "document" obsolete - menu layout gets more clean. how about it? martin
Re: Strange cropping of SVG?
John Pye wrote: > The drawing showed up in lyx, but only approximately the left two-thirds > and the top two-thirds were showing. The rest was chopped off. This was > the same in both the Lyx edit view and the DVI view (ctrl-D). > > This seems like a bug -- is that correct? Or am I doing something illegal? This is not illegal. What you see has nothing to do with LyX, but with the converter from SVG to EPS/PNG. Look up what converter is used in the preferences. maybe you can find out some commandline parameters to make it work, or find a better one, although I understand that all existing SVG -> EPS converters are suboptimal. > Could this be related to the fact that I have the 'Zoom %' set to 150% > in my view preferences? I don't know. Georg