Re: figures at the end of document
On Mon, Jun 16, 2003 at 08:57:20PM +0200, Alexandru Cabuz wrote: Thanks, I got it now. Also, one more highly technical question. IIRC this is a hard coded TeX limitation. What does IIRC stand for? Interestingly insofar as robust creativity...? I infer regarding this crap... ? IIRC 'IIRC' stands for 'if I remember correctly'. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Lighter Version
On Tue, Jun 17, 2003 at 12:26:41AM +0300, Robin Turner wrote: 1 - Is there a lighter version of LyX or a lighter program that works just like it? LyX itself is about as light as you can get - Well, it isn't. Believe me. LaTeX runs on a 512k DOS machine. LyX certainly does not. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Apendix numbering and bibliography formating
Hello! I have two small problems 1.if I do Layout-insert apendix new aded apendix is numbered 'A Apendix'. I would like to achive 'Apendix A'. How can I do that? 2.if I add bibliography with bibTeX all titles are formated to have capitalic at the begining and rest lowercase. I tried tons of .bst without luck. How can I just leave title 'as is' in database? Thanks in advance. wo
Re: Apendix numbering and bibliography formating
Marcin Bukat wrote: 2.if I add bibliography with bibTeX all titles are formated to have capitalic at the begining and rest lowercase. I tried tons of .bst without luck. How can I just leave title 'as is' in database? You must wrap the letters you'd like left alone in {} braces. Eg The {N}avier-{S}tokes equations I guess that you could wrap the whole thing {The Navier-Stokes equations}, but that is just a guess ;-) -- Angus
Re: Lighter Version
Tuukka Toivonen [EMAIL PROTECTED] wrote on 16/06/2003 (10:54) : Never use KDE nor Gnome unless you have 64 MB or so memory. No unless you have 128 Mb preferably 256 Mb. At least if you look at the latest versions. -- «It's probably worth pointing out that C's pointer arithmetic is not only dangerous, and a significant source of errors, but it also makes programs run slower.» - James Kanze on comp.lang.ada,comp.lang.c++.moderated
Re: how to? Curriculum Vitae
Jean-Marc.Lasgouttes There is a class named cv.cls distributed (and supported) with LyX. Jean-Marc.Lasgouttes You just have to move it from prefix/share/lyx/tex/cv.cls to Jean-Marc.Lasgouttes somewhere where latex will find it (as we say when we are too lazy to Jean-Marc.Lasgouttes give the whole solution). That works. Thank you. I wonder why these classes are not part of MiKTeX. Some bytes more should not matter on 500 MB ... Marcus
external script and lyx
Hi, I would like to know if it is possible to define a viewer, a converter, a custom_export_command or something else such that, with one click on a menu entry, the two following things are done when the file DIR/file.lyx is open in LyX: 1) DIR/file.lyx is exported in latex to DIR/file.tex 2) a bash script is run on DIR/file.tex (i.e. with the complete path) For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. Thank you very much Ph. C. P.S. excuse me if this message is send twice to the list. It seems that the first time I send it it was not delivred.
Re: external script and lyx
Charpentier Philippe wrote: Hi, I would like to know if it is possible to define a viewer, a converter, a custom_export_command or something else such that, with one click on a menu entry, the two following things are done when the file DIR/file.lyx is open in LyX: 1) DIR/file.lyx is exported in latex to DIR/file.tex 2) a bash script is run on DIR/file.tex (i.e. with the complete path) Add format Charpentier to the list of available formats using the Edit-Preferences dialog: (Qt) File Formats pane (xforms) Conversion-Formats tab folder Eg: Format: charpentier GUI name: Charpentier Shortcut: Extension: chp Viewer Press Modify and then Save Thereafter, define a converter LaTeX-Charpentier using the (Qt) Converters pane (xforms) Conversion-Converters tab folder For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. LyX should not crash. Please send a backtrace so that we can ascertain what is going wrong. Angus
Re: external script and lyx
On Tue, 17 Jun 2003 13:26:15 +0200 Andre Poenitz [EMAIL PROTECTED] wrote: On Tue, Jun 17, 2003 at 01:09:47PM +0200, Charpentier Philippe wrote: I would like to know if it is possible to define a viewer, a converter, a custom_export_command or something else such that, with one click on a menu entry, the two following things are done when the file DIR/file.lyx is open in LyX: 1) DIR/file.lyx is exported in latex to DIR/file.tex 2) a bash script is run on DIR/file.tex (i.e. with the complete path) For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. Define a new 'Format' 'vtex' in your preferences. Define a viewer for this format. Define a converter 'LaTeX - vtex' (basically the name of your script) Andre\ I tried the following: a new format: \format latexx tex LaTeX-X a new viewer: \viewer latexx $HOME/bin/LaTeX a new converter: \converter latex latexx $HOME/bin/LaTeX $$i (with $HOME= my home) then LaTeX-X appears in the view menu. But I get an error: the lyx file (file.lyx) is exported to latex format in the temp directory and my script is simply send on file.tex (without any path) which gives an error: it can't find it. Is it possible to send TEMPDIR/file.tex to the script instead of file.tex? Ph. C.
RE: glossary of terms?
try http://www.educat.hu-berlin.de/~voss/lyx/nomencl/nomencl.phtml If you need an example file let me know. Remzi -Original Message- From: Thomas CLive Richards [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 4:48 AM To: [EMAIL PROTECTED] Subject: glossary of terms? Is there planned support for a glossary of terms feature like MS Word has? So, you'd select a word, and click on glossary item, and then (in a popup window), enter a description of the word. In the back of your document, a glossary would build itself... This would be extremely useful to me, and i have an idea it could be done with an ERT or two, but i don't know a thing about latex, so that's of no use to me.. -- Thomi Richards, [EMAIL PROTECTED]
Re: external script and lyx
... For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. LyX should not crash. Please send a backtrace so that we can ascertain what is going wrong. Angus I posted a message on this subject on lyx-devel (on 27 May 2003, subject: Re: LyX and vTeX) here is: ... I did that for lyx-1.2.3 and lyx-1.3.2. Precisely I wrote \format pdf4 pdf PDF (vlatex) (in the FORMATS SECTION) and \converter latex pdf4 /usr/local/vtex/bin/vlatex $$i latex (in the CONVERTERS SECTION) With lyx-1.2.3 all is fine. But with lyx-1.3.2, if there is a latex error in the document, lyx crashes with the following output: lyx: /usr/include/g++-3/std/bastring.cc:126: basic_stringcharT, traits, Allocator basic_stringcharT, traits, Allocator::replace (unsigned int, unsigned int, const basic_stringcharT, traits, Allocator , unsigned int, unsigned int) [with charT = char, traits = string_char_traitschar, Allocator = __default_alloc_templatetrue, 0]: l'assertion `!(pos2 len2)' a échoué. /home/pcharpen/bin/monlyxqt: line 6: 8816 Abandon Why? Ph. C. More precisely: the test was made on a RedHat-7.2. Running lyx-1.3.2 with -dbg latex gives (with a \usepackage{al} in the preamble): Log line: ! LaTeX Error: File `al.sty' not found. lyx: /usr/include/g++-3/std/bastring.cc:126: basic_stringcharT, traits, Allocator basic_stringcharT, traits, Allocator::replace (unsigned int, unsigned int, const basic_stringcharT, traits, Allocator , unsigned int, unsigned int) [with charT = char, traits = string_char_traitschar, Allocator = __default_alloc_templatetrue, 0]: l'assertion `!(pos2 len2)' a échoué. Abandon The same test on a RedHat-8.0 gives, for BOTH lyx-1.2.3 and lyx-1.3.2, a crash of lyx with: Log line: ! LaTeX Error: File `al.sty' not found. Abandon Is this a bug in LyX? Ph. C. . Ph. C.
Re: how to? Curriculum Vitae
Marcus == Marcus Beyer [EMAIL PROTECTED] writes: Marcus That works. Thank you. Marcus I wonder why these classes are not part of MiKTeX. Some bytes Marcus more should not matter on 500 MB ... Because I have been too lazy to update this class to ctan (there is a name conflict with another class too). JMarc
Re: how to? Curriculum Vitae
On 2003-06-17, 10:11 GMT, Marcus Beyer wrote: I wonder why these classes are not part of MiKTeX. Some bytes more should not matter on 500 MB ... Probably, because nobody bothered to persuade MiKTeX maintainers, that they should them to the distribution. :-) Matej -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Re: external script and lyx
On Tue, 17 Jun 2003 14:46:31 +0200 Charpentier Philippe [EMAIL PROTECTED] wrote: On Tue, 17 Jun 2003 13:26:15 +0200 Andre Poenitz [EMAIL PROTECTED] wrote: On Tue, Jun 17, 2003 at 01:09:47PM +0200, Charpentier Philippe wrote: I would like to know if it is possible to define a viewer, a converter, a custom_export_command or something else such that, with one click on a menu entry, the two following things are done when the file DIR/file.lyx is open in LyX: 1) DIR/file.lyx is exported in latex to DIR/file.tex 2) a bash script is run on DIR/file.tex (i.e. with the complete path) For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. Define a new 'Format' 'vtex' in your preferences. Define a viewer for this format. Define a converter 'LaTeX - vtex' (basically the name of your script) Andre\ I tried the following: a new format: \format latexx tex LaTeX-X a new viewer: \viewer latexx $HOME/bin/LaTeX a new converter: \converter latex latexx $HOME/bin/LaTeX $$i (with $HOME= my home) then LaTeX-X appears in the view menu. But I get an error: the lyx file (file.lyx) is exported to latex format in the temp directory and my script is simply send on file.tex (without any path) which gives an error: it can't find it. Is it possible to send TEMPDIR/file.tex to the script instead of file.tex? Ph. C. It seems that I am wrong.. the script is run on file.tex but probably after a cd in TEMPDIR (my script needed the path to add [EMAIL PROTECTED] at the begening of file.tex, but this is done by lyx in TEMPDIR). Then I have to modify my script... Ph. C.
Lyx problem: Xlib: connection to :0.0 refused by server
Hello: I installed lyx-1.1.6fix4-133.i386.rpm and xforms-0.89-387.i386.rpm on my computer with SuSe8.2. When I run lyx files, everything went well except .ps image loading. Actually, it can load some .ps images but not totally; some .ps images can't be displayed (error message: Render Error). I also got these warning message: [EMAIL PROTECTED]:~ lyx Report.lyx Xlib: connection to :0.0 refused by server Xlib: XDM authorization key matches an existing client! Error: Couldn't find per display information GS [2171] error 256 E:1 1 S:0 0 but when view it as PDF file, all of .ps images are displayed and no problem. Would you please tell me what is wrong ? How can I fix it? Thanks in advance. Guijun
Re: external script and lyx
On Tue, 17 Jun 2003 17:05:32 +0200 Charpentier Philippe [EMAIL PROTECTED] wrote: It seems that I am wrong.. the script is run on file.tex but probably after a cd in TEMPDIR (my script needed the path to add [EMAIL PROTECTED] at the begening of file.tex, but this is done by lyx in TEMPDIR). Then I have to modify my script... Ph. C. I just tried that: I wrote a small script which copies TEMPDIR/file.tex in an other directory and run my original script on that copy. It works, but when all the colmpilation is finished lyx produce an error message: Impossible to convert the file Error while executing script 'file.tex' without any particular output. I suppose this is not a real problem. Ph. C.
Re: external script and lyx
Charpentier == Charpentier Philippe [EMAIL PROTECTED] writes: Charpentier For example, the script would manage the compilation Charpentier process (diffrently than LyX do it) in such a way that I Charpentier would be able to use vtex without crashing lyx. Did you find out exactly why LyX crashes with vtex? JMarc
\displaysize???
Hi: Is it possible to use this in LyX? I want to make equations in an array appear in the same size font as the rest of my equations, not reduced. I have fractional expressions in an array, and they are in a smaller font when in the array. I tried to figure out how to enter \displaysize as ERT, but it always causes a LaTeX error. Thanks. -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: external script and lyx
On Tue, 17 Jun 2003 17:44:37 +0200 Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Charpentier == Charpentier Philippe [EMAIL PROTECTED] writes: Charpentier For example, the script would manage the compilation Charpentier process (diffrently than LyX do it) in such a way that I Charpentier would be able to use vtex without crashing lyx. Did you find out exactly why LyX crashes with vtex? JMarc No. I post a message on this on lyx-devel, with all the information I have. Ph. C.
Re: \displaysize???
On Tue, Jun 17, 2003 at 09:00:15AM -0700, Chris Carlen wrote: Hi: Is it possible to use this in LyX? You can use whatever macro you want... I want to make equations in an array appear in the same size font as the rest of my equations, not reduced. I have fractional expressions in an array, and they are in a smaller font when in the array. I tried to figure out how to enter \displaysize as ERT, but it always causes a LaTeX error. In this case you should try to use \displaystyle. This is even supported natively by LyX, i.e. shows as larger characters on screen. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: external script and lyx
On Tue, Jun 17, 2003 at 06:00:58PM +0200, Charpentier Philippe wrote: Did you find out exactly why LyX crashes with vtex? No. I post a message on this on lyx-devel, with all the information I have. I guess you do not want to build a debug-enabled version and get a backtrace from gdb? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Apendix numbering and bibliography formating
With regard to the title-changing in your BibTeX: That depends on your bibliographic style. If you know the style you need to use well enough, there's a great package out there called 'Makebst': See http://www.linmpi.mpg.de/english/services/software/latex/localtex/localltx.html#makebst It allows you to customize your BST file as much or as little as you want. I've managed to make a closer Chicago-a-like than anything I've found online with it, which is good. It's also marginally customizable beyond the prompt level. (I can explain that if you really want me to.) Wes :wm On Tue, 17 Jun 2003 09:52:10 +0200, Marcin Bukat wrote: Hello! I have two small problems 1.if I do Layout-insert apendix new aded apendix is numbered 'A Apendix'. I would like to achive 'Apendix A'. How can I do that? 2.if I add bibliography with bibTeX all titles are formated to have capitalic at the begining and rest lowercase. I tried tons of .bst without luck. How can I just leave title 'as is' in database? Thanks in advance. wo [EMAIL PROTECTED] Web: http://pubweb.northwestern.edu/~mwm223 AIM: Steely Wes | ICQ: 5169222 One never notices what has been done; one can only see what remains to be done. -- Marie Curie
How to edit LaTeX math in LyX?
I have tried going into math mode, then entering the following: \[ f: \left( \begin{split} y = \\ f(x) +\\ +g(x) \end{split} \right) \] \end{document} which actually shows what I want in LyX, but then gives LaTeX errors. It seems I will have little choice but to learn LaTeX math editing in depth, which I had hope to avoid by using LyX. Can someone give me a step-by-step instruction on how to enter an equation in LyX using LaTex code that doesn't give errors? From there I will go about learning LaTeX to get the effects I want. But at this point there is something I don't understand about getting LyX to digest it in the first place. In other words, do you go into math mode, or type in ERT mode? In math mode, the above code turns into LyX WYSIWYM math editing. This is a problem because it is then impossible to see the text LateX code underneath. Clues as to what is going on would be appreciated. Finally, can \usepackage{amsmath} be used in LyX? Thanks. -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: \displaysize???
On Tue, Jun 17, 2003 at 10:17:52AM -0700, Chris Carlen wrote: Yes I see that \displaystyle makes the fractions large, but then they overlap vertically with the other rows of the array. Any way to fix this? Play around with \arraystretch. Or re-think your design ;-) Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Lighter Version
On Tue, 17 Jun 2003, Preben Randhol wrote: Tuukka Toivonen [EMAIL PROTECTED] wrote on 16/06/2003 (10:54) : Never use KDE nor Gnome unless you have 64 MB or so memory. No unless you have 128 Mb preferably 256 Mb. At least if you look at the latest versions. It is a matter of patience and bells and whistles. I have KDE 3.1.2 on a 486-66MHz, once you get passed the startup times and the few seconds it takes to redraw a screen it is just fine... ...for writing and simple graphics. LyX's slow point is loading up fonts and formatting the document. - Bruce
LyX 1.3.2 crashes upon startup
Hi! Sorry if this is a known problem, but I'm new here... I upgraded from lyx 1.2.2 (which works like a dream) to 1.3.2, but the newly compiled version crashes every time upon startup (see gdb bt below). my system is a Powermac running Yellowdog Linux, kernel 2.4.20, glibc 2.2.5, gcc 2.95.4 and xforms release 1.0. Any idea waht went wrong here? Thanks in advance, Albrecht. ---gdb output [EMAIL PROTECTED] lyx-1.3.2]$ gdb src/lyx GNU gdb Yellow Dog Linux (5.1.1-1b) Copyright 2002 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 ppc-yellowdog-linux... (gdb) run Starting program: /home/albrecht/lyx-1.3.2/src/lyx Program received signal SIGSEGV, Segmentation fault. 0x0f97c944 in chunk_free (ar_ptr=0xfa31b60, p=0x106dff21) at malloc.c:3227 3227malloc.c: No such file or directory. in malloc.c Current language: auto; currently c (gdb) bt #0 0x0f97c944 in chunk_free (ar_ptr=0xfa31b60, p=0x106dff21) at malloc. c:3227 #1 0x0f97c808 in __libc_free (mem=0xfa31b60) at malloc.c:3153 #2 0x1001f550 in boost::signals::detail::slot_base::~slot_base (this=0x7fffebd8, __in_chrg=2) at /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.4/../../../../include/g+ +-3/stl_alloc.h:164 #3 0x103b05b0 in Tooltips::Tooltips (this=0x10714478) at Tooltips.C:39 #4 0x1030d494 in FormBase::FormBase (this=0x10757d64, [EMAIL PROTECTED], allowResize=275644208) at FormBase.C:57 #5 0x1030d03c in FormDBFD_aboutlyx::FormDB (this=0x10757d64, [EMAIL PROTECTED], allowResize=275644208) at FormBase.h:156 #6 0x1030d080 in FormCBControlAboutlyx, FormDBFD_aboutlyx ::FormCB (this=0x10757d64, [EMAIL PROTECTED], allowResize=275644208) at FormBase.h:184 #7 0x1030b928 in FormAboutlyx::FormAboutlyx (this=0x10757d64) at FormAboutlyx.C:45 #8 0x10300470 in GUIControlAboutlyx, FormAboutlyx, OkCancelPolicy, xformsBC::GUI (this=0x10757cd0, [EMAIL PROTECTED], [EMAIL PROTECTED]) at /usr/lib/gcc-lib/ppc-yellowdog- linux/2.95.4/../../../../include/g++-3/stl_alloc.h:443 #9 0x102fe13c in Dialogs::Impl::Impl (this=0x10757cd0, [EMAIL PROTECTED], [EMAIL PROTECTED]) at Dialogs.C:48 #10 0x102fdcb4 in Dialogs::Dialogs (this=0x1074daa0, [EMAIL PROTECTED]) at Dialogs.C:23 #11 0x102ee4c0 in LyXView::LyXView (this=0x7388) at LyXView.C:56 #12 0x103c0b10 in XFormsView::XFormsView (this=0x7388, width=690, height=510) at XFormsView.C:58 #13 0x103a62a0 in lyx_gui::start ([EMAIL PROTECTED], [EMAIL PROTECTED]) at lyx_gui.C:267 #14 0x10101bd0 in LyX::LyX (this=0x75e8, [EMAIL PROTECTED], argv=0x7694) at ../src/lyx_main.C:166 #15 0x10174f74 in main (argc=1, argv=0x7694) at ../src/main.C:31 #16 0x0f920f70 in __libc_start_main (argc=1, ubp_av=0x7694, ubp_ev=0x106dff30, auxvec=0x7730, rtld_fini=0xfa31b60 main_arena, stinfo=0x10563420, stack_on_entry=0xd00) at ../sysdeps/powerpc/elf/libc-start.c:119 -- ~ Albrecht Dreß - Johanna-Kirchner-Straße 13 - D-53123 Bonn (Germany) Phone (+49) 228 6199571 - mailto:[EMAIL PROTECTED] _ pgp0.pgp Description: PGP signature
Re: LyX 1.3.2 crashes upon startup
On Tue, Jun 17, 2003 at 09:34:05PM +0200, Albrecht Dre? wrote: I upgraded from lyx 1.2.2 (which works like a dream) to 1.3.2, but the newly compiled version crashes every time upon startup (see gdb bt below). my system is a Powermac running Yellowdog Linux, kernel 2.4.20, glibc 2.2.5, gcc 2.95.4 and xforms release 1.0. Any idea waht went wrong here? Thanks in advance, ppc compilers seem to have some nasty bug... regards john
Re: LyX 1.3.2 crashes upon startup
Albrecht Dreß wrote: I upgraded from lyx 1.2.2 (which works like a dream) to 1.3.2, but the newly compiled version crashes every time upon startup (see gdb bt below). my system is a Powermac running Yellowdog Linux, kernel 2.4.20, glibc 2.2.5, gcc 2.95.4 and xforms release 1.0. Any idea waht went wrong here? There is a bug report which might be related: http://bugzilla.lyx.org/show_bug.cgi?id=894 What version of YDL do you have? As I mentioned on bugzilla, I am running LyX 1.3.2 (qt 3.1.1) on YDL 3.0 (iMac 17 Lamp) without any problems. Compiler is gcc 3.2.1 Regards, Juergen.
Re: LyX 1.3.2 crashes upon startup
Am Dienstag, 17. Juni 2003 21:47 schrieb Juergen Spitzmueller: Albrecht Dreß wrote: I upgraded from lyx 1.2.2 (which works like a dream) to 1.3.2, but the newly compiled version crashes every time upon startup (see gdb bt below). my system is a Powermac running Yellowdog Linux, kernel 2.4.20, glibc 2.2.5, gcc 2.95.4 and xforms release 1.0. Any idea waht went wrong here? There is a bug report which might be related: http://bugzilla.lyx.org/show_bug.cgi?id=894 What version of YDL do you have? As I mentioned on bugzilla, I am running LyX 1.3.2 (qt 3.1.1) on YDL 3.0 (iMac 17 Lamp) without any problems. Compiler is gcc 3.2.1 No problems with gentoo-1.4 on a PowerBook pismo either (gcc-3.2.3, qt -3.1.2, glibc-2.3.2). Xforms and qt both work. Maybe upgrading the distribution will help? (gcc3 does a much better job optimizing ppc-executables anyways) Those lines: (this=0x7fffebd8, __in_chrg=2) at /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.4/../../../../include/g+ +-3/stl_alloc.h:164 [...] /usr/lib/gcc-lib/ppc-yellowdog- linux/2.95.4/../../../../include/g++-3/stl_alloc.h:443 look, as if you have two versions of gcc (2 3) installed and the includes got mixed up... includes from gcc3 and libs from gcc2? uuh-ooh, this can't work! Or you didn't compile Xforms and LyX with the same compiler. Have fun* Niklas
Re: How to edit LaTeX math in LyX?
Chris Carlen wrote: I have tried going into math mode, then entering the following: \[ f: \left( \begin{split} y = \\ f(x) +\\ +g(x) \end{split} \right) \] \end{document} which actually shows what I want in LyX, but then gives LaTeX errors. It seems I will have little choice but to learn LaTeX math editing in depth, which I had hope to avoid by using LyX. Can someone give me a step-by-step instruction on how to enter an equation in LyX using LaTex code that doesn't give errors? From there I will go about learning LaTeX to get the effects I want. But at this point there is something I don't understand about getting LyX to digest it in the first place. In other words, do you go into math mode, or type in ERT mode? In math mode, the above code turns into LyX WYSIWYM math editing. This is a problem because it is then impossible to see the text LateX code underneath. Clues as to what is going on would be appreciated. Finally, can \usepackage{amsmath} be used in LyX? Yes, by putting it in the preamble. I think I answered most of my question. Thanks. -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: glossary of terms?
You should take a look to the latex package nomencl. It automatizes the glosary creation. I have had a look at this, and have followed the readme instructions to the letter. Now, when i go to view- PDF, i don't get any errors, but nothing happens! where's my glossary? i put an ERT in the end of the document with \printglossary, and I've done everything else weird.. Also, i run debian, and i can't seem to find a package for the nomencl latex add-on. I assume it's already installed, otherwise I'd get errors, right? -- Thomi Richards, [EMAIL PROTECTED]
Re: landscape page in a portrait document
Jihène Krichène [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Hello everybody I have a portrait document. I want to put a page in the landscape format inside this document. Is it possible to do so ? If yes, please tell me how. See http://www.educat.hu-berlin.de/~voss/lyx/PS/landscape.phtml. -- Paul
Re: toggled printing for instructor version
On Thu, 12 Jun 2003, Juergen Spitzmueller wrote: You can define a switch. Write into the preamble: \usepackage{ifthen} [EMAIL PROTECTED] \usepackage[dvips]{color}} \newboolean{HIDE} \newcommand\invisible {\ifthenelse{\boolean{HIDE}}{\color{white}}{}} \newcommand\visible {\ifthenelse{\boolean{HIDE}}{\color{black}}{}} Then you set \unvisible at the begin and \visible at the end of those parts that need to be hidden. At the begin of the document, you can switch hide mode with this ERT: \setboolean{HIDE}{true} %% don`t print hidden text or \setboolean{HIDE}{false} %% print hidden text Thank you, Juergen. This is quite useful. This works for me (using \invisible instead of \unvisible). I am not sure if it is possible, but it would be great if I could make it smarter so the blank space could be done at the bottom of the page. Right now, I use \invisible for my instructor notes, so the student's handouts now have random white space. Hmmm... even though it looks strange, maybe this is okay, since they can use that space to take hand-written notes. Also, it would be cool if the content could be highlighted and there was a button to toggle \invisible on and off. Thanks again. Jeremy C. Reed http://bsd.reedmedia.net/
This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1
Sometime ago, I tried to write Arabic in lyx but failed to do it. I asked in the lyx mailing list and Dekel Tsur, the person behind the support, thankfully tried to help me but we couldn't figure out why it didn't work for me. He checked my preferences file and the exported TeX file to no avail. Now, after many many trials I come out to a conclusion which may reflect a bug somewhere in lyx, Mandrake, or pdflatex ... you decide! Resoultion: - The problem is that lyx couldn't read a closing LaTeX code after an Arabic text. The problem: - I open lyx and wrote some Arabic. View - PDF (pdflatex) gives this error LaTeX Error: \begin{arabtext} on input line 12 ended by \end{document}. \end{document} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. Not a good workaround: File - Export - LaTeX If I run pdflatex on the latex file I got these errors LaTeX Warning: Unused global option(s): [arabic,english]. (./newfile1.aux) (/usr/share/texmf/tex/latex/arabtex/uxnsh.fd) . . . . / . / ## ! LaTeX Error: \begin{arabtext} on input line 10 ended by \end{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.13 \end{document} ? . [1{/usr/share/texmf/dvips/config/pdftex.map}] (./newfile1.aux) . . . (\end occurred inside a group at level 1) /var/lib/texmf/pk/ljfour/arabtex/xns h14.600pk Output written on newfile1.pdf (1 page, 9095 bytes). Transcript written on newfile1.log. Why not? - The generated file contains the Arabic text plus strange arabic letters at the end!!! Better Workaround: --- Open the latex file in an editor and add a space before any closing LaTeX code within the \begin{arabtext} and the \end{arabtext}. I mean a space should be entered before \end{arabtext} and if you have any formatting say you centered some text you should go to the latex file and add a space before the \end{center} or you get errors like this: ! LaTeX Error: \begin{center} on input line 11 ended by \end{document}. Have I missed an obvious thing?! -- __/__/ _/ _/ _/ _/ _\ _/ _\_/ _/\ / _\ unzir_/ aha Telecommunications Engineer Linux Registered User [EMAIL PROTECTED]://counter.li.org CIW, ICDL, MOUS. New Horizons CLC Riyadh, SA
Re: glossary of terms?
Hello, I have this in a Makefile to create pdf output with nomencl, maybe it works for you: meth.pdf: lyx -e latex meth.lyx latex meth.tex makeindex meth.glo -s nomencl.ist -o meth.gls lyx -e pdf2 meth.lyx Andres Becerra. On Wed, 18 Jun 2003, Thomas CLive Richards wrote: You should take a look to the latex package nomencl. It automatizes the glosary creation. I have had a look at this, and have followed the readme instructions to the letter. Now, when i go to view- PDF, i don't get any errors, but nothing happens! where's my glossary? i put an ERT in the end of the document with \printglossary, and I've done everything else weird.. Also, i run debian, and i can't seem to find a package for the nomencl latex add-on. I assume it's already installed, otherwise I'd get errors, right? -- Thomi Richards, [EMAIL PROTECTED]
Re: How to edit LaTeX math in LyX?
It seems I will have little choice but to learn LaTeX math editing in depth, which I had hope to avoid by using LyX. Yes you can avoid most of the complicated Latex math stuff by using LyX.. In other words, do you go into math mode, or type in ERT mode? You go into math mode and then type latex math commands and hit a space and you should see the result of your latex commands immediately (in most cases).. for equations you can use one of the environments that are listed in Insert - Math.. there are shorcuts to this too I believe.. In math mode, the above code turns into LyX WYSIWYM math editing. This is a problem because it is then impossible to see the text LateX code underneath. I guess that was the intention so that one sees the content clearly and not the code.. but if you want to see the code then you can select the math stuff and paste into an ERT inset, i.e. do C-l and paste into the inset and all the code that went into the math that you selected will show.. hope this helps.. nirmal
list of math shortcuts
Hi.. is there a list of all the math shortcuts somewhere? Some lyx configuration file maybe? I found a document on the web by googling which had some but not all.. for example, how do I get a hat or a tilde on an existing character? I can select the character with the mouse and then get the hat or tilde from the Math panel.. Or I can delete the character and do \tilde - space - character.. I'd like to avoid doing the latter and hopefully the former if there's some keyboard shortcut for this... Thanks, nirmal PS: Sorry if this is a repost.. sending it again cos it looks like my message from earlier today didn't make it...
Toolbars
Is there a way to make the icons on the toolbars smaller? I would like to create toolbars which are as close to scientific workplace as possible so that I have an easy switch! Best wishes, -Jan
Re: Toolbars
Hearing this announcement below, I was wondering: Will we see a Mac OS X native version of LyX soon? If yes, how soon? Best wishes, -Jan Qt/Mac Free Software Edition coming to WWDC 2003 By Dennis Sellers [EMAIL PROTECTED] June 17, 2003 5:50 pm ET Trolltech will release Qt/Mac under the GPL (GNU General Public License) at next week's Worldwide Developers Conference. Qt/Mac is the Mac port of Qt, a single-source, multiplatform C++ GUI (graphical user interface) toolkit that lets applications run natively on Mac OS X, Windows, and Linux/Unix, all from the same codebase. The GPL release of Qt/Mac means that developers of free Mac software can use Qt free of charge. Any software produced with the GPL version of Qt/Mac (and any derivatives of it) must also be released with full source code available under the GPL. Developers who want create commercial (proprietary or closed source) software can do so using the existing Qt/Mac commercial licenses. (Since it was founded in 1994, Trolltech has offered developers both commercial and Free Software licensing options). With the upcoming Qt/Mac GPL release, existing Free Software applications developed with Qt/X11 (Linux and various flavors of Unix) and Qt/Embedded (embedded Linux), can now be ported to Mac OS X platform with a simple recompile. The release of Qt/Mac under the GPL also means that Qt Script for Applications (QSA), Trolltech's scripting toolkit for Qt-based applications, will be available under a dual license on Mac OS X. WWDC 2003 will be held June 23-27 in San Francisco, Calif.
Vectorstyle
Hi there! I have three more questions: 1. Is there a way to make the vectors in lyx on screen in bold style, e.g., \boldsymbol{} or \bm{} while still using \vec{} ? 2. Can I configure the font for the large parentheses? On my Mac it looks kinda ugly! 3. Why are the subscript characters in a_b so low? Is that due to the version of the QT? Thank you very much! Jan Peters
Re: \displaysize???
Andre Poenitz wrote: On Tue, Jun 17, 2003 at 09:00:15AM -0700, Chris Carlen wrote: Hi: Is it possible to use this in LyX? You can use whatever macro you want... I want to make equations in an array appear in the same size font as the rest of my equations, not reduced. I have fractional expressions in an array, and they are in a smaller font when in the array. I tried to figure out how to enter \displaysize as ERT, but it always causes a LaTeX error. In this case you should try to use \displaystyle. This is even supported natively by LyX, i.e. shows as larger characters on screen. Thanks. Yes I see that \displaystyle makes the fractions large, but then they overlap vertically with the other rows of the array. Any way to fix this? -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: figures at the end of document
On Mon, Jun 16, 2003 at 08:57:20PM +0200, Alexandru Cabuz wrote: Thanks, I got it now. Also, one more highly technical question. IIRC this is a hard coded TeX limitation. What does IIRC stand for? Interestingly insofar as robust creativity...? I infer regarding this crap... ? IIRC 'IIRC' stands for 'if I remember correctly'. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Lighter Version
On Tue, Jun 17, 2003 at 12:26:41AM +0300, Robin Turner wrote: 1 - Is there a lighter version of LyX or a lighter program that works just like it? LyX itself is about as light as you can get - Well, it isn't. Believe me. LaTeX runs on a 512k DOS machine. LyX certainly does not. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Apendix numbering and bibliography formating
Hello! I have two small problems 1.if I do Layout-insert apendix new aded apendix is numbered 'A Apendix'. I would like to achive 'Apendix A'. How can I do that? 2.if I add bibliography with bibTeX all titles are formated to have capitalic at the begining and rest lowercase. I tried tons of .bst without luck. How can I just leave title 'as is' in database? Thanks in advance. wo
Re: Apendix numbering and bibliography formating
Marcin Bukat wrote: 2.if I add bibliography with bibTeX all titles are formated to have capitalic at the begining and rest lowercase. I tried tons of .bst without luck. How can I just leave title 'as is' in database? You must wrap the letters you'd like left alone in {} braces. Eg The {N}avier-{S}tokes equations I guess that you could wrap the whole thing {The Navier-Stokes equations}, but that is just a guess ;-) -- Angus
Re: Lighter Version
Tuukka Toivonen [EMAIL PROTECTED] wrote on 16/06/2003 (10:54) : Never use KDE nor Gnome unless you have 64 MB or so memory. No unless you have 128 Mb preferably 256 Mb. At least if you look at the latest versions. -- «It's probably worth pointing out that C's pointer arithmetic is not only dangerous, and a significant source of errors, but it also makes programs run slower.» - James Kanze on comp.lang.ada,comp.lang.c++.moderated
Re: how to? Curriculum Vitae
Jean-Marc.Lasgouttes There is a class named cv.cls distributed (and supported) with LyX. Jean-Marc.Lasgouttes You just have to move it from prefix/share/lyx/tex/cv.cls to Jean-Marc.Lasgouttes somewhere where latex will find it (as we say when we are too lazy to Jean-Marc.Lasgouttes give the whole solution). That works. Thank you. I wonder why these classes are not part of MiKTeX. Some bytes more should not matter on 500 MB ... Marcus
external script and lyx
Hi, I would like to know if it is possible to define a viewer, a converter, a custom_export_command or something else such that, with one click on a menu entry, the two following things are done when the file DIR/file.lyx is open in LyX: 1) DIR/file.lyx is exported in latex to DIR/file.tex 2) a bash script is run on DIR/file.tex (i.e. with the complete path) For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. Thank you very much Ph. C. P.S. excuse me if this message is send twice to the list. It seems that the first time I send it it was not delivred.
Re: external script and lyx
Charpentier Philippe wrote: Hi, I would like to know if it is possible to define a viewer, a converter, a custom_export_command or something else such that, with one click on a menu entry, the two following things are done when the file DIR/file.lyx is open in LyX: 1) DIR/file.lyx is exported in latex to DIR/file.tex 2) a bash script is run on DIR/file.tex (i.e. with the complete path) Add format Charpentier to the list of available formats using the Edit-Preferences dialog: (Qt) File Formats pane (xforms) Conversion-Formats tab folder Eg: Format: charpentier GUI name: Charpentier Shortcut: Extension: chp Viewer Press Modify and then Save Thereafter, define a converter LaTeX-Charpentier using the (Qt) Converters pane (xforms) Conversion-Converters tab folder For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. LyX should not crash. Please send a backtrace so that we can ascertain what is going wrong. Angus
Re: external script and lyx
On Tue, 17 Jun 2003 13:26:15 +0200 Andre Poenitz [EMAIL PROTECTED] wrote: On Tue, Jun 17, 2003 at 01:09:47PM +0200, Charpentier Philippe wrote: I would like to know if it is possible to define a viewer, a converter, a custom_export_command or something else such that, with one click on a menu entry, the two following things are done when the file DIR/file.lyx is open in LyX: 1) DIR/file.lyx is exported in latex to DIR/file.tex 2) a bash script is run on DIR/file.tex (i.e. with the complete path) For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. Define a new 'Format' 'vtex' in your preferences. Define a viewer for this format. Define a converter 'LaTeX - vtex' (basically the name of your script) Andre\ I tried the following: a new format: \format latexx tex LaTeX-X a new viewer: \viewer latexx $HOME/bin/LaTeX a new converter: \converter latex latexx $HOME/bin/LaTeX $$i (with $HOME= my home) then LaTeX-X appears in the view menu. But I get an error: the lyx file (file.lyx) is exported to latex format in the temp directory and my script is simply send on file.tex (without any path) which gives an error: it can't find it. Is it possible to send TEMPDIR/file.tex to the script instead of file.tex? Ph. C.
RE: glossary of terms?
try http://www.educat.hu-berlin.de/~voss/lyx/nomencl/nomencl.phtml If you need an example file let me know. Remzi -Original Message- From: Thomas CLive Richards [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 4:48 AM To: [EMAIL PROTECTED] Subject: glossary of terms? Is there planned support for a glossary of terms feature like MS Word has? So, you'd select a word, and click on glossary item, and then (in a popup window), enter a description of the word. In the back of your document, a glossary would build itself... This would be extremely useful to me, and i have an idea it could be done with an ERT or two, but i don't know a thing about latex, so that's of no use to me.. -- Thomi Richards, [EMAIL PROTECTED]
Re: external script and lyx
... For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. LyX should not crash. Please send a backtrace so that we can ascertain what is going wrong. Angus I posted a message on this subject on lyx-devel (on 27 May 2003, subject: Re: LyX and vTeX) here is: ... I did that for lyx-1.2.3 and lyx-1.3.2. Precisely I wrote \format pdf4 pdf PDF (vlatex) (in the FORMATS SECTION) and \converter latex pdf4 /usr/local/vtex/bin/vlatex $$i latex (in the CONVERTERS SECTION) With lyx-1.2.3 all is fine. But with lyx-1.3.2, if there is a latex error in the document, lyx crashes with the following output: lyx: /usr/include/g++-3/std/bastring.cc:126: basic_stringcharT, traits, Allocator basic_stringcharT, traits, Allocator::replace (unsigned int, unsigned int, const basic_stringcharT, traits, Allocator , unsigned int, unsigned int) [with charT = char, traits = string_char_traitschar, Allocator = __default_alloc_templatetrue, 0]: l'assertion `!(pos2 len2)' a échoué. /home/pcharpen/bin/monlyxqt: line 6: 8816 Abandon Why? Ph. C. More precisely: the test was made on a RedHat-7.2. Running lyx-1.3.2 with -dbg latex gives (with a \usepackage{al} in the preamble): Log line: ! LaTeX Error: File `al.sty' not found. lyx: /usr/include/g++-3/std/bastring.cc:126: basic_stringcharT, traits, Allocator basic_stringcharT, traits, Allocator::replace (unsigned int, unsigned int, const basic_stringcharT, traits, Allocator , unsigned int, unsigned int) [with charT = char, traits = string_char_traitschar, Allocator = __default_alloc_templatetrue, 0]: l'assertion `!(pos2 len2)' a échoué. Abandon The same test on a RedHat-8.0 gives, for BOTH lyx-1.2.3 and lyx-1.3.2, a crash of lyx with: Log line: ! LaTeX Error: File `al.sty' not found. Abandon Is this a bug in LyX? Ph. C. . Ph. C.
Re: how to? Curriculum Vitae
Marcus == Marcus Beyer [EMAIL PROTECTED] writes: Marcus That works. Thank you. Marcus I wonder why these classes are not part of MiKTeX. Some bytes Marcus more should not matter on 500 MB ... Because I have been too lazy to update this class to ctan (there is a name conflict with another class too). JMarc
Re: how to? Curriculum Vitae
On 2003-06-17, 10:11 GMT, Marcus Beyer wrote: I wonder why these classes are not part of MiKTeX. Some bytes more should not matter on 500 MB ... Probably, because nobody bothered to persuade MiKTeX maintainers, that they should them to the distribution. :-) Matej -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Re: external script and lyx
On Tue, 17 Jun 2003 14:46:31 +0200 Charpentier Philippe [EMAIL PROTECTED] wrote: On Tue, 17 Jun 2003 13:26:15 +0200 Andre Poenitz [EMAIL PROTECTED] wrote: On Tue, Jun 17, 2003 at 01:09:47PM +0200, Charpentier Philippe wrote: I would like to know if it is possible to define a viewer, a converter, a custom_export_command or something else such that, with one click on a menu entry, the two following things are done when the file DIR/file.lyx is open in LyX: 1) DIR/file.lyx is exported in latex to DIR/file.tex 2) a bash script is run on DIR/file.tex (i.e. with the complete path) For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. Define a new 'Format' 'vtex' in your preferences. Define a viewer for this format. Define a converter 'LaTeX - vtex' (basically the name of your script) Andre\ I tried the following: a new format: \format latexx tex LaTeX-X a new viewer: \viewer latexx $HOME/bin/LaTeX a new converter: \converter latex latexx $HOME/bin/LaTeX $$i (with $HOME= my home) then LaTeX-X appears in the view menu. But I get an error: the lyx file (file.lyx) is exported to latex format in the temp directory and my script is simply send on file.tex (without any path) which gives an error: it can't find it. Is it possible to send TEMPDIR/file.tex to the script instead of file.tex? Ph. C. It seems that I am wrong.. the script is run on file.tex but probably after a cd in TEMPDIR (my script needed the path to add [EMAIL PROTECTED] at the begening of file.tex, but this is done by lyx in TEMPDIR). Then I have to modify my script... Ph. C.
Lyx problem: Xlib: connection to :0.0 refused by server
Hello: I installed lyx-1.1.6fix4-133.i386.rpm and xforms-0.89-387.i386.rpm on my computer with SuSe8.2. When I run lyx files, everything went well except .ps image loading. Actually, it can load some .ps images but not totally; some .ps images can't be displayed (error message: Render Error). I also got these warning message: [EMAIL PROTECTED]:~ lyx Report.lyx Xlib: connection to :0.0 refused by server Xlib: XDM authorization key matches an existing client! Error: Couldn't find per display information GS [2171] error 256 E:1 1 S:0 0 but when view it as PDF file, all of .ps images are displayed and no problem. Would you please tell me what is wrong ? How can I fix it? Thanks in advance. Guijun
Re: external script and lyx
On Tue, 17 Jun 2003 17:05:32 +0200 Charpentier Philippe [EMAIL PROTECTED] wrote: It seems that I am wrong.. the script is run on file.tex but probably after a cd in TEMPDIR (my script needed the path to add [EMAIL PROTECTED] at the begening of file.tex, but this is done by lyx in TEMPDIR). Then I have to modify my script... Ph. C. I just tried that: I wrote a small script which copies TEMPDIR/file.tex in an other directory and run my original script on that copy. It works, but when all the colmpilation is finished lyx produce an error message: Impossible to convert the file Error while executing script 'file.tex' without any particular output. I suppose this is not a real problem. Ph. C.
Re: external script and lyx
Charpentier == Charpentier Philippe [EMAIL PROTECTED] writes: Charpentier For example, the script would manage the compilation Charpentier process (diffrently than LyX do it) in such a way that I Charpentier would be able to use vtex without crashing lyx. Did you find out exactly why LyX crashes with vtex? JMarc
\displaysize???
Hi: Is it possible to use this in LyX? I want to make equations in an array appear in the same size font as the rest of my equations, not reduced. I have fractional expressions in an array, and they are in a smaller font when in the array. I tried to figure out how to enter \displaysize as ERT, but it always causes a LaTeX error. Thanks. -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: external script and lyx
On Tue, 17 Jun 2003 17:44:37 +0200 Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Charpentier == Charpentier Philippe [EMAIL PROTECTED] writes: Charpentier For example, the script would manage the compilation Charpentier process (diffrently than LyX do it) in such a way that I Charpentier would be able to use vtex without crashing lyx. Did you find out exactly why LyX crashes with vtex? JMarc No. I post a message on this on lyx-devel, with all the information I have. Ph. C.
Re: \displaysize???
On Tue, Jun 17, 2003 at 09:00:15AM -0700, Chris Carlen wrote: Hi: Is it possible to use this in LyX? You can use whatever macro you want... I want to make equations in an array appear in the same size font as the rest of my equations, not reduced. I have fractional expressions in an array, and they are in a smaller font when in the array. I tried to figure out how to enter \displaysize as ERT, but it always causes a LaTeX error. In this case you should try to use \displaystyle. This is even supported natively by LyX, i.e. shows as larger characters on screen. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: external script and lyx
On Tue, Jun 17, 2003 at 06:00:58PM +0200, Charpentier Philippe wrote: Did you find out exactly why LyX crashes with vtex? No. I post a message on this on lyx-devel, with all the information I have. I guess you do not want to build a debug-enabled version and get a backtrace from gdb? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Apendix numbering and bibliography formating
With regard to the title-changing in your BibTeX: That depends on your bibliographic style. If you know the style you need to use well enough, there's a great package out there called 'Makebst': See http://www.linmpi.mpg.de/english/services/software/latex/localtex/localltx.html#makebst It allows you to customize your BST file as much or as little as you want. I've managed to make a closer Chicago-a-like than anything I've found online with it, which is good. It's also marginally customizable beyond the prompt level. (I can explain that if you really want me to.) Wes :wm On Tue, 17 Jun 2003 09:52:10 +0200, Marcin Bukat wrote: Hello! I have two small problems 1.if I do Layout-insert apendix new aded apendix is numbered 'A Apendix'. I would like to achive 'Apendix A'. How can I do that? 2.if I add bibliography with bibTeX all titles are formated to have capitalic at the begining and rest lowercase. I tried tons of .bst without luck. How can I just leave title 'as is' in database? Thanks in advance. wo [EMAIL PROTECTED] Web: http://pubweb.northwestern.edu/~mwm223 AIM: Steely Wes | ICQ: 5169222 One never notices what has been done; one can only see what remains to be done. -- Marie Curie
How to edit LaTeX math in LyX?
I have tried going into math mode, then entering the following: \[ f: \left( \begin{split} y = \\ f(x) +\\ +g(x) \end{split} \right) \] \end{document} which actually shows what I want in LyX, but then gives LaTeX errors. It seems I will have little choice but to learn LaTeX math editing in depth, which I had hope to avoid by using LyX. Can someone give me a step-by-step instruction on how to enter an equation in LyX using LaTex code that doesn't give errors? From there I will go about learning LaTeX to get the effects I want. But at this point there is something I don't understand about getting LyX to digest it in the first place. In other words, do you go into math mode, or type in ERT mode? In math mode, the above code turns into LyX WYSIWYM math editing. This is a problem because it is then impossible to see the text LateX code underneath. Clues as to what is going on would be appreciated. Finally, can \usepackage{amsmath} be used in LyX? Thanks. -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: \displaysize???
On Tue, Jun 17, 2003 at 10:17:52AM -0700, Chris Carlen wrote: Yes I see that \displaystyle makes the fractions large, but then they overlap vertically with the other rows of the array. Any way to fix this? Play around with \arraystretch. Or re-think your design ;-) Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Lighter Version
On Tue, 17 Jun 2003, Preben Randhol wrote: Tuukka Toivonen [EMAIL PROTECTED] wrote on 16/06/2003 (10:54) : Never use KDE nor Gnome unless you have 64 MB or so memory. No unless you have 128 Mb preferably 256 Mb. At least if you look at the latest versions. It is a matter of patience and bells and whistles. I have KDE 3.1.2 on a 486-66MHz, once you get passed the startup times and the few seconds it takes to redraw a screen it is just fine... ...for writing and simple graphics. LyX's slow point is loading up fonts and formatting the document. - Bruce
LyX 1.3.2 crashes upon startup
Hi! Sorry if this is a known problem, but I'm new here... I upgraded from lyx 1.2.2 (which works like a dream) to 1.3.2, but the newly compiled version crashes every time upon startup (see gdb bt below). my system is a Powermac running Yellowdog Linux, kernel 2.4.20, glibc 2.2.5, gcc 2.95.4 and xforms release 1.0. Any idea waht went wrong here? Thanks in advance, Albrecht. ---gdb output [EMAIL PROTECTED] lyx-1.3.2]$ gdb src/lyx GNU gdb Yellow Dog Linux (5.1.1-1b) Copyright 2002 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 ppc-yellowdog-linux... (gdb) run Starting program: /home/albrecht/lyx-1.3.2/src/lyx Program received signal SIGSEGV, Segmentation fault. 0x0f97c944 in chunk_free (ar_ptr=0xfa31b60, p=0x106dff21) at malloc.c:3227 3227malloc.c: No such file or directory. in malloc.c Current language: auto; currently c (gdb) bt #0 0x0f97c944 in chunk_free (ar_ptr=0xfa31b60, p=0x106dff21) at malloc. c:3227 #1 0x0f97c808 in __libc_free (mem=0xfa31b60) at malloc.c:3153 #2 0x1001f550 in boost::signals::detail::slot_base::~slot_base (this=0x7fffebd8, __in_chrg=2) at /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.4/../../../../include/g+ +-3/stl_alloc.h:164 #3 0x103b05b0 in Tooltips::Tooltips (this=0x10714478) at Tooltips.C:39 #4 0x1030d494 in FormBase::FormBase (this=0x10757d64, [EMAIL PROTECTED], allowResize=275644208) at FormBase.C:57 #5 0x1030d03c in FormDBFD_aboutlyx::FormDB (this=0x10757d64, [EMAIL PROTECTED], allowResize=275644208) at FormBase.h:156 #6 0x1030d080 in FormCBControlAboutlyx, FormDBFD_aboutlyx ::FormCB (this=0x10757d64, [EMAIL PROTECTED], allowResize=275644208) at FormBase.h:184 #7 0x1030b928 in FormAboutlyx::FormAboutlyx (this=0x10757d64) at FormAboutlyx.C:45 #8 0x10300470 in GUIControlAboutlyx, FormAboutlyx, OkCancelPolicy, xformsBC::GUI (this=0x10757cd0, [EMAIL PROTECTED], [EMAIL PROTECTED]) at /usr/lib/gcc-lib/ppc-yellowdog- linux/2.95.4/../../../../include/g++-3/stl_alloc.h:443 #9 0x102fe13c in Dialogs::Impl::Impl (this=0x10757cd0, [EMAIL PROTECTED], [EMAIL PROTECTED]) at Dialogs.C:48 #10 0x102fdcb4 in Dialogs::Dialogs (this=0x1074daa0, [EMAIL PROTECTED]) at Dialogs.C:23 #11 0x102ee4c0 in LyXView::LyXView (this=0x7388) at LyXView.C:56 #12 0x103c0b10 in XFormsView::XFormsView (this=0x7388, width=690, height=510) at XFormsView.C:58 #13 0x103a62a0 in lyx_gui::start ([EMAIL PROTECTED], [EMAIL PROTECTED]) at lyx_gui.C:267 #14 0x10101bd0 in LyX::LyX (this=0x75e8, [EMAIL PROTECTED], argv=0x7694) at ../src/lyx_main.C:166 #15 0x10174f74 in main (argc=1, argv=0x7694) at ../src/main.C:31 #16 0x0f920f70 in __libc_start_main (argc=1, ubp_av=0x7694, ubp_ev=0x106dff30, auxvec=0x7730, rtld_fini=0xfa31b60 main_arena, stinfo=0x10563420, stack_on_entry=0xd00) at ../sysdeps/powerpc/elf/libc-start.c:119 -- ~ Albrecht Dreß - Johanna-Kirchner-Straße 13 - D-53123 Bonn (Germany) Phone (+49) 228 6199571 - mailto:[EMAIL PROTECTED] _ pgp0.pgp Description: PGP signature
Re: LyX 1.3.2 crashes upon startup
On Tue, Jun 17, 2003 at 09:34:05PM +0200, Albrecht Dre? wrote: I upgraded from lyx 1.2.2 (which works like a dream) to 1.3.2, but the newly compiled version crashes every time upon startup (see gdb bt below). my system is a Powermac running Yellowdog Linux, kernel 2.4.20, glibc 2.2.5, gcc 2.95.4 and xforms release 1.0. Any idea waht went wrong here? Thanks in advance, ppc compilers seem to have some nasty bug... regards john
Re: LyX 1.3.2 crashes upon startup
Albrecht Dreß wrote: I upgraded from lyx 1.2.2 (which works like a dream) to 1.3.2, but the newly compiled version crashes every time upon startup (see gdb bt below). my system is a Powermac running Yellowdog Linux, kernel 2.4.20, glibc 2.2.5, gcc 2.95.4 and xforms release 1.0. Any idea waht went wrong here? There is a bug report which might be related: http://bugzilla.lyx.org/show_bug.cgi?id=894 What version of YDL do you have? As I mentioned on bugzilla, I am running LyX 1.3.2 (qt 3.1.1) on YDL 3.0 (iMac 17 Lamp) without any problems. Compiler is gcc 3.2.1 Regards, Juergen.
Re: LyX 1.3.2 crashes upon startup
Am Dienstag, 17. Juni 2003 21:47 schrieb Juergen Spitzmueller: Albrecht Dreß wrote: I upgraded from lyx 1.2.2 (which works like a dream) to 1.3.2, but the newly compiled version crashes every time upon startup (see gdb bt below). my system is a Powermac running Yellowdog Linux, kernel 2.4.20, glibc 2.2.5, gcc 2.95.4 and xforms release 1.0. Any idea waht went wrong here? There is a bug report which might be related: http://bugzilla.lyx.org/show_bug.cgi?id=894 What version of YDL do you have? As I mentioned on bugzilla, I am running LyX 1.3.2 (qt 3.1.1) on YDL 3.0 (iMac 17 Lamp) without any problems. Compiler is gcc 3.2.1 No problems with gentoo-1.4 on a PowerBook pismo either (gcc-3.2.3, qt -3.1.2, glibc-2.3.2). Xforms and qt both work. Maybe upgrading the distribution will help? (gcc3 does a much better job optimizing ppc-executables anyways) Those lines: (this=0x7fffebd8, __in_chrg=2) at /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.4/../../../../include/g+ +-3/stl_alloc.h:164 [...] /usr/lib/gcc-lib/ppc-yellowdog- linux/2.95.4/../../../../include/g++-3/stl_alloc.h:443 look, as if you have two versions of gcc (2 3) installed and the includes got mixed up... includes from gcc3 and libs from gcc2? uuh-ooh, this can't work! Or you didn't compile Xforms and LyX with the same compiler. Have fun* Niklas
Re: How to edit LaTeX math in LyX?
Chris Carlen wrote: I have tried going into math mode, then entering the following: \[ f: \left( \begin{split} y = \\ f(x) +\\ +g(x) \end{split} \right) \] \end{document} which actually shows what I want in LyX, but then gives LaTeX errors. It seems I will have little choice but to learn LaTeX math editing in depth, which I had hope to avoid by using LyX. Can someone give me a step-by-step instruction on how to enter an equation in LyX using LaTex code that doesn't give errors? From there I will go about learning LaTeX to get the effects I want. But at this point there is something I don't understand about getting LyX to digest it in the first place. In other words, do you go into math mode, or type in ERT mode? In math mode, the above code turns into LyX WYSIWYM math editing. This is a problem because it is then impossible to see the text LateX code underneath. Clues as to what is going on would be appreciated. Finally, can \usepackage{amsmath} be used in LyX? Yes, by putting it in the preamble. I think I answered most of my question. Thanks. -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: glossary of terms?
You should take a look to the latex package nomencl. It automatizes the glosary creation. I have had a look at this, and have followed the readme instructions to the letter. Now, when i go to view- PDF, i don't get any errors, but nothing happens! where's my glossary? i put an ERT in the end of the document with \printglossary, and I've done everything else weird.. Also, i run debian, and i can't seem to find a package for the nomencl latex add-on. I assume it's already installed, otherwise I'd get errors, right? -- Thomi Richards, [EMAIL PROTECTED]
Re: landscape page in a portrait document
Jihène Krichène [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Hello everybody I have a portrait document. I want to put a page in the landscape format inside this document. Is it possible to do so ? If yes, please tell me how. See http://www.educat.hu-berlin.de/~voss/lyx/PS/landscape.phtml. -- Paul
Re: toggled printing for instructor version
On Thu, 12 Jun 2003, Juergen Spitzmueller wrote: You can define a switch. Write into the preamble: \usepackage{ifthen} [EMAIL PROTECTED] \usepackage[dvips]{color}} \newboolean{HIDE} \newcommand\invisible {\ifthenelse{\boolean{HIDE}}{\color{white}}{}} \newcommand\visible {\ifthenelse{\boolean{HIDE}}{\color{black}}{}} Then you set \unvisible at the begin and \visible at the end of those parts that need to be hidden. At the begin of the document, you can switch hide mode with this ERT: \setboolean{HIDE}{true} %% don`t print hidden text or \setboolean{HIDE}{false} %% print hidden text Thank you, Juergen. This is quite useful. This works for me (using \invisible instead of \unvisible). I am not sure if it is possible, but it would be great if I could make it smarter so the blank space could be done at the bottom of the page. Right now, I use \invisible for my instructor notes, so the student's handouts now have random white space. Hmmm... even though it looks strange, maybe this is okay, since they can use that space to take hand-written notes. Also, it would be cool if the content could be highlighted and there was a button to toggle \invisible on and off. Thanks again. Jeremy C. Reed http://bsd.reedmedia.net/
This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1
Sometime ago, I tried to write Arabic in lyx but failed to do it. I asked in the lyx mailing list and Dekel Tsur, the person behind the support, thankfully tried to help me but we couldn't figure out why it didn't work for me. He checked my preferences file and the exported TeX file to no avail. Now, after many many trials I come out to a conclusion which may reflect a bug somewhere in lyx, Mandrake, or pdflatex ... you decide! Resoultion: - The problem is that lyx couldn't read a closing LaTeX code after an Arabic text. The problem: - I open lyx and wrote some Arabic. View - PDF (pdflatex) gives this error LaTeX Error: \begin{arabtext} on input line 12 ended by \end{document}. \end{document} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. Not a good workaround: File - Export - LaTeX If I run pdflatex on the latex file I got these errors LaTeX Warning: Unused global option(s): [arabic,english]. (./newfile1.aux) (/usr/share/texmf/tex/latex/arabtex/uxnsh.fd) . . . . / . / ## ! LaTeX Error: \begin{arabtext} on input line 10 ended by \end{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.13 \end{document} ? . [1{/usr/share/texmf/dvips/config/pdftex.map}] (./newfile1.aux) . . . (\end occurred inside a group at level 1) /var/lib/texmf/pk/ljfour/arabtex/xns h14.600pk Output written on newfile1.pdf (1 page, 9095 bytes). Transcript written on newfile1.log. Why not? - The generated file contains the Arabic text plus strange arabic letters at the end!!! Better Workaround: --- Open the latex file in an editor and add a space before any closing LaTeX code within the \begin{arabtext} and the \end{arabtext}. I mean a space should be entered before \end{arabtext} and if you have any formatting say you centered some text you should go to the latex file and add a space before the \end{center} or you get errors like this: ! LaTeX Error: \begin{center} on input line 11 ended by \end{document}. Have I missed an obvious thing?! -- __/__/ _/ _/ _/ _/ _\ _/ _\_/ _/\ / _\ unzir_/ aha Telecommunications Engineer Linux Registered User [EMAIL PROTECTED]://counter.li.org CIW, ICDL, MOUS. New Horizons CLC Riyadh, SA
Re: glossary of terms?
Hello, I have this in a Makefile to create pdf output with nomencl, maybe it works for you: meth.pdf: lyx -e latex meth.lyx latex meth.tex makeindex meth.glo -s nomencl.ist -o meth.gls lyx -e pdf2 meth.lyx Andres Becerra. On Wed, 18 Jun 2003, Thomas CLive Richards wrote: You should take a look to the latex package nomencl. It automatizes the glosary creation. I have had a look at this, and have followed the readme instructions to the letter. Now, when i go to view- PDF, i don't get any errors, but nothing happens! where's my glossary? i put an ERT in the end of the document with \printglossary, and I've done everything else weird.. Also, i run debian, and i can't seem to find a package for the nomencl latex add-on. I assume it's already installed, otherwise I'd get errors, right? -- Thomi Richards, [EMAIL PROTECTED]
Re: How to edit LaTeX math in LyX?
It seems I will have little choice but to learn LaTeX math editing in depth, which I had hope to avoid by using LyX. Yes you can avoid most of the complicated Latex math stuff by using LyX.. In other words, do you go into math mode, or type in ERT mode? You go into math mode and then type latex math commands and hit a space and you should see the result of your latex commands immediately (in most cases).. for equations you can use one of the environments that are listed in Insert - Math.. there are shorcuts to this too I believe.. In math mode, the above code turns into LyX WYSIWYM math editing. This is a problem because it is then impossible to see the text LateX code underneath. I guess that was the intention so that one sees the content clearly and not the code.. but if you want to see the code then you can select the math stuff and paste into an ERT inset, i.e. do C-l and paste into the inset and all the code that went into the math that you selected will show.. hope this helps.. nirmal
list of math shortcuts
Hi.. is there a list of all the math shortcuts somewhere? Some lyx configuration file maybe? I found a document on the web by googling which had some but not all.. for example, how do I get a hat or a tilde on an existing character? I can select the character with the mouse and then get the hat or tilde from the Math panel.. Or I can delete the character and do \tilde - space - character.. I'd like to avoid doing the latter and hopefully the former if there's some keyboard shortcut for this... Thanks, nirmal PS: Sorry if this is a repost.. sending it again cos it looks like my message from earlier today didn't make it...
Toolbars
Is there a way to make the icons on the toolbars smaller? I would like to create toolbars which are as close to scientific workplace as possible so that I have an easy switch! Best wishes, -Jan
Re: Toolbars
Hearing this announcement below, I was wondering: Will we see a Mac OS X native version of LyX soon? If yes, how soon? Best wishes, -Jan Qt/Mac Free Software Edition coming to WWDC 2003 By Dennis Sellers [EMAIL PROTECTED] June 17, 2003 5:50 pm ET Trolltech will release Qt/Mac under the GPL (GNU General Public License) at next week's Worldwide Developers Conference. Qt/Mac is the Mac port of Qt, a single-source, multiplatform C++ GUI (graphical user interface) toolkit that lets applications run natively on Mac OS X, Windows, and Linux/Unix, all from the same codebase. The GPL release of Qt/Mac means that developers of free Mac software can use Qt free of charge. Any software produced with the GPL version of Qt/Mac (and any derivatives of it) must also be released with full source code available under the GPL. Developers who want create commercial (proprietary or closed source) software can do so using the existing Qt/Mac commercial licenses. (Since it was founded in 1994, Trolltech has offered developers both commercial and Free Software licensing options). With the upcoming Qt/Mac GPL release, existing Free Software applications developed with Qt/X11 (Linux and various flavors of Unix) and Qt/Embedded (embedded Linux), can now be ported to Mac OS X platform with a simple recompile. The release of Qt/Mac under the GPL also means that Qt Script for Applications (QSA), Trolltech's scripting toolkit for Qt-based applications, will be available under a dual license on Mac OS X. WWDC 2003 will be held June 23-27 in San Francisco, Calif.
Vectorstyle
Hi there! I have three more questions: 1. Is there a way to make the vectors in lyx on screen in bold style, e.g., \boldsymbol{} or \bm{} while still using \vec{} ? 2. Can I configure the font for the large parentheses? On my Mac it looks kinda ugly! 3. Why are the subscript characters in a_b so low? Is that due to the version of the QT? Thank you very much! Jan Peters
Re: \displaysize???
Andre Poenitz wrote: On Tue, Jun 17, 2003 at 09:00:15AM -0700, Chris Carlen wrote: Hi: Is it possible to use this in LyX? You can use whatever macro you want... I want to make equations in an array appear in the same size font as the rest of my equations, not reduced. I have fractional expressions in an array, and they are in a smaller font when in the array. I tried to figure out how to enter \displaysize as ERT, but it always causes a LaTeX error. In this case you should try to use \displaystyle. This is even supported natively by LyX, i.e. shows as larger characters on screen. Thanks. Yes I see that \displaystyle makes the fractions large, but then they overlap vertically with the other rows of the array. Any way to fix this? -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]
Re: figures at the end of document
On Mon, Jun 16, 2003 at 08:57:20PM +0200, Alexandru Cabuz wrote: > Thanks, I got it now. > > Also, one more highly technical question. > > > IIRC this is a hard coded TeX limitation. > > What does IIRC stand for? > > Interestingly insofar as robust creativity...? > I infer regarding this crap... ? IIRC 'IIRC' stands for 'if I remember correctly'. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Lighter Version
On Tue, Jun 17, 2003 at 12:26:41AM +0300, Robin Turner wrote: > >1 - Is there a lighter version of LyX or a lighter program that works just > >like it? > > LyX itself is about as light as you can get - Well, it isn't. Believe me. LaTeX runs on a 512k DOS machine. LyX certainly does not. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Apendix numbering and bibliography formating
Hello! I have two small problems 1.if I do Layout->insert apendix new aded apendix is numbered 'A Apendix'. I would like to achive 'Apendix A'. How can I do that? 2.if I add bibliography with bibTeX all titles are formated to have capitalic at the begining and rest lowercase. I tried tons of .bst without luck. How can I just leave title 'as is' in database? Thanks in advance. wo
Re: Apendix numbering and bibliography formating
Marcin Bukat wrote: > 2.if I add bibliography with bibTeX all titles are formated to have > capitalic at the begining and rest lowercase. I tried tons of .bst > without luck. How can I just leave title 'as is' in database? You must wrap the letters you'd like left alone in {} braces. Eg "The {N}avier-{S}tokes equations" I guess that you could wrap the whole thing "{The Navier-Stokes equations}", but that is just a guess ;-) -- Angus
Re: Lighter Version
Tuukka Toivonen <[EMAIL PROTECTED]> wrote on 16/06/2003 (10:54) : > > Never use KDE nor Gnome unless you have 64 MB or so memory. No unless you have 128 Mb preferably 256 Mb. At least if you look at the latest versions. -- «It's probably worth pointing out that C's pointer arithmetic is not only dangerous, and a significant source of errors, but it also makes programs run slower.» - James Kanze on comp.lang.ada,comp.lang.c++.moderated
Re: how to? Curriculum Vitae
Jean-Marc.Lasgouttes> There is a class named cv.cls distributed (and supported) with LyX. Jean-Marc.Lasgouttes> You just have to move it from /share/lyx/tex/cv.cls to Jean-Marc.Lasgouttes> somewhere where latex will find it (as we say when we are too lazy to Jean-Marc.Lasgouttes> give the whole solution). That works. Thank you. I wonder why these classes are not part of MiKTeX. Some bytes more should not matter on 500 MB ... Marcus
external script and lyx
Hi, I would like to know if it is possible to define a viewer, a converter, a custom_export_command or something else such that, with one click on a menu entry, the two following things are done when the file DIR/file.lyx is open in LyX: 1) DIR/file.lyx is exported in latex to DIR/file.tex 2) a bash script is run on DIR/file.tex (i.e. with the complete path) For example, the script would manage the compilation process (diffrently than LyX do it) in such a way that I would be able to use vtex without crashing lyx. Thank you very much Ph. C. P.S. excuse me if this message is send twice to the list. It seems that the first time I send it it was not delivred.
Re: external script and lyx
Charpentier Philippe wrote: > > Hi, > I would like to know if it is possible to define a viewer, a converter, > a custom_export_command or something else such that, with one click on a > menu entry, the two following things are done when the file DIR/file.lyx > is open in LyX: > > 1) DIR/file.lyx is exported in latex to DIR/file.tex > 2) a bash script is run on DIR/file.tex (i.e. with the complete path) Add format "Charpentier" to the list of available formats using the Edit->Preferences dialog: (Qt) File Formats pane (xforms) Conversion->Formats tab folder Eg: Format: charpentier GUI name: Charpentier Shortcut: Extension: chp Viewer Press "Modify" and then "Save" Thereafter, define a converter LaTeX->Charpentier using the (Qt) Converters pane (xforms) Conversion->Converters tab folder > For example, the script would manage the compilation process (diffrently > than LyX do it) in such a way that I would be able to use vtex without > crashing lyx. LyX should not crash. Please send a backtrace so that we can ascertain what is going wrong. Angus
Re: external script and lyx
On Tue, 17 Jun 2003 13:26:15 +0200 Andre Poenitz <[EMAIL PROTECTED]> wrote: > On Tue, Jun 17, 2003 at 01:09:47PM +0200, Charpentier Philippe wrote: > > I would like to know if it is possible to define a viewer, a converter, > > a custom_export_command or something else such that, with one click on a > > menu entry, the two following things are done when the file DIR/file.lyx > > is open in LyX: > > > > 1) DIR/file.lyx is exported in latex to DIR/file.tex > > 2) a bash script is run on DIR/file.tex (i.e. with the complete path) > > > > For example, the script would manage the compilation process (diffrently > > than LyX do it) in such a way that I would be able to use vtex without > > crashing lyx. > > Define a new 'Format' 'vtex' in your preferences. > Define a viewer for this format. > Define a converter 'LaTeX -> vtex' (basically the name of your script) > > Andre\ I tried the following: a new format: \format "latexx" "tex" "LaTeX-X" "" a new viewer: \viewer "latexx" "$HOME/bin/LaTeX" a new converter: \converter "latex" "latexx" "$HOME/bin/LaTeX $$i" "" (with $HOME= my home) then LaTeX-X appears in the view menu. But I get an error: the lyx file (file.lyx) is exported to latex format in the temp directory and my script is simply send on file.tex (without any path) which gives an error: it can't find it. Is it possible to send TEMPDIR/file.tex to the script instead of file.tex? Ph. C.
RE: glossary of terms?
try http://www.educat.hu-berlin.de/~voss/lyx/nomencl/nomencl.phtml If you need an example file let me know. Remzi -Original Message- From: Thomas CLive Richards [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 4:48 AM To: [EMAIL PROTECTED] Subject: glossary of terms? Is there planned support for a glossary of terms feature like MS Word has? So, you'd select a word, and click on "glossary item", and then (in a popup window), enter a description of the word. In the back of your document, a glossary would build itself... This would be extremely useful to me, and i have an idea it could be done with an ERT or two, but i don't know a thing about latex, so that's of no use to me.. -- Thomi Richards, [EMAIL PROTECTED]
Re: external script and lyx
... >> For example, the script would manage the compilation process (diffrently >> than LyX do it) in such a way that I would be able to use vtex without >> crashing lyx. >LyX should not crash. Please send a backtrace so that we can ascertain what >is going wrong. > >Angus I posted a message on this subject on lyx-devel (on 27 May 2003, subject: Re: LyX and vTeX) here is: ... I did that for lyx-1.2.3 and lyx-1.3.2. Precisely I wrote \format "pdf4" "pdf" "PDF (vlatex)" "" (in the FORMATS SECTION) and \converter "latex" "pdf4" "/usr/local/vtex/bin/vlatex $$i" "latex" (in the CONVERTERS SECTION) With lyx-1.2.3 all is fine. But with lyx-1.3.2, if there is a latex error in the document, lyx crashes with the following output: lyx: /usr/include/g++-3/std/bastring.cc:126: basic_string_string ::replace (unsigned int, unsigned int, const basic_string &, unsigned int, unsigned int) [with charT = char, traits = string_char_traits, Allocator = __default_alloc_template ]: l'assertion `!(pos2 > len2)' a échoué. /home/pcharpen/bin/monlyxqt: line 6: 8816 Abandon Why? Ph. C. More precisely: the test was made on a RedHat-7.2. Running lyx-1.3.2 with "-dbg latex" gives (with a \usepackage{al} in the preamble): Log line: ! LaTeX Error: File `al.sty' not found. lyx: /usr/include/g++-3/std/bastring.cc:126: basic_string _string ::replace (unsigned int, unsigned int, const basic_string &, unsigned int, unsigned int) [with charT = char, traits = string_char_traits, Allocator = __default_alloc_template ]: l'assertion `!(pos2 > len2)' a échoué. Abandon The same test on a RedHat-8.0 gives, for BOTH lyx-1.2.3 and lyx-1.3.2, a crash of lyx with: Log line: ! LaTeX Error: File `al.sty' not found. Abandon Is this a bug in LyX? Ph. C. . Ph. C.
Re: how to? Curriculum Vitae
> "Marcus" == Marcus Beyer <[EMAIL PROTECTED]> writes: Marcus> That works. Thank you. Marcus> I wonder why these classes are not part of MiKTeX. Some bytes Marcus> more should not matter on 500 MB ... Because I have been too lazy to update this class to ctan (there is a name conflict with another class too). JMarc
Re: how to? Curriculum Vitae
On 2003-06-17, 10:11 GMT, Marcus Beyer wrote: > I wonder why these classes are not part of MiKTeX. > Some bytes more should not matter on 500 MB ... Probably, because nobody bothered to persuade MiKTeX maintainers, that they should them to the distribution. :-) Matej -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Re: external script and lyx
On Tue, 17 Jun 2003 14:46:31 +0200 Charpentier Philippe <[EMAIL PROTECTED]> wrote: > On Tue, 17 Jun 2003 13:26:15 +0200 > Andre Poenitz <[EMAIL PROTECTED]> wrote: > > > On Tue, Jun 17, 2003 at 01:09:47PM +0200, Charpentier Philippe wrote: > > > I would like to know if it is possible to define a viewer, a converter, > > > a custom_export_command or something else such that, with one click on a > > > menu entry, the two following things are done when the file DIR/file.lyx > > > is open in LyX: > > > > > > 1) DIR/file.lyx is exported in latex to DIR/file.tex > > > 2) a bash script is run on DIR/file.tex (i.e. with the complete path) > > > > > > For example, the script would manage the compilation process (diffrently > > > than LyX do it) in such a way that I would be able to use vtex without > > > crashing lyx. > > > > Define a new 'Format' 'vtex' in your preferences. > > Define a viewer for this format. > > Define a converter 'LaTeX -> vtex' (basically the name of your script) > > > > Andre\ > > I tried the following: > > a new format: > > \format "latexx" "tex" "LaTeX-X" "" > > a new viewer: > > \viewer "latexx" "$HOME/bin/LaTeX" > > a new converter: > > \converter "latex" "latexx" "$HOME/bin/LaTeX $$i" "" > > (with $HOME= my home) > > then LaTeX-X appears in the view menu. But I get an error: > the lyx file (file.lyx) is exported to latex format in the temp directory > and my script is simply send on file.tex (without any path) which gives > an error: it can't find it. Is it possible to send TEMPDIR/file.tex > to the script instead of file.tex? > > Ph. C. > It seems that I am wrong.. the script is run on file.tex but probably after a cd in TEMPDIR (my script needed the path to add [EMAIL PROTECTED] at the begening of file.tex, but this is done by lyx in TEMPDIR). Then I have to modify my script... Ph. C.
Lyx problem: Xlib: connection to ":0.0" refused by server
Hello: I installed lyx-1.1.6fix4-133.i386.rpm and xforms-0.89-387.i386.rpm on my computer with SuSe8.2. When I run lyx files, everything went well except .ps image loading. Actually, it can load some .ps images but not totally; some .ps images can't be displayed (error message: Render Error). I also got these warning message: [EMAIL PROTECTED]:~> lyx Report.lyx Xlib: connection to ":0.0" refused by server Xlib: XDM authorization key matches an existing client! Error: Couldn't find per display information GS [2171] error 256 E:1 1 S:0 0 but when view it as PDF file, all of .ps images are displayed and no problem. Would you please tell me what is wrong ? How can I fix it? Thanks in advance. Guijun
Re: external script and lyx
On Tue, 17 Jun 2003 17:05:32 +0200 Charpentier Philippe <[EMAIL PROTECTED]> wrote: > > It seems that I am wrong.. the script is run on file.tex but probably after a cd > in TEMPDIR (my script needed the path to add [EMAIL PROTECTED] at the > begening of file.tex, but this is done by lyx in TEMPDIR). Then I have > to modify my script... > Ph. C. > I just tried that: I wrote a small script which copies TEMPDIR/file.tex in an other directory and run my original script on that copy. It works, but when all the colmpilation is finished lyx produce an error message: Impossible to convert the file Error while executing script 'file.tex' without any particular output. I suppose this is not a real problem. Ph. C.
Re: external script and lyx
> "Charpentier" == Charpentier Philippe <[EMAIL PROTECTED]> writes: Charpentier> For example, the script would manage the compilation Charpentier> process (diffrently than LyX do it) in such a way that I Charpentier> would be able to use vtex without crashing lyx. Did you find out exactly why LyX crashes with vtex? JMarc
\displaysize???
Hi: Is it possible to use this in LyX? I want to make equations in an array appear in the same size font as the rest of my equations, not reduced. I have fractional expressions in an array, and they are in a smaller font when in the array. I tried to figure out how to enter \displaysize as ERT, but it always causes a LaTeX error. Thanks. -- Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA [EMAIL PROTECTED]