Re: booklet in a5
On Thu, 23 Mar 2000 07:15:48 + (GMT), Tony Dancer wrote: What is the best way of doing this so that I have a nice PS file I can send to the printers for them to print as an a5 booklet? Book layout / Double sided / a5 paper size? Is that it? Are there any latex booklet orientated styles I should be aware of? I am doing it all the time with the A5 paper option, book layout. Then print the file to postscript (print to file). After that, I use something like: psbook file.ps | psnup -2 -s1 tmp.ps. I assume you're on Linux, then with gv or psselect you just select odd and/or even pages to print. I only had a problem that book layout option did not produce 2 sided document and I had to use 2side option in graphics package, but I think that is is now fixed in LyX. Sincerely, Sasa Sasa Janiska Zagreb, Croatia email: [EMAIL PROTECTED]
Cubic Root
How can I set a cubic root in math mode? Using \sqrt will produce a square root. In Latex you can use \sqrt[3]{x+1} to define the cubix root of (x+1). But wenn entering the '['-sign, LyX switches to show the root symbol like you enter a space. Thanks in advance Regards Claus
Cross-References
How to insert a label to a reference in different Lyx file (of the same document)? This cross-reference doesn't appears in the list and the name field takes no manual input. Thanks in advance. -- Carsten Bellon BAM Berlin, Lab. VIII.33, D-12200 Berlin Tel:++49 - 30 - 8104 3658 FAX:++49 - 30 - 8104 1837 [EMAIL PROTECTED]
Re: Cubic Root
"Claus" == Claus Hentschel [EMAIL PROTECTED] writes: Claus How can I set a cubic root in math mode? Using \sqrt will Claus produce a square root. In Latex you can use \sqrt[3]{x+1} to Claus define the cubix root of (x+1). But wenn entering the '['-sign, Claus LyX switches to show the root symbol like you enter a space. "M-m r" should do the trick. Typing latex directly is not supported. JMarc
Re: Cubic Root
On Thu, 23 Mar 2000, Claus Hentschel wrote: How can I set a cubic root in math mode? Using \sqrt will produce a square Last time this was asked, the answer was that it's still not possible with LyX. I think it still holds. *Maybe* you can do it using TeX code, but I don't know how. I know two workaround, though: Type "^3sqrt(expression)", ie. you use a superscript "3" just before the square root. It doesn't look perfect, though. Or use simple mathematical identities: replace the cubic root with "(expression)^(1/3)" :)
Re: displaymath vs. equation
"Amir" == Amir Karger [EMAIL PROTECTED] writes: Amir Dumb question. Do I have to type math-number in the minibuffer Amir for every single equation in my whole document? (Or use a perl Amir script to change \[ to \begin{equation}?) I can't imagine that's Amir the case. I know a bunch of people have written their theses in Amir lyx already. So what's the secret to having all of your Amir equations numbered? If you add a number to your equations, I guess you mean a label too? In this case it will be \begin{equation}. Otherwise, if you feel like to cheat latex, you can try something like the following in the preamble: \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} JMarc
Re: displaymath vs. equation
On Thu, Mar 23, 2000 at 12:34:06PM +0100, Jean-Marc Lasgouttes wrote: "Amir" == Amir Karger [EMAIL PROTECTED] writes: If you add a number to your equations, I guess you mean a label too? Well, I don't need every equation to have a unique \ref, but yes, I want them to be numbered 1.1, 1.2, etc. In this case it will be \begin{equation}. Otherwise, if you feel like to cheat latex, you can try something like the following in the preamble: \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} Are you telling me that every person who's written their thesis with LyX has either used that hack or math-number'ed every single equation in their thesis? I'll probably have only 30 or so, but some theses have hundreds! On the other hand, I just looked at math.bind and found out I can use "M-m n" to number an equation, so it's not so painful after all. Nonetheless, there ought to be a command corresponding binding that automatically opens an equation instead of a displaymath (e.g., "M-m e" = "M-m d" + "M-m n"). Of course I ought to do it myself. I guess I'm just too lazy. But if Dekel is working on putting math-number in the menu, maybe he could do this on the side? -Amir
Re: displaymath vs. equation
"Amir" == Amir Karger [EMAIL PROTECTED] writes: Amir Are you telling me that every person who's written their thesis Amir with LyX has either used that hack or math-number'ed every Amir single equation in their thesis? I'll probably have only 30 or Amir so, but some theses have hundreds! Why would you like to number every single equation when you will not refer to them? Just for the pleasure to have an equation numbered (4.5.103)? I even wrote a packages which suppresses numbering of equations when the equation is not referred to :) Amir On the other hand, I just looked at math.bind and found out I Amir can use "M-m n" to number an equation, so it's not so painful Amir after all. Nonetheless, there ought to be a command Amir corresponding binding that automatically opens an equation Amir instead of a displaymath (e.g., "M-m e" = "M-m d" + "M-m n"). Of Amir course I ought to do it myself. I guess I'm just too lazy. But Try the new command-sequence. Something like \bind "M-m e" "command-sequence math-mode ; math-number ;" JMarc
Re: displaymath vs. equation
On Thu, Mar 23, 2000 at 04:34:21PM +0100, Jean-Marc Lasgouttes wrote: "Amir" == Amir Karger [EMAIL PROTECTED] writes: Why would you like to number every single equation when you will not refer to them? Just for the pleasure to have an equation numbered (4.5.103)? I even wrote a packages which suppresses numbering of equations when the equation is not referred to :) From the Revtex docs (3.1, but I doubt they've changed): "The most common (and preferred) type of displayed equation in The APS Journals in a *single-line equation, with an equation number on the same line*. Try to set as many equations as you can in this way." (emphasis theirs). They do tell you about \[, but don't seem to encourage it. I can't tell you *why* it's done that way, but AFAICT all the chem/phys/bio journal papers I've looked at number all equations. As well as the two theses I've got on my desk. Try the new command-sequence. Something like \bind "M-m e" "command-sequence math-mode ; math-number ;" Ah! Neat idea! I'll see how it goes. Speaking of math-bind, the current math.bind has: \bind "M-m ~S-period" "accent-dot" But when I hit shift-period, I get a "", and so I get \bind "M-m ~S-greater" "math-delim rangle langle" Why not bind to "M-m period"? While we're at it, Customization has a *very* short description of the bind files. (It says to look at the bind files to see how they work.) For example, how do I know what ~S means in a bind file? Or is there another doc where it's mentioned? -Amir
Re: displaymath vs. equation
Date: Thu, 23 Mar 2000 10:55:13 -0500 From: Amir Karger [EMAIL PROTECTED] To: Lyx Users List [EMAIL PROTECTED] Subject: Re: displaymath vs. equation While we're at it, Customization has a *very* short description of the bind files. (It says to look at the bind files to see how they work.) For example, how do I know what ~S means in a bind file? Or is there another doc where it's mentioned? -Amir Chapter 4 of the Reference. In fact, I wanted to build an inverse file (list of function and associated bindings with french translations but I ended with an html version of this 4th chapter (which can be indexed with the rest of the doc). -- Jean-Pierre
Re: displaymath vs. equation
On Thu, Mar 23, 2000 at 05:31:40PM +0100, Jean-Pierre.Chretien wrote: While we're at it, Customization has a *very* short description of the bind files. (It says to look at the bind files to see how they work.) For example, how do I know what ~S means in a bind file? Or is there another doc where it's mentioned? Chapter 4 of the Reference. In fact, I wanted to build an inverse file (list of function and associated bindings with french translations but I ended with an html version of this 4th chapter (which can be indexed with the rest of the doc). Well, it is mentioned there, but it doesn't say there what ~S means either. And I think it really belongs in Customization, no? We definitely need to start a LyX Inc. company so we can hire someone to finish the Reference! -Amir
Bindings cont.
For those wondering what ~S in a bind-file means, from what I can tell, it would mean anything *except* shift. Except that according to the comments in kb_sequence::addkey, it's currently unused. By the way, the problem with using ~S for "" is that on a standard American keyboard, you *have* to use the shift key to get a ""! -Amir
Question about cite-bibtex
Hi, list I noted a little problem: when i am using a bibtex file, the reference list does not appear in the window popup if you uses a relative path for your archive.bib. If you write the reference by hand, latex work well, so, the problem is only in the popup. I am using lyx-1.1.4 and libforms.0.89 Any noted this behavior previously? Osvaldo Fornaro
BibTeX and bibgerm package
Hi Lyx-ianer, i have a special german question. I tried to use the package natbib and bibgerm to include citation references in my lyx-document. In the BibTeX generated references i used the style gerapali.bst and the results were looking quite good. The only thing that i want to get rid of are the short citations in parenthesis in front of the full citation references in the created reference capitel. Is it possible to exclude the short citations and the parenthesis with a TeX command or with simple changes in the gerapali.bst style file? Example: -original: [Author1 et al. 1987] Author1, A., B. Author2 und C. Author3 (1987). title ... -what i want: Author1, A., B. Author2 und C. Author3 (1987). title ... Without the bibgerm package and with the normal apalike.bst it works fine, without any short citations in parenthesis in front of the normal citation references. Thanks for any help Reiner = Reiner Emmerling, Ph.D. student BLT Grub Germany =
LyX-1.1.4 mystery crash (gdb stack trace)
In the hope that I could get some useful information about the mysterious crashes of LyX-1.1.4 that have troubled me and other users, I've been running a session inside gdb. It froze today, in what I believe was the equivalent of the mystery crashes. At the time I was repeating some key press. Here is the stack trace: (gdb) run Starting program: /usr/local/bin/lyx In MapColor [flcolor.c 807] ColormapFull. Using subsititutions Program received signal SIGSEGV, Segmentation fault. 0xd6cec in LyXText::RedoParagraphs (this=0x244cf8, cur=@0x9649, endpar=0x2a31e8) at text2.C:837 837 tmprow-previous-par == first_phys_par) { (gdb) where #0 0xd6cec in LyXText::RedoParagraphs (this=0x244cf8, cur=@0x9649, endpar=0x2a31e8) at text2.C:837 #1 0xd990c in LyXText::CutSelection (this=0x244cf8, doclear=true) at text2.C:2026 #2 0xd10cc in LyXText::DeleteLineForward (this=0x244cf8) at text.C:2877 #3 0x9f724 in LyXFunc::Dispatch (this=0x1efc40, ac=125, do_not_use_this_arg=0x1bb9e0 "") at lyxfunc.C:1680 #4 0x9a2e4 in LyXFunc::processKeyEvent (this=0x1efc40, ev=0xef7a61b4) at lyxfunc.C:287 #5 0x582d0 in LyXView::KeyPressMask_raw_callback (fl=0x1ec3f0, xev=0xef7a61b4) at LyXView.C:362 #6 0x583a8 in C_LyXView_KeyPressMask_raw_callback (fl=0x1ec3f0, xev=0xef7a61b4) at LyXView.C:395 #7 0xef737fac in do_interaction_step () #8 0xef738a48 in fl_treat_interaction_events () #9 0xef738a98 in fl_check_forms () #10 0x8ec9c in LyXGUI::runTime (this=0x11ac00) at lyx_gui.C:635 #11 0x8ffa4 in LyX::LyX (this=0xe3e8, argc=0xe47c, argv=0xe49c) at ../src/lyx_main.C:129 #12 0xac760 in main (argc=1, argv=0xe49c) at ../src/main.C:43 (gdb) This is LyX-1.1.4fix2, on sparc-solaris-2.6, gcc-2.8.1, xforms-0.88. If there is other information I can supply that would be useful for debugging, please let me know what I should try. Regards, and good luck to the developers in unraveling this. -- Ronald Florence http://members.home.net/18james
fl_gc
Trying to compile lyx : /usr/src/lyx-1.1.4/src/screen.C:809: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:812: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:831: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:836: undefined reference to `fl_gc' where is fl_gc at? Also tried the binary version lyx: error in loading shared libraries: lyx: undefined symbol: fl_gc Any ideas? Kurt
Re: fl_gc
On Thu, 23 Mar 2000, Kurt V. Hindenburg wrote: Trying to compile lyx : /usr/src/lyx-1.1.4/src/screen.C:809: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:812: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:831: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:836: undefined reference to `fl_gc' where is fl_gc at? Also tried the binary version lyx: error in loading shared libraries: lyx: undefined symbol: fl_gc Any ideas? Kurt Your xforms library doesn't contain fl_gc. The latest lyx CVS no longer requires this particular variable so you can either try to find a newer version of xforms-0.89 (which I think you are using) or downgrade to the stable xforms-0.88 or get lyx from cvs or wait for the next prerelease. All four options have their own disadvantages. Allan. (ARRae)
Re: fl_gc
Allan Rae [EMAIL PROTECTED] writes: | On Thu, 23 Mar 2000, Kurt V. Hindenburg wrote: | | Trying to compile lyx : | /usr/src/lyx-1.1.4/src/screen.C:809: undefined reference to `fl_gc' | /usr/src/lyx-1.1.4/src/screen.C:812: undefined reference to `fl_gc' | /usr/src/lyx-1.1.4/src/screen.C:831: undefined reference to `fl_gc' | /usr/src/lyx-1.1.4/src/screen.C:836: undefined reference to `fl_gc' | | where is fl_gc at? | | Also tried the binary version | lyx: error in loading shared libraries: lyx: undefined symbol: fl_gc | | Any ideas? |Kurt | | Your xforms library doesn't contain fl_gc. The latest lyx CVS no longer | requires this particular variable so you can either try to find a newer | version of xforms-0.89 (which I think you are using) or downgrade to the | stable xforms-0.88 or get lyx from cvs or wait for the next prerelease. | | All four options have their own disadvantages. | | Allan. (ARRae) Applying fix1 and fix2 to 1.1.4 should also fix this. Lgb
small caps question
I've been using LyX since version 0.11, but not until today have I ever used the "Noun Style" button. What I find is that when I set something to Noun Style, it gets changed to capital letters on my display, but is still being treated as small letters as far as cursor movement is concerned. Thar is to say, if i change "test" to a noun style, it displays as "TEST", taking up more room on screen but the cursor (and word wrap) believe that it is still in lower case. This causes words to spill off the right edge of my window and maked editing nearly impossible. Am I doing something wrong? This can't possibly be correct behaviour, can it? Thanks... -- Shawn Boyette - Programmer, Student - [EMAIL PROTECTED] -- "Let us dream of evanescence, and linger in the beautiful foolishness of things." - The Book of Tea - Okakura Kakuzo
Re: booklet in a5
On Thu, 23 Mar 2000 07:15:48 + (GMT), Tony Dancer wrote: What is the best way of doing this so that I have a nice PS file I can send to the printers for them to print as an a5 booklet? Book layout / Double sided / a5 paper size? Is that it? Are there any latex booklet orientated styles I should be aware of? I am doing it all the time with the A5 paper option, book layout. Then print the file to postscript (print to file). After that, I use something like: psbook file.ps | psnup -2 -s1 tmp.ps. I assume you're on Linux, then with gv or psselect you just select odd and/or even pages to print. I only had a problem that book layout option did not produce 2 sided document and I had to use 2side option in graphics package, but I think that is is now fixed in LyX. Sincerely, Sasa Sasa Janiska Zagreb, Croatia email: [EMAIL PROTECTED]
Cubic Root
How can I set a cubic root in math mode? Using \sqrt will produce a square root. In Latex you can use \sqrt[3]{x+1} to define the cubix root of (x+1). But wenn entering the '['-sign, LyX switches to show the root symbol like you enter a space. Thanks in advance Regards Claus
Cross-References
How to insert a label to a reference in different Lyx file (of the same document)? This cross-reference doesn't appears in the list and the name field takes no manual input. Thanks in advance. -- Carsten Bellon BAM Berlin, Lab. VIII.33, D-12200 Berlin Tel:++49 - 30 - 8104 3658 FAX:++49 - 30 - 8104 1837 [EMAIL PROTECTED]
Re: Cubic Root
"Claus" == Claus Hentschel [EMAIL PROTECTED] writes: Claus How can I set a cubic root in math mode? Using \sqrt will Claus produce a square root. In Latex you can use \sqrt[3]{x+1} to Claus define the cubix root of (x+1). But wenn entering the '['-sign, Claus LyX switches to show the root symbol like you enter a space. "M-m r" should do the trick. Typing latex directly is not supported. JMarc
Re: Cubic Root
On Thu, 23 Mar 2000, Claus Hentschel wrote: How can I set a cubic root in math mode? Using \sqrt will produce a square Last time this was asked, the answer was that it's still not possible with LyX. I think it still holds. *Maybe* you can do it using TeX code, but I don't know how. I know two workaround, though: Type "^3sqrt(expression)", ie. you use a superscript "3" just before the square root. It doesn't look perfect, though. Or use simple mathematical identities: replace the cubic root with "(expression)^(1/3)" :)
Re: displaymath vs. equation
"Amir" == Amir Karger [EMAIL PROTECTED] writes: Amir Dumb question. Do I have to type math-number in the minibuffer Amir for every single equation in my whole document? (Or use a perl Amir script to change \[ to \begin{equation}?) I can't imagine that's Amir the case. I know a bunch of people have written their theses in Amir lyx already. So what's the secret to having all of your Amir equations numbered? If you add a number to your equations, I guess you mean a label too? In this case it will be \begin{equation}. Otherwise, if you feel like to cheat latex, you can try something like the following in the preamble: \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} JMarc
Re: displaymath vs. equation
On Thu, Mar 23, 2000 at 12:34:06PM +0100, Jean-Marc Lasgouttes wrote: "Amir" == Amir Karger [EMAIL PROTECTED] writes: If you add a number to your equations, I guess you mean a label too? Well, I don't need every equation to have a unique \ref, but yes, I want them to be numbered 1.1, 1.2, etc. In this case it will be \begin{equation}. Otherwise, if you feel like to cheat latex, you can try something like the following in the preamble: \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} Are you telling me that every person who's written their thesis with LyX has either used that hack or math-number'ed every single equation in their thesis? I'll probably have only 30 or so, but some theses have hundreds! On the other hand, I just looked at math.bind and found out I can use "M-m n" to number an equation, so it's not so painful after all. Nonetheless, there ought to be a command corresponding binding that automatically opens an equation instead of a displaymath (e.g., "M-m e" = "M-m d" + "M-m n"). Of course I ought to do it myself. I guess I'm just too lazy. But if Dekel is working on putting math-number in the menu, maybe he could do this on the side? -Amir
Re: displaymath vs. equation
"Amir" == Amir Karger [EMAIL PROTECTED] writes: Amir Are you telling me that every person who's written their thesis Amir with LyX has either used that hack or math-number'ed every Amir single equation in their thesis? I'll probably have only 30 or Amir so, but some theses have hundreds! Why would you like to number every single equation when you will not refer to them? Just for the pleasure to have an equation numbered (4.5.103)? I even wrote a packages which suppresses numbering of equations when the equation is not referred to :) Amir On the other hand, I just looked at math.bind and found out I Amir can use "M-m n" to number an equation, so it's not so painful Amir after all. Nonetheless, there ought to be a command Amir corresponding binding that automatically opens an equation Amir instead of a displaymath (e.g., "M-m e" = "M-m d" + "M-m n"). Of Amir course I ought to do it myself. I guess I'm just too lazy. But Try the new command-sequence. Something like \bind "M-m e" "command-sequence math-mode ; math-number ;" JMarc
Re: displaymath vs. equation
On Thu, Mar 23, 2000 at 04:34:21PM +0100, Jean-Marc Lasgouttes wrote: "Amir" == Amir Karger [EMAIL PROTECTED] writes: Why would you like to number every single equation when you will not refer to them? Just for the pleasure to have an equation numbered (4.5.103)? I even wrote a packages which suppresses numbering of equations when the equation is not referred to :) From the Revtex docs (3.1, but I doubt they've changed): "The most common (and preferred) type of displayed equation in The APS Journals in a *single-line equation, with an equation number on the same line*. Try to set as many equations as you can in this way." (emphasis theirs). They do tell you about \[, but don't seem to encourage it. I can't tell you *why* it's done that way, but AFAICT all the chem/phys/bio journal papers I've looked at number all equations. As well as the two theses I've got on my desk. Try the new command-sequence. Something like \bind "M-m e" "command-sequence math-mode ; math-number ;" Ah! Neat idea! I'll see how it goes. Speaking of math-bind, the current math.bind has: \bind "M-m ~S-period" "accent-dot" But when I hit shift-period, I get a "", and so I get \bind "M-m ~S-greater" "math-delim rangle langle" Why not bind to "M-m period"? While we're at it, Customization has a *very* short description of the bind files. (It says to look at the bind files to see how they work.) For example, how do I know what ~S means in a bind file? Or is there another doc where it's mentioned? -Amir
Re: displaymath vs. equation
Date: Thu, 23 Mar 2000 10:55:13 -0500 From: Amir Karger [EMAIL PROTECTED] To: Lyx Users List [EMAIL PROTECTED] Subject: Re: displaymath vs. equation While we're at it, Customization has a *very* short description of the bind files. (It says to look at the bind files to see how they work.) For example, how do I know what ~S means in a bind file? Or is there another doc where it's mentioned? -Amir Chapter 4 of the Reference. In fact, I wanted to build an inverse file (list of function and associated bindings with french translations but I ended with an html version of this 4th chapter (which can be indexed with the rest of the doc). -- Jean-Pierre
Re: displaymath vs. equation
On Thu, Mar 23, 2000 at 05:31:40PM +0100, Jean-Pierre.Chretien wrote: While we're at it, Customization has a *very* short description of the bind files. (It says to look at the bind files to see how they work.) For example, how do I know what ~S means in a bind file? Or is there another doc where it's mentioned? Chapter 4 of the Reference. In fact, I wanted to build an inverse file (list of function and associated bindings with french translations but I ended with an html version of this 4th chapter (which can be indexed with the rest of the doc). Well, it is mentioned there, but it doesn't say there what ~S means either. And I think it really belongs in Customization, no? We definitely need to start a LyX Inc. company so we can hire someone to finish the Reference! -Amir
Bindings cont.
For those wondering what ~S in a bind-file means, from what I can tell, it would mean anything *except* shift. Except that according to the comments in kb_sequence::addkey, it's currently unused. By the way, the problem with using ~S for "" is that on a standard American keyboard, you *have* to use the shift key to get a ""! -Amir
Question about cite-bibtex
Hi, list I noted a little problem: when i am using a bibtex file, the reference list does not appear in the window popup if you uses a relative path for your archive.bib. If you write the reference by hand, latex work well, so, the problem is only in the popup. I am using lyx-1.1.4 and libforms.0.89 Any noted this behavior previously? Osvaldo Fornaro
BibTeX and bibgerm package
Hi Lyx-ianer, i have a special german question. I tried to use the package natbib and bibgerm to include citation references in my lyx-document. In the BibTeX generated references i used the style gerapali.bst and the results were looking quite good. The only thing that i want to get rid of are the short citations in parenthesis in front of the full citation references in the created reference capitel. Is it possible to exclude the short citations and the parenthesis with a TeX command or with simple changes in the gerapali.bst style file? Example: -original: [Author1 et al. 1987] Author1, A., B. Author2 und C. Author3 (1987). title ... -what i want: Author1, A., B. Author2 und C. Author3 (1987). title ... Without the bibgerm package and with the normal apalike.bst it works fine, without any short citations in parenthesis in front of the normal citation references. Thanks for any help Reiner = Reiner Emmerling, Ph.D. student BLT Grub Germany =
LyX-1.1.4 mystery crash (gdb stack trace)
In the hope that I could get some useful information about the mysterious crashes of LyX-1.1.4 that have troubled me and other users, I've been running a session inside gdb. It froze today, in what I believe was the equivalent of the mystery crashes. At the time I was repeating some key press. Here is the stack trace: (gdb) run Starting program: /usr/local/bin/lyx In MapColor [flcolor.c 807] ColormapFull. Using subsititutions Program received signal SIGSEGV, Segmentation fault. 0xd6cec in LyXText::RedoParagraphs (this=0x244cf8, cur=@0x9649, endpar=0x2a31e8) at text2.C:837 837 tmprow-previous-par == first_phys_par) { (gdb) where #0 0xd6cec in LyXText::RedoParagraphs (this=0x244cf8, cur=@0x9649, endpar=0x2a31e8) at text2.C:837 #1 0xd990c in LyXText::CutSelection (this=0x244cf8, doclear=true) at text2.C:2026 #2 0xd10cc in LyXText::DeleteLineForward (this=0x244cf8) at text.C:2877 #3 0x9f724 in LyXFunc::Dispatch (this=0x1efc40, ac=125, do_not_use_this_arg=0x1bb9e0 "") at lyxfunc.C:1680 #4 0x9a2e4 in LyXFunc::processKeyEvent (this=0x1efc40, ev=0xef7a61b4) at lyxfunc.C:287 #5 0x582d0 in LyXView::KeyPressMask_raw_callback (fl=0x1ec3f0, xev=0xef7a61b4) at LyXView.C:362 #6 0x583a8 in C_LyXView_KeyPressMask_raw_callback (fl=0x1ec3f0, xev=0xef7a61b4) at LyXView.C:395 #7 0xef737fac in do_interaction_step () #8 0xef738a48 in fl_treat_interaction_events () #9 0xef738a98 in fl_check_forms () #10 0x8ec9c in LyXGUI::runTime (this=0x11ac00) at lyx_gui.C:635 #11 0x8ffa4 in LyX::LyX (this=0xe3e8, argc=0xe47c, argv=0xe49c) at ../src/lyx_main.C:129 #12 0xac760 in main (argc=1, argv=0xe49c) at ../src/main.C:43 (gdb) This is LyX-1.1.4fix2, on sparc-solaris-2.6, gcc-2.8.1, xforms-0.88. If there is other information I can supply that would be useful for debugging, please let me know what I should try. Regards, and good luck to the developers in unraveling this. -- Ronald Florence http://members.home.net/18james
fl_gc
Trying to compile lyx : /usr/src/lyx-1.1.4/src/screen.C:809: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:812: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:831: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:836: undefined reference to `fl_gc' where is fl_gc at? Also tried the binary version lyx: error in loading shared libraries: lyx: undefined symbol: fl_gc Any ideas? Kurt
Re: fl_gc
On Thu, 23 Mar 2000, Kurt V. Hindenburg wrote: Trying to compile lyx : /usr/src/lyx-1.1.4/src/screen.C:809: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:812: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:831: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:836: undefined reference to `fl_gc' where is fl_gc at? Also tried the binary version lyx: error in loading shared libraries: lyx: undefined symbol: fl_gc Any ideas? Kurt Your xforms library doesn't contain fl_gc. The latest lyx CVS no longer requires this particular variable so you can either try to find a newer version of xforms-0.89 (which I think you are using) or downgrade to the stable xforms-0.88 or get lyx from cvs or wait for the next prerelease. All four options have their own disadvantages. Allan. (ARRae)
Re: fl_gc
Allan Rae [EMAIL PROTECTED] writes: | On Thu, 23 Mar 2000, Kurt V. Hindenburg wrote: | | Trying to compile lyx : | /usr/src/lyx-1.1.4/src/screen.C:809: undefined reference to `fl_gc' | /usr/src/lyx-1.1.4/src/screen.C:812: undefined reference to `fl_gc' | /usr/src/lyx-1.1.4/src/screen.C:831: undefined reference to `fl_gc' | /usr/src/lyx-1.1.4/src/screen.C:836: undefined reference to `fl_gc' | | where is fl_gc at? | | Also tried the binary version | lyx: error in loading shared libraries: lyx: undefined symbol: fl_gc | | Any ideas? |Kurt | | Your xforms library doesn't contain fl_gc. The latest lyx CVS no longer | requires this particular variable so you can either try to find a newer | version of xforms-0.89 (which I think you are using) or downgrade to the | stable xforms-0.88 or get lyx from cvs or wait for the next prerelease. | | All four options have their own disadvantages. | | Allan. (ARRae) Applying fix1 and fix2 to 1.1.4 should also fix this. Lgb
small caps question
I've been using LyX since version 0.11, but not until today have I ever used the "Noun Style" button. What I find is that when I set something to Noun Style, it gets changed to capital letters on my display, but is still being treated as small letters as far as cursor movement is concerned. Thar is to say, if i change "test" to a noun style, it displays as "TEST", taking up more room on screen but the cursor (and word wrap) believe that it is still in lower case. This causes words to spill off the right edge of my window and maked editing nearly impossible. Am I doing something wrong? This can't possibly be correct behaviour, can it? Thanks... -- Shawn Boyette - Programmer, Student - [EMAIL PROTECTED] -- "Let us dream of evanescence, and linger in the beautiful foolishness of things." - The Book of Tea - Okakura Kakuzo
Re: booklet in a5
On Thu, 23 Mar 2000 07:15:48 + (GMT), Tony Dancer wrote: >What is the best way of doing this so that I have a nice PS file I can >send to the printers for them to print as an a5 booklet? > >Book layout / Double sided / a5 paper size? Is that it? Are there any >latex booklet orientated styles I should be aware of? > I am doing it all the time with the A5 paper option, book layout. Then print the file to postscript (print to file). After that, I use something like: psbook file.ps | psnup -2 -s1 > tmp.ps. I assume you're on Linux, then with gv or psselect you just select odd and/or even pages to print. I only had a problem that book layout option did not produce 2 sided document and I had to use 2side option in graphics package, but I think that is is now fixed in LyX. Sincerely, Sasa Sasa Janiska Zagreb, Croatia email: [EMAIL PROTECTED]
Cubic Root
How can I set a cubic root in math mode? Using \sqrt will produce a square root. In Latex you can use \sqrt[3]{x+1} to define the cubix root of (x+1). But wenn entering the '['-sign, LyX switches to show the root symbol like you enter a space. Thanks in advance Regards Claus
Cross-References
How to insert a label to a reference in different Lyx file (of the same document)? This cross-reference doesn't appears in the list and the name field takes no manual input. Thanks in advance. -- Carsten Bellon BAM Berlin, Lab. VIII.33, D-12200 Berlin Tel:++49 - 30 - 8104 3658 FAX:++49 - 30 - 8104 1837 [EMAIL PROTECTED]
Re: Cubic Root
> "Claus" == Claus Hentschel <[EMAIL PROTECTED]> writes: Claus> How can I set a cubic root in math mode? Using \sqrt will Claus> produce a square root. In Latex you can use \sqrt[3]{x+1} to Claus> define the cubix root of (x+1). But wenn entering the '['-sign, Claus> LyX switches to show the root symbol like you enter a space. "M-m r" should do the trick. Typing latex directly is not supported. JMarc
Re: Cubic Root
On Thu, 23 Mar 2000, Claus Hentschel wrote: > How can I set a cubic root in math mode? Using \sqrt will produce a square Last time this was asked, the answer was that it's still not possible with LyX. I think it still holds. *Maybe* you can do it using TeX code, but I don't know how. I know two workaround, though: Type "^3sqrt(expression)", ie. you use a superscript "3" just before the square root. It doesn't look perfect, though. Or use simple mathematical identities: replace the cubic root with "(expression)^(1/3)" :)
Re: displaymath vs. equation
> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: Amir> Dumb question. Do I have to type math-number in the minibuffer Amir> for every single equation in my whole document? (Or use a perl Amir> script to change \[ to \begin{equation}?) I can't imagine that's Amir> the case. I know a bunch of people have written their theses in Amir> lyx already. So what's the secret to having all of your Amir> equations numbered? If you add a number to your equations, I guess you mean a label too? In this case it will be \begin{equation}. Otherwise, if you feel like to cheat latex, you can try something like the following in the preamble: \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} JMarc
Re: displaymath vs. equation
On Thu, Mar 23, 2000 at 12:34:06PM +0100, Jean-Marc Lasgouttes wrote: > > "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: > > If you add a number to your equations, I guess you mean a label too? Well, I don't need every equation to have a unique \ref, but yes, I want them to be numbered 1.1, 1.2, etc. > In this case it will be \begin{equation}. Otherwise, if you feel like > to cheat latex, you can try something like the following in the > preamble: > > \renewcommand\[{\begin{equation}} > \renewcommand\]{\end{equation}} Are you telling me that every person who's written their thesis with LyX has either used that hack or math-number'ed every single equation in their thesis? I'll probably have only 30 or so, but some theses have hundreds! On the other hand, I just looked at math.bind and found out I can use "M-m n" to number an equation, so it's not so painful after all. Nonetheless, there ought to be a command & corresponding binding that automatically opens an equation instead of a displaymath (e.g., "M-m e" = "M-m d" + "M-m n"). Of course I ought to do it myself. I guess I'm just too lazy. But if Dekel is working on putting math-number in the menu, maybe he could do this on the side? -Amir
Re: displaymath vs. equation
> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: Amir> Are you telling me that every person who's written their thesis Amir> with LyX has either used that hack or math-number'ed every Amir> single equation in their thesis? I'll probably have only 30 or Amir> so, but some theses have hundreds! Why would you like to number every single equation when you will not refer to them? Just for the pleasure to have an equation numbered (4.5.103)? I even wrote a packages which suppresses numbering of equations when the equation is not referred to :) Amir> On the other hand, I just looked at math.bind and found out I Amir> can use "M-m n" to number an equation, so it's not so painful Amir> after all. Nonetheless, there ought to be a command & Amir> corresponding binding that automatically opens an equation Amir> instead of a displaymath (e.g., "M-m e" = "M-m d" + "M-m n"). Of Amir> course I ought to do it myself. I guess I'm just too lazy. But Try the new command-sequence. Something like \bind "M-m e" "command-sequence math-mode ; math-number ;" JMarc
Re: displaymath vs. equation
On Thu, Mar 23, 2000 at 04:34:21PM +0100, Jean-Marc Lasgouttes wrote: > > "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: > > Why would you like to number every single equation when you will not > refer to them? Just for the pleasure to have an equation numbered > (4.5.103)? I even wrote a packages which suppresses numbering of > equations when the equation is not referred to :) >From the Revtex docs (3.1, but I doubt they've changed): "The most common (and preferred) type of displayed equation in The APS Journals in a *single-line equation, with an equation number on the same line*. Try to set as many equations as you can in this way." (emphasis theirs). They do tell you about \[, but don't seem to encourage it. I can't tell you *why* it's done that way, but AFAICT all the chem/phys/bio journal papers I've looked at number all equations. As well as the two theses I've got on my desk. > Try the new command-sequence. Something like > > \bind "M-m e" "command-sequence math-mode ; math-number ;" Ah! Neat idea! I'll see how it goes. Speaking of math-bind, the current math.bind has: \bind "M-m ~S-period" "accent-dot" But when I hit shift-period, I get a ">", and so I get \bind "M-m ~S-greater" "math-delim rangle langle" Why not bind to "M-m period"? While we're at it, Customization has a *very* short description of the bind files. (It says to look at the bind files to see how they work.) For example, how do I know what ~S means in a bind file? Or is there another doc where it's mentioned? -Amir
Re: displaymath vs. equation
>>Date: Thu, 23 Mar 2000 10:55:13 -0500 >>From: Amir Karger <[EMAIL PROTECTED]> >>To: Lyx Users List <[EMAIL PROTECTED]> >>Subject: Re: displaymath vs. equation >> >> >>While we're at it, Customization has a *very* short description of the bind >>files. (It says to look at the bind files to see how they work.) For >>example, how do I know what ~S means in a bind file? Or is there another doc >>where it's mentioned? >> >>-Amir Chapter 4 of the Reference. In fact, I wanted to build an inverse file (list of function and associated bindings with french translations but I ended with an html version of this 4th chapter (which can be indexed with the rest of the doc). -- Jean-Pierre
Re: displaymath vs. equation
On Thu, Mar 23, 2000 at 05:31:40PM +0100, Jean-Pierre.Chretien wrote: > > >>While we're at it, Customization has a *very* short description of the bind > >>files. (It says to look at the bind files to see how they work.) For > >>example, how do I know what ~S means in a bind file? Or is there another doc > >>where it's mentioned? > >> > > Chapter 4 of the Reference. > In fact, I wanted to build an inverse file (list of function and associated > bindings with french translations but I ended with an html version of > this 4th chapter (which can be indexed with the rest of the doc). Well, it is mentioned there, but it doesn't say there what ~S means either. And I think it really belongs in Customization, no? We definitely need to start a LyX Inc. company so we can hire someone to finish the Reference! -Amir
Bindings cont.
For those wondering what ~S in a bind-file means, from what I can tell, it would mean anything *except* shift. Except that according to the comments in kb_sequence::addkey, it's currently unused. By the way, the problem with using ~S for ">" is that on a standard American keyboard, you *have* to use the shift key to get a ">"! -Amir
Question about cite-bibtex
Hi, list I noted a little problem: when i am using a bibtex file, the reference list does not appear in the window popup if you uses a relative path for your archive.bib. If you write the reference by hand, latex work well, so, the problem is only in the popup. I am using lyx-1.1.4 and libforms.0.89 Any noted this behavior previously? Osvaldo Fornaro
BibTeX and bibgerm package
Hi Lyx-ianer, i have a special german question. I tried to use the package natbib and bibgerm to include citation references in my lyx-document. In the BibTeX generated references i used the style gerapali.bst and the results were looking quite good. The only thing that i want to get rid of are the short citations in parenthesis in front of the full citation references in the created reference capitel. Is it possible to exclude the short citations and the parenthesis with a TeX command or with simple changes in the gerapali.bst style file? Example: -original: [Author1 et al. 1987] Author1, A., B. Author2 und C. Author3 (1987). title ... -what i want: Author1, A., B. Author2 und C. Author3 (1987). title ... Without the bibgerm package and with the normal apalike.bst it works fine, without any short citations in parenthesis in front of the normal citation references. Thanks for any help Reiner = Reiner Emmerling, Ph.D. student BLT Grub Germany =
LyX-1.1.4 mystery crash (gdb stack trace)
In the hope that I could get some useful information about the mysterious crashes of LyX-1.1.4 that have troubled me and other users, I've been running a session inside gdb. It froze today, in what I believe was the equivalent of the mystery crashes. At the time I was repeating some key press. Here is the stack trace: (gdb) run Starting program: /usr/local/bin/lyx In MapColor [flcolor.c 807] ColormapFull. Using subsititutions Program received signal SIGSEGV, Segmentation fault. 0xd6cec in LyXText::RedoParagraphs (this=0x244cf8, cur=@0x9649, endpar=0x2a31e8) at text2.C:837 837&& tmprow->previous->par == first_phys_par) { (gdb) where #0 0xd6cec in LyXText::RedoParagraphs (this=0x244cf8, cur=@0x9649, endpar=0x2a31e8) at text2.C:837 #1 0xd990c in LyXText::CutSelection (this=0x244cf8, doclear=true) at text2.C:2026 #2 0xd10cc in LyXText::DeleteLineForward (this=0x244cf8) at text.C:2877 #3 0x9f724 in LyXFunc::Dispatch (this=0x1efc40, ac=125, do_not_use_this_arg=0x1bb9e0 "") at lyxfunc.C:1680 #4 0x9a2e4 in LyXFunc::processKeyEvent (this=0x1efc40, ev=0xef7a61b4) at lyxfunc.C:287 #5 0x582d0 in LyXView::KeyPressMask_raw_callback (fl=0x1ec3f0, xev=0xef7a61b4) at LyXView.C:362 #6 0x583a8 in C_LyXView_KeyPressMask_raw_callback (fl=0x1ec3f0, xev=0xef7a61b4) at LyXView.C:395 #7 0xef737fac in do_interaction_step () #8 0xef738a48 in fl_treat_interaction_events () #9 0xef738a98 in fl_check_forms () #10 0x8ec9c in LyXGUI::runTime (this=0x11ac00) at lyx_gui.C:635 #11 0x8ffa4 in LyX::LyX (this=0xe3e8, argc=0xe47c, argv=0xe49c) at ../src/lyx_main.C:129 #12 0xac760 in main (argc=1, argv=0xe49c) at ../src/main.C:43 (gdb) This is LyX-1.1.4fix2, on sparc-solaris-2.6, gcc-2.8.1, xforms-0.88. If there is other information I can supply that would be useful for debugging, please let me know what I should try. Regards, and good luck to the developers in unraveling this. -- Ronald Florence http://members.home.net/18james
fl_gc
Trying to compile lyx : /usr/src/lyx-1.1.4/src/screen.C:809: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:812: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:831: undefined reference to `fl_gc' /usr/src/lyx-1.1.4/src/screen.C:836: undefined reference to `fl_gc' where is fl_gc at? Also tried the binary version lyx: error in loading shared libraries: lyx: undefined symbol: fl_gc Any ideas? Kurt
Re: fl_gc
On Thu, 23 Mar 2000, Kurt V. Hindenburg wrote: > Trying to compile lyx : > /usr/src/lyx-1.1.4/src/screen.C:809: undefined reference to `fl_gc' > /usr/src/lyx-1.1.4/src/screen.C:812: undefined reference to `fl_gc' > /usr/src/lyx-1.1.4/src/screen.C:831: undefined reference to `fl_gc' > /usr/src/lyx-1.1.4/src/screen.C:836: undefined reference to `fl_gc' > > where is fl_gc at? > > Also tried the binary version > lyx: error in loading shared libraries: lyx: undefined symbol: fl_gc > > Any ideas? > Kurt Your xforms library doesn't contain fl_gc. The latest lyx CVS no longer requires this particular variable so you can either try to find a newer version of xforms-0.89 (which I think you are using) or downgrade to the stable xforms-0.88 or get lyx from cvs or wait for the next prerelease. All four options have their own disadvantages. Allan. (ARRae)
Re: fl_gc
Allan Rae <[EMAIL PROTECTED]> writes: | On Thu, 23 Mar 2000, Kurt V. Hindenburg wrote: | | > Trying to compile lyx : | > /usr/src/lyx-1.1.4/src/screen.C:809: undefined reference to `fl_gc' | > /usr/src/lyx-1.1.4/src/screen.C:812: undefined reference to `fl_gc' | > /usr/src/lyx-1.1.4/src/screen.C:831: undefined reference to `fl_gc' | > /usr/src/lyx-1.1.4/src/screen.C:836: undefined reference to `fl_gc' | > | > where is fl_gc at? | > | > Also tried the binary version | > lyx: error in loading shared libraries: lyx: undefined symbol: fl_gc | > | > Any ideas? | > Kurt | | Your xforms library doesn't contain fl_gc. The latest lyx CVS no longer | requires this particular variable so you can either try to find a newer | version of xforms-0.89 (which I think you are using) or downgrade to the | stable xforms-0.88 or get lyx from cvs or wait for the next prerelease. | | All four options have their own disadvantages. | | Allan. (ARRae) Applying fix1 and fix2 to 1.1.4 should also fix this. Lgb
small caps question
I've been using LyX since version 0.11, but not until today have I ever used the "Noun Style" button. What I find is that when I set something to Noun Style, it gets changed to capital letters on my display, but is still being treated as small letters as far as cursor movement is concerned. Thar is to say, if i change "test" to a noun style, it displays as "TEST", taking up more room on screen but the cursor (and word wrap) believe that it is still in lower case. This causes words to spill off the right edge of my window and maked editing nearly impossible. Am I doing something wrong? This can't possibly be correct behaviour, can it? Thanks... -- Shawn Boyette - Programmer, Student - [EMAIL PROTECTED] -- "Let us dream of evanescence, and linger in the beautiful foolishness of things." - The Book of Tea - Okakura Kakuzo