Re[2]: Problem with \dot in math mode
> >> i.e. the LyX expects a "simple" token after the \dot and cannot > >> handle compounds. > >> > >> I wonder whether this can be changed. > This is because \dot is an accent and not a macro. That's probably the > reason why ams provides \Dot. Still, there are cases, where also an accent might be put an a longer construct (e.g. a latex command for greek letters) Therefore I would appreciate a change in behaviour: -act a now, when \dot is followed by a space -act like e.g. \sqrt, if followed by a { Guenter -- [EMAIL PROTECTED]
Re: Which package?
German Poo Caaman~o wrote: > > I need to make some binary divisions, writing somehing like that: > > etc. (the numbers in my exampe are random). > > And polinoms divisions: > > Are there a package that could simplify this? I do this with the eqnarray-environment. look at http://www.educat.hu-berlin.de/~voss/lyx/equnarray/PolDiv.html maybe that there is a special latex package. search at ctan. Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Docbook
Jose Abilio Oliveira Matos a écrit : > > On Mon, Oct 23, 2000 at 05:12:35PM +0200, Philippe JAOUEN wrote: > > > > > > I cannot have m superscript 3 (m^3) on printed or html pages. > > > > > > Could you send a small example where that happens. > > > > > --- lyx file SGML > > \layout Standard > > > > réglage capacité 3,3 > > \begin_inset Formula \( \textrm{m}^{3} \) > > \end_inset > > > > \latex latex > > > > \latex default > > azer > > \layout Standard > > --- sgml file > > > > réglage capacité 3,3 azer > > > > -- > > the ps output does not contain m superscript 3 > > the same lyx file with article layout gives a correct ps output > > How do you translate math to docbook? > The only option is to do it with an extension of MathML to Docbook. > > This option is emerging as the real choice, and I will try to implement it > in lyx. I will wait for the new mathed, I had some mail exchange some time > ago with Alejandro regarding this. > > For now lyx ignores the output of any math formula, maybe a better alternative > would be to export the formulas as text. What do you think? What do others > think? > Is it necessary to use Math in order to have only superscript and subscript (m3 or CO2) ?
bug in lyx1.1.6pre1 -> include file..
When I do a Insert->Include file and insert an other lyx file this information is written like this in the lyx-file format: \layout Standard \begin_inset Include \Include{file.lyx} \end_inset It should be without a capital in the second Include: \begin_inset Include \include{file.lyx} Probably a very easy to fix bug! BTW. Is this a good way to post bugs, or should I send this to an official bug list to have this bug being processed? Good luck, Kees
Re: Docbook
On Mon, Oct 30, 2000 at 10:55:21AM +0100, Philippe JAOUEN wrote: > > Is it necessary to use Math in order to have only superscript and > subscript (m3 or CO2) ? That is the logical thing to do. IMO. Meanwhile docbook has support for subscript and superscript, like: Thirsty? Have some H2O. here the and should be in latex (that in this case means sgml) font. The same applies to superscript. I don't know however if the html will show the resulting look. -- José
Re: Docbook
Jose Abilio Oliveira Matos a écrit : > > On Mon, Oct 30, 2000 at 10:55:21AM +0100, Philippe JAOUEN wrote: > > > > Is it necessary to use Math in order to have only superscript and > > subscript (m3 or CO2) ? > > That is the logical thing to do. IMO. > > Meanwhile docbook has support for subscript and superscript, like: > > Thirsty? Have some H2O. > > here the and should be in latex (that in this > case means sgml) font. The same applies to superscript. > > I don't know however if the html will show the resulting look. The result is correct for ps and html outputs Thanks -- Salutations Philippe JAOUEN
Fwd: Re: kdvi-Problem (solved)
On Sonntag, 29. Oktober 2000 23:15, you wrote: > Hi, > > today I have installed the brand new KDE2. The new kdvi - viewer seems to > not understand the "-paper" option, which is send by lyx to the viewer-app. > Kdvi fails to show the dvi-preview. > Has somebody an idea, how to get lyx to work with the kde2-dvi-viewer ? > > Thanks for help, > Torsten. Hi, i solved the Problem with a little shell script: #!/bin/sh kdvi $3 & and thats all ! I named this kdvi2 and changed my lyxrc that it now use kdvi2 instead of kdvi. The bad thing is, that the new kdvi seems to have problems with eps-figures ... CU, Torsten. -- Torsten Hahn Agricolastr. 14-16 / Zi. 6111A / 09599 Freiberg (Germany) mail: [EMAIL PROTECTED]
Fancy letterheadings
Hi, I have tried RTFM, but I don't see it. I want to make a standard letter , which includes a company logo top left, followed by the company details in the rest of two header lines. Obviously this is just needed on the first page of any letter. Since this seems such a normal way of doing things, I thought I would be able to find this in LyX too. Of course, I don't just want LyX for this, but if I'm going to use it for documents, I might as well make it all documents. Thanks in advance Robert -- Robert Bradford, Holestone Lodge, Muckhart, Dollar, FK14 7JW UK Telephone: +44-1259-781-601 Facsimile: +44-1259-781-575 Email: [EMAIL PROTECTED] URL: http://www.digit.demon.co.uk
redhat-7.0 anybody?
Hi, Before I mail to the developers list, I would like to share some redhat-7.0 problems with LyX, to see if anybody has hacked a way around them. If not, here is a story for you to be ware of potential problems. You might be left without a working LyX. I updated to redhat-7.0 and compiled LyX 1.1.5fix2 and kept on using LyX without any troubles. But then I updated my system with everything from the update directory from a redhat mirror: pub/redhat/updates/7.0/i386/. Among the updates is glibc-2.1.94-3 for the redhat gcc-2.96-54 release (funny, the guys at gnu say there is no such thing as gcc-2.96). After updating, LyX 1.1.5fix2 will crash without even a core dump if there is any included file in the lyx document you try to open. If you create a new document and press the include menu: it crashes the same way. That is as far as I got before I tried to recompile. With the updated glibc, compilation of LyX 1.1.5.fix2 fails, as well as compilation of 1.1.6pre1. Has anyone had any luck with the shapshot versions of klyx? Edscott Wilson Garcia Compilation details: (redhat-7.0 kernel=2.2.16-22) I try to recompile LyX 1.1.5fix2 and it fails with: -- g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -isystem /usr/X11R6/include -g -O2 -fno-rtti -fno-exceptions -c formula.C -o formula.o In file included from formula.C:20: /usr/include/g++-3/sstream: In method `string stringstreambase::str () const': /usr/include/g++-3/sstream:102: taking dynamic typeid of object with -fno-rtti /usr/include/g++-3/sstream: In method `void stringstreambase::str (const string &)': /usr/include/g++-3/sstream:107: taking dynamic typeid of object with -fno-rtti make[3]: *** [formula.lo] Error 1 make[3]: Leaving directory `/home/system/src/lyx-1.1.5fix2/src/mathed' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/system/src/lyx-1.1.5fix2/src' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/home/system/src/lyx-1.1.5fix2/src' make: *** [all-recursive] Error 1 -- O well, I guess I should try LyX 1.1.6pre1. But here again it fails with: -- g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-rtti -fno-exceptions -W -Wall -Wconversion -Winline -c formula.C -o formula.o In file included from ../../src/Lsstream.h:17, from formula.C:19: /usr/include/g++-3/sstream: In method `string stringstreambase::str () const': /usr/include/g++-3/sstream:102: taking dynamic typeid of object with -fno-rtti /usr/include/g++-3/sstream: In method `void stringstreambase::str (const string &)': /usr/include/g++-3/sstream:107: taking dynamic typeid of object with -fno-rtti /usr/include/g++-3/sstream: In method `int stringbuf::sync ()': /usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned integer expressions In file included from formula.C:30: ../../src/minibuffer.h: At top level: ../../src/minibuffer.h:17: using directive `Object' introduced ambiguous type `_ObjectRec *' make[3]: *** [formula.lo] Error 1 make[3]: Leaving directory `/home/system/src/lyx-1.1.6pre1/src/mathed' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/system/src/lyx-1.1.6pre1/src' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/home/system/src/lyx-1.1.6pre1/src' make: *** [all-recursive] Error 1 -- So let's try the klyx snapshot of 20001005. It compiles OK, but when I try to execute, it fails to run with: klyx: kcmdlineargs.cpp:140: void KCmdLineArgs::init (int, char **, const KAboutData *, bool): Assertion `argsList == 0' failed. Aborted --- Oh-oh. I'm off to get a more recent snapshop, but ftp.kde.org seems to be overloaded. Back to redhat-6.2?
Re: Fancy letterheadings
robert wrote: > > I want to make a standard letter , which includes a company logo top > left, followed by the company details in the rest of two header lines. > Obviously this is just needed on the first page of any letter. > > Since this seems such a normal way of doing things, I thought I would be > able to find this in LyX too. Of course, I don't just want LyX for this, > but if I'm going to use it for documents, I might as well make it all > documents. have a look at package fancyhdr, availabe at http://www.dante.de examples at http://www.educat.hu-berlin.de/~voss/lyx/LyXTips.html#logo_1 Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: problems with .eps-files
> IIRC gs adjust the bbox when you convert eps -> eps. Try > gs -dBATCH -sDEVICE=epswrite -sOutputFile=new.eps old.eps What about this? #!/bin/sh # eps2eps -- in order to correct bounding box # $Id: eps2eps,v 1.3 2000/10/29 23:38:18 matej Exp $ # $Log: eps2eps,v $ # Revision 1.3 2000/10/29 23:38:18 matej # TMP setting in true side of if. # # Revision 1.2 2000/10/29 23:35:34 matej # Correction of if command -- shit! # # Revision 1.1 2000/10/29 23:28:59 matej # Initial revision # if [ -z $2 ] then TMP=` mktemp /tmp/eps2eps.XX ` cp $1 $TMP INPUT=$TMP OUTPUT=$1 else INPUT=$1 OUTPUT=$2 fi gs -dBATCH -dNOPAUSE -sDEVICE=epswrite -sOutputFile=$OUTPUT $INPUT trap "rm $TMP* 2>/dev/null" 0
Subscript/Superscript
Hi, I'm not sub'd to the list so could you please reply to my email addy ([EMAIL PROTECTED]). How can I put some text into subscript/superscript using lyx? I had hoped there would be something under the character formatting options but I can't see anything - I assume I have to use some raw latex maybe? Also - how does one setup custom headers/footers for documents? Do I have to edit and use a custom layout or something? Mark
Re: Subscript/Superscript
On Tue, 31 Oct 2000, Mark Derricutt wrote: > How can I put some text into subscript/superscript using lyx? I had hoped > there would be something under the character formatting options but I > can't see anything - I assume I have to use some raw latex maybe? Use math mode - something like "M-m m _" to start a subscript, "M-m m ^" to start a superscript. > Also - how does one setup custom headers/footers for documents? Do I have > to edit and use a custom layout or something? See section 1.7 of the Extended Features manual. Mike -- Mike Ressler [EMAIL PROTECTED] OK, I'm lame: I don't have my own website ...
printing < and >
Good day. When I use a greater-than sign in a lyx document and try to build the dvi, I get the following error: Undefined control sequence. jh \textgreater {} The control sequence at the end of the top line of your error message was never \def'ed. Similar outcome with the less-than sign. What is the best way to fix this? Also, how could I have found the answer for myself? I looked in the docs, but didn't find anything with Edit |> Find... I'm using LyX version 1.1.5fix2. It was built with xforms-088 and libxpm 3.4k, on Irix 6.5. My latex uses TeX Version 3.1415 (C version 6.1). Thanks in advance. Aaron
Re: printing < and >
Aaron Maxwell <[EMAIL PROTECTED]> writes: | I'm using LyX version 1.1.5fix2. It was built with xforms-088 | and libxpm 3.4k, on Irix 6.5. My latex uses TeX Version 3.1415 (C version | 6.1). What does "latex -version" say? I suspect that your (La)TeX distribution is really old. Lgb
Re: redhat-7.0 anybody?
Try this: Find "sstream" in configure and configure.in and get rid of it... Rebuild. YMMV. edscott wrote: > > Hi, > > Before I mail to the developers list, I would like to share some redhat-7.0 > problems with LyX, to see if anybody has hacked a way around them. If not, > here is a story for you to be ware of potential problems. You might be left > without a working LyX. > > I updated to redhat-7.0 and compiled LyX 1.1.5fix2 and kept on using LyX > without any troubles. But then I updated my system with everything from the > update directory from a redhat mirror: pub/redhat/updates/7.0/i386/. Among > the updates is glibc-2.1.94-3 for the redhat gcc-2.96-54 release (funny, the > guys at gnu say there is no such thing as gcc-2.96). > > After updating, LyX 1.1.5fix2 will crash without even a core dump if there is > any included file in the lyx document you try to open. If you create a new > document and press the include menu: it crashes the same way. That is as far > as I got before I tried to recompile. > > With the updated glibc, compilation of LyX 1.1.5.fix2 fails, as well as > compilation of 1.1.6pre1. Has anyone had any luck with the shapshot versions > of klyx? > > Edscott Wilson Garcia > > > > Compilation details: > > (redhat-7.0 kernel=2.2.16-22) > > I try to recompile LyX 1.1.5fix2 and it fails with: > -- > g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -isystem > /usr/X11R6/include -g -O2 -fno-rtti -fno-exceptions -c formula.C -o formula.o > In file included from formula.C:20: > /usr/include/g++-3/sstream: In method `string stringstreambase::str () > const': > /usr/include/g++-3/sstream:102: taking dynamic typeid of object with > -fno-rtti > /usr/include/g++-3/sstream: In method `void stringstreambase::str > (const string &)': > /usr/include/g++-3/sstream:107: taking dynamic typeid of object with > -fno-rtti > make[3]: *** [formula.lo] Error 1 > make[3]: Leaving directory `/home/system/src/lyx-1.1.5fix2/src/mathed' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/system/src/lyx-1.1.5fix2/src' > make[1]: *** [all-recursive-am] Error 2 > make[1]: Leaving directory `/home/system/src/lyx-1.1.5fix2/src' > make: *** [all-recursive] Error 1 > -- > > O well, I guess I should try LyX 1.1.6pre1. But here again it fails with: > -- > > g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. > -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-rtti > -fno-exceptions -W -Wall -Wconversion -Winline -c formula.C -o formula.o > In file included from ../../src/Lsstream.h:17, > from formula.C:19: > /usr/include/g++-3/sstream: In method `string stringstreambase::str () > const': > /usr/include/g++-3/sstream:102: taking dynamic typeid of object with > -fno-rtti > /usr/include/g++-3/sstream: In method `void stringstreambase::str > (const string &)': > /usr/include/g++-3/sstream:107: taking dynamic typeid of object with > -fno-rtti > /usr/include/g++-3/sstream: In method `int stringbuf::sync ()': > /usr/include/g++-3/sstream:171: warning: comparison between signed and > unsigned > integer expressions > In file included from formula.C:30: > ../../src/minibuffer.h: At top level: > ../../src/minibuffer.h:17: using directive `Object' introduced > ambiguous type `_ObjectRec *' > make[3]: *** [formula.lo] Error 1 > make[3]: Leaving directory `/home/system/src/lyx-1.1.6pre1/src/mathed' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/system/src/lyx-1.1.6pre1/src' > make[1]: *** [all-recursive-am] Error 2 > make[1]: Leaving directory `/home/system/src/lyx-1.1.6pre1/src' > > make: *** [all-recursive] Error 1 > -- > > So let's try the klyx snapshot of 20001005. It compiles OK, but when I try to > execute, it fails to run with: > > klyx: kcmdlineargs.cpp:140: void KCmdLineArgs::init (int, char **, const > KAboutData *, bool): Assertion `argsList == 0' failed. > Aborted > --- > > Oh-oh. I'm off to get a more recent snapshop, but ftp.kde.org seems to be > overloaded. Back to redhat-6.2? -- Wai-Sun "Squidster" Chia Unix/Web Developer Professional Services
Re: printing < and >
Aaron Maxwell wrote: > > Good day. When I use a greater-than sign in a lyx document and try to > build the dvi, I get the following error: > >Undefined control sequence. > jh \textgreater > {} >The control sequence at the end of the top line of >your error message was never \def'ed. what happens, when you use $\leq\geq$ in tex (red)? if you get an error message, too, can you send a minimal lyx-examplefile? Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Subscript/Superscript
Mark Derricutt wrote: > > Hi, I'm not sub'd to the list so could you please reply to my email addy > ([EMAIL PROTECTED]). > > How can I put some text into subscript/superscript using lyx? I had hoped > there would be something under the character formatting options but I > can't see anything - I assume I have to use some raw latex maybe? if you want real TEXT-super/subscript \newcommand\sups[1]{\raisebox{1ex}{\small #1}} \newcommand\subs[1]{\raisebox{-1ex}{\small #1}} e.g. 8\sups{th} Floor coefficient x\subs{3} > Also - how does one setup custom headers/footers for documents? Do I have > to edit and use a custom layout or something? use package fancyhdr Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
lyx-1.1.5fix1 on RH7.0
I've managed to successfully compile 1.1.5fix1 on my RH7.0 system (there's a workaround at RH's bugzilla site). But it coredumps every time I hit "view dvi"... Anybody else has seen this? BTW, I tried the same workaround on 1.1.5fix2, but that didn't work, got an "Internal compiler error"! [waisun@caspar waisun]$ gdb /usr/bin/lyx GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (no debugging symbols found)... (gdb) r Starting program: /usr/bin/lyx Program received signal SIGSEGV, Segmentation fault. 0x40047246 in ostream::operator<< (this=0x7d, c=125 '}') at ../../../libio/iostream.h:52 52 ../../../libio/iostream.h: No such file or directory. Current language: auto; currently c++ (gdb) where #0 0x40047246 in ostream::operator<< (this=0x7d, c=125 '}') at ../../../libio/iostream.h:52 #1 0x813b07a in fl_set_button () #2 0x813b4fa in fl_set_button () #3 0x8129449 in fl_set_button () #4 0x80f06f8 in fl_set_button () #5 0x80ee0a1 in fl_set_button () #6 0x80ecf2e in fl_set_button () #7 0x807aa76 in fl_set_button () #8 0x807a020 in fl_set_button () #9 0x807eea1 in fl_set_button () #10 0x80a206c in fl_set_button () #11 0x80a2e80 in fl_set_button () #12 0x80a2fbf in fl_set_button () #13 0x80a45e9 in fl_set_button () #14 0x80c134a in fl_set_button () #15 0x80deee7 in fl_set_button () #16 0x400818bf in fl_object_qread () from /usr/X11R6/lib/libforms.so.0.88 #17 0x4008fb8e in fl_check_forms () from /usr/X11R6/lib/libforms.so.0.88 #18 0x80b480d in fl_set_button () #19 0x80b5bbc in fl_set_button () #20 0x80dcfae in fl_set_button () #21 0x40130e21 in __libc_start_main (main=0x80dced0 , ---Type to continue, or q to quit--- argc=1, ubp_av=0xb654, init=0x804d7b4 <_init>, fini=0x8194c50 <_fini>, rtld_fini=0x4000df94 <_dl_fini>, stack_end=0xb64c) at ../sysdeps/generic/libc-start.c:111 (gdb) -- Wai-Sun "Squidster" Chia Unix/Web Developer Professional Services
Re: bug in lyx1.1.6pre1 -> include file..
On Monday 30 October 2000 21:02, Lars Gullik Bjønnes wrote: > Kees van Wijk <[EMAIL PROTECTED]> writes: > | When I do a > | > | Insert->Include file > | and insert an other lyx file this information is written like this in the > | lyx-file format: > | > | \layout Standard > | > | \begin_inset Include \Include{file.lyx} > | > | \end_inset > | > | It should be without a capital in the second Include: > | > | \begin_inset Include \include{file.lyx} > | > | > | Probably a very easy to fix bug! > | > | BTW. Is this a good way to post bugs, or should I send this to an > | official bug list to have this bug being processed? > > You should at least use [EMAIL PROTECTED] > > Can you try this: manually edit the .lyx file and change \Include to > \include, load the file into lyx, save the file. Has \include changed > back to \Include? > > Lgb Yes, manually editing works fine and \include didn't change back into \Include. The other (old) \incude included files were OK from the start anyway. I found the problem by looking directly at the .lyx file with a "normal" editor in the first place. (After lyx gave some errors concerning the \Include when view ps was invoked.)
Re: bug in lyx1.1.6pre1 -> include file..
Kees van Wijk <[EMAIL PROTECTED]> writes: | When I do a | | Insert->Include file | and insert an other lyx file this information is written like this in the | lyx-file format: | | \layout Standard | | \begin_inset Include \Include{file.lyx} | | \end_inset | | It should be without a capital in the second Include: | | \begin_inset Include \include{file.lyx} | | | Probably a very easy to fix bug! | | BTW. Is this a good way to post bugs, or should I send this to an official | bug list to have this bug being processed? You should at least use [EMAIL PROTECTED] Can you try this: manually edit the .lyx file and change \Include to \include, load the file into lyx, save the file. Has \include changed back to \Include? Lgb