Re: 1.1.6fix4 for OS X?
If your Mac user is still using OSX 10.1 (not 10.2.x "Jaguar"), then the solution is simple. Go to the Fink project page and download version 0.4.1 of fink. The 0.4.1 contains 1.1.6f4 in the "unstable" directory (/sw/fink/unstable/finkinfo/editors/) move the 1.1.6f4 file the corresponding stable directory (/sw/fink//finkinfo/stable/editors/) then from the terminal do: sudo fink install lyx 1.1.6f4 should then compile along with all the necessary packages. Though 1.1.6f4 is in the "unstable" directory, it compiled and worked just fine for me, though YMMV. (You can use the binary installer, which just installs the "stable" version, but I think that will install 1.1.6f3 instead.) If your Mac user is using OSX 10.2.x, then things are a bit trickier. This is because with the 10.2.x compatible release of fink (0.5.0) only contains LyX 1.2.x. However, I seem to recall that I had version 0.4.1 of fink working properly on 10.2.x in the interim few months after the release of 10.2 but before the release of fink 0.5.0 -- though the fink people very carefully pointed out that the packages in 0.4.1 had not been fully tested with 10.2.x. And I am positive that I had LyX 1.1.6f4 running on my 10.2 via fink. I believe the instructions on how to set up 0.4.1 in 10.2 were posted on the fink website, so you should probably check their news archives to find out how. If this doesn't work well, then you might search the fink website for the LyX package info. You should be able to find out who the maintainer of the package is. He might have the OSX binary of LyX 1.1.6f4 still available, or at least the necessary patch files to get it to compile correctly on OSX. Hope this is useful. Good luck. Tomoharu Nishino On Friday, January 10, 2003, at 06:17 PM, Mark Carroll wrote: Is LyX 1.1.6fix4 available for OS X anywhere? We really need stability so we've been using 1.1.6fix4, but a Mac user wants to be able to edit our files from home, and the file format seems to have changed. He does have 1.2.1 working. Suggestions? -- Mark
Unable to set line-spacing
Dear all, I have just upgraded to LyX 1.2.3 for win32. I find that I cannot change the line spacing from single to OneHalf or even double spacing. The Latex error message that was generated is: Latex error: File 'setspace.sty' not found. \onehalfspacing *** (Cannot \read from terminal in non-stop modes) This is the same problem in LyX 1.2.2 (LyX 1.2.1 was working all right). Anybody know the solution? Please help. Thank you, Shokie
Re: two mathed questions
Hi Robin, >Interesting, I don't have M-c-f in any of my .bind files, but it works on >my system. Do you know which file contains M-c-f (or M-z-f in a German >LyX)? Or is it hard-coded into LyX itself? Please have a look in the file: /usr/local/share/lyx/bind/menus.bind For the M-c-* commands please have a look at the user guide chapter 5.6.1, they are all listed there. >I can't say I've ever tried to >get upright ("Roman-style"?) Greek myself. I ment upright. >There is package named "upgreek" at CTAN that will do it, but never having used it >myself, I don't know how upgreek would work in conjunction with ambsy, or >whether upgreek includes bold versions of upright lowercase Greek >letters. I'll try this next time. >Incidentally, there is another package (bm.sty) that comes with the LaTeX >"tools" macros (macros/latex/required/tools). You include it in the >preamble and use \bm{...} in place of \boldsymbol{...}. It does not seem >to include upright bold lowercase Greek, but if you have a way to get >upright lowercase Greek, perhaps wrapping \bm{} around that would do the >job? Yes it doesn't provide upright grees letters, but it works better than boldsymbol. Thanks a lot for that. regards Uwe
Re: Bold for Greek letters
Hi, You can either put \usepackage{amsbsy} in the preamble (may not be necessary -- it loads automatically using the amsart class, and maybe using other classes) and then use \boldsymbol{\theta} etc. in math mode, or \usepackage{bm} in the preamble and \bm{\theta} in math mode. -- Paul Hisyam Lee <[EMAIL PROTECTED]> wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: > Hi there, > > I like to bold some of the Greek letters in equations e.g. alpha, > beta, gamma etc for the purpose of matrices and vectors. How can I do > that? > > Thank you very much. > > Best regards, > > Hisyam > > > > - > This mail sent through IMP: http://horde.org/imp/ > > * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: two equations numbers.
Thanks for that. Rod On Fri, 10 Jan 2003, Dekel Tsur wrote: > On Thu, Jan 09, 2003 at 02:35:29PM +0800, Rod Pinna wrote: > > Hi all, > > > > I'm not sure if this is a good idea but... > > > > I'm following a method from an article, but with some different starting > > assumptions. What I'm considering is numbering my equaitons, but also > > trying to have the number from the original article; e.g. > > > > e=mc^2 (1, A3a) > > > > Where 1 is my number, and A3a is the number from the original source. > > 1. Enable the "Use AMS" button in the document dialog. > > 2. Add the following line to the preamble > \newcommand{\Tag}[1]{\stepcounter{equation}\tag{\theequation, #1}} > > 3. In the equation, type > \Tag{A3a > > Note that a reference to the equation will give "1, A3a". > _ rod | "Beneath the waves, the waves / That's where I will be / | I'm going to see the cow beneath the sea." | They Might Be Giants, Lincoln
1.1.6fix4 for OS X?
Is LyX 1.1.6fix4 available for OS X anywhere? We really need stability so we've been using 1.1.6fix4, but a Mac user wants to be able to edit our files from home, and the file format seems to have changed. He does have 1.2.1 working. Suggestions? -- Mark
Bold for Greek letters
Hi there, I like to bold some of the Greek letters in equations e.g. alpha, beta, gamma etc for the purpose of matrices and vectors. How can I do that? Thank you very much. Best regards, Hisyam - This mail sent through IMP: http://horde.org/imp/
Re: LyX looks for wrong xforms version.
On 10 Jan 2003 10:09:01 +0100 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > > "Martijn" == Martijn Brouwer <[EMAIL PROTECTED]> writes: > > Martijn> Additional information: LyX 1.2.3 has the same problem on my > Martijn> system (debian testing) > > Martijn> The output from ldd /usr/local/bin/lyx > [...] > Martijn> So it is linked against both versions. I do not have > Martijn> libxforms installed, allthough I had before I installed > Martijn> version 1.0. Any comments from the developers or other debian > Martijn> users? > > Can you show us the final link command you had when compiling LyX? > > JMarc > If you tell me how ;-) I just builded lyx with make. I have attached the Makefile Makefile Description: Binary data
X11 key-mapping problem (MacOSX, Apple X11, LyX-1.2.2)
Since changing X-Servers on MacOSX to the Apple X11 server, I find that the Apple Option key, which generates keycode 66 (Alt-L) in xev, is bound to various menu functions in LyX. Option-e gives me the edit menu, Option-v the view menu, etc. I would like to free the Option key up so I can use it to generate foreign characters -- it is the key in MacOSX. This worked with a different X-server (XDarwin) on MacOSX. The only X11 keymapping change I've made is to use xmodmap to clear mod1 add mod1 = Meta_L which allows me to use the Apple Command key as a Meta key in Lyx. Is there a way to unbind the Option (Alt_L) key so it will again work with the default Apple key-mapping? Thanks. -- Ronald Florencewww.18james.com
problem with perl scripting when exporting to linuxdoc and text format
Hello I am using Lyx for more than 2 years now to maintain the faq of news:fr.comp.os.unix.mac, and I made a perl script to automate conversions to text, sgml and html format. I have just upgraded to Lyx 1.2.3 Since a few Lyx versions, my script doesn't work anymore. In the perl script, I use the following statement for exporting to linuxdoc: ($status, $data) = $lyx->command("buffer-export linuxdoc","[M-f E x]"); An alert says : No information for exporting to linuxdoc and debuging info (with -dbg 8192 option) tells me : LyXComm: No such file or directory and no files are created. When exporting to text format, the behavior is the same. Notice that : - the script did work with Lyx 1.1.5fix2 - "lyx -export linuxdoc faq.fcoum.lyx" works fine - exporting to LinuxDoc whith menu File/Export/LinuxDoc works fine - I use, in the perl script : ($status, $data) = $lyx->command("buffer-write","[C-s] [F2] [M-f s]"); to save the lyx file before exporting and it works fine. So, what is the matter when exporting from the script ? Thanks in advance. -- Macintosh, GNU/Linux sur Macintosh et PalmOS http://webperso.easyconnect.fr/eherlent GNU/Linux sur Macintosh http://www.linux-france.org/macintosh
Re: two equations numbers.
On Thu, Jan 09, 2003 at 02:35:29PM +0800, Rod Pinna wrote: > Hi all, > > I'm not sure if this is a good idea but... > > I'm following a method from an article, but with some different starting > assumptions. What I'm considering is numbering my equaitons, but also > trying to have the number from the original article; e.g. > > e=mc^2 (1, A3a) > > Where 1 is my number, and A3a is the number from the original source. 1. Enable the "Use AMS" button in the document dialog. 2. Add the following line to the preamble \newcommand{\Tag}[1]{\stepcounter{equation}\tag{\theequation, #1}} 3. In the equation, type \Tag{A3a Note that a reference to the equation will give "1, A3a".
Re: two mathed questions
[posted and mailed] Uwe, Interesting, I don't have M-c-f in any of my .bind files, but it works on my system. Do you know which file contains M-c-f (or M-z-f in a German LyX)? Or is it hard-coded into LyX itself? Regarding bold Roman-style Greek letters (which somehow seems to be an oxymoron), there's a tip posted at http://www.educat.hu-berlin.de/ ~voss/lyx/mathstuff/mathmode.phtml#bold_2. It looks rather painful if you need more than one or two letters. I can't say I've ever tried to get upright ("Roman-style"?) Greek myself. I think that there is a package named "upgreek" at CTAN that will do it, but never having used it myself, I don't know how upgreek would work in conjunction with ambsy, or whether upgreek includes bold versions of upright lowercase Greek letters. Incidentally, there is another package (bm.sty) that comes with the LaTeX "tools" macros (macros/latex/required/tools). You include it in the preamble and use \bm{...} in place of \boldsymbol{...}. It does not seem to include upright bold lowercase Greek, but if you have a way to get upright lowercase Greek, perhaps wrapping \bm{} around that would do the job? -- Paul Uwe Stöhr <[EMAIL PROTECTED]> wrote in 000b01c2b8d2$2e3f0480$fe78a8c0@uwe2:">news:000b01c2b8d2$2e3f0480$fe78a8c0@uwe2: > Thanks Paul, > it works fine because amsbsy is loaded everytime automatically. > And sorry for the wrong key-binding M-z-f. > It is M-c-f in an English LyX. > > But I'm also interested in converting greek letters in roman-style > (M-c-r). Is there also a possibility with aspecial AMS-LaTeX package? > >> One other note: I like to use psfonts in my documents, but I cannot >> get bold Greek to work with psfonts. It works ok with default fonts. > You are right, that seems to be a bug in the font-package. Greek > letters are always displayed in roman-style. > > - Original Message - > From: "Paul A. Rubin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, January 10, 2003 5:50 PM > Subject: Re: two mathed questions > > >> Hello, >> >> I too am using LyX 1.2.2 under Cygwin. I'm not familiar with M-z-f, >> though; it's not in any of the key binding files I have. >> >> At any rate, here's how I get bold Greek letters in LyX (may not be >> the most efficient, but it seems to work). >> >> 1. Make sure that the package amsbsy is being loaded. I use the >> amsart class a lot, which seems to load it automatically. If in >> doubt, export the article to latex and check the latex file. If >> amsbsy is not being loaded, add \usepackage{amsbsy} to your document >> preamble. >> >> 2. In math context, type \boldsymbol{\pi} rather than just \pi, etc. >> If you're industrious, I suppose you could make up key bindings to >> do this. >> >> The boldface button in the Math panel doesn't seem to work for this, >> which is unfortunate. >> >> One other note: I like to use psfonts in my documents, but I cannot >> get bold Greek to work with psfonts. It works ok with default fonts. >> >> -- Paul
Re: two mathed questions
Thanks Paul, it works fine because amsbsy is loaded everytime automatically. And sorry for the wrong key-binding M-z-f. It is M-c-f in an English LyX. But I'm also interested in converting greek letters in roman-style (M-c-r). Is there also a possibility with aspecial AMS-LaTeX package? > One other note: I like to use psfonts in my documents, but I cannot get > bold Greek to work with psfonts. It works ok with default fonts. You are right, that seems to be a bug in the font-package. Greek letters are always displayed in roman-style. - Original Message - From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 5:50 PM Subject: Re: two mathed questions > Hello, > > I too am using LyX 1.2.2 under Cygwin. I'm not familiar with M-z-f, > though; it's not in any of the key binding files I have. > > At any rate, here's how I get bold Greek letters in LyX (may not be the > most efficient, but it seems to work). > > 1. Make sure that the package amsbsy is being loaded. I use the amsart > class a lot, which seems to load it automatically. If in doubt, export > the article to latex and check the latex file. If amsbsy is not being > loaded, add \usepackage{amsbsy} to your document preamble. > > 2. In math context, type \boldsymbol{\pi} rather than just \pi, etc. If > you're industrious, I suppose you could make up key bindings to do this. > > The boldface button in the Math panel doesn't seem to work for this, > which is unfortunate. > > One other note: I like to use psfonts in my documents, but I cannot get > bold Greek to work with psfonts. It works ok with default fonts. > > -- Paul
ANNOUNCE: Lyx 1.2.3 for Windows
The new release 1.2.3 now is available for Windows, too. Download as usual from http://www.fh-hannover.de/mbau/tim/hentschel/lyx/index.htm Claus
Re: two mathed questions
Hello, I too am using LyX 1.2.2 under Cygwin. I'm not familiar with M-z-f, though; it's not in any of the key binding files I have. At any rate, here's how I get bold Greek letters in LyX (may not be the most efficient, but it seems to work). 1. Make sure that the package amsbsy is being loaded. I use the amsart class a lot, which seems to load it automatically. If in doubt, export the article to latex and check the latex file. If amsbsy is not being loaded, add \usepackage{amsbsy} to your document preamble. 2. In math context, type \boldsymbol{\pi} rather than just \pi, etc. If you're industrious, I suppose you could make up key bindings to do this. The boldface button in the Math panel doesn't seem to work for this, which is unfortunate. One other note: I like to use psfonts in my documents, but I cannot get bold Greek to work with psfonts. It works ok with default fonts. -- Paul Uwe Stöhr <[EMAIL PROTECTED]> wrote in 000c01c2b833$d176c560$fe78a8c0@uwe2:">news:000c01c2b833$d176c560$fe78a8c0@uwe2: > I want to handle greek characters in mathed in the same way as latin > characters but it doesn't work. For example if I want a character in a > bold style and I use the shortcut M-z-f , it doesn't work with the > greek ones. Why? Is it a bug or just not supported by LyX? > > Another problem occurs when I use a non us-keyboard in mathed. Then > its not possible to type the right keyboard characters. But in ERT or > in all the other LyX-dialouges everythings works fine. Any > suggestions? > > I'm using the newest Cygwin/XFree86 version and LyX 1.2.2 for Win32. > > Btw it would be nice if images in .png format are displayed directly > in Lyx like the other image-formats (.gif, .eps...). Because everytime > I add such an image an converting error occurs. > > Thanks Uwe > > > --=_NextPart_000_0009_01C2B83C.228475D0-- * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: LyX presentation
On Friday 10 January 2003 05:24 am, Andre Poenitz wrote: > Has anybody already made some presentation on LyX itself? > > I am pondering giving a 30 minutes talk on LyX at the "Chemnitzer > Linuxtag 2003" but I am known to be a bad entertainer ;-} > > Qt or xforms? > > Andre' http://www.troubleshooters.com/linux/presentations/lyx_leap/toc.html However, the talk took an hour and 40 minutes. Steve -- Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist Webmaster * Troubleshooters.Com * http://www.troubleshooters.com (Legal Disclaimer) Follow these suggestions at your own risk.
Re: version comparison
On Fri, Jan 10, 2003 at 10:51:51AM +0100, Jean-Marc Lasgouttes wrote: > David> Does anyone know of a way of comparing two versions of a text > David> and producing an output to show which changes have been made. > > Some stupid tricks for finding difference (if you are lucky) can be > found at > http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg16018.html A slightly less stupid solution is to use the attached script, which requires installing dvipost from http://efeu.cybertec.at/dist/dvipost-1.0.tar.gz #!/usr/bin/env python # Copyright (C) 2002 Dekel Tsur <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. version = "0.1" import getopt,os,sys,re,string add_begin = "\\changestart" add_end = "\\changeend" del_begin = "\\overstrikeon" del_end = "\\overstrikeoff" math_rexp = r"\$|\\\[|\\\]|\\(?:begin|end)\{(?:equation|eqnarray|align)\*?\}" def preprocess(from_file, to_file): result = [] if from_file[-3:] == "lyx": os.system("lyx -e latex " + from_file) from_file2 = from_file[:-3]+"tex" else: from_file2 = from_file fh = open(from_file2) lines = fh.readlines() fh.close() if from_file[-3:] == "lyx": os.remove(from_file2) preamble = 1 text = "" for line in lines: if preamble: if re.search(r"\\begin{document}", line): preamble = 0 else: result.append(line) continue # Remove comments line = re.sub(r"([^\\]|^)%.*", r"\1%", line) # Put %\n before commands line = re.sub(r"(\\(\w+){)", "%\n\\1", line) # Put %\n after \emph{ line = re.sub(r"(\\(emph|textbf){)", "\\1%\n", line) text = text + line x = re.split("("+math_rexp+")", text) math_mode = 0 for i in xrange(len(x)): y = x[i] if i % 2: math_mode = not math_mode if math_mode: x[i] = x[i]+" " else: x[i] = " "+x[i] elif math_mode: x[i] = re.sub(r"([^\\_^])([=<>+-,()}])", r"\1 \2 ", x[i]) x[i] = re.sub(r"([^\\])(\\)", r"\1 \2", x[i]) text = string.join(x, "") fh = open(to_file, 'w') fh.write(text) fh.close() return result def usage(): print """Usage: ldiff [options] [] Show the differences between two latex/lyx files. ldiff to compare two files. tdiff to compare with the most recent version checked into CVS. ldiff -r to compare with revision of . ldiff -r -r to compare revision with revision . Options: -h, --help This information -v, --version Output version information -d, --deleted Show deleted text -b, --nocolor Do not colorize the changed text -l, --latex Produce only the latex file -s, --separationSeparation between change bars and text (default value = -50)""" _options = ["help", "version", "deleted", "nocolor", "latex", "separation="] try: opts, args = getopt.getopt(sys.argv[1:], "hvdbkls:r:", _options) except getopt.error: usage() sys.exit(1) rev = "" deleted = 0 colorize = 1 onlylatex = 0 sep = "-50" for o, a in opts: if o in ("-h", "--help"): usage() sys.exit() if o in ("-v", "--version"): print "ldiff, version "+version sys.exit() if o in ("-d", "--deleted"): deleted = 1 if o in ("-b", "--nocolor"): colorize = 0 if o in ("-l", "--latex"): onlylatex = 1 if o in ("-s", "--separation"): sep = a if o == "-r": rev = rev + " -r" + a if len(args) not in [1,2]: usage() sys.exit(1) file1 = "ldiff_tmp1.tex" file2 = "ldiff_tmp2.tex" if len(args) == 2: preprocess(args[0], file1) file = args[1] else: file0 = file1[:-3]+args[0][-3:] os.system("cvs diff %s -u %s | patch -R -o%s" % (rev, args[0], file0)) preprocess(file0, file1) if file0[-3:] == "lyx": os.remove(file0) file = args[0] preamble_lines = preprocess(file, file2) if deleted: wdiffopts = "-w'%s{}' -x'%s{}'" % (del_begin, del_end) else: wdiffopts = "-1" wdiffopts = wdiffopts + " -y'%s{}' -z'%s{}'" % (add_begin, add_end) fh = os.popen("wdiff %s %s %s" % (wdiffopts,
LyX presentation
Has anybody already made some presentation on LyX itself? I am pondering giving a 30 minutes talk on LyX at the "Chemnitzer Linuxtag 2003" but I am known to be a bad entertainer ;-} Qt or xforms? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: version comparison
> "David" == David Norris <[EMAIL PROTECTED]> writes: David> Does anyone know of a way of comparing two versions of a text David> and producing an output to show which changes have been made. David> Winword offers the possibility of comparing versions, and David> colour-marking changed text. Many scientific journals now David> expect their authors to provide a marked text when they David> resubmit articles. There is some experimental code to do this at http://www.devel.lyx.org/changetracking.php3 It does not compute the differences between two files by itself, but allows for marking changes. Some stupid tricks for finding difference (if you are lucky) can be found at http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg16018.html I guess it is possible to use wdiff to produce output usable by the change-tracking code. JMarc
version comparison
Does anyone know of a way of comparing two versions of a text and producing an output to show which changes have been made. Winword offers the possibility of comparing versions, and colour-marking changed text. Many scientific journals now expect their authors to provide a marked text when they resubmit articles. If anyone has any ideas I'd be most grateful. David
Re: IEEE papers format
> "Jihène" == Jihène Krichène <[EMAIL PROTECTED]> writes: Jihène> Hello everybody Does lyx support the IEEE articles format ? If Jihène> yes, how ? because I didn't find this option in the document Jihène> layout. Thanks Yes, we have a IEEEtran layout. However you need to pick the corresponding latex class file (look for info in Help>LaTeX Confguration). The Customization manual has information on how to install this latex class. JMarc
Re: LyX looks for wrong xforms version.
> "Martijn" == Martijn Brouwer <[EMAIL PROTECTED]> writes: Martijn> Additional information: LyX 1.2.3 has the same problem on my Martijn> system (debian testing) Martijn> The output from ldd /usr/local/bin/lyx [...] Martijn> So it is linked against both versions. I do not have Martijn> libxforms installed, allthough I had before I installed Martijn> version 1.0. Any comments from the developers or other debian Martijn> users? Can you show us the final link command you had when compiling LyX? JMarc