Working of LyX

2004-05-24 Thread Amitabh Trehaan
Hi, is there any document detailing the internal working of LyX? I am particualrly interested in adding another language package (which actually uses a preprocessor in LaTeX) to LyX, Something like the Arabian LyX. Amitabh

Re: Qt and debugstream.h

2004-05-24 Thread John Levon
On Wed, May 19, 2004 at 11:27:03PM +0100, Angus Leeming wrote: Would it be Ok if I added these blocks around struct debug_trait? Maybe I'll make the macro name more polite ;-) I'm fairly sure one of the first changes I had rejected by the LyX team was trying to fix up Qt namespace pollution by

Re: Working of LyX

2004-05-24 Thread John Levon
On Mon, May 24, 2004 at 12:13:09PM +0530, Amitabh Trehaan wrote: Hi, is there any document detailing the internal working of LyX? I am Not really no. particualrly interested in adding another language package (which actually uses a preprocessor in LaTeX) to LyX, Something like the

Re: Hello?

2004-05-24 Thread Lars Gullik Bjønnes
John Levon [EMAIL PROTECTED] writes: | Has everybody just gone quiet or what? I (and MARC) get no email... Hello, hello. -- Lgb

Re: Cygwin compile error solved

2004-05-24 Thread Lars Gullik Bjønnes
Kayvan A. Sylvan [EMAIL PROTECTED] writes: | I added the following to common.am to get the Cygwin compile | to work. | ndex: config/common.am | === | RCS file: /cvs/lyx/lyx-devel/config/common.am,v | retrieving revision 1.6 | diff

Re: Qt and debugstream.h

2004-05-24 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Pretty well every single Qt dialog file has to #include debug.h | before any of the Qt system headers or the compiler gets confused. | Why? Because Qt in its wisdom defines a macro DEBUG that clashes with | the DEBUG defined in support/debugstream.h that

Re: Qt and debugstream.h

2004-05-24 Thread Angus Leeming
Lars Gullik Bjønnes wrote: | Would it be Ok if I added these blocks around struct debug_trait? | Maybe I'll make the macro name more polite ;-) I am with john... make two small .h files in the qt three and use them in other files to workaround qt stuff. Ah, well. It appears that Mate's

Re: Make DVI export with graphics work

2004-05-24 Thread Angus Leeming
Georg Baum wrote: I think this is a clean solution. However, I don't like the way how the file overwriting prevention works: - The cancel button is mislabelled: It does not cancel the export, but does not copy the file. Any idea for a better name? - There should be a fourth button that

Re: Qt and debugstream.h

2004-05-24 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | Would it be Ok if I added these blocks around struct debug_trait? | Maybe I'll make the macro name more polite ;-) I am with john... make two small .h files in the qt three and use them in other files to workaround qt

Re: Devanagari (Indian language) support for LyX

2004-05-24 Thread Angus Leeming
Amitabh Trehaan wrote: Hi, We are starting a project to add Indian language support, starting with devanagari to LyX. LaTeX has a package called devnag for devanagari output. There are some hindi fonts in X also. The idea is to give powerful publishing support to devanagari publication

Re: Qt and debugstream.h

2004-05-24 Thread John Levon
On Mon, May 24, 2004 at 12:46:15PM +0100, Angus Leeming wrote: Qt has a similar problem with its 'signals' macro and namespace boost::signals. Actually, that one is a bit more insidious because we #include boost/signals[1-9]*.hpp in lots of other header files, so the pollution can pop up

Re: Qt and debugstream.h

2004-05-24 Thread Angus Leeming
Lars Gullik Bjønnes wrote: | #ifdef TEMPORARY_DEBUG_MACRO | # define DEBUG TEMPORARY_DEBUG_MACRO | # undef TEMPORARY_DEBUG_MACRO | #endif | I can see that this is nasty, but it does have the advantage of | just working. | The alternative, defining qt_debug.h, as a wrapper for debug.h is

Re: Qt and debugstream.h

2004-05-24 Thread Angus Leeming
John Levon wrote: On Mon, May 24, 2004 at 12:46:15PM +0100, Angus Leeming wrote: Qt has a similar problem with its 'signals' macro and namespace boost::signals. Actually, that one is a bit more insidious because we #include boost/signals[1-9]*.hpp in lots of other header files, so the

Re: Qt and debugstream.h

2004-05-24 Thread John Levon
On Mon, May 24, 2004 at 01:18:44PM +0100, Angus Leeming wrote: Because I was trying to wrap the Qt code inside namespace lyx::frontend and got offended by it all. That's not too hard to do... It wasn't me that added this comment: // Dear Lord, deliver us from Evil, // aka the Qt headers

Re: Make DVI export with graphics work

2004-05-24 Thread Georg Baum
Angus Leeming wrote: Georg Baum wrote: I think this is a clean solution. However, I don't like the way how the file overwriting prevention works: - The cancel button is mislabelled: It does not cancel the export, but does not copy the file. Any idea for a better name? - There should

Re: Cygwin compile error solved

2004-05-24 Thread Kayvan A. Sylvan
On Mon, May 24, 2004 at 12:45:49PM +0200, Lars Gullik Bjønnes wrote: Kayvan A. Sylvan [EMAIL PROTECTED] writes: | I added the following to common.am to get the Cygwin compile | to work. | ndex: config/common.am | === | RCS

Re: Cygwin compile error solved

2004-05-24 Thread Lars Gullik Bjønnes
Kayvan A. Sylvan [EMAIL PROTECTED] writes: | On Mon, May 24, 2004 at 12:45:49PM +0200, Lars Gullik Bjønnes wrote: Kayvan A. Sylvan [EMAIL PROTECTED] writes: | I added the following to common.am to get the Cygwin compile | to work. | ndex: config/common.am |

Re: An idea to have lyx-wiki of sorts

2004-05-24 Thread Christian Ridderström
On Fri, 21 May 2004, Kuba Ober wrote: Hi, An idea came to my mind so I feel compelled to share :) Wouldn't it be nifty to hack the wiki enough to allow it to work on lyx files? That way we could have wiki-ed lyx user's manual -- I don't think there are any projects out there that

Re: Cygwin compile error solved

2004-05-24 Thread Kayvan A. Sylvan
I'd rather just get rid of the whole file, it is unused. If not fixed that way it should be fixed by adding the appropriate DIR to the INCLUDES in the Makefile.ams in boost dirs. (that is how we solved this for other subdirs). Okay. This works for me too: Index:

Re: Devanagari (Indian language) support for LyX

2004-05-24 Thread Angus Leeming
On Monday 24 May 2004 1:38 pm, Amitabh Trehaan wrote: Hi Angus, Good evening, Amitabh. Let's take this back to the list. This is of general interest and there's lots more expertise there than I can provide. thanks. I have mailed Chang. Certainly, all available info is available. I am also

Re: Cygwin compile error solved

2004-05-24 Thread Lars Gullik Bjønnes
Kayvan A. Sylvan [EMAIL PROTECTED] writes: I'd rather just get rid of the whole file, it is unused. If not fixed that way it should be fixed by adding the appropriate DIR to the INCLUDES in the Makefile.ams in boost dirs. (that is how we solved this for other subdirs). | Okay. This

Working of LyX

2004-05-24 Thread Amitabh Trehaan
Hi, is there any document detailing the internal working of LyX? I am particualrly interested in adding another language package (which actually uses a preprocessor in LaTeX) to LyX, Something like the Arabian LyX. Amitabh

Re: Qt and debugstream.h

2004-05-24 Thread John Levon
On Wed, May 19, 2004 at 11:27:03PM +0100, Angus Leeming wrote: > Would it be Ok if I added these blocks around struct debug_trait? > Maybe I'll make the macro name more polite ;-) I'm fairly sure one of the first changes I had rejected by the LyX team was trying to fix up Qt namespace pollution

Re: Working of LyX

2004-05-24 Thread John Levon
On Mon, May 24, 2004 at 12:13:09PM +0530, Amitabh Trehaan wrote: > Hi, > is there any document detailing the internal working of LyX? I am Not really no. > particualrly interested in adding another language package (which > actually uses a preprocessor in LaTeX) to LyX, Something like the >

Re: Hello?

2004-05-24 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | Has everybody just gone quiet or what? I (and MARC) get no email... Hello, hello. -- Lgb

Re: Cygwin compile error solved

2004-05-24 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | I added the following to common.am to get the Cygwin compile | to work. > | ndex: config/common.am | === | RCS file: /cvs/lyx/lyx-devel/config/common.am,v | retrieving revision 1.6 |

Re: Qt and debugstream.h

2004-05-24 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Pretty well every single Qt dialog file has to #include "debug.h" | before any of the Qt system headers or the compiler gets confused. | Why? Because Qt in its wisdom defines a macro DEBUG that clashes with | the DEBUG defined in support/debugstream.h

Re: Qt and debugstream.h

2004-05-24 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | Would it be Ok if I added these blocks around struct debug_trait? > | Maybe I'll make the macro name more polite ;-) > > I am with john... make two small .h files in the qt three and use > them in other files to workaround qt stuff. Ah, well. It appears that Mate's

Re: Make DVI export with graphics work

2004-05-24 Thread Angus Leeming
Georg Baum wrote: > > I think this is a clean solution. However, I don't like the way how > the file overwriting prevention works: > > - The "cancel" button is mislabelled: It does not cancel the export, > but does not copy the file. Any idea for a better name? > - There should be a fourth

Re: Qt and debugstream.h

2004-05-24 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> | Would it be Ok if I added these blocks around struct debug_trait? >> | Maybe I'll make the macro name more polite ;-) >> >> I am with john... make two small .h files in the qt three and use >> them in other files to

Re: Devanagari (Indian language) support for LyX

2004-05-24 Thread Angus Leeming
Amitabh Trehaan wrote: > Hi, > We are starting a project to add Indian language support, starting > with > devanagari to LyX. LaTeX has a package called devnag for devanagari > output. There are some hindi fonts in X also. The idea is to give > powerful publishing support to devanagari

Re: Qt and debugstream.h

2004-05-24 Thread John Levon
On Mon, May 24, 2004 at 12:46:15PM +0100, Angus Leeming wrote: > Qt has a similar problem with its 'signals' macro and namespace > boost::signals. Actually, that one is a bit more insidious because we > #include boost/signals[1-9]*.hpp in lots of other header files, so > the pollution can pop

Re: Qt and debugstream.h

2004-05-24 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | #ifdef TEMPORARY_DEBUG_MACRO > | # define DEBUG TEMPORARY_DEBUG_MACRO > | # undef TEMPORARY_DEBUG_MACRO > | #endif >> > | I can see that this is nasty, but it does have the advantage of > | just working. >> > | The alternative, defining qt_debug.h, as a wrapper for

Re: Qt and debugstream.h

2004-05-24 Thread Angus Leeming
John Levon wrote: > On Mon, May 24, 2004 at 12:46:15PM +0100, Angus Leeming wrote: > >> Qt has a similar problem with its 'signals' macro and namespace >> boost::signals. Actually, that one is a bit more insidious because >> we >> #include boost/signals[1-9]*.hpp in lots of other header files,

Re: Qt and debugstream.h

2004-05-24 Thread John Levon
On Mon, May 24, 2004 at 01:18:44PM +0100, Angus Leeming wrote: > Because I was trying to wrap the Qt code inside namespace > lyx::frontend and got offended by it all. That's not too hard to do... > It wasn't me that added this comment: > > // Dear Lord, deliver us from Evil, > // aka the Qt

Re: Make DVI export with graphics work

2004-05-24 Thread Georg Baum
Angus Leeming wrote: > Georg Baum wrote: > >> >> I think this is a clean solution. However, I don't like the way how >> the file overwriting prevention works: >> >> - The "cancel" button is mislabelled: It does not cancel the export, >> but does not copy the file. Any idea for a better name?

Re: Cygwin compile error solved

2004-05-24 Thread Kayvan A. Sylvan
On Mon, May 24, 2004 at 12:45:49PM +0200, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | I added the following to common.am to get the Cygwin compile > | to work. > > > | ndex: config/common.am > |

Re: Cygwin compile error solved

2004-05-24 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Mon, May 24, 2004 at 12:45:49PM +0200, Lars Gullik Bjønnes wrote: >> "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: >> >> | I added the following to common.am to get the Cygwin compile >> | to work. >> > >> | ndex: config/common.am >> |

Re: An idea to have lyx-wiki of sorts

2004-05-24 Thread Christian Ridderström
On Fri, 21 May 2004, Kuba Ober wrote: > Hi, > > An idea came to my mind so I feel compelled to share :) > > Wouldn't it be nifty to hack the wiki enough to allow it to work on lyx files? > > That way we could have wiki-ed lyx user's manual -- I don't think there > are any projects out there

Re: Cygwin compile error solved

2004-05-24 Thread Kayvan A. Sylvan
> > I'd rather just get rid of the whole file, it is unused. > > If not fixed that way it should be fixed by adding the appropriate DIR > to the INCLUDES in the Makefile.ams in boost dirs. (that is how we > solved this for other subdirs). > Okay. This works for me too: Index:

Re: Devanagari (Indian language) support for LyX

2004-05-24 Thread Angus Leeming
On Monday 24 May 2004 1:38 pm, Amitabh Trehaan wrote: > Hi Angus, Good evening, Amitabh. Let's take this back to the list. This is of general interest and there's lots more expertise there than I can provide. > thanks. I have mailed Chang. Certainly, all available info is > available. I am

Re: Cygwin compile error solved

2004-05-24 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: >> >> I'd rather just get rid of the whole file, it is unused. >> >> If not fixed that way it should be fixed by adding the appropriate DIR >> to the INCLUDES in the Makefile.ams in boost dirs. (that is how we >> solved this for other subdirs). >>