Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
2008/10/15 Abdelrazak Younes [EMAIL PROTECTED]: On 14/10/2008 13:15, Manveru wrote: The whole problem leads me to the question why LyX cannot have two tabs in preamble setting window, one for user preamble entries _BEFORE_ LyX generated and second for these _AFTER_ LyX generated? This could satisfy more advanced users; me too sometimes. That's an interesting idea actually. Indeed why not? Abdel. As I personally like this idea... I've just add an enhancement request to Bugzilla: http://bugzilla.lyx.org/show_bug.cgi?id=5366 -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
2008/10/15 Abdelrazak Younes [EMAIL PROTECTED]: On 14/10/2008 13:15, Manveru wrote: The whole problem leads me to the question why LyX cannot have two tabs in preamble setting window, one for user preamble entries _BEFORE_ LyX generated and second for these _AFTER_ LyX generated? This could satisfy more advanced users; me too sometimes. That's an interesting idea actually. Indeed why not? Abdel. As I personally like this idea... I've just add an enhancement request to Bugzilla: http://bugzilla.lyx.org/show_bug.cgi?id=5366 -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
2008/10/15 Abdelrazak Younes <[EMAIL PROTECTED]>: > > > On 14/10/2008 13:15, Manveru wrote: >> The whole problem leads me to the question why LyX cannot have two >> tabs in preamble setting window, one for user preamble entries >> _BEFORE_ LyX generated and second for these _AFTER_ LyX generated? >> This could satisfy more advanced users; me too sometimes. > > That's an interesting idea actually. Indeed why not? > > Abdel. As I personally like this idea... I've just add an enhancement request to Bugzilla: http://bugzilla.lyx.org/show_bug.cgi?id=5366 -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
2008/10/12 Guy Rutenberg [EMAIL PROTECTED]: Hi On Sun, Oct 12, 2008 at 2:52 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: OK, then it is really a bug: http://bugzilla.lyx.org/show_bug.cgi?id=5350 I fixed it now for LyX 1.6.0. regards Uwe Thanks Uwe, I've checked both the svn version of 1.6.0 and 1.5.7 and it worked. The whole problem leads me to the question why LyX cannot have two tabs in preamble setting window, one for user preamble entries _BEFORE_ LyX generated and second for these _AFTER_ LyX generated? This could satisfy more advanced users; me too sometimes. -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
2008/10/12 Guy Rutenberg [EMAIL PROTECTED]: Hi On Sun, Oct 12, 2008 at 2:52 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: OK, then it is really a bug: http://bugzilla.lyx.org/show_bug.cgi?id=5350 I fixed it now for LyX 1.6.0. regards Uwe Thanks Uwe, I've checked both the svn version of 1.6.0 and 1.5.7 and it worked. The whole problem leads me to the question why LyX cannot have two tabs in preamble setting window, one for user preamble entries _BEFORE_ LyX generated and second for these _AFTER_ LyX generated? This could satisfy more advanced users; me too sometimes. -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
2008/10/12 Guy Rutenberg <[EMAIL PROTECTED]>: > Hi > > On Sun, Oct 12, 2008 at 2:52 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > >> OK, then it is really a bug: http://bugzilla.lyx.org/show_bug.cgi?id=5350 >> I fixed it now for LyX 1.6.0. >> >> regards Uwe >> > > Thanks Uwe, I've checked both the svn version of 1.6.0 and 1.5.7 and it > worked. The whole problem leads me to the question why LyX cannot have two tabs in preamble setting window, one for user preamble entries _BEFORE_ LyX generated and second for these _AFTER_ LyX generated? This could satisfy more advanced users; me too sometimes. -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg wrote: Hi, On Sat, Oct 11, 2008 at 11:26 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: OK, I used the default esint package math option, therefore I couldn't see this. I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. If this is the case it is a bug IMHO. In earlier versions of LyX, if the user set the ams math switch to off, amsmath was not loaded at all, even if that would make the document uncompilable. The reason for this behaviour was to solve problems like the one reported. There are a couple of commands in amsmath that are also provided by other packages, and in some cases those other packages are wanted. Is there a way to completly turn off the amsmath detection? If there isn't a gui option to do it, is there a simple way to disable it in the code? You can probably comment it out in LaTeXFeatures.cpp. BTW is this behaivior expected to remain in future versions of LyX? I hope not, it would be a bug IMHO. Georg
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Georg Baum schrieb: I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. If this is the case it is a bug IMHO. In earlier versions of LyX, if the user set the ams math switch to off, amsmath was not loaded at all, even if that would make the document uncompilable. The reason for this behaviour was to solve problems like the one reported. There are a couple of commands in amsmath that are also provided by other packages, and in some cases those other packages are wanted. OK, then it is really a bug: http://bugzilla.lyx.org/show_bug.cgi?id=5350 I fixed it now for LyX 1.6.0. regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi On Sun, Oct 12, 2008 at 2:52 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: OK, then it is really a bug: http://bugzilla.lyx.org/show_bug.cgi?id=5350 I fixed it now for LyX 1.6.0. regards Uwe Thanks Uwe, I've checked both the svn version of 1.6.0 and 1.5.7 and it worked. Guy
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg wrote: Hi, On Sat, Oct 11, 2008 at 11:26 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: OK, I used the default esint package math option, therefore I couldn't see this. I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. If this is the case it is a bug IMHO. In earlier versions of LyX, if the user set the ams math switch to off, amsmath was not loaded at all, even if that would make the document uncompilable. The reason for this behaviour was to solve problems like the one reported. There are a couple of commands in amsmath that are also provided by other packages, and in some cases those other packages are wanted. Is there a way to completly turn off the amsmath detection? If there isn't a gui option to do it, is there a simple way to disable it in the code? You can probably comment it out in LaTeXFeatures.cpp. BTW is this behaivior expected to remain in future versions of LyX? I hope not, it would be a bug IMHO. Georg
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Georg Baum schrieb: I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. If this is the case it is a bug IMHO. In earlier versions of LyX, if the user set the ams math switch to off, amsmath was not loaded at all, even if that would make the document uncompilable. The reason for this behaviour was to solve problems like the one reported. There are a couple of commands in amsmath that are also provided by other packages, and in some cases those other packages are wanted. OK, then it is really a bug: http://bugzilla.lyx.org/show_bug.cgi?id=5350 I fixed it now for LyX 1.6.0. regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi On Sun, Oct 12, 2008 at 2:52 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: OK, then it is really a bug: http://bugzilla.lyx.org/show_bug.cgi?id=5350 I fixed it now for LyX 1.6.0. regards Uwe Thanks Uwe, I've checked both the svn version of 1.6.0 and 1.5.7 and it worked. Guy
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg wrote: > Hi, > > > On Sat, Oct 11, 2008 at 11:26 PM, Uwe Stöhr > <[EMAIL PROTECTED]> wrote: > >> OK, I used the default esint package math option, therefore I couldn't >> see this. I don't know exactly, but remember that we only turn off >> automatically detection of the amssymb package but not the amsmath >> package to keep documents compilable. If this is the case it is a bug IMHO. In earlier versions of LyX, if the user set the ams math switch to off, amsmath was not loaded at all, even if that would make the document uncompilable. The reason for this behaviour was to solve problems like the one reported. There are a couple of commands in amsmath that are also provided by other packages, and in some cases those other packages are wanted. > Is there a way to completly turn off the amsmath detection? If there isn't > a gui option to do it, is there a simple way to disable it in the code? You can probably comment it out in LaTeXFeatures.cpp. > BTW is this behaivior expected to remain in future versions of LyX? I hope not, it would be a bug IMHO. Georg
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Georg Baum schrieb: I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. If this is the case it is a bug IMHO. In earlier versions of LyX, if the user set the ams math switch to off, amsmath was not loaded at all, even if that would make the document uncompilable. The reason for this behaviour was to solve problems like the one reported. There are a couple of commands in amsmath that are also provided by other packages, and in some cases those other packages are wanted. OK, then it is really a bug: http://bugzilla.lyx.org/show_bug.cgi?id=5350 I fixed it now for LyX 1.6.0. regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi On Sun, Oct 12, 2008 at 2:52 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > OK, then it is really a bug: http://bugzilla.lyx.org/show_bug.cgi?id=5350 > I fixed it now for LyX 1.6.0. > > regards Uwe > Thanks Uwe, I've checked both the svn version of 1.6.0 and 1.5.7 and it worked. Guy
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg schrieb: In the document settings I've disabled the Use AMS math package automatically and unchecked the Use AMS math package, but when I add a formula containing the \iint symbol, this setting gets ignored and LyX uses the AMS math package. Not LyX inserts this, you did, see below: The problem with it is that I need to add the amsmath package after babel so I have to do it manually in the latex preamble section of the document settings. However, when LyX adds it it does so *before* adding babel. Everything that you insert to the preamble is placed by LyX before babel. I know that this might be a weird decision, but we had to decide to load babel before the user preamble or behind it, and the latter turned out to be more safe. To get what you want, use this in the preamble: \usepackage{babel} \usepackage{amsmath} That babel is then again loaded after the preamble, can be ignored. regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi, On Sat, Oct 11, 2008 at 10:30 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: Not LyX inserts this, you did, see below: Maybe I wasn't clear in my message. Here is a code snippet of the document created by LyX 1.5.6 %% LyX 1.5.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]/home/guy/Documents/אוניברסיטה/20394//}} \makeatother \documentclass[a4paper,english,hebrew]{article} \usepackage[T1]{fontenc} \usepackage[latin9,cp1255]{inputenc} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{amsmath} --- This is the line that is added \usepackage{graphicx} \usepackage{setspace} \onehalfspacing \makeatletter %% Textclass specific LaTeX commands. \usepackage{theorem} \theorembodyfont{\upshape} \newtheorem{theorem}{\R{משפט}}[section] [EMAIL PROTECTED] %% User specified LaTeX commands. \usepackage{babel} \usepackage{amsmath} \usepackage{mathtools} \usepackage{esint} The line marked as This is the line that is added is added once I add a \iint symbol to any of my formulas. It should not be there according to the AMS package settings in the Document Settings. This bug didn't happen in previous versions LyX. I hope that I made it a bit clear what was added by me to the preamble and what was added by LyX. Regards, Guy
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg schrieb: The line marked as This is the line that is added is added once I add a \iint symbol to any of my formulas. It should not be there according to the AMS package settings in the Document Settings. This bug didn't happen in previous versions LyX. I see, but I cannot reproduce it here with LyX 1.5.7svn. Could you send me the LyX file you are using? regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi, On Sat, Oct 11, 2008 at 10:58 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: I see, but I cannot reproduce it here with LyX 1.5.7svn. Could you send me the LyX file you are using? I've attached a file that reproduces the bug (at least under 1.5.6). Thanks, Guy iint_bug.lyx Description: application/lyx
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg schrieb: I've attached a file that reproduces the bug (at least under 1.5.6). OK, I used the default esint package math option, therefore I couldn't see this. I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. To suppress this, use the math option use esint or use esint automatically. regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi, On Sat, Oct 11, 2008 at 11:26 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: OK, I used the default esint package math option, therefore I couldn't see this. I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. To suppress this, use the math option use esint or use esint automatically. regards Uwe I can't. Because esint must be added after amsmath or else I would get errors about \iint being redefined etc. I have to add the amsmath manually in the preamble for the reasons I stated before, so esint must also be added manually to the preamle. Is there a way to completly turn off the amsmath detection? If there isn't a gui option to do it, is there a simple way to disable it in the code? BTW is this behaivior expected to remain in future versions of LyX? Thanks again, Guy
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg schrieb: In the document settings I've disabled the Use AMS math package automatically and unchecked the Use AMS math package, but when I add a formula containing the \iint symbol, this setting gets ignored and LyX uses the AMS math package. Not LyX inserts this, you did, see below: The problem with it is that I need to add the amsmath package after babel so I have to do it manually in the latex preamble section of the document settings. However, when LyX adds it it does so *before* adding babel. Everything that you insert to the preamble is placed by LyX before babel. I know that this might be a weird decision, but we had to decide to load babel before the user preamble or behind it, and the latter turned out to be more safe. To get what you want, use this in the preamble: \usepackage{babel} \usepackage{amsmath} That babel is then again loaded after the preamble, can be ignored. regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi, On Sat, Oct 11, 2008 at 10:30 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: Not LyX inserts this, you did, see below: Maybe I wasn't clear in my message. Here is a code snippet of the document created by LyX 1.5.6 %% LyX 1.5.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]/home/guy/Documents/אוניברסיטה/20394//}} \makeatother \documentclass[a4paper,english,hebrew]{article} \usepackage[T1]{fontenc} \usepackage[latin9,cp1255]{inputenc} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{amsmath} --- This is the line that is added \usepackage{graphicx} \usepackage{setspace} \onehalfspacing \makeatletter %% Textclass specific LaTeX commands. \usepackage{theorem} \theorembodyfont{\upshape} \newtheorem{theorem}{\R{משפט}}[section] [EMAIL PROTECTED] %% User specified LaTeX commands. \usepackage{babel} \usepackage{amsmath} \usepackage{mathtools} \usepackage{esint} The line marked as This is the line that is added is added once I add a \iint symbol to any of my formulas. It should not be there according to the AMS package settings in the Document Settings. This bug didn't happen in previous versions LyX. I hope that I made it a bit clear what was added by me to the preamble and what was added by LyX. Regards, Guy
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg schrieb: The line marked as This is the line that is added is added once I add a \iint symbol to any of my formulas. It should not be there according to the AMS package settings in the Document Settings. This bug didn't happen in previous versions LyX. I see, but I cannot reproduce it here with LyX 1.5.7svn. Could you send me the LyX file you are using? regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi, On Sat, Oct 11, 2008 at 10:58 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: I see, but I cannot reproduce it here with LyX 1.5.7svn. Could you send me the LyX file you are using? I've attached a file that reproduces the bug (at least under 1.5.6). Thanks, Guy iint_bug.lyx Description: application/lyx
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg schrieb: I've attached a file that reproduces the bug (at least under 1.5.6). OK, I used the default esint package math option, therefore I couldn't see this. I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. To suppress this, use the math option use esint or use esint automatically. regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi, On Sat, Oct 11, 2008 at 11:26 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: OK, I used the default esint package math option, therefore I couldn't see this. I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. To suppress this, use the math option use esint or use esint automatically. regards Uwe I can't. Because esint must be added after amsmath or else I would get errors about \iint being redefined etc. I have to add the amsmath manually in the preamble for the reasons I stated before, so esint must also be added manually to the preamle. Is there a way to completly turn off the amsmath detection? If there isn't a gui option to do it, is there a simple way to disable it in the code? BTW is this behaivior expected to remain in future versions of LyX? Thanks again, Guy
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg schrieb: In the document settings I've disabled the "Use AMS math package automatically" and unchecked the "Use AMS math package", but when I add a formula containing the \iint symbol, this setting gets ignored and LyX uses the AMS math package. Not LyX inserts this, you did, see below: The problem with it is that I need to add the amsmath package after babel so I have to do it manually in the latex preamble section of the document settings. However, when LyX adds it it does so *before* adding babel. Everything that you insert to the preamble is placed by LyX before babel. I know that this might be a weird decision, but we had to decide to load babel before the user preamble or behind it, and the latter turned out to be more safe. To get what you want, use this in the preamble: \usepackage{babel} \usepackage{amsmath} That babel is then again loaded after the preamble, can be ignored. regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi, On Sat, Oct 11, 2008 at 10:30 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > Not LyX inserts this, you did, see below: > Maybe I wasn't clear in my message. Here is a code snippet of the document created by LyX 1.5.6 %% LyX 1.5.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]/home/guy/Documents/אוניברסיטה/20394//}} \makeatother \documentclass[a4paper,english,hebrew]{article} \usepackage[T1]{fontenc} \usepackage[latin9,cp1255]{inputenc} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{amsmath} <--- This is the line that is added \usepackage{graphicx} \usepackage{setspace} \onehalfspacing \makeatletter %% Textclass specific LaTeX commands. \usepackage{theorem} \theorembodyfont{\upshape} \newtheorem{theorem}{\R{משפט}}[section] [EMAIL PROTECTED] %% User specified LaTeX commands. \usepackage{babel} \usepackage{amsmath} \usepackage{mathtools} \usepackage{esint} The line marked as "This is the line that is added" is added once I add a \iint symbol to any of my formulas. It should not be there according to the AMS package settings in the Document Settings. This bug didn't happen in previous versions LyX. I hope that I made it a bit clear what was added by me to the preamble and what was added by LyX. Regards, Guy
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg schrieb: The line marked as "This is the line that is added" is added once I add a \iint symbol to any of my formulas. It should not be there according to the AMS package settings in the Document Settings. This bug didn't happen in previous versions LyX. I see, but I cannot reproduce it here with LyX 1.5.7svn. Could you send me the LyX file you are using? regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi, On Sat, Oct 11, 2008 at 10:58 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > I see, but I cannot reproduce it here with LyX 1.5.7svn. Could you send me > the LyX file you are using? > > I've attached a file that reproduces the bug (at least under 1.5.6). Thanks, Guy iint_bug.lyx Description: application/lyx
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Guy Rutenberg schrieb: I've attached a file that reproduces the bug (at least under 1.5.6). OK, I used the default esint package math option, therefore I couldn't see this. I don't know exactly, but remember that we only turn off automatically detection of the amssymb package but not the amsmath package to keep documents compilable. To suppress this, use the math option "use esint" or "use esint automatically. regards Uwe
Re: [Bug] LyX 1.5.6 ignores amsmath settings when adding \iint
Hi, On Sat, Oct 11, 2008 at 11:26 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > OK, I used the default esint package math option, therefore I couldn't see > this. I don't know exactly, but remember that we only turn off automatically > detection of the amssymb package but not the amsmath package to keep > documents compilable. > > To suppress this, use the math option "use esint" or "use esint > automatically. > > regards Uwe > I can't. Because esint must be added after amsmath or else I would get errors about \iint being redefined etc. I have to add the amsmath manually in the preamble for the reasons I stated before, so esint must also be added manually to the preamle. Is there a way to completly turn off the amsmath detection? If there isn't a gui option to do it, is there a simple way to disable it in the code? BTW is this behaivior expected to remain in future versions of LyX? Thanks again, Guy