Re: Lyx 1.3.6pre
Angus Leeming wrote: Accented letters that needs the two keystrokes are not recognized but the ñ is. Any clue? I haven't investigated yet, but my feeling is that this is a bug in the underlying Qt/Win Free library. Dumn question: is it possible that the qt/win free people ported a qt version including the qt-immodule patch? If so, you have to change the definition of USE_INPUT_METHODS in QContentPane.h: 29 (it has to be disabled for MacOSX at least). Jürgen
Re: Problem with adjacent thingies
On 6/10/05, Paul A. Rubin [EMAIL PROTECTED] wrote: I originally reported this difficuly with the case environment but have since noticed the problem with lots of other environments, including Lemma, Definition, etc. Essentially the problem is that Lyx wont let me create adjacent Lemmas (without proofs), or adjacent Definitions, without some intervening (Standard) text. In the absence of any such text it merges the two adjacent entities into one. Does anyone have a workaround for this? It's a bit counterintuitive IMHO, but at the end of thingie #1 hit the enter key (which starts a new paragraph of the same environment) and then increment the depth (S-M-right arrow). There is also another way: insert (under the standard environment) an empty ERT between your two consecutive lemmas; this should do the trick too. Paul
Help with installing lyx under windows XP
Grateful for help with installing. My level of technical competence is advanced idiot, so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin. The whole program is in c:\lyx\lyx I'm using win xp pro on an amd 1300 with 128 RAM and loads and loads of free disk space. Thanks in advance for your help: this linux based stuff is all new to me, but I think from reading that lyx will be a major help to me as a professional writer- If I can get it up and running! Richard
Re: Help with installing lyx under windows XP
Hei! Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre If you are already using the installer for version 1.3.6, be sure it is the last version (i.e. v.12). The problem you mentioned was presnet in a previous version of the installer, but it should be solved in v.12. Anyway, be sure you have Miktex installed and that you have also installed all your latex class files. Then open Lyx and run Edit-Reconfigure Hope it helps! Nicols Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin.
Re: Help with installing lyx under windows XP
Nicols a crit: Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre Attention! This is a testing release and has BUGS!!! E.g. accents don't work. It is recommended to use LyX 1.3.5 for daily use! regards Uwe
Re: Help with installing lyx under windows XP
Uwe Sthr wrote: accents don't work. Uwe, don't the accents work in general or only in the workarea? I.e., do they work in the dialog widgets? Jrgen
[Fwd: Re: Help with installing lyx under windows XP]
I tried that just now. It all installed apparently quite hapily. Then I got exactly the same error. Original Message Nicols wrote Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin.
Re: Help with installing lyx under windows XP
Sorry! I guess you are right Uwe. It is just that I am using v1.3.6 without problems (at least no more than those v1.3.5 has), so therefore I recommended it. But again, you are right, for me works ok, but for other people, using other features than those I use, it may give problems. Uwe Sthr wrote: Nicols a crit: Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre Attention! This is a testing release and has BUGS!!! E.g. accents don't work. It is recommended to use LyX 1.3.5 for daily use! regards Uwe
Re: [Fwd: Re: Help with installing lyx under windows XP]
Richard Brown wrote: I tried that just now. It all installed apparently quite hapily. Then I got exactly the same error. I think that I would also suggest that an advanced idiot (;-)) doesn't use LyX 1.3.6pre just yet. There are some bugs in the underlyxing Qt/Win Free library that can cause a hard crash. See http://wiki.lyx.org/Windows/LyX136pre#known_bugs Moving on to the specific problem. Can you open a MinSYS console (since you have installed MinSYS) and type: $ cd /c/Program\ Files/LyX/Resources/lyx $ ls Does the file textclass.lst really not exist? Assuming not, type $ sh configure --keep-temps 21 configure.log (You'll need to have Administrator privileges for this to work if you have installed LyX at this location.) This will save all output from the configure script to a file configure.log. Have a look at it with your favourite text editor. Does it tell you anything interesting? You may need to convert the line endings of configure.log from DOS to UNIX style --- notepad gets horribly confused and prints out the entire file as a single line if it has UNIX style line endings. If so, use the attached sed script, so: $ sed -f unix2dos.sed configure.log tmp $ mv -f tmp configure.log Here, of course, configure runs successfully leaving me with all these files: $ ls binddoc lyxrc.defaults texput.log chkconfig.sed examples Makefiletextclass.lst chkconfig.vars help packages.lstui chklayouts.tex imagesreLyX wrap_chkconfig.log clipart kbd scripts wrap_chkconfig.ltx configure.log layouts templates xfonts Let's see what happens for you. Angus -- Anguss/$/ /
Re: Two dashes vs. en-dash
On Thu, Jun 02, 2005 at 10:33:00PM -0700, ADT wrote: I'm writing some technical documentation which covers the usage of GNU style long-opts where multi-character options are preceded with two dashes (--). However, when LyX sees two dashes together, it turns it into an elongated single dash (en-dash) which is confusing/wrong. I've looked in the Users Guide and it seems to be doing something like: -\/- to generate a double dash, but other then to copy/paste the \/ (which is in a red box), I can't figure out how to replicate the effect. Anyone know the magic keypress to create a double dash? C-l (the lower case letter 'L') gives you such a red box to type in. Andre'
Re: Help with installing lyx under windows XP
Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, The advanced part puts you one up on me. :-) so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin. Are you saying that textclass.lst is in the bin directory?? Did you start LyX from the bin directory? Is packages.lst in the bin directory as well (and does it have non-zero length)? The whole program is in c:\lyx\lyx Just to confirm your directory structure, lyx.exe is in c:\lyx\lyx\bin, right? I'm using win xp pro on an amd 1300 with 128 RAM and loads and loads of free disk space. AFAIK, LyX and all helper programs are completely agnostic with respect to the processor. You're a brave soul to run XP Pro on a system with only 128MB of RAM, though. (But that doesn't account for the problem at hand.) I'm with the others on this thread -- I'd stick with LyX 1.3.5 for now, rather than become an alpha tester for 1.3.6. FYI, LyX creates a variety of files (including textclass.lst) in your home directory (which is either the directory from which it is started or the directory specified in Edit | Preferences | Paths | Working directory (once you get into LyX and set some preferences). It also creates a subdirectory tree under that directory. To minimize clutter, if for no other reason, I'd advise creating a base document directory (for instance, c:\lyx\documents) and starting it from there. I don't know any reason why it would have trouble finding textclass.lst in the bin directory if that's where it was started, but then I've never tried that (and don't intend to). -- Paul
Re: Help with installing lyx under windows XP
Thanks for your reply. I didn't intervene in the directory structure at all as far as I remember, but anyway I renamed the directory where it was, and ran the installation .exe again. (This was lyx-1.3.5-win32-nc.exe) with the following result: in C: I now have C:\lyx which contains bin, lib, man, share, tmp directories. I did nothing- the exe did this. The C:\lyx\bin subdirectory contains the lyx.exe program. In the c:\lyx\share subdirectory I find 2 more sub-subdirectories, one called locale (which seems to have a lot of other language stuff) and another called lyx (so this is c:\lyx\share\lyx ) which has packages.lst and textclass.lst files in. Neither is empty. The first four lines of textclass.lst are typical of the rest, and look like this-: IEEEtran IEEEtran article (IEEEtran) true aa aa article (AA) false aapaper aa article (AA V4) false aastex aastex article (AASTeX) true When I run lyx, I still get the same error. I tried copying lyx.exe to the same directory as the textclass.lst files, and it was just the same. I tried copying the entire contents of the c:\lyx\share\lyx subdirectory to teh same place as the lyx.exe (ie, C:\lyx\bin) and it made no difference. The error still says LyX wasnt able to find any layout description Check the contents of the file textclass.lst Sorry, has to exit I'm way out of my depth here. Thanks for any help you may be able to give. Richard Paul A. Rubin wrote: Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, The advanced part puts you one up on me. :-) so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin. Are you saying that textclass.lst is in the bin directory?? Did you start LyX from the bin directory? Is packages.lst in the bin directory as well (and does it have non-zero length)? The whole program is in c:\lyx\lyx Just to confirm your directory structure, lyx.exe is in c:\lyx\lyx\bin, right? I'm using win xp pro on an amd 1300 with 128 RAM and loads and loads of free disk space. AFAIK, LyX and all helper programs are completely agnostic with respect to the processor. You're a brave soul to run XP Pro on a system with only 128MB of RAM, though. (But that doesn't account for the problem at hand.) I'm with the others on this thread -- I'd stick with LyX 1.3.5 for now, rather than become an alpha tester for 1.3.6. FYI, LyX creates a variety of files (including textclass.lst) in your home directory (which is either the directory from which it is started or the directory specified in Edit | Preferences | Paths | Working directory (once you get into LyX and set some preferences). It also creates a subdirectory tree under that directory. To minimize clutter, if for no other reason, I'd advise creating a base document directory (for instance, c:\lyx\documents) and starting it from there. I don't know any reason why it would have trouble finding textclass.lst in the bin directory if that's where it was started, but then I've never tried that (and don't intend to). -- Paul
Re: Help with installing lyx under windows XP
Richard Brown wrote: Thanks for your reply. I didn't intervene in the directory structure at all as far as I remember, but anyway I renamed the directory where it was, and ran the installation .exe again. (This was lyx-1.3.5-win32-nc.exe) with the following result: in C: I now have C:\lyx which contains bin, lib, man, share, tmp directories. I did nothing- the exe did this. This looks fine. The C:\lyx\bin subdirectory contains the lyx.exe program. In the c:\lyx\share subdirectory I find 2 more sub-subdirectories, one called locale (which seems to have a lot of other language stuff) and another called lyx (so this is c:\lyx\share\lyx ) which has packages.lst and textclass.lst files in. Neither is empty. The first four lines of textclass.lst are typical of the rest, and look like this-: IEEEtran IEEEtran article (IEEEtran) true aa aa article (AA) false aapaper aa article (AA V4) false aastex aastex article (AASTeX) true This is as it should be. When I run lyx, I still get the same error. I tried copying lyx.exe to the same directory as the textclass.lst files, and it was just the same. I tried copying the entire contents of the c:\lyx\share\lyx subdirectory to teh same place as the lyx.exe (ie, C:\lyx\bin) and it made no difference. The error still says LyX wasnt able to find any layout description Check the contents of the file textclass.lst Sorry, has to exit I'm way out of my depth here. Thanks for any help you may be able to give. Richard The error message typically occurs when either textclass.lst does not exist (anywhere) or textclass.lst exists but has length zero bytes (and *that* typically happens as a result of a problem with the configuration script). Now, if there's no textclass.lst in the directory where LyX starts (which is not necessarily the bin directory), then LyX should find the copy in lyx\share\lyx and start ok (I just verified this on my laptop). On the other hand, if you have a zero-length copy in the startup directory and a valid copy in lyx\share\lyx, you get the error (also just verified). So my best guess is that there is in fact a zero byte version sitting around somewhere. So here are a couple of things to try: 1. Search your PC for all copies of textclass.lst (either using the Windows search utility or by opening a command window and typing 'dir c:\textclass.lst /s'), and see if any copies with length zero show up. That will help pin down where LyX is starting, if in fact we find one. 2. Create a starting document directory (for instance, c:\lyx\work), copy the textclass.lst and paste the copy in there. While you're at it, copy packages.lst, clsfiles.lst, styfiles.lst and lyxrc.default from lyx\share\lyx into the work directory as well. (Not all of those may exist -- some are created by a successful configuration run, and I'm still not sure whether you've had one.) Now create a shortcut to the lyx.exe file (you can right-click it in Win Explorer and create the shortcut from the context menu that pops up). Now right-click the shortcut, choose Properties, and on the Shortcut tab set the target and startup entries as follows: Target: C:\lyx\bin\lyx.exe -userdir c:\lyx\work Start in: C;\lyx\bin (the second one should already be filled in correctly, but just to be sure ...). Click ok and then try to start LyX by double-clicking the shortcut. Does that help? One other thing to check: open a command prompt in c:\lyx\bin and type 'sed --version'. If the version number starts with a 3, you're using the copy of sed that came with the LyX installer, and it's known to fail in a way that leaves a zero-length textclass.lst. There's a tip on the Wiki about where to find a more recent copy of sed. Note that what you download when you follow the link from the Wiki is an *installer* that has to be run to install sed. (Some people have gotten confused and thought they were downloading sed.exe itself.) Let us know what transpires. -- Paul
Caption Figure
Hi list,... I use roman numbering in chapter and I would like to use arabic numbering on float. So i want to change the caption in figure (float figure) to Figure 3.1 -figure description- instead of Figure III.1 -figure description-. the other style is the same with the default class (centered and auto number). I tried to add this line in preamble, \renewcommand{\caption}{\arabic{chapter}.\arabic{section}} The result is not what i expect. How can i do this? What other options / parameters I should make in order to \renewcommand? What docs / manual should i read? Any solutions added in preamble would be nice. Thank you. Adinda Praditya
Re: Lyx 1.3.6pre
Angus Leeming wrote: Accented letters that needs the two keystrokes are not recognized but the ñ is. Any clue? I haven't investigated yet, but my feeling is that this is a bug in the underlying Qt/Win Free library. Dumn question: is it possible that the qt/win free people ported a qt version including the qt-immodule patch? If so, you have to change the definition of USE_INPUT_METHODS in QContentPane.h: 29 (it has to be disabled for MacOSX at least). Jürgen
Re: Problem with adjacent thingies
On 6/10/05, Paul A. Rubin [EMAIL PROTECTED] wrote: I originally reported this difficuly with the case environment but have since noticed the problem with lots of other environments, including Lemma, Definition, etc. Essentially the problem is that Lyx wont let me create adjacent Lemmas (without proofs), or adjacent Definitions, without some intervening (Standard) text. In the absence of any such text it merges the two adjacent entities into one. Does anyone have a workaround for this? It's a bit counterintuitive IMHO, but at the end of thingie #1 hit the enter key (which starts a new paragraph of the same environment) and then increment the depth (S-M-right arrow). There is also another way: insert (under the standard environment) an empty ERT between your two consecutive lemmas; this should do the trick too. Paul
Help with installing lyx under windows XP
Grateful for help with installing. My level of technical competence is advanced idiot, so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin. The whole program is in c:\lyx\lyx I'm using win xp pro on an amd 1300 with 128 RAM and loads and loads of free disk space. Thanks in advance for your help: this linux based stuff is all new to me, but I think from reading that lyx will be a major help to me as a professional writer- If I can get it up and running! Richard
Re: Help with installing lyx under windows XP
Hei! Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre If you are already using the installer for version 1.3.6, be sure it is the last version (i.e. v.12). The problem you mentioned was presnet in a previous version of the installer, but it should be solved in v.12. Anyway, be sure you have Miktex installed and that you have also installed all your latex class files. Then open Lyx and run Edit-Reconfigure Hope it helps! Nicols Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin.
Re: Help with installing lyx under windows XP
Nicols a crit: Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre Attention! This is a testing release and has BUGS!!! E.g. accents don't work. It is recommended to use LyX 1.3.5 for daily use! regards Uwe
Re: Help with installing lyx under windows XP
Uwe Sthr wrote: accents don't work. Uwe, don't the accents work in general or only in the workarea? I.e., do they work in the dialog widgets? Jrgen
[Fwd: Re: Help with installing lyx under windows XP]
I tried that just now. It all installed apparently quite hapily. Then I got exactly the same error. Original Message Nicols wrote Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin.
Re: Help with installing lyx under windows XP
Sorry! I guess you are right Uwe. It is just that I am using v1.3.6 without problems (at least no more than those v1.3.5 has), so therefore I recommended it. But again, you are right, for me works ok, but for other people, using other features than those I use, it may give problems. Uwe Sthr wrote: Nicols a crit: Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre Attention! This is a testing release and has BUGS!!! E.g. accents don't work. It is recommended to use LyX 1.3.5 for daily use! regards Uwe
Re: [Fwd: Re: Help with installing lyx under windows XP]
Richard Brown wrote: I tried that just now. It all installed apparently quite hapily. Then I got exactly the same error. I think that I would also suggest that an advanced idiot (;-)) doesn't use LyX 1.3.6pre just yet. There are some bugs in the underlyxing Qt/Win Free library that can cause a hard crash. See http://wiki.lyx.org/Windows/LyX136pre#known_bugs Moving on to the specific problem. Can you open a MinSYS console (since you have installed MinSYS) and type: $ cd /c/Program\ Files/LyX/Resources/lyx $ ls Does the file textclass.lst really not exist? Assuming not, type $ sh configure --keep-temps 21 configure.log (You'll need to have Administrator privileges for this to work if you have installed LyX at this location.) This will save all output from the configure script to a file configure.log. Have a look at it with your favourite text editor. Does it tell you anything interesting? You may need to convert the line endings of configure.log from DOS to UNIX style --- notepad gets horribly confused and prints out the entire file as a single line if it has UNIX style line endings. If so, use the attached sed script, so: $ sed -f unix2dos.sed configure.log tmp $ mv -f tmp configure.log Here, of course, configure runs successfully leaving me with all these files: $ ls binddoc lyxrc.defaults texput.log chkconfig.sed examples Makefiletextclass.lst chkconfig.vars help packages.lstui chklayouts.tex imagesreLyX wrap_chkconfig.log clipart kbd scripts wrap_chkconfig.ltx configure.log layouts templates xfonts Let's see what happens for you. Angus -- Anguss/$/ /
Re: Two dashes vs. en-dash
On Thu, Jun 02, 2005 at 10:33:00PM -0700, ADT wrote: I'm writing some technical documentation which covers the usage of GNU style long-opts where multi-character options are preceded with two dashes (--). However, when LyX sees two dashes together, it turns it into an elongated single dash (en-dash) which is confusing/wrong. I've looked in the Users Guide and it seems to be doing something like: -\/- to generate a double dash, but other then to copy/paste the \/ (which is in a red box), I can't figure out how to replicate the effect. Anyone know the magic keypress to create a double dash? C-l (the lower case letter 'L') gives you such a red box to type in. Andre'
Re: Help with installing lyx under windows XP
Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, The advanced part puts you one up on me. :-) so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin. Are you saying that textclass.lst is in the bin directory?? Did you start LyX from the bin directory? Is packages.lst in the bin directory as well (and does it have non-zero length)? The whole program is in c:\lyx\lyx Just to confirm your directory structure, lyx.exe is in c:\lyx\lyx\bin, right? I'm using win xp pro on an amd 1300 with 128 RAM and loads and loads of free disk space. AFAIK, LyX and all helper programs are completely agnostic with respect to the processor. You're a brave soul to run XP Pro on a system with only 128MB of RAM, though. (But that doesn't account for the problem at hand.) I'm with the others on this thread -- I'd stick with LyX 1.3.5 for now, rather than become an alpha tester for 1.3.6. FYI, LyX creates a variety of files (including textclass.lst) in your home directory (which is either the directory from which it is started or the directory specified in Edit | Preferences | Paths | Working directory (once you get into LyX and set some preferences). It also creates a subdirectory tree under that directory. To minimize clutter, if for no other reason, I'd advise creating a base document directory (for instance, c:\lyx\documents) and starting it from there. I don't know any reason why it would have trouble finding textclass.lst in the bin directory if that's where it was started, but then I've never tried that (and don't intend to). -- Paul
Re: Help with installing lyx under windows XP
Thanks for your reply. I didn't intervene in the directory structure at all as far as I remember, but anyway I renamed the directory where it was, and ran the installation .exe again. (This was lyx-1.3.5-win32-nc.exe) with the following result: in C: I now have C:\lyx which contains bin, lib, man, share, tmp directories. I did nothing- the exe did this. The C:\lyx\bin subdirectory contains the lyx.exe program. In the c:\lyx\share subdirectory I find 2 more sub-subdirectories, one called locale (which seems to have a lot of other language stuff) and another called lyx (so this is c:\lyx\share\lyx ) which has packages.lst and textclass.lst files in. Neither is empty. The first four lines of textclass.lst are typical of the rest, and look like this-: IEEEtran IEEEtran article (IEEEtran) true aa aa article (AA) false aapaper aa article (AA V4) false aastex aastex article (AASTeX) true When I run lyx, I still get the same error. I tried copying lyx.exe to the same directory as the textclass.lst files, and it was just the same. I tried copying the entire contents of the c:\lyx\share\lyx subdirectory to teh same place as the lyx.exe (ie, C:\lyx\bin) and it made no difference. The error still says LyX wasnt able to find any layout description Check the contents of the file textclass.lst Sorry, has to exit I'm way out of my depth here. Thanks for any help you may be able to give. Richard Paul A. Rubin wrote: Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, The advanced part puts you one up on me. :-) so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasnt able to find any layout description Check the contents of teh file textclass.lst Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin. Are you saying that textclass.lst is in the bin directory?? Did you start LyX from the bin directory? Is packages.lst in the bin directory as well (and does it have non-zero length)? The whole program is in c:\lyx\lyx Just to confirm your directory structure, lyx.exe is in c:\lyx\lyx\bin, right? I'm using win xp pro on an amd 1300 with 128 RAM and loads and loads of free disk space. AFAIK, LyX and all helper programs are completely agnostic with respect to the processor. You're a brave soul to run XP Pro on a system with only 128MB of RAM, though. (But that doesn't account for the problem at hand.) I'm with the others on this thread -- I'd stick with LyX 1.3.5 for now, rather than become an alpha tester for 1.3.6. FYI, LyX creates a variety of files (including textclass.lst) in your home directory (which is either the directory from which it is started or the directory specified in Edit | Preferences | Paths | Working directory (once you get into LyX and set some preferences). It also creates a subdirectory tree under that directory. To minimize clutter, if for no other reason, I'd advise creating a base document directory (for instance, c:\lyx\documents) and starting it from there. I don't know any reason why it would have trouble finding textclass.lst in the bin directory if that's where it was started, but then I've never tried that (and don't intend to). -- Paul
Re: Help with installing lyx under windows XP
Richard Brown wrote: Thanks for your reply. I didn't intervene in the directory structure at all as far as I remember, but anyway I renamed the directory where it was, and ran the installation .exe again. (This was lyx-1.3.5-win32-nc.exe) with the following result: in C: I now have C:\lyx which contains bin, lib, man, share, tmp directories. I did nothing- the exe did this. This looks fine. The C:\lyx\bin subdirectory contains the lyx.exe program. In the c:\lyx\share subdirectory I find 2 more sub-subdirectories, one called locale (which seems to have a lot of other language stuff) and another called lyx (so this is c:\lyx\share\lyx ) which has packages.lst and textclass.lst files in. Neither is empty. The first four lines of textclass.lst are typical of the rest, and look like this-: IEEEtran IEEEtran article (IEEEtran) true aa aa article (AA) false aapaper aa article (AA V4) false aastex aastex article (AASTeX) true This is as it should be. When I run lyx, I still get the same error. I tried copying lyx.exe to the same directory as the textclass.lst files, and it was just the same. I tried copying the entire contents of the c:\lyx\share\lyx subdirectory to teh same place as the lyx.exe (ie, C:\lyx\bin) and it made no difference. The error still says LyX wasnt able to find any layout description Check the contents of the file textclass.lst Sorry, has to exit I'm way out of my depth here. Thanks for any help you may be able to give. Richard The error message typically occurs when either textclass.lst does not exist (anywhere) or textclass.lst exists but has length zero bytes (and *that* typically happens as a result of a problem with the configuration script). Now, if there's no textclass.lst in the directory where LyX starts (which is not necessarily the bin directory), then LyX should find the copy in lyx\share\lyx and start ok (I just verified this on my laptop). On the other hand, if you have a zero-length copy in the startup directory and a valid copy in lyx\share\lyx, you get the error (also just verified). So my best guess is that there is in fact a zero byte version sitting around somewhere. So here are a couple of things to try: 1. Search your PC for all copies of textclass.lst (either using the Windows search utility or by opening a command window and typing 'dir c:\textclass.lst /s'), and see if any copies with length zero show up. That will help pin down where LyX is starting, if in fact we find one. 2. Create a starting document directory (for instance, c:\lyx\work), copy the textclass.lst and paste the copy in there. While you're at it, copy packages.lst, clsfiles.lst, styfiles.lst and lyxrc.default from lyx\share\lyx into the work directory as well. (Not all of those may exist -- some are created by a successful configuration run, and I'm still not sure whether you've had one.) Now create a shortcut to the lyx.exe file (you can right-click it in Win Explorer and create the shortcut from the context menu that pops up). Now right-click the shortcut, choose Properties, and on the Shortcut tab set the target and startup entries as follows: Target: C:\lyx\bin\lyx.exe -userdir c:\lyx\work Start in: C;\lyx\bin (the second one should already be filled in correctly, but just to be sure ...). Click ok and then try to start LyX by double-clicking the shortcut. Does that help? One other thing to check: open a command prompt in c:\lyx\bin and type 'sed --version'. If the version number starts with a 3, you're using the copy of sed that came with the LyX installer, and it's known to fail in a way that leaves a zero-length textclass.lst. There's a tip on the Wiki about where to find a more recent copy of sed. Note that what you download when you follow the link from the Wiki is an *installer* that has to be run to install sed. (Some people have gotten confused and thought they were downloading sed.exe itself.) Let us know what transpires. -- Paul
Caption Figure
Hi list,... I use roman numbering in chapter and I would like to use arabic numbering on float. So i want to change the caption in figure (float figure) to Figure 3.1 -figure description- instead of Figure III.1 -figure description-. the other style is the same with the default class (centered and auto number). I tried to add this line in preamble, \renewcommand{\caption}{\arabic{chapter}.\arabic{section}} The result is not what i expect. How can i do this? What other options / parameters I should make in order to \renewcommand? What docs / manual should i read? Any solutions added in preamble would be nice. Thank you. Adinda Praditya
Re: Lyx 1.3.6pre
Angus Leeming wrote: > > Accented letters that needs the two keystrokes are not recognized > > > but the "ñ" is. Any clue? > > I haven't investigated yet, but my feeling is that this is a bug in the > underlying Qt/Win Free library. Dumn question: is it possible that the qt/win free people ported a qt version including the qt-immodule patch? If so, you have to change the definition of USE_INPUT_METHODS in QContentPane.h: 29 (it has to be disabled for MacOSX at least). Jürgen
Re: Problem with adjacent thingies
On 6/10/05, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > > I originally reported this difficuly with the "case" environment but have > > since noticed the problem with lots of other environments, including Lemma, > > Definition, etc. Essentially the problem is that Lyx wont let me create > > adjacent Lemmas (without proofs), or adjacent Definitions, without some > > intervening (Standard) text. In the absence of any such text it merges the > > two adjacent entities into one. Does anyone have a workaround for this? > > It's a bit counterintuitive IMHO, but at the end of thingie #1 hit the > enter key (which starts a new paragraph of the same environment) and > then increment the depth (S-M-right arrow). There is also another way: insert (under the standard environment) an empty ERT between your two consecutive lemmas; this should do the trick too. Paul
Help with installing lyx under windows XP
Grateful for help with installing. My level of technical competence is advanced idiot, so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasn’t able to find any layout description Check the contents of teh file “textclass.lst” Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin. The whole program is in c:\lyx\lyx I'm using win xp pro on an amd 1300 with 128 RAM and loads and loads of free disk space. Thanks in advance for your help: this linux based stuff is all new to me, but I think from reading that lyx will be a major help to me as a professional writer- If I can get it up and running! Richard
Re: Help with installing lyx under windows XP
Hei! Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre If you are already using the installer for version 1.3.6, be sure it is the last version (i.e. v.12). The problem you mentioned was presnet in a previous version of the installer, but it should be solved in v.12. Anyway, be sure you have Miktex installed and that you have also installed all your latex class files. Then open Lyx and run Edit->Reconfigure Hope it helps! Nicolás Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasn’t able to find any layout description Check the contents of teh file “textclass.lst” Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin.
Re: Help with installing lyx under windows XP
Nicolás a écrit: Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre Attention! This is a testing release and has BUGS!!! E.g. accents don't work. It is recommended to use LyX 1.3.5 for daily use! regards Uwe
Re: Help with installing lyx under windows XP
Uwe Stöhr wrote: > accents don't work. Uwe, don't the accents work in general or only in the workarea? I.e., do they work in the dialog widgets? Jürgen
[Fwd: Re: Help with installing lyx under windows XP]
I tried that just now. It all installed apparently quite hapily. Then I got exactly the same error. Original Message Nicolàs wrote Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre Richard Brown wrote: > Grateful for help with installing. My level of technical competence is > advanced idiot, so I've assuredly done something wrong. > I think I followed the instruction on the wiki exactly. I installed all > sorts of things one by one and it all looked OK. then at the first > attempt to run lyx I got this error message: > > LyX wasn’t able to find any layout description > > Check the contents of teh file “textclass.lst” > Sorry, has to exit > > > The file exists, and isn't empty, and is the file the installation made, > and is in c:\lyx\lyx\bin.
Re: Help with installing lyx under windows XP
Sorry! I guess you are right Uwe. It is just that I am using v1.3.6 without problems (at least no more than those v1.3.5 has), so therefore I recommended it. But again, you are right, for me works ok, but for other people, using other features than those I use, it may give problems. Uwe Stöhr wrote: Nicolás a écrit: Are you using version 1.3.6? If not, I recommend you use this version. it comes with ans installer, so life is easier. You can get it from here http://wiki.lyx.org/Windows/LyX136pre Attention! This is a testing release and has BUGS!!! E.g. accents don't work. It is recommended to use LyX 1.3.5 for daily use! regards Uwe
Re: [Fwd: Re: Help with installing lyx under windows XP]
Richard Brown wrote: > I tried that just now. It all installed apparently quite hapily. Then I > got exactly the same error. I think that I would also suggest that an "advanced idiot" (;-)) doesn't use LyX 1.3.6pre just yet. There are some bugs in the underlyxing Qt/Win Free library that can cause a hard crash. See http://wiki.lyx.org/Windows/LyX136pre#known_bugs Moving on to the specific problem. Can you open a MinSYS console (since you have installed MinSYS) and type: $ cd /c/Program\ Files/LyX/Resources/lyx $ ls Does the file "textclass.lst" really not exist? Assuming not, type $ sh configure --keep-temps 2>&1 > configure.log (You'll need to have Administrator privileges for this to work if you have installed LyX at this location.) This will save all output from the configure script to a file configure.log. Have a look at it with your favourite text editor. Does it tell you anything interesting? You may need to convert the line endings of configure.log from DOS to UNIX style --- notepad gets horribly confused and prints out the entire file as a single line if it has UNIX style line endings. If so, use the attached sed script, so: $ sed -f unix2dos.sed configure.log > tmp $ mv -f tmp configure.log Here, of course, configure runs successfully leaving me with all these files: $ ls binddoc lyxrc.defaults texput.log chkconfig.sed examples Makefiletextclass.lst chkconfig.vars help packages.lstui chklayouts.tex imagesreLyX wrap_chkconfig.log clipart kbd scripts wrap_chkconfig.ltx configure.log layouts templates xfonts Let's see what happens for you. Angus -- Anguss/$/ /
Re: Two dashes vs. en-dash
On Thu, Jun 02, 2005 at 10:33:00PM -0700, ADT wrote: > I'm writing some technical documentation which covers the usage of GNU > style long-opts where multi-character options are preceded with two > dashes (--). However, when LyX sees two dashes together, it turns it > into an elongated single dash (en-dash) which is confusing/wrong. > > I've looked in the Users Guide and it seems to be doing something like: > > -\/- > > to generate a double dash, but other then to copy/paste the \/ (which > is in a red box), I can't figure out how to replicate the effect. > Anyone know the magic keypress to create a double dash? C-l (the lower case letter 'L') gives you such a red box to type in. Andre'
Re: Help with installing lyx under windows XP
Richard Brown wrote: Grateful for help with installing. My level of technical competence is advanced idiot, The "advanced" part puts you one up on me. :-) so I've assuredly done something wrong. I think I followed the instruction on the wiki exactly. I installed all sorts of things one by one and it all looked OK. then at the first attempt to run lyx I got this error message: LyX wasn’t able to find any layout description Check the contents of teh file “textclass.lst” Sorry, has to exit The file exists, and isn't empty, and is the file the installation made, and is in c:\lyx\lyx\bin. Are you saying that textclass.lst is in the bin directory?? Did you start LyX from the bin directory? Is packages.lst in the bin directory as well (and does it have non-zero length)? The whole program is in c:\lyx\lyx Just to confirm your directory structure, lyx.exe is in c:\lyx\lyx\bin, right? I'm using win xp pro on an amd 1300 with 128 RAM and loads and loads of free disk space. AFAIK, LyX and all helper programs are completely agnostic with respect to the processor. You're a brave soul to run XP Pro on a system with only 128MB of RAM, though. (But that doesn't account for the problem at hand.) I'm with the others on this thread -- I'd stick with LyX 1.3.5 for now, rather than become an alpha tester for 1.3.6. FYI, LyX creates a variety of files (including textclass.lst) in your "home" directory (which is either the directory from which it is started or the directory specified in Edit | Preferences | Paths | Working directory (once you get into LyX and set some preferences). It also creates a subdirectory tree under that directory. To minimize clutter, if for no other reason, I'd advise creating a base document directory (for instance, c:\lyx\documents) and starting it from there. I don't know any reason why it would have trouble finding textclass.lst in the bin directory if that's where it was started, but then I've never tried that (and don't intend to). -- Paul
Re: Help with installing lyx under windows XP
Thanks for your reply. I didn't intervene in the directory structure at all as far as I remember, but anyway I renamed the directory where it was, and ran the installation .exe again. (This was lyx-1.3.5-win32-nc.exe) with the following result: in C: I now have C:\lyx which contains bin, lib, man, share, tmp directories. I did nothing- the exe did this. The C:\lyx\bin subdirectory contains the lyx.exe program. In the c:\lyx\share subdirectory I find 2 more sub-subdirectories, one called locale (which seems to have a lot of other language stuff) and another called lyx (so this is c:\lyx\share\lyx ) which has packages.lst and textclass.lst files in. Neither is empty. The first four lines of textclass.lst are typical of the rest, and look like this-: "IEEEtran" "IEEEtran" "article (IEEEtran)" "true" "aa" "aa" "article (A)" "false" "aapaper" "aa" "article (A V4)" "false" "aastex" "aastex" "article (AASTeX)" "true" When I run lyx, I still get the same error. I tried copying lyx.exe to the same directory as the textclass.lst files, and it was just the same. I tried copying the entire contents of the c:\lyx\share\lyx subdirectory to teh same place as the lyx.exe (ie, C:\lyx\bin) and it made no difference. The error still says LyX wasn’t able to find any layout description Check the contents of the file “textclass.lst” Sorry, has to exit I'm way out of my depth here. Thanks for any help you may be able to give. Richard Paul A. Rubin wrote: > Richard Brown wrote: > >> Grateful for help with installing. My level of technical competence is >> advanced idiot, > > > The "advanced" part puts you one up on me. :-) > >> so I've assuredly done something wrong. >> I think I followed the instruction on the wiki exactly. I installed all >> sorts of things one by one and it all looked OK. then at the first >> attempt to run lyx I got this error message: >> >> LyX wasn’t able to find any layout description >> >> Check the contents of teh file “textclass.lst” >> Sorry, has to exit >> >> >> The file exists, and isn't empty, and is the file the installation made, >> and is in c:\lyx\lyx\bin. > > > Are you saying that textclass.lst is in the bin directory?? Did you > start LyX from the bin directory? Is packages.lst in the bin directory > as well (and does it have non-zero length)? > >> The whole program is in c:\lyx\lyx > > > Just to confirm your directory structure, lyx.exe is in > c:\lyx\lyx\bin, right? > >> I'm using win xp pro on an amd 1300 with 128 RAM and loads and loads of >> free disk space. > > > AFAIK, LyX and all helper programs are completely agnostic with > respect to the processor. You're a brave soul to run XP Pro on a > system with only 128MB of RAM, though. (But that doesn't account for > the problem at hand.) > > I'm with the others on this thread -- I'd stick with LyX 1.3.5 for > now, rather than become an alpha tester for 1.3.6. > > FYI, LyX creates a variety of files (including textclass.lst) in your > "home" directory (which is either the directory from which it is > started or the directory specified in Edit | Preferences | Paths | > Working directory (once you get into LyX and set some preferences). It > also creates a subdirectory tree under that directory. To minimize > clutter, if for no other reason, I'd advise creating a base document > directory (for instance, c:\lyx\documents) and starting it from there. > I don't know any reason why it would have trouble finding > textclass.lst in the bin directory if that's where it was started, but > then I've never tried that (and don't intend to). > > -- Paul > > >
Re: Help with installing lyx under windows XP
Richard Brown wrote: Thanks for your reply. I didn't intervene in the directory structure at all as far as I remember, but anyway I renamed the directory where it was, and ran the installation .exe again. (This was lyx-1.3.5-win32-nc.exe) with the following result: in C: I now have C:\lyx which contains bin, lib, man, share, tmp directories. I did nothing- the exe did this. This looks fine. The C:\lyx\bin subdirectory contains the lyx.exe program. In the c:\lyx\share subdirectory I find 2 more sub-subdirectories, one called locale (which seems to have a lot of other language stuff) and another called lyx (so this is c:\lyx\share\lyx ) which has packages.lst and textclass.lst files in. Neither is empty. The first four lines of textclass.lst are typical of the rest, and look like this-: "IEEEtran" "IEEEtran" "article (IEEEtran)" "true" "aa" "aa" "article (A)" "false" "aapaper" "aa" "article (A V4)" "false" "aastex" "aastex" "article (AASTeX)" "true" This is as it should be. When I run lyx, I still get the same error. I tried copying lyx.exe to the same directory as the textclass.lst files, and it was just the same. I tried copying the entire contents of the c:\lyx\share\lyx subdirectory to teh same place as the lyx.exe (ie, C:\lyx\bin) and it made no difference. The error still says LyX wasn’t able to find any layout description Check the contents of the file “textclass.lst” Sorry, has to exit I'm way out of my depth here. Thanks for any help you may be able to give. Richard The error message typically occurs when either textclass.lst does not exist (anywhere) or textclass.lst exists but has length zero bytes (and *that* typically happens as a result of a problem with the configuration script). Now, if there's no textclass.lst in the directory where LyX starts (which is not necessarily the bin directory), then LyX should find the copy in lyx\share\lyx and start ok (I just verified this on my laptop). On the other hand, if you have a zero-length copy in the startup directory and a valid copy in lyx\share\lyx, you get the error (also just verified). So my best guess is that there is in fact a zero byte version sitting around somewhere. So here are a couple of things to try: 1. Search your PC for all copies of textclass.lst (either using the Windows search utility or by opening a command window and typing 'dir c:\textclass.lst /s'), and see if any copies with length zero show up. That will help pin down where LyX is starting, if in fact we find one. 2. Create a starting document directory (for instance, c:\lyx\work), copy the textclass.lst and paste the copy in there. While you're at it, copy packages.lst, clsfiles.lst, styfiles.lst and lyxrc.default from lyx\share\lyx into the work directory as well. (Not all of those may exist -- some are created by a successful configuration run, and I'm still not sure whether you've had one.) Now create a shortcut to the lyx.exe file (you can right-click it in Win Explorer and create the shortcut from the context menu that pops up). Now right-click the shortcut, choose Properties, and on the Shortcut tab set the target and startup entries as follows: Target: C:\lyx\bin\lyx.exe -userdir c:\lyx\work Start in: C;\lyx\bin (the second one should already be filled in correctly, but just to be sure ...). Click ok and then try to start LyX by double-clicking the shortcut. Does that help? One other thing to check: open a command prompt in c:\lyx\bin and type 'sed --version'. If the version number starts with a 3, you're using the copy of sed that came with the LyX installer, and it's known to fail in a way that leaves a zero-length textclass.lst. There's a tip on the Wiki about where to find a more recent copy of sed. Note that what you download when you follow the link from the Wiki is an *installer* that has to be run to install sed. (Some people have gotten confused and thought they were downloading sed.exe itself.) Let us know what transpires. -- Paul
Caption Figure
Hi list,... I use roman numbering in chapter and I would like to use arabic numbering on float. So i want to change the caption in figure (float figure) to "Figure 3.1 -figure description-" instead of "Figure III.1 -figure description-". the other style is the same with the default class (centered and auto number). I tried to add this line in preamble, \renewcommand{\caption}{\arabic{chapter}.\arabic{section}} The result is not what i expect. How can i do this? What other options / parameters I should make in order to \renewcommand? What docs / manual should i read? Any solutions added in preamble would be nice. Thank you. Adinda Praditya