How to disable popping math bar?
Hi all, I have been an addicted LyX user in the past and enjoyed it very much. However, there is a feature in recent releases of LyX that keeps annoying me. Namely, any time I enter math mode with ctrl-m, a math bar is popping in the lower area of the screen, and it disappears as soon as I leave the math mode. I understand that this feature is very useful for beginners or people who like to select stuff from menus, but I am an old LaTeX-user and I know all my LaTeX keywords by heart, so I do not really need this kind of help. On the othyer hand, constant popping and unpopping is visually very distracting. I was looking for a box to untick in LyX preferences, but did not find anything reasonable that would disable this feature. Am I overlooking something trivial? My LyX version is 1.6.4.1 and I am using the Linux version on Arch Linux. Thanx in advance for any help! Jan
RE: \includegraphics doesn
Hi, > Hi again. > I just created a new account, logged in, started lyx 1.4.3 and created the lyx > file attached. > > I try to view the file but all I get is > dvips: Could not find figure file /tmp//int_area.eps; continuing > > I try lyx -e pdf and lyx -e ps with the same result, but > lyx -e latex newfile1.lyx Preview in LyX and lyx -e ps both worked fine for me. Are You sure that /tmp is the directory where int_area.eps should be found? Try putting int_area.eps to the same directory where your newfile1.lyx resides and try again. Best, Jan
RE: LabelCounter behaves strangely
Hi again! > So I have the following questions. Is the display of Chapter > style really hard coded into LyX? A little bit of search in the LyX source tree (thanks, OSS!) revealed that this is indeed the case. The source files text.C and rowpainter.C contain checks if (layout->counter == "chapter" ... and then achieve the display of the Chapter title beneath the label. IMHO this is somewhat too hacky. It would be much more natural to allow the layout style to define whether the label is displayed on the same line or on the above line (together with the respective alignment, of course) and not just allow such a display for one specific counter name. Then the current Chapter style could just be a special case of such a layout style. Are there any plans to develop such a feature? Best regards, Jan
LabelCounter behaves strangely
Hi all, I am writing a new layout for my document class and I need several styles of parts that would display like this: --- Part 1 Part title Plain text ... --- Since several LyX standard layouts support Chapter style that does exactly this, I was optimistic when I started reading LyX documentation and experimenting with different layouts provided with LyX. I tried to define my own counters and do something like: Counter Name mypartcounter End Style MyPart Margin Dynamic LatexType Command Align Center OptionalArgs1 Font Series Bold SizeHuge EndFont End Style MyPart LabelType Counter LabelCountermypartcounter LabelString "MyPart \arabic{mypartcounter}" End This is a direct translation of Chapter definitions from LyX layout files. However this produced something different than the Chapter definition -- it refused to type the part name on the next line. I played for some time and then found out that I can achieve the desired behavior if I rename the counter ('mypartcounter') to be 'chapter'! Which is very strange, since my layout knows nothing about LyX standard layouts and 'chapter' should be just an arbitrary string. So does LyX have a hard-coded behavior based on which strings are used as counter names? I also found the following from the LyX documentation (Customizing LyX: Features for the Advanced User, Section 5): LabelCounter [Chapter, Section, Subsection, Subsubsection, Paragraph, Subparagraph, EnumI, EnumII, EnumIII, EnumIV] This hints that there are only those 10 counter names accepted. However I have been able to define my own counters for other styles very well and use them with LabelCounter as well. And on the other hand, Chapter, Section, Subsection, etc. are themselves defined in standard layout files and ideally, neither LyX documentation nor LyX itself should know anything about those a priori. But apparently they do. So I have the following questions. Is the display of Chapter style really hard coded into LyX? Is is possible to define other styles with the same behavior? And why should a counter name influence the display? Or am I reading something very wrongly? I wouldn't really mind using the chapter counter, the only trouble is that I need several different styles like that and I can not use the same counter name for all of them. I'd be grateful if someone from the developers could answer this problems and I hope that they read lyx-users list, too. Or is another mailing list better? Best regards, Jan -- Telli Päevaleht ja võida 4 Nissani maasturit! http://www.epl.ee/4x4
Re: Suspending enumerations
Hi again, Thanx or the examples but this is not really what I was talikng about. I actually meant the layout file for LyX that would display the real item numbers, so that suspension could be done without invoking ERT. Is such a thing even technically possible with LyX right now? How much trouble would it be to add technical support or this? I really need this feature and if there is no other way I may be able to get some contributions to LyX. Best regards, Jan -- Telli Päevaleht ja võida 4 Nissani maasturit! http://www.epl.ee/4x4
Suspending enumerations
Hi all, I was wandering if it would be possible to have in LyX suspended/restored enumerated lists like LaTeX's enumitem package provides, i.e. I'd like to have something like Section One item one item two Section Two item one item two to produce One 1. one 2. two Two 3. one 4. two I know that no standard LyX layout produces this, but is such a behaviour possible, i.e. does LyX layout framework allow such a thing in principle? Best regards, Jan -- Telli Päevaleht ja võida 4 Nissani maasturit! http://www.epl.ee/4x4
Re: LyX 1.3.6 and ispell problem
> >So in the end of the day, I suspect that LyX 1.3.6 has a bug of still > >trying to use aspell, even if ispell is chosen in Preferences -> > >Spellchecker. Or is is the problem between the chair and the > >computer > > > > > Looks like your lyx decides to use aspell anyway - maybe ispell support > isn't compiled in or something? There is an "aspell-et" with Estonian > spelling, perhaps you should try that. Or is there some other reason for > sticking to ispell? Yes, and the reason is that aspell-et used to be a dead branch of an old student project, with ispell having a much better dictionary. But I will take a look, perhaps aspell has improved (actually it might). > Lyx using aspell even when you specify ispell is a bug, consider registering > the bug at bugzilla.lyx.org Before doing that -- does anyone else have a similar problem? LyX 1.4.0beta seems to handle ispell better (apart from the fact that spelling in 1.4.0beta is broken in general, but that's due to being beta). So unless there will be another maintenance release of 1.3.* branch, this bugreport wiould not change much... Thanx anyway, Jan
Re: LyX 1.3.6 and ispell problem
Hi again! > > On my Arch Linux box I installed LyX 1.3.6 and the latest ispell package > > (3.2.06-4) that > > comes with the English dictionary. However, when trying to check an > > English document, I get 'No word lists can be found for the language > > "en" '. I don't remember such a message from earlier LyX installations. > > Any idea where it comes from or what to do about it? > > > > Lyx support three kinds of english: english, british and american. > Perhaps your ispell don't support all of these. (I usually > have to use "British", not "English", for example.) > > Also check to see that your lyx really uses ispell, lyx may > also use "aspell" which uses other dictionaries. In that case, install > the english dictionary for aspell. > > Helge Hafting Well, actually I am trying to spell an Estonian text, but the problem with English was the same so I described that one. Anyway, after installing the aspell-en package, I can spell English text, though LyX still shows me that it is using ispell, and installing aspell dictionaries should have changed nothing. Trying to spell sometning in Estonian from LyX with ispell still cives complaints about missing et_EE word list. Which is strange, because "en" and "et_EE" are aspell terminology and as far as I know, ispell does not use such naming of languages. So in the end of the day, I suspect that LyX 1.3.6 has a bug of still trying to use aspell, even if ispell is chosen in Preferences -> Spellchecker. Or is is the problem between the chair and the computer? Jan
Re: LyX 1.3.6 and ispell problem
Hi, When I run ispell from command line, it runs fine. Jan
LyX 1.3.6 and ispell problem
Hi all! On my Arch Linux box I installed LyX 1.3.6 and the latest ispell package (3.2.06-4) that comes with the English dictionary. However, when trying to check an English document, I get 'No word lists can be found for the language "en" '. I don't remember such a message from earlier LyX installations. Any idea where it comes from or what to do about it? Best regards, Jan