Re: wild development ideas
>>Date: Wed, 15 Mar 2000 09:22:35 +0200 >>From: Tuukka Toivonen <[EMAIL PROTECTED]> >>To: Andre Poenitz <[EMAIL PROTECTED]> >>cc: [EMAIL PROTECTED] >>Subject: Re: wild development ideas >> >>On Tue, 14 Mar 2000, Andre Poenitz wrote: >> >>> The problem is parsing. First you have to convert from >>> LyX formula (sort of LaTeX) to Maple syntax which is *not* trivial >>> since LaTeX does not preserve the logical structure of the formula >> >>Yes, but from LyX ro Octave/Scilab should be actually very easy. Just take >>a LyX matrix and the conversion to Scilab/Octave is very >>straightforward. Place the converted data to clipboard. Now just press the >>middle button to paste it to Scilab/Octave. I really don't see the point of being able to write matlab code from LyX; it seems much more efficient to do the other way round: create LyX or LaTeX code from matlab and import it with input. Working this way allows to update freely the input by running the math numeric interpreter. This technique allows also to import graphics and tables. The problem of math import from outside LyX is more intricated for three reasons: - the typography is complex; - the macroprogrammation which comes with TeX math mode: importing pieces of code forbids reuse of macrocommands; this is a minor point if the code import is efficient beacuse you don't care much about code duplication then; - as is, the math mode of (La)TeX is really different from the one produced by mathed because the latter does mot allow to reenter in text mode and then in math mode, even with ERT. So as things are now, Maple e.g. can export to (La)TeX, but going one step further towards LyX without any ERT in the result does not work (just run reLyX to check). Using macros helps in that translation, but LyX lacks currently a user defined math panel which would made tractable a big set of macros. Of course, as it has been said elsewhere in the thread, XML/LaTeX is an issue (there must be a workshop or a symposium about it next May). Regards -- Jean-Pierre
Re: wild development ideas
> Offtopic, but I wonder is MuPad/Maple better than Maxima? I personally > believe they are not but this is just a belief. Well, MuPAD is more or less free, Maple costs. The other day my boss installed MuPAD and told me afterwards that its far from Maple's capabilities. I do trust him in this case ;-) I can't compare any of them to Maxima though... Andre' -- It'll take a long time to eat 63.000 peanuts. André Pönitz . [EMAIL PROTECTED]
Re: Compilation of Lyx 1.1.4
> Which development packages are meant In case of SuSE 6.2 this should be xdevel-3.3.4-11.rpm or the xdevel.rpm on your CD. Use yast or rpm to install it. > why does Lyx 1.0.1 run fine? Because it SuSE ships it in binary form so the X headers are not needed. Andre' PS: > --=_NextPart_000_000F_01BF8E0A.AF911000 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Please refrain from using HTML attachments in Mail and News. -- It'll take a long time to eat 63.000 peanuts. André Pönitz . [EMAIL PROTECTED]
Re: wild development ideas
On Tue, 14 Mar 2000, Andre Poenitz wrote: > The problem is parsing. First you have to convert from > LyX formula (sort of LaTeX) to Maple syntax which is *not* trivial > since LaTeX does not preserve the logical structure of the formula Yes, but from LyX ro Octave/Scilab should be actually very easy. Just take a LyX matrix and the conversion to Scilab/Octave is very straightforward. Place the converted data to clipboard. Now just press the middle button to paste it to Scilab/Octave. Maxima would be harder, it seems not to be capable of even exporting LaTeX :( I don't think it would be that difficult for simpler cases, tough. > So if you come up with a decent LaTeX parser in C++ I am willing to > implement the easy parts ;-) So you need LaTeX2Maxima? I'll try to look at it if I have time. Another two things Maxima needs are Maxima2LaTeX and GNU readline. My LISP skills are just quite poor :( (Macsyma/Maxima is written in Common Lisp). Offtopic, but I wonder is MuPad/Maple better than Maxima? I personally believe they are not but this is just a belief.
Re: Compilation of Lyx 1.1.4
On Tue, Mar 14, 2000 at 11:11:53PM +0100, Dirk Feyerabend wrote: > I'm running Lyx 1.0.1 on SUSE 6.2. Recently I wanted to upgrade to > 1.1.4. But if I try to run "./configure" I get the following > error. X-Libraries not found. If you work under Linux check wether > you have the development-packages installed. > Which development packages are meant by that and why does Lyx 1.0.1 run fine? ---end quoted text--- SuSE often splits libraries in to rpm files. One with the "core" library file (that is used by the linker for executing programs which use the lib) and another with the .h header files for compilation of programs. SuSE default is installation of the core, no development rpms. HTH Frank -- Frank Derichsweiler Please *NO* CC. I read the mailing list!
Re: symbol R for real numbers
On Tue, 14 Mar 2000, you wrote: > Hallo, > > how can I include the R for real numbers (and the N for integer numbers): > I want to write in math: x element of R Go into math mode .. type \Re. There's also \Im ad others. I don't know which N you're talking about. There is \aleph; we use it to represent noise in communications systems.
Re: not-so-wild wild development ideas
Norm Matloff <[EMAIL PROTECTED]> writes: | Here is something which is relatively easy to implement but which I | believe would be helpful to many people: A word-completion feature | in the LyX editor, like those of various other editors. | | For example, suppose I wish to type the word "realization", and it | already exists elsewhere in my document. I could just type, say, | "reali" and hit a word-completion key and the editor would expand | "reali" to the next word which begins with those letters. a patch will be accepted :-) Lgb
Compilation of Lyx 1.1.4
Hi, I'm running Lyx 1.0.1 on SUSE 6.2. Recently I wanted to upgrade to 1.1.4. But if I try to run "./configure" I get the following error. X-Libraries not found. If you work under Linux check wether you have the development-packages installed. Which development packages are meant by that and why does Lyx 1.0.1 run fine?
Re: One small help...[ Koul ]
> Sir, while the command \fbox of latex works properly for some arguments, it does > not work for all. Suppose, while it works for arguments like \fbox{xy=2}, it may > not work for complex arguments involving fractions and complex math-equations. > I am not able view a box around the mathematical expression in the corresponding > .ps file. did you write the mathimatics expressions in mathomde, like this one \fbox{$\frac{3}{7x}$} on the other hand you can insert a math-formula with LyX: \fbox{ math->formula } Herbert -- [EMAIL PROTECTED] http://www.perce.de/voss
Re: wild development ideas
The idea is implemented in Scientific Workplace (www.tcisoft.com) There it is possible to use Maple or Mathematica from a latex(2.09)-shell. Isn't is possible to use Mathematica from MS-word as well (Wolfram should have a addon for that??) Would indeed be nice to use Scilab or MuPAD or Maxima (whatever free math-program) or proprietary programs such as Maple or Mathematica from LyX. (By the way Maple 6 is out). MuPAD would be quite nice as it is like Maple. The future lies in nice programs that can import and export XML - files anyway. A nice LyX with full XML filtering capabilities would be in good demand and important in a survival game. This message is of course cheap talk. (= Wild ideas without a single line of code) . Best, Staffan.
One small help...[ Koul ]
Sir, I want one small help in Lyx. Sir, while the command \fbox of latex works properly for some arguments, it does not work for all. Suppose, while it works for arguments like \fbox{xy=2}, it may not work for complex arguments involving fractions and complex math-equations. I am not able view a box around the mathematical expression in the corresponding .ps file. Sincerely yours, [ Rakesh Koul ]
not-so-wild wild development ideas
Here is something which is relatively easy to implement but which I believe would be helpful to many people: A word-completion feature in the LyX editor, like those of various other editors. For example, suppose I wish to type the word "realization", and it already exists elsewhere in my document. I could just type, say, "reali" and hit a word-completion key and the editor would expand "reali" to the next word which begins with those letters. Norm Matloff
Re: wild development ideas
Andre Poenitz wrote: > > > Sounds truly wild. If these programms have a scripting or macro > > language, > > Most of the interesting programs are scriptable. Maple e.g: > > echo "lprint(expand((x+1)^3));" | maple -q > > --> x^3+3*x^2+3*x+1 > > The problem is parsing. First you have to convert from > LyX formula (sort of LaTeX) to Maple syntax which is *not* trivial > since LaTeX does not preserve the logical structure of the formula > - just think about indices etc. Calling Maple is the easy part. > Converting back to LaTeX is not difficult either: > > echo "latex(expand((x+1)^3));" | maple -q > > --> {x}^{3}+3\,{x}^{2}+3\,x+1 > > So if you come up with a decent LaTeX parser in C++ I am willing to > implement the easy parts ;-) > > Andre' > > PS: The LyX server is not of much help in this scenario. There is a standard called MathML, this excerpt seems relevant: *** Maple: A computer algebra system from Waterloo Maple Inc. Has demonstrated import, export and evaluation of MathML content expressions. Future support for generation and rendering. http://www.maplesoft.com Mathematica: A computer algebra system from Wolfram Research Inc. Will support rendering and output of MathML. http://www.wolfram.com Is automatic translation to and from LaTeX possible ? Is there anything available which does it ? Generation of MathML from that in LaTeX documents (presentation and content) is certainly possible. Organisations working on this problem include University of Western Ontario,and the AMS and SIAM. *** This is from the MathML faq at: http://www.w3.org/Math/mathml-faq.html#tools I have no idea about Scilab, Octave, or MuPad. The Scilab people are active though and I would expect them to support a standard. An interesting problem in computer theory. Two different syntactical designs covering the same semantic object: how to translate. There probably is no standard program. Even if both syntactical designs are BNF defined. Ray
Re: follow-up (!)
On Tue, Mar 14, 2000 at 04:07:41PM +, Tony Dancer wrote: > > > Program received signal SIGABRT, Aborted. > 0x401ea4e1 in __kill () from /lib/libc.so.6 > > I get this in GDB when i do `continue' -- sorry for the self-followup, > but I am really finding my way round GDB in the dark, so to speak. > Hi Tony, Try "info gdb". It should bring up the online gdb manual. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: symbol R for real numbers
Torsten Mueller wrote: > > Hallo, > > how can I include the R for real numbers (and the N for integer numbers): > I want to write in math: x element of R > > I have tried it with usepackage{amssymb} and then \Bbb{R}, but this > gives error messages when it comes to the table of contents. try $\Bbb{R}$ or any other delimiter it's in mathmode, so $ is needed. for better results, choose package dsfont and than $\mathds{R}$ or $\mathds{N}$ or any other letter. if it's not installed, than get doublestroke.zip from ctan or dante. Herbert -- [EMAIL PROTECTED] http://www.perce.de/voss
Re: symbol R for real numbers
Torsten Mueller wrote: > Hallo, > > how can I include the R for real numbers (and the N for integer numbers): > I want to write in math: x element of R > > I have tried it with usepackage{amssymb} and then \Bbb{R}, but this > gives error messages when it comes to the table of contents. > > Thanks, > Torsten \usepackage{bbm} in the preamble, then you can use \mathbbm{R}, \mathbbm{N}, Greets, Alex.
Re: wild development ideas
> Sounds truly wild. If these programms have a scripting or macro > language, Most of the interesting programs are scriptable. Maple e.g: echo "lprint(expand((x+1)^3));" | maple -q --> x^3+3*x^2+3*x+1 The problem is parsing. First you have to convert from LyX formula (sort of LaTeX) to Maple syntax which is *not* trivial since LaTeX does not preserve the logical structure of the formula - just think about indices etc. Calling Maple is the easy part. Converting back to LaTeX is not difficult either: echo "latex(expand((x+1)^3));" | maple -q --> {x}^{3}+3\,{x}^{2}+3\,x+1 So if you come up with a decent LaTeX parser in C++ I am willing to implement the easy parts ;-) Andre' PS: The LyX server is not of much help in this scenario. -- It'll take a long time to eat 63.000 peanuts. André Pönitz . [EMAIL PROTECTED]
Re: crashing part 2
> "Tony" == Tony Dancer <[EMAIL PROTECTED]> writes: Tony> (gdb) backtrace #0 0x80f9115 in ?? () #1 0x80f5076 in ?? () #2 Tony> 0x80bbdc9 in ?? () #3 0x80b6732 in ?? () #4 0x806329d in ?? () Tony> #5 0x8063330 in ?? () #6 0x40046083 in pre_emptive_consumed () Tony> from /usr/lib/libforms.so.0.88 #7 0x40045380 in Tony> do_interaction_step () from /usr/lib/libforms.so.0.88 #8 Tony> 0x40045b49 in fl_treat_interaction_events () from Tony> /usr/lib/libforms.so.0.88 #9 0x40045b84 in fl_check_forms () Tony> from /usr/lib/libforms.so.0.88 #10 0x80a981d in ?? () #11 Tony> 0x80aab1b in ?? () #12 0x80ce745 in ?? () #13 0x401e41eb in Tony> __libc_start_main (main=0x80ce6a0, argc=2, argv=0xb8b4, Tony> init=0x804d73c, fini=0x814d078, rtld_fini=0x4000a610 <_dl_fini>, Tony> stack_end=0xb8ac) at ../sysdeps/generic/libc-start.c:90 Tony> does this backtrace help? I obtained it by running lyx 1.1.4fix1 Tony> under gdb and when it crashed I typed backtrace. I does not help much, because your lyx does not have debug symbols built-in. I think kayvan has a debug enabled rpm on his site. Tony> The crash was not the normal one, but one thing it (perhaps Tony> coincidentally) has with the crash where lyx dissapears from my Tony> screen entirely (this one is more of a `hang' but perhaps thats Tony> because its under gdb) is that there was alot of rapid cursor, Tony> keystroke and mouse movement. It was still a SIGSEV tho. Tony> Any ideas what's going on? Hmm, you were probably using backspace when it crashed. I hope you were, in any case, since this is one reproducible bug we have (without fix, alas). JMarc
symbol R for real numbers
Hallo, how can I include the R for real numbers (and the N for integer numbers): I want to write in math: x element of R I have tried it with usepackage{amssymb} and then \Bbb{R}, but this gives error messages when it comes to the table of contents. Thanks, Torsten
follow-up (!)
Program received signal SIGABRT, Aborted. 0x401ea4e1 in __kill () from /lib/libc.so.6 I get this in GDB when i do `continue' -- sorry for the self-followup, but I am really finding my way round GDB in the dark, so to speak. tony --- < Previously, I wrote.> (gdb) backtrace #0 0x80f9115 in ?? () #1 0x80f5076 in ?? () #2 0x80bbdc9 in ?? () #3 0x80b6732 in ?? () #4 0x806329d in ?? () #5 0x8063330 in ?? () #6 0x40046083 in pre_emptive_consumed () from /usr/lib/libforms.so.0.88 #7 0x40045380 in do_interaction_step () from /usr/lib/libforms.so.0.88 #8 0x40045b49 in fl_treat_interaction_events () from /usr/lib/libforms.so.0.88 #9 0x40045b84 in fl_check_forms () from /usr/lib/libforms.so.0.88 #10 0x80a981d in ?? () #11 0x80aab1b in ?? () #12 0x80ce745 in ?? () #13 0x401e41eb in __libc_start_main (main=0x80ce6a0, argc=2, argv=0xb8b4, init=0x804d73c, fini=0x814d078, rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xb8ac) at ../sysdeps/generic/libc-start.c:90 does this backtrace help? I obtained it by running lyx 1.1.4fix1 under gdb and when it crashed I typed backtrace. The crash was not the normal one, but one thing it (perhaps coincidentally) has with the crash where lyx dissapears from my screen entirely (this one is more of a `hang' but perhaps thats because its under gdb) is that there was alot of rapid cursor, keystroke and mouse movement. It was still a SIGSEV tho. Any ideas what's going on? Tony
Re: wild development ideas
Tuukka Toivonen wrote: > > Now, why not integrate[1] Maxima and maybe Octave too to LyX? Imagine > writing an equation in LyX, and selecting "solve" from Math menu and your > equation would be solved? > > In any case, some automatic way to transfer data between > Maxima<->Octave<->Scilab<->LyX would be great. It's not nice to copy all > the numbers by hand between Scilab and LyX, nor formulas between Maxima > and LyX. Sounds truly wild. If these programms have a scripting or macro language, they could communicate with Lyx through what is called the Lyx Server. Using this, you could implement macros that tell or ask Lyx something. Timm
crashing part 2
(gdb) backtrace #0 0x80f9115 in ?? () #1 0x80f5076 in ?? () #2 0x80bbdc9 in ?? () #3 0x80b6732 in ?? () #4 0x806329d in ?? () #5 0x8063330 in ?? () #6 0x40046083 in pre_emptive_consumed () from /usr/lib/libforms.so.0.88 #7 0x40045380 in do_interaction_step () from /usr/lib/libforms.so.0.88 #8 0x40045b49 in fl_treat_interaction_events () from /usr/lib/libforms.so.0.88 #9 0x40045b84 in fl_check_forms () from /usr/lib/libforms.so.0.88 #10 0x80a981d in ?? () #11 0x80aab1b in ?? () #12 0x80ce745 in ?? () #13 0x401e41eb in __libc_start_main (main=0x80ce6a0, argc=2, argv=0xb8b4, init=0x804d73c, fini=0x814d078, rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xb8ac) at ../sysdeps/generic/libc-start.c:90 does this backtrace help? I obtained it by running lyx 1.1.4fix1 under gdb and when it crashed I typed backtrace. The crash was not the normal one, but one thing it (perhaps coincidentally) has with the crash where lyx dissapears from my screen entirely (this one is more of a `hang' but perhaps thats because its under gdb) is that there was alot of rapid cursor, keystroke and mouse movement. It was still a SIGSEV tho. Any ideas what's going on? Tony
wild development ideas
This would belong really to lyx-devel, but I'm not used to use that mailing list... I just found a _great_ symbolic mathematics program called Maxima. It's GNU version of Macsyma, which in turn is over 30 years old software. But it's great, comparable to Mathematica (well, I have never really used Mathematica but at least a lot better than Derive). The user interface isn't just that nice after all. Now, why not integrate[1] Maxima and maybe Octave too to LyX? Imagine writing an equation in LyX, and selecting "solve" from Math menu and your equation would be solved? In any case, some automatic way to transfer data between Maxima<->Octave<->Scilab<->LyX would be great. It's not nice to copy all the numbers by hand between Scilab and LyX, nor formulas between Maxima and LyX. I'm not proposing this do be done immediately, there are more important things to do now (bug fixes and a free GUI, Lesstif would be nice), but maybe sometime in future. We would then have a program superior to Mathematica... [1]Not necessary in the same binary but similarly like DDD is integrated with GDB and Ghostscript with Ghostview/GV.
Re: Wrap text around figure
> (And sometimes, text is printed over the figure in the standard > environnement ... ) Happened to me when i tried to add a high picture just before a chapter/section title. The text in the following section didn't get wrapped but overwritten to the image. Try moving the image just after the section title line.
Re: "Dedicated to..."
> "Emanuele" == Emanuele Olivetti <[EMAIL PROTECTED]> writes: Emanuele> How can I have a white page at the beginning of my thesis Emanuele> with only this sentence in center-right position: "Dedicated Emanuele> to my parents" or something similar ? Is there any Emanuele> possibility to do that under LyX? I see you thesis is progessing well :) Try the appended example. All the work is done in Layout->Paragraph for the 'dedicated' paragraph. Hope this helps. JMarc #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.15 \textclass article \language default \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Some stuff before \layout Standard \added_space_top vfill* \added_space_bottom vfill* \pagebreak_top \pagebreak_bottom \align right \emph on Dedicated to my parents \layout Standard Some stuff after \the_end
Re: "Dedicated to..."
Emanuele Olivetti wrote: > > How can I have a white page at the beginning of my thesis with only > this sentence in center-right position: "Dedicated to my parents" or > something similar ? Is there any possibility to do that under LyX? \newpage% only important, if it's not the first page \vspace*{\fill} \centering Dedicated to the one i love \vfill \newpage Herbert -- [EMAIL PROTECTED] http://www.perce.de/voss
"Dedicated to..."
How can I have a white page at the beginning of my thesis with only this sentence in center-right position: "Dedicated to my parents" or something similar ? Is there any possibility to do that under LyX? Thanks a lot Emanuele
Re: euro symbol
Ronald Florence wrote: > > Nabil Hathout writes: > > I use eurosym.sty and am satisfied by the typo. > > Hmmm. I fetched the eurosym.sty package from a TeX archive, installed > it in a teTeX directory, did texhash, put \usepackage{eurosym} in the > preface and \euro{} in the text in TeX mode ... and I get errors about > missing fonts. What else do I need to use the euro symbol in the text > of a LyX document? you have to copy the fonts, which are part of the eurosym-package, in the tex-fontdirectories or start texconfig and add the font directories. Herbert -- [EMAIL PROTECTED] http://www.perce.de/voss
Re: Using another language...
On Mon, 13 Mar 2000, Dragutin Cvetkovic wrote: > Greets, > > Well, the tiem has come when I finally have a very serious application > of the whole LyX/LaTeX software, and I have come upon two problems. > > The first problem is as follows: When I insert a table of contents, it > works just fine, except for the fact that it is written in english... is there > a way to translate the "Contents" string or change it in some way? How is it > done? Did you try to set the language of your document to a different but english (Layout -> Document -> Language) ? > > Another thing is that I have a table inserted in my document, however, > I cannot make lines within a document to break, I cant insert breaks in lines > in table cells... and this makes my table run out of the screen and paper... Is > there a way to remedy this as well? > Hm, I'm not quite sure whether I understood you: To insert a page break, just select Layout -> Paragraph and mark the option Pagebreak as you need it. Concerning a table: select it, choose Layout -> Table, specify a certain width per row and select the option Longtable. If you like to have linebreaks within one cell, select the option Linebreaks as well. > Thanx! > > D > Hope this helps. Regards Stephan -- Stephan E. Schlierf M.A. - Product Management - PHONE: ++49 9254 960632 FAX:++49 9254 960159 CSE GmbH Germany