Re: New chess (skak.sty) support (IGNORE PREVIOUS)

2001-10-31 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> This is a bug fix to the way the file path is generated Kayvan> (currently, since we use params_.filename, LyX will always Kayvan> return the directory from which it was launched as opposed to Kayvan> the actual path to the fil

Re: New chess (skak.sty) support (IGNORE PREVIOUS)

2001-10-31 Thread Kayvan A. Sylvan
On Wed, Oct 31, 2001 at 04:24:37PM +0100, Jean-Marc Lasgouttes wrote: > > "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: > > Kayvan> Sorry. Here is a much smaller file. > > Applied. Thank you. This is a bug fix to the way the file path is generated (currently, since we use params_

Re: New chess (skak.sty) support (IGNORE PREVIOUS)

2001-10-31 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> Sorry. Here is a much smaller file. Applied. JMarc

Re: New chess (skak.sty) support (IGNORE PREVIOUS)

2001-10-31 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> On Tue, Oct 30, 2001 at 11:11:42AM -0800, Kayvan A. Sylvan Kayvan> wrote: >> I submit my chess patch again. Please apply this. It's quite >> limited in scope and won't break anything else. ;-) Kayvan> Ugh. I just noticed all

Re: New chess (skak.sty) support

2001-10-31 Thread Andre Poenitz
On Tue, Oct 30, 2001 at 12:07:34AM -0400, Garst R. Reese wrote: > > Oh how I would like to se a lilypond inset :-) > > I think this was the subject of about my first post to the list. > At the time, devlopers could be counted on one finger challenged hand. > Maybe it is an idea whose time has come

Re: New chess (skak.sty) support (IGNORE PREVIOUS)

2001-10-30 Thread Kayvan A. Sylvan
On Tue, Oct 30, 2001 at 11:11:42AM -0800, Kayvan A. Sylvan wrote: > > I submit my chess patch again. Please apply this. It's quite limited > in scope and won't break anything else. ;-) > > ---Kayvan Ugh. I just noticed all the *.po file garbage in my patch file. Sorry. He

Re: New chess (skak.sty) support

2001-10-30 Thread Kayvan A. Sylvan
On Tue, Oct 30, 2001 at 02:54:47PM +0200, Dekel Tsur wrote: > > > > Secondly, this does not work since the fen file is not found in the > > temporary lyx directory (and I don't like running with tmpdir off). > > > > Any ideas to fix the problem? > > Change the lyx sources, adding a $$lyxfilepat

Re: New chess (skak.sty) support

2001-10-30 Thread Kayvan A. Sylvan
On Tue, Oct 30, 2001 at 02:54:47PM +0200, Dekel Tsur wrote: > > > > Secondly, this does not work since the fen file is not found in the > > temporary lyx directory (and I don't like running with tmpdir off). > > > > Any ideas to fix the problem? > > Two solutions: > > 1. Change lyxskak.sty so

Re: New chess (skak.sty) support

2001-10-30 Thread Dekel Tsur
> > Secondly, this does not work since the fen file is not found in the > temporary lyx directory (and I don't like running with tmpdir off). > > Any ideas to fix the problem? Two solutions: 1. Change lyxskak.sty so that \loadgame tries to find the file in the path defined by \input@path 2. C

Re: New chess (skak.sty) support

2001-10-30 Thread Kayvan A. Sylvan
On Tue, Oct 30, 2001 at 02:04:51PM +0200, Dekel Tsur wrote: > On Tue, Oct 30, 2001 at 03:45:04AM -0800, Kayvan A. Sylvan wrote: > > On Tue, Oct 30, 2001 at 01:18:19PM +0200, Dekel Tsur wrote: > > > On Tue, Oct 30, 2001 at 02:56:23AM -0800, Kayvan A. Sylvan wrote: > > > > Here is the patch (and a t

Re: New chess (skak.sty) support

2001-10-30 Thread Dekel Tsur
On Tue, Oct 30, 2001 at 03:45:04AM -0800, Kayvan A. Sylvan wrote: > On Tue, Oct 30, 2001 at 01:18:19PM +0200, Dekel Tsur wrote: > > On Tue, Oct 30, 2001 at 02:56:23AM -0800, Kayvan A. Sylvan wrote: > > > Here is the patch (and a tar.gz file containing the two new files). > > > > Can you use > >

Re: New chess (skak.sty) support

2001-10-30 Thread Kayvan A. Sylvan
On Tue, Oct 30, 2001 at 01:18:19PM +0200, Dekel Tsur wrote: > On Tue, Oct 30, 2001 at 02:56:23AM -0800, Kayvan A. Sylvan wrote: > > Here is the patch (and a tar.gz file containing the two new files). > > Can you use > > Format LaTeX > Product "\\loadgame{$$Basename.fen}\\showboard" > > and no

Re: New chess (skak.sty) support

2001-10-30 Thread Dekel Tsur
On Tue, Oct 30, 2001 at 01:18:19PM +0200, Dekel Tsur wrote: > On Tue, Oct 30, 2001 at 02:56:23AM -0800, Kayvan A. Sylvan wrote: > > Here is the patch (and a tar.gz file containing the two new files). > > Can you use > > Format LaTeX > Product "\\loadboard{$$Basename.fen}\\showboard"

Re: New chess (skak.sty) support

2001-10-30 Thread Dekel Tsur
On Tue, Oct 30, 2001 at 02:56:23AM -0800, Kayvan A. Sylvan wrote: > Here is the patch (and a tar.gz file containing the two new files). Can you use Format LaTeX Product "\\loadboard{$$Basename.fen}\\showboard" and no UpdateCommand ?

Re: New chess (skak.sty) support

2001-10-30 Thread Kayvan A. Sylvan
On Tue, Oct 30, 2001 at 02:29:24AM -0800, Kayvan A. Sylvan wrote: > > 1. Copy skak.sty to lyxskak.sty > > > > 2. After ifthen package is loaded, add the line > > > > \let\skak@ifthenelse\ifthenelse > > > > 3. Replace every occurrence of the \ifthenelse macro by \skak@ifthenelse > > Good idea

Re: New chess (skak.sty) support

2001-10-30 Thread Kayvan A. Sylvan
On Tue, Oct 30, 2001 at 11:59:33AM +0200, Dekel Tsur wrote: > On Tue, Oct 30, 2001 at 11:43:55AM +0200, Dekel Tsur wrote: > > You can also make a lyxskak.sty package as follows: > > (lyxskak must be loaded after babel) > > > > \RequirePackageWithOptions{skak} > > \let\skak@ifthenelse\ifthenelse >

Re: New chess (skak.sty) support

2001-10-30 Thread Dekel Tsur
On Tue, Oct 30, 2001 at 11:43:55AM +0200, Dekel Tsur wrote: > You can also make a lyxskak.sty package as follows: > (lyxskak must be loaded after babel) > > \RequirePackageWithOptions{skak} > \let\skak@ifthenelse\ifthenelse > \AtBeginDocument{\let\ifthenelse\skak@ifthenelse} Perhaps it is better

Re: New chess (skak.sty) support

2001-10-30 Thread Dekel Tsur
On Mon, Oct 29, 2001 at 07:52:35PM -0800, Kayvan A. Sylvan wrote: > Now that I added in the skak.sty support, I have a babel related issue. > > LyX generates LaTeX that uses the babel package. There seems to be > a bad interaction between babel and skak.sty. I have a small LaTeX file > that demon

Re: New chess (skak.sty) support

2001-10-29 Thread Asger K. Alstrup Nielsen
On Tue, 30 Oct 2001, Garst R. Reese wrote: > "Asger K. Alstrup Nielsen" wrote: > > [Lilypond] > > Nice challenge :) I'll start updating, downloading, and reading. As you could see, NoteEdit does not support converting NoteEdit documents to Lilypond from the command line without user interaction.

Re: New chess (skak.sty) support

2001-10-29 Thread Asger K. Alstrup Nielsen
On Tue, 30 Oct 2001, Garst R. Reese wrote: [Lilypond] > I think this was the subject of about my first post to the list. > At the time, devlopers could be counted on one finger challenged hand. > Maybe it is an idea whose time has come :) > Garst So maybe Garst is ready to read up on the externa

Re: New chess (skak.sty) support

2001-10-29 Thread Kayvan A. Sylvan
Hi all, Now that I added in the skak.sty support, I have a babel related issue. LyX generates LaTeX that uses the babel package. There seems to be a bad interaction between babel and skak.sty. I have a small LaTeX file that demonstrates this. Can someone try it and tell me what to do to fix this

Re: New chess (skak.sty) support

2001-10-29 Thread Amir Karger
On Mon, Oct 29, 2001 at 08:37:28AM +0100, Asger K. Alstrup Nielsen wrote: > On Mon, 29 Oct 2001, Asger K. Alstrup Nielsen wrote: > > > P.S. Now, how about somebody implementing external material inset > > support for Rosegarden/NoteEdit and musicTex? That would make LyX the > > first word process

Re: New chess (skak.sty) support

2001-10-28 Thread Asger K. Alstrup Nielsen
On Mon, 29 Oct 2001, Asger K. Alstrup Nielsen wrote: > P.S. Now, how about somebody implementing external material inset > support for Rosegarden/NoteEdit and musicTex? That would make LyX the > first word processor that supported writing really beautiful music. > Check out http://icking-music-ar

Re: New chess (skak.sty) support

2001-10-28 Thread Asger K. Alstrup Nielsen
On Sun, 28 Oct 2001, Kayvan A. Sylvan wrote: > Okay. Here is my first crack at this. Once this goes in, we can > just remove lyxchess.sty (and the reference in the lib/Makefile.am > to tex/*.sty) Since the old version did not work because of the makefile problem, this has to be considered a bug-

New chess (skak.sty) support

2001-10-28 Thread Kayvan A. Sylvan
On Sun, Oct 28, 2001 at 07:25:34PM +0200, Dekel Tsur wrote: > > > It looks good (better/easier than chess.sty). > > Since you seem to have interest in this, I suggest you supply the > necessary patch. Okay. Here is my first crack at this. Once this goes in, we can just remove lyxchess.sty (and t