Re: first impressions of 1.3.6
Olivier Ripoll wrote: Will I get the old integral style back for iint and iiint if I delete the wasy fonts and related files ? Can I correct this by editing the file called symbol in the share/lyx directory ? It contains a correspondance symbol - font character I just ask before I trash my local installation. :) So I reply on myself because the information can be useful for others: I commented the 3 lines for oiint, iint and iiint in the symbol (or symbols?) file located in share/lyx/ directory. This way, I can get back the nice AMSmath double and triple integrals in LyX. Olivier.
Re: first impressions of 1.3.6
Olivier Ripoll wrote: Will I get the old integral style back for iint and iiint if I delete the wasy fonts and related files ? Can I correct this by editing the file called symbol in the share/lyx directory ? It contains a correspondance symbol - font character I just ask before I trash my local installation. :) So I reply on myself because the information can be useful for others: I commented the 3 lines for oiint, iint and iiint in the symbol (or symbols?) file located in share/lyx/ directory. This way, I can get back the nice AMSmath double and triple integrals in LyX. Olivier.
Re: first impressions of 1.3.6
Olivier Ripoll wrote: Will I get the old integral style back for iint and iiint if I delete the wasy fonts and related files ? Can I correct this by editing the file called "symbol" in the share/lyx directory ? It contains a correspondance symbol -> font character I just ask before I trash my local installation. :) So I reply on myself because the information can be useful for others: I commented the 3 lines for oiint, iint and iiint in the "symbol" (or "symbols"?) file located in share/lyx/ directory. This way, I can get back the nice AMSmath double and triple integrals in LyX. Olivier.
first impressions of 1.3.6
Hello, I just wanted to share my first impressions of 1.3.6 (and give ideas for 1.3.7 ;) ). First a few words of introduction: I used the contributed binary rpm for Mandriva LE 2005. System is a Mandriva limited edition 20005 (=Mandrake 10.2), on an Athlon 600 MHz computer. I am absolutely not a LaTeX expert. This newsgroup provided me all the answers I needed when I used LyX in the past (thanks). I have two issues with LyX 1.3.6: LyXPreview and the integrals. 1- The integrals: My first test when I install a new version of LyX is to check if it still can open and compile my PhD thesis (with pdflatex). I wrote it 2-2.5 years ago with early 1.3.x versions of LyX. I is the first time this test fails. A LaTeX error was produced about the command oiint already existing. This comes from the fact that there was no oiint in the past and it is now implemented (wasy package). After changing the newcommand to a renewcommand in the preamble, I could have the pdf to be produced. Then, I had a looked at it. Integrals were absolutely non-consistent! The int and oint are nice and slanted. My oiint, redefined in the LyX preamble were nice, but all other integrals (iint and iiint) were ugly straight like if they had been produced in MS Word. This is clearly a side effect of using the wasy package. Create a new document and play with integrals. Not only the iint, oiint, iiint will be ugly, but they will be inconsistent with the look of the int and oint. How can I disable completely the wasy package or at least tell LyX that it should never use the integrals symbol for it ? In the past, one could use the nice slanted iint and iiint in LyX, or add the wasy package to the preamble. Now, there is no more choice in the ui. I think it qualifies as a regression. 2a- LyXPreview I noticed no simple per document way to disable the preview of equations. As I said earlier, my computer is quite old, and I prefer not to see the preview of the equations. The only way I have found yet to disable the effect is to alter the command for the LyXPreview-ppm converter in the preferences. That is quite drastic. LyXPreview use should be a document preference (like the ams math or the babel, activated with a checkbox) or at least a global preference. 2b- LyXPreview (more) My screen dpi in X is 86 (87 in the other direction). I confirmed it thanks to gimp by physically measuring with a plastic ruler some distances (gimp offers a tool to calibrate the resolution). Unfortunately, LyXPreview is making the images so tiny that I cannot read the equations. The font size does not fit with the text around. Reading the python script responsible for the equations preview, I realised it was possible to give it a magnification option (did I mention I am not a python expert ? ;) ). I tried to pass a magnification value to the script. From the command line, it was working. Not from LyX converter preferences. I spent a while adding warnings to the script and then realised that the options I did put in the preferences for the LyXPreview converter where not passed by LyX to the script. LyX seems instead to pass the dpi resolution to the script. So I found 2 solutions to have a correct preview size: - changing the python script so the magnification variable is 750, not 1000. - changing the dpi resolution in LyX to 120 dpi. I think it would be better/simpler if in the future, the options were passed by LyX to the script. It would avoid a lot of trial and error to solve this issue. I hope these first impressions can help improving LyX (or the docs) further. I did not mean them to be a bad critic. Please do not take them as such. I really like LyX. It is why I am so sad to see that my integrals symbols look like they have been written in the MS equation editor now. Sincerely, Olivier.
Re: first impressions of 1.3.6
Olivier Ripoll wrote: Hi, Olivier. 2a- LyXPreview I noticed no simple per document way to disable the preview of equations. As I said earlier, my computer is quite old, and I prefer not to see the preview of the equations. You're right that there is no per document way to do this, but you can turn it on/off globally. Deselect the Instant preview checkbox in the Edit-Preferences dialog, Look and feel-Graphics pane. 2b- LyXPreview (more) My screen dpi in X is 86 (87 in the other direction). I confirmed it thanks to gimp by physically measuring with a plastic ruler some distances (gimp offers a tool to calibrate the resolution). Unfortunately, LyXPreview is making the images so tiny that I cannot read the equations. The font size does not fit with the text around. I thought you didn't want these things and now you're trying to improve them ;-) Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. I hope these first impressions can help improving LyX (or the docs) further. I did not mean them to be a bad critic. Please do not take them as such. Feedback is the lifeblood of a project like this, so thanks!!! I really like LyX. It is why I am so sad to see that my integrals symbols look like they have been written in the MS equation editor now. Yes, this is bad and it's certainly a regression. I suspect that LyX 1.3.7 will not be needed sooner rather than later :( -- Angus
Re: first impressions of 1.3.6
Olivier Ripoll wrote: In the past, one could use the nice slanted iint and iiint in LyX, or add the wasy package to the preamble. Now, there is no more choice in the ui. I think it qualifies as a regression. I agree. But the old behaviour could lead to LaTeX errors. In order to solve this we need to know how you produced iint and iiint before. Did you use amsmath? Georg
Re: first impressions of 1.3.6
Angus Leeming wrote: Olivier Ripoll wrote: Hi, Olivier. Hi Angus, thanks for the quick answer. 2a- LyXPreview I noticed no simple per document way to disable the preview of equations. As I said earlier, my computer is quite old, and I prefer not to see the preview of the equations. You're right that there is no per document way to do this, but you can turn it on/off globally. Deselect the Instant preview checkbox in the Edit-Preferences dialog, Look and feel-Graphics pane. Thanks, I did look for this, but did not find it. Kind of usual. 2b- LyXPreview (more) My screen dpi in X is 86 (87 in the other direction). I confirmed it thanks to gimp by physically measuring with a plastic ruler some distances (gimp offers a tool to calibrate the resolution). Unfortunately, LyXPreview is making the images so tiny that I cannot read the equations. The font size does not fit with the text around. I thought you didn't want these things and now you're trying to improve them ;-) Since I could not disable them, at least I had to correct them. To be more accurate, I do not want preview of equations in a big document. It is acceptable for a smaller doocument, such as an article. However, I do not see a strong point for the preview (apart from eye-candy demonstration). Especially since the native equation display is so nice now ;). And I like the colour code (blue for equations, red for TeX, etc) in LyX. WISIWIM :) (selfish version of the WYSIWYM) Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. definitely something for the docs ;) I hope these first impressions can help improving LyX (or the docs) further. I did not mean them to be a bad critic. Please do not take them as such. Feedback is the lifeblood of a project like this, so thanks!!! I really like LyX. It is why I am so sad to see that my integrals symbols look like they have been written in the MS equation editor now. Yes, this is bad and it's certainly a regression. I suspect that LyX 1.3.7 will not be needed sooner rather than later :( Will I get the old integral style back for iint and iiint if I delete the wasy fonts and related files ? Can I correct this by editing the file called symbol in the share/lyx directory ? It contains a correspondance symbol - font character I just ask before I trash my local installation. :) Best regards, Olivier.
Re: first impressions of 1.3.6
Olivier Ripoll wrote: Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. definitely something for the docs ;) http://wiki.lyx.org/LyX/InstantPreview#changing_preview_size -- Angus
Re: first impressions of 1.3.6
Georg Baum wrote: Olivier Ripoll wrote: In the past, one could use the nice slanted iint and iiint in LyX, or add the wasy package to the preamble. Now, there is no more choice in the ui. I think it qualifies as a regression. I agree. But the old behaviour could lead to LaTeX errors. In order to solve this we need to know how you produced iint and iiint before. Did you use amsmath? I think I did. I had a master document with chapters inserted/included. Looking at the LyX files I have here (I am at work, I do not have LyX here, but I can open the files as text), here is what I can gather: the main lyx file contains this line: \use_amsmath 1 In the chapters having some mathematical equations I also see the same line. Some chapters without equations contain: \use_amsmath 0 The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Sincerely, Olivier. Georg
Re: first impressions of 1.3.6
Angus Leeming wrote: Olivier Ripoll wrote: Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. definitely something for the docs ;) http://wiki.lyx.org/LyX/InstantPreview#changing_preview_size Thanks. I meant the docs included with LyX. I have no internet connection at home (yes, there are still such people ;) ) Best regards, Olivier
Re: first impressions of 1.3.6
Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? I think that the wasysym documentation http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf explains what we need to do. Executive summary: \usepackage[nointegrals]{wasysymb} Georg? 2.2 Integrals The wasy fonts provide a set of integral sybols, which comprises multiple and surface integrals, too. ? Loading the package with the option [integrals] makes the following integrals available: \int r \iint s \iiint t \oint u \oiint Notice that the style of the \int and \oint is changed, as compared with standard LATEX, and matches the other integral symbols. This works with or without the amsmath package, and the sequence of loading does not matter. ? If you prefer to stay with the integral symbols provided by LATEX(and possibly amsmath), but need other symbols from the wasy fonts, load the package with the option [nointegrals]. Doing so will neither alter any existing integral symbols nor add new ones. ? Loading the package without an option or with the option [compat1] makes the following commands for integrals available: \varint r \iint s \iiint t \varoint u \oiint v This is compatible with the behavior of wasysym version 1.x, but the package will not cooperate well with amsmath then. -- Angus
Re: first impressions of 1.3.6
Angus Leeming wrote: Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? I think that the wasysym documentation http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf explains what we need to do. Executive summary: \usepackage[nointegrals]{wasysymb} Georg? 2.2 Integrals The wasy fonts provide a set of integral sybols, which comprises multiple and surface integrals, too. ? Loading the package with the option [integrals] makes the following integrals available: \int r \iint s \iiint t \oint u \oiint the integral symbols of wasy look weird, choose _always_ the one from package esint, which includes also Type 1 versions for a preview see my Mathmode.pdf Herbert
Re: first impressions of 1.3.6
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? JMarc
Re: first impressions of 1.3.6
Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? JMarc What I do not understand is why LyX now load wasy package. I did not use it in my thesis. So why LyX inserts it ? The correct behaviour for LyX is not to load a package that is not used IMHO. In the release notes, I see the following: - Make sure that the wasysym package is used in LaTeX output when using symbols from the wasy font. Isn't this possibly the feature that introduced the bug ? I am using oiint (defined in my preamble). LyX thinks this needs the wasy font and thus load the package. As a result, I have a problem with my preamble (oiint is defined twice, thus the error I had) and some wasysym integrals are used somewhere. LyX is mistaken if it thinks I need the wasysym because I use oiint. It shoudl realise oiint is defined in the preamble. Sincerely, Olivier
Re: first impressions of 1.3.6
To: lyx-users@lists.lyx.org Subject: Re: first impressions of 1.3.6 From: Jean-Marc Lasgouttes [EMAIL PROTECTED] Date: Wed, 20 Jul 2005 14:42:05 +0200 Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? Standard in TeXLive 2004: /usr/local/TeX/texmf-dist/tex/latex/esint/esint.sty and presumably, in protext-2004 -- Jean-Pierre
Re: first impressions of 1.3.6
Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. \iint, \iiint, \nt and \idotsint are also provided by amsmath. We could delete the current definitions for \iint and \iiint from lib/symbols and replace it with the following: \def\iint{\int\kern-6mu\int} \def\iiint{\int\kern-6mu\int\kern-6mu\int} \def\nt{\int\kern-6mu\int\kern-6mu\int\kern-6mu\int} \def\idotsint{\int\kern-3mu\cdots\kern-3mu\int} That works perfectly on screen, and the output is consistent. But then we have the old problem again: LyX does not know that these symbols need amsmath. And we still have no \oiint. I would prefer the ams versions if possible, since ams is widely available and looks better than wasy IMHO. We could then hardcode the requirement of amsmath for the integral symbols into MathMacro::validate(). In the long run we need a way to specify requirements in lib/symbols. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. Georg
Re: first impressions of 1.3.6
Olivier == Olivier Ripoll [EMAIL PROTECTED] writes: Olivier Isn't this possibly the feature that introduced the bug ? I Olivier am using oiint (defined in my preamble). LyX thinks this Olivier needs the wasy font and thus load the package. As a result, I Olivier have a problem with my preamble (oiint is defined twice, thus Olivier the error I had) and some wasysym integrals are used Olivier somewhere. Olivier LyX is mistaken if it thinks I need the wasysym because I use Olivier oiint. It shoudl realise oiint is defined in the preamble. LyX is not supposed to analyze what you put in the preamble. So if you use \oiint, it tries to provide a definition for it. That's how it works. You can get rid of the error in preamble by using \def instead of \newcommand to redefine \oiint. So I do not think we will fix this particular problem. The problem we should try to fix however, is that wasysym produces ugly integrals (or at least ``different'' integrals). It does not seem to me that esint.sty is part of teTeX 2.0 (am I wrong), so I'd rather avoid using it. JMarc
Re: first impressions of 1.3.6
Georg Baum wrote: It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. there are a lot of packages which were not part of tetex _2.0_ Herbert
Re: first impressions of 1.3.6
Jean-Pierre Chretien wrote: To: lyx-users@lists.lyx.org Subject: Re: first impressions of 1.3.6 From: Jean-Marc Lasgouttes [EMAIL PROTECTED] Date: Wed, 20 Jul 2005 14:42:05 +0200 Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? Standard in TeXLive 2004: /usr/local/TeX/texmf-dist/tex/latex/esint/esint.sty and presumably, in protext-2004 and part of TeXlive 2003, if I remember well. Only the Type 1 version is relatively new. Herbert
Re: first impressions of 1.3.6
Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert Georg Baum wrote: It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. Herbert there are a lot of packages which were not part of tetex Herbert _2.0_ Yes, but we try not to rely on them as far as possible. JMarc
Re: first impressions of 1.3.6
Jean-Marc Lasgouttes wrote: Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert Georg Baum wrote: It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. Herbert there are a lot of packages which were not part of tetex Herbert _2.0_ Yes, but we try not to rely on them as far as possible. but you try to rely on obsolete packages ... ;-) e.g. a4.sty Herbert
Re: first impressions of 1.3.6
Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert but you try to rely on obsolete packages ... ;-) e.g. a4.sty We got rid of it for 1.4.0 :) JMarc
first impressions of 1.3.6
Hello, I just wanted to share my first impressions of 1.3.6 (and give ideas for 1.3.7 ;) ). First a few words of introduction: I used the contributed binary rpm for Mandriva LE 2005. System is a Mandriva limited edition 20005 (=Mandrake 10.2), on an Athlon 600 MHz computer. I am absolutely not a LaTeX expert. This newsgroup provided me all the answers I needed when I used LyX in the past (thanks). I have two issues with LyX 1.3.6: LyXPreview and the integrals. 1- The integrals: My first test when I install a new version of LyX is to check if it still can open and compile my PhD thesis (with pdflatex). I wrote it 2-2.5 years ago with early 1.3.x versions of LyX. I is the first time this test fails. A LaTeX error was produced about the command oiint already existing. This comes from the fact that there was no oiint in the past and it is now implemented (wasy package). After changing the newcommand to a renewcommand in the preamble, I could have the pdf to be produced. Then, I had a looked at it. Integrals were absolutely non-consistent! The int and oint are nice and slanted. My oiint, redefined in the LyX preamble were nice, but all other integrals (iint and iiint) were ugly straight like if they had been produced in MS Word. This is clearly a side effect of using the wasy package. Create a new document and play with integrals. Not only the iint, oiint, iiint will be ugly, but they will be inconsistent with the look of the int and oint. How can I disable completely the wasy package or at least tell LyX that it should never use the integrals symbol for it ? In the past, one could use the nice slanted iint and iiint in LyX, or add the wasy package to the preamble. Now, there is no more choice in the ui. I think it qualifies as a regression. 2a- LyXPreview I noticed no simple per document way to disable the preview of equations. As I said earlier, my computer is quite old, and I prefer not to see the preview of the equations. The only way I have found yet to disable the effect is to alter the command for the LyXPreview-ppm converter in the preferences. That is quite drastic. LyXPreview use should be a document preference (like the ams math or the babel, activated with a checkbox) or at least a global preference. 2b- LyXPreview (more) My screen dpi in X is 86 (87 in the other direction). I confirmed it thanks to gimp by physically measuring with a plastic ruler some distances (gimp offers a tool to calibrate the resolution). Unfortunately, LyXPreview is making the images so tiny that I cannot read the equations. The font size does not fit with the text around. Reading the python script responsible for the equations preview, I realised it was possible to give it a magnification option (did I mention I am not a python expert ? ;) ). I tried to pass a magnification value to the script. From the command line, it was working. Not from LyX converter preferences. I spent a while adding warnings to the script and then realised that the options I did put in the preferences for the LyXPreview converter where not passed by LyX to the script. LyX seems instead to pass the dpi resolution to the script. So I found 2 solutions to have a correct preview size: - changing the python script so the magnification variable is 750, not 1000. - changing the dpi resolution in LyX to 120 dpi. I think it would be better/simpler if in the future, the options were passed by LyX to the script. It would avoid a lot of trial and error to solve this issue. I hope these first impressions can help improving LyX (or the docs) further. I did not mean them to be a bad critic. Please do not take them as such. I really like LyX. It is why I am so sad to see that my integrals symbols look like they have been written in the MS equation editor now. Sincerely, Olivier.
Re: first impressions of 1.3.6
Olivier Ripoll wrote: Hi, Olivier. 2a- LyXPreview I noticed no simple per document way to disable the preview of equations. As I said earlier, my computer is quite old, and I prefer not to see the preview of the equations. You're right that there is no per document way to do this, but you can turn it on/off globally. Deselect the Instant preview checkbox in the Edit-Preferences dialog, Look and feel-Graphics pane. 2b- LyXPreview (more) My screen dpi in X is 86 (87 in the other direction). I confirmed it thanks to gimp by physically measuring with a plastic ruler some distances (gimp offers a tool to calibrate the resolution). Unfortunately, LyXPreview is making the images so tiny that I cannot read the equations. The font size does not fit with the text around. I thought you didn't want these things and now you're trying to improve them ;-) Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. I hope these first impressions can help improving LyX (or the docs) further. I did not mean them to be a bad critic. Please do not take them as such. Feedback is the lifeblood of a project like this, so thanks!!! I really like LyX. It is why I am so sad to see that my integrals symbols look like they have been written in the MS equation editor now. Yes, this is bad and it's certainly a regression. I suspect that LyX 1.3.7 will not be needed sooner rather than later :( -- Angus
Re: first impressions of 1.3.6
Olivier Ripoll wrote: In the past, one could use the nice slanted iint and iiint in LyX, or add the wasy package to the preamble. Now, there is no more choice in the ui. I think it qualifies as a regression. I agree. But the old behaviour could lead to LaTeX errors. In order to solve this we need to know how you produced iint and iiint before. Did you use amsmath? Georg
Re: first impressions of 1.3.6
Angus Leeming wrote: Olivier Ripoll wrote: Hi, Olivier. Hi Angus, thanks for the quick answer. 2a- LyXPreview I noticed no simple per document way to disable the preview of equations. As I said earlier, my computer is quite old, and I prefer not to see the preview of the equations. You're right that there is no per document way to do this, but you can turn it on/off globally. Deselect the Instant preview checkbox in the Edit-Preferences dialog, Look and feel-Graphics pane. Thanks, I did look for this, but did not find it. Kind of usual. 2b- LyXPreview (more) My screen dpi in X is 86 (87 in the other direction). I confirmed it thanks to gimp by physically measuring with a plastic ruler some distances (gimp offers a tool to calibrate the resolution). Unfortunately, LyXPreview is making the images so tiny that I cannot read the equations. The font size does not fit with the text around. I thought you didn't want these things and now you're trying to improve them ;-) Since I could not disable them, at least I had to correct them. To be more accurate, I do not want preview of equations in a big document. It is acceptable for a smaller doocument, such as an article. However, I do not see a strong point for the preview (apart from eye-candy demonstration). Especially since the native equation display is so nice now ;). And I like the colour code (blue for equations, red for TeX, etc) in LyX. WISIWIM :) (selfish version of the WYSIWYM) Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. definitely something for the docs ;) I hope these first impressions can help improving LyX (or the docs) further. I did not mean them to be a bad critic. Please do not take them as such. Feedback is the lifeblood of a project like this, so thanks!!! I really like LyX. It is why I am so sad to see that my integrals symbols look like they have been written in the MS equation editor now. Yes, this is bad and it's certainly a regression. I suspect that LyX 1.3.7 will not be needed sooner rather than later :( Will I get the old integral style back for iint and iiint if I delete the wasy fonts and related files ? Can I correct this by editing the file called symbol in the share/lyx directory ? It contains a correspondance symbol - font character I just ask before I trash my local installation. :) Best regards, Olivier.
Re: first impressions of 1.3.6
Olivier Ripoll wrote: Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. definitely something for the docs ;) http://wiki.lyx.org/LyX/InstantPreview#changing_preview_size -- Angus
Re: first impressions of 1.3.6
Georg Baum wrote: Olivier Ripoll wrote: In the past, one could use the nice slanted iint and iiint in LyX, or add the wasy package to the preamble. Now, there is no more choice in the ui. I think it qualifies as a regression. I agree. But the old behaviour could lead to LaTeX errors. In order to solve this we need to know how you produced iint and iiint before. Did you use amsmath? I think I did. I had a master document with chapters inserted/included. Looking at the LyX files I have here (I am at work, I do not have LyX here, but I can open the files as text), here is what I can gather: the main lyx file contains this line: \use_amsmath 1 In the chapters having some mathematical equations I also see the same line. Some chapters without equations contain: \use_amsmath 0 The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Sincerely, Olivier. Georg
Re: first impressions of 1.3.6
Angus Leeming wrote: Olivier Ripoll wrote: Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. definitely something for the docs ;) http://wiki.lyx.org/LyX/InstantPreview#changing_preview_size Thanks. I meant the docs included with LyX. I have no internet connection at home (yes, there are still such people ;) ) Best regards, Olivier
Re: first impressions of 1.3.6
Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? I think that the wasysym documentation http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf explains what we need to do. Executive summary: \usepackage[nointegrals]{wasysymb} Georg? 2.2 Integrals The wasy fonts provide a set of integral sybols, which comprises multiple and surface integrals, too. ? Loading the package with the option [integrals] makes the following integrals available: \int r \iint s \iiint t \oint u \oiint Notice that the style of the \int and \oint is changed, as compared with standard LATEX, and matches the other integral symbols. This works with or without the amsmath package, and the sequence of loading does not matter. ? If you prefer to stay with the integral symbols provided by LATEX(and possibly amsmath), but need other symbols from the wasy fonts, load the package with the option [nointegrals]. Doing so will neither alter any existing integral symbols nor add new ones. ? Loading the package without an option or with the option [compat1] makes the following commands for integrals available: \varint r \iint s \iiint t \varoint u \oiint v This is compatible with the behavior of wasysym version 1.x, but the package will not cooperate well with amsmath then. -- Angus
Re: first impressions of 1.3.6
Angus Leeming wrote: Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? I think that the wasysym documentation http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf explains what we need to do. Executive summary: \usepackage[nointegrals]{wasysymb} Georg? 2.2 Integrals The wasy fonts provide a set of integral sybols, which comprises multiple and surface integrals, too. ? Loading the package with the option [integrals] makes the following integrals available: \int r \iint s \iiint t \oint u \oiint the integral symbols of wasy look weird, choose _always_ the one from package esint, which includes also Type 1 versions for a preview see my Mathmode.pdf Herbert
Re: first impressions of 1.3.6
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? JMarc
Re: first impressions of 1.3.6
Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? JMarc What I do not understand is why LyX now load wasy package. I did not use it in my thesis. So why LyX inserts it ? The correct behaviour for LyX is not to load a package that is not used IMHO. In the release notes, I see the following: - Make sure that the wasysym package is used in LaTeX output when using symbols from the wasy font. Isn't this possibly the feature that introduced the bug ? I am using oiint (defined in my preamble). LyX thinks this needs the wasy font and thus load the package. As a result, I have a problem with my preamble (oiint is defined twice, thus the error I had) and some wasysym integrals are used somewhere. LyX is mistaken if it thinks I need the wasysym because I use oiint. It shoudl realise oiint is defined in the preamble. Sincerely, Olivier
Re: first impressions of 1.3.6
To: lyx-users@lists.lyx.org Subject: Re: first impressions of 1.3.6 From: Jean-Marc Lasgouttes [EMAIL PROTECTED] Date: Wed, 20 Jul 2005 14:42:05 +0200 Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? Standard in TeXLive 2004: /usr/local/TeX/texmf-dist/tex/latex/esint/esint.sty and presumably, in protext-2004 -- Jean-Pierre
Re: first impressions of 1.3.6
Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. \iint, \iiint, \nt and \idotsint are also provided by amsmath. We could delete the current definitions for \iint and \iiint from lib/symbols and replace it with the following: \def\iint{\int\kern-6mu\int} \def\iiint{\int\kern-6mu\int\kern-6mu\int} \def\nt{\int\kern-6mu\int\kern-6mu\int\kern-6mu\int} \def\idotsint{\int\kern-3mu\cdots\kern-3mu\int} That works perfectly on screen, and the output is consistent. But then we have the old problem again: LyX does not know that these symbols need amsmath. And we still have no \oiint. I would prefer the ams versions if possible, since ams is widely available and looks better than wasy IMHO. We could then hardcode the requirement of amsmath for the integral symbols into MathMacro::validate(). In the long run we need a way to specify requirements in lib/symbols. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. Georg
Re: first impressions of 1.3.6
Olivier == Olivier Ripoll [EMAIL PROTECTED] writes: Olivier Isn't this possibly the feature that introduced the bug ? I Olivier am using oiint (defined in my preamble). LyX thinks this Olivier needs the wasy font and thus load the package. As a result, I Olivier have a problem with my preamble (oiint is defined twice, thus Olivier the error I had) and some wasysym integrals are used Olivier somewhere. Olivier LyX is mistaken if it thinks I need the wasysym because I use Olivier oiint. It shoudl realise oiint is defined in the preamble. LyX is not supposed to analyze what you put in the preamble. So if you use \oiint, it tries to provide a definition for it. That's how it works. You can get rid of the error in preamble by using \def instead of \newcommand to redefine \oiint. So I do not think we will fix this particular problem. The problem we should try to fix however, is that wasysym produces ugly integrals (or at least ``different'' integrals). It does not seem to me that esint.sty is part of teTeX 2.0 (am I wrong), so I'd rather avoid using it. JMarc
Re: first impressions of 1.3.6
Georg Baum wrote: It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. there are a lot of packages which were not part of tetex _2.0_ Herbert
Re: first impressions of 1.3.6
Jean-Pierre Chretien wrote: To: lyx-users@lists.lyx.org Subject: Re: first impressions of 1.3.6 From: Jean-Marc Lasgouttes [EMAIL PROTECTED] Date: Wed, 20 Jul 2005 14:42:05 +0200 Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Angus I think that the wasysym documentation Angus http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus explains what we need to do. Executive summary: Angus \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? Standard in TeXLive 2004: /usr/local/TeX/texmf-dist/tex/latex/esint/esint.sty and presumably, in protext-2004 and part of TeXlive 2003, if I remember well. Only the Type 1 version is relatively new. Herbert
Re: first impressions of 1.3.6
Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert Georg Baum wrote: It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. Herbert there are a lot of packages which were not part of tetex Herbert _2.0_ Yes, but we try not to rely on them as far as possible. JMarc
Re: first impressions of 1.3.6
Jean-Marc Lasgouttes wrote: Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert Georg Baum wrote: It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. Herbert there are a lot of packages which were not part of tetex Herbert _2.0_ Yes, but we try not to rely on them as far as possible. but you try to rely on obsolete packages ... ;-) e.g. a4.sty Herbert
Re: first impressions of 1.3.6
Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert but you try to rely on obsolete packages ... ;-) e.g. a4.sty We got rid of it for 1.4.0 :) JMarc
first impressions of 1.3.6
Hello, I just wanted to share my first impressions of 1.3.6 (and give ideas for 1.3.7 ;) ). First a few words of introduction: I used the contributed binary rpm for Mandriva LE 2005. System is a Mandriva limited edition 20005 (=Mandrake 10.2), on an Athlon 600 MHz computer. I am absolutely not a LaTeX expert. This newsgroup provided me all the answers I needed when I used LyX in the past (thanks). I have two issues with LyX 1.3.6: LyXPreview and the integrals. 1- The integrals: My first test when I install a new version of LyX is to check if it still can open and compile my PhD thesis (with pdflatex). I wrote it 2-2.5 years ago with early 1.3.x versions of LyX. I is the first time this test fails. A LaTeX error was produced about the command "oiint" already existing. This comes from the fact that there was no oiint in the past and it is now implemented (wasy package). After changing the "newcommand" to a "renewcommand" in the preamble, I could have the pdf to be produced. Then, I had a looked at it. Integrals were absolutely non-consistent! The int and oint are nice and slanted. My oiint, redefined in the LyX preamble were nice, but all other integrals (iint and iiint) were ugly straight like if they had been produced in MS Word. This is clearly a side effect of using the "wasy" package. Create a new document and play with integrals. Not only the iint, oiint, iiint will be ugly, but they will be inconsistent with the look of the int and oint. How can I disable completely the wasy package or at least tell LyX that it should never use the integrals symbol for it ? In the past, one could use the nice slanted iint and iiint in LyX, or add the wasy package to the preamble. Now, there is no more choice in the ui. I think it qualifies as a regression. 2a- LyXPreview I noticed no simple "per document" way to disable the preview of equations. As I said earlier, my computer is quite old, and I prefer not to see the preview of the equations. The only way I have found yet to disable the effect is to alter the command for the LyXPreview->ppm converter in the preferences. That is quite drastic. LyXPreview use should be a "document" preference (like the ams math or the babel, activated with a checkbox) or at least a global preference. 2b- LyXPreview (more) My screen dpi in X is 86 (87 in the other direction). I confirmed it thanks to gimp by physically measuring with a plastic ruler some distances (gimp offers a tool to calibrate the resolution). Unfortunately, LyXPreview is making the images so tiny that I cannot read the equations. The font size does not fit with the text around. Reading the python script responsible for the equations preview, I realised it was possible to give it a "magnification" option (did I mention I am not a python expert ? ;) ). I tried to pass a magnification value to the script. From the command line, it was working. Not from LyX converter preferences. I spent a while adding warnings to the script and then realised that the "options" I did put in the preferences for the LyXPreview converter where not passed by LyX to the script. LyX seems instead to pass the dpi resolution to the script. So I found 2 solutions to have a correct preview size: - changing the python script so the "magnification" variable is 750, not 1000. - changing the dpi resolution in LyX to 120 dpi. I think it would be better/simpler if in the future, the "options" were passed by LyX to the script. It would avoid a lot of trial and error to solve this issue. I hope these first impressions can help improving LyX (or the docs) further. I did not mean them to be a bad critic. Please do not take them as such. I really like LyX. It is why I am so sad to see that my integrals symbols look like they have been written in the MS equation editor now. Sincerely, Olivier.
Re: first impressions of 1.3.6
Olivier Ripoll wrote: Hi, Olivier. > 2a- LyXPreview > I noticed no simple "per document" way to disable the preview of > equations. As I said earlier, my computer is quite old, and I prefer not > to see the preview of the equations. You're right that there is no "per document" way to do this, but you can turn it on/off globally. Deselect the "Instant preview" checkbox in the Edit->Preferences dialog, Look and feel->Graphics pane. > 2b- LyXPreview (more) > My screen dpi in X is 86 (87 in the other direction). I confirmed it > thanks to gimp by physically measuring with a plastic ruler some > distances (gimp offers a tool to calibrate the resolution). > Unfortunately, LyXPreview is making the images so tiny that I cannot > read the equations. The font size does not fit with the text around. I thought you didn't want these things and now you're trying to improve them ;-) Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. > I hope these first impressions can help improving LyX (or the docs) > further. I did not mean them to be a bad critic. Please do not take > them as such. Feedback is the lifeblood of a project like this, so thanks!!! > I really like LyX. It is why I am so sad to see that my > integrals symbols look like they have been written in the MS equation > editor now. Yes, this is bad and it's certainly a regression. I suspect that LyX 1.3.7 will not be needed sooner rather than later :( -- Angus
Re: first impressions of 1.3.6
Olivier Ripoll wrote: > In the past, one could use the nice slanted iint and iiint in LyX, or > add the wasy package to the preamble. Now, there is no more choice in > the ui. I think it qualifies as a regression. I agree. But the old behaviour could lead to LaTeX errors. In order to solve this we need to know how you produced iint and iiint before. Did you use amsmath? Georg
Re: first impressions of 1.3.6
Angus Leeming wrote: Olivier Ripoll wrote: Hi, Olivier. Hi Angus, thanks for the quick answer. 2a- LyXPreview I noticed no simple "per document" way to disable the preview of equations. As I said earlier, my computer is quite old, and I prefer not to see the preview of the equations. You're right that there is no "per document" way to do this, but you can turn it on/off globally. Deselect the "Instant preview" checkbox in the Edit->Preferences dialog, Look and feel->Graphics pane. Thanks, I did look for this, but did not find it. Kind of usual. 2b- LyXPreview (more) My screen dpi in X is 86 (87 in the other direction). I confirmed it thanks to gimp by physically measuring with a plastic ruler some distances (gimp offers a tool to calibrate the resolution). Unfortunately, LyXPreview is making the images so tiny that I cannot read the equations. The font size does not fit with the text around. I thought you didn't want these things and now you're trying to improve them ;-) Since I could not disable them, at least I had to correct them. To be more accurate, I do not want preview of equations in a big document. It is acceptable for a smaller doocument, such as an article. However, I do not see a strong point for the preview (apart from eye-candy demonstration). Especially since the native equation display is so nice now ;). And I like the colour code (blue for equations, red for TeX, etc) in LyX. WISIWIM :) (selfish version of the WYSIWYM) Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. definitely something for the docs ;) I hope these first impressions can help improving LyX (or the docs) further. I did not mean them to be a bad critic. Please do not take them as such. Feedback is the lifeblood of a project like this, so thanks!!! I really like LyX. It is why I am so sad to see that my integrals symbols look like they have been written in the MS equation editor now. Yes, this is bad and it's certainly a regression. I suspect that LyX 1.3.7 will not be needed sooner rather than later :( Will I get the old integral style back for iint and iiint if I delete the wasy fonts and related files ? Can I correct this by editing the file called "symbol" in the share/lyx directory ? It contains a correspondance symbol -> font character I just ask before I trash my local installation. :) Best regards, Olivier.
Re: first impressions of 1.3.6
Olivier Ripoll wrote: >> Add a line to your .lyx/preferences file: >> \\preview_scale_factor 2.0 >> (or whatever). The default value is 0.9. > definitely something for the docs ;) http://wiki.lyx.org/LyX/InstantPreview#changing_preview_size -- Angus
Re: first impressions of 1.3.6
Georg Baum wrote: Olivier Ripoll wrote: In the past, one could use the nice slanted iint and iiint in LyX, or add the wasy package to the preamble. Now, there is no more choice in the ui. I think it qualifies as a regression. I agree. But the old behaviour could lead to LaTeX errors. In order to solve this we need to know how you produced iint and iiint before. Did you use amsmath? I think I did. I had a master document with chapters inserted/included. Looking at the LyX files I have here (I am at work, I do not have LyX here, but I can open the files as text), here is what I can gather: the main lyx file contains this line: \use_amsmath 1 In the chapters having some mathematical equations I also see the same line. Some chapters without equations contain: \use_amsmath 0 The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Sincerely, Olivier. Georg
Re: first impressions of 1.3.6
Angus Leeming wrote: Olivier Ripoll wrote: Add a line to your .lyx/preferences file: \\preview_scale_factor 2.0 (or whatever). The default value is 0.9. definitely something for the docs ;) http://wiki.lyx.org/LyX/InstantPreview#changing_preview_size Thanks. I meant the docs included with LyX. I have no internet connection at home (yes, there are still such people ;) ) Best regards, Olivier
Re: first impressions of 1.3.6
Olivier Ripoll wrote: > The only one that I had (re)defined in the preamble was oiint. So > shouldn't the wasy package/fonts be used only if AMSmath is unselected ? I think that the wasysym documentation http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf explains what we need to do. Executive summary: \usepackage[nointegrals]{wasysymb} Georg? 2.2 Integrals The wasy fonts provide a set of integral sybols, which comprises multiple and surface integrals, too. ? Loading the package with the option [integrals] makes the following integrals available: \int r \iint s \iiint t \oint u \oiint Notice that the style of the \int and \oint is changed, as compared with standard LATEX, and matches the other integral symbols. This works with or without the amsmath package, and the sequence of loading does not matter. ? If you prefer to stay with the integral symbols provided by LATEX(and possibly amsmath), but need other symbols from the wasy fonts, load the package with the option [nointegrals]. Doing so will neither alter any existing integral symbols nor add new ones. ? Loading the package without an option or with the option [compat1] makes the following commands for integrals available: \varint r \iint s \iiint t \varoint u \oiint v This is compatible with the behavior of wasysym version 1.x, but the package will not cooperate well with amsmath then. -- Angus
Re: first impressions of 1.3.6
Angus Leeming wrote: Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? I think that the wasysym documentation http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf explains what we need to do. Executive summary: \usepackage[nointegrals]{wasysymb} Georg? 2.2 Integrals The wasy fonts provide a set of integral sybols, which comprises multiple and surface integrals, too. ? Loading the package with the option [integrals] makes the following integrals available: \int r \iint s \iiint t \oint u \oiint the integral symbols of wasy look weird, choose _always_ the one from package esint, which includes also Type 1 versions for a preview see my Mathmode.pdf Herbert
Re: first impressions of 1.3.6
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Olivier Ripoll wrote: >> The only one that I had (re)defined in the preamble was oiint. So >> shouldn't the wasy package/fonts be used only if AMSmath is >> unselected ? Angus> I think that the wasysym documentation Angus> http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus> explains what we need to do. Executive summary: Angus> \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? JMarc
Re: first impressions of 1.3.6
Jean-Marc Lasgouttes wrote: "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I think that the wasysym documentation Angus> http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus> explains what we need to do. Executive summary: Angus> \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? JMarc What I do not understand is why LyX now load wasy package. I did not use it in my thesis. So why LyX inserts it ? The correct behaviour for LyX is not to load a package that is not used IMHO. In the release notes, I see the following: "- Make sure that the wasysym package is used in LaTeX output when using symbols from the wasy font." Isn't this possibly the feature that introduced the bug ? I am using oiint (defined in my preamble). LyX thinks this needs the wasy font and thus load the package. As a result, I have a problem with my preamble (oiint is defined twice, thus the error I had) and some wasysym integrals are used somewhere. LyX is mistaken if it thinks I need the wasysym because I use oiint. It shoudl realise oiint is defined in the preamble. Sincerely, Olivier
Re: first impressions of 1.3.6
>>To: lyx-users@lists.lyx.org >>Subject: Re: first impressions of 1.3.6 >>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> >>Date: Wed, 20 Jul 2005 14:42:05 +0200 >> >>>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> >>Angus> Olivier Ripoll wrote: >>>> The only one that I had (re)defined in the preamble was oiint. So >>>> shouldn't the wasy package/fonts be used only if AMSmath is >>>> unselected ? >> >>Angus> I think that the wasysym documentation >>Angus> >>http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf >>Angus> explains what we need to do. Executive summary: >>Angus> \usepackage[nointegrals]{wasysymb} Georg? >> >>Not, really, because we load wasysymb specifically to get these >>special integrals like \oiint. What we are looking for is a way to get >>the integrals without getting the look wasysym provides. >> >>It seems that the esint.sty package the Herbert pointed to does that. >>The problem is, how common is it? Standard in TeXLive 2004: /usr/local/TeX/texmf-dist/tex/latex/esint/esint.sty and presumably, in protext-2004 -- Jean-Pierre
Re: first impressions of 1.3.6
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >> writes: > > Angus> I think that the wasysym documentation > Angus> > http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf > Angus> explains what we need to do. Executive summary: Angus> > \usepackage[nointegrals]{wasysymb} Georg? > > Not, really, because we load wasysymb specifically to get these > special integrals like \oiint. What we are looking for is a way to get > the integrals without getting the look wasysym provides. \iint, \iiint, \nt and \idotsint are also provided by amsmath. We could delete the current definitions for \iint and \iiint from lib/symbols and replace it with the following: \def\iint{\int\kern-6mu\int} \def\iiint{\int\kern-6mu\int\kern-6mu\int} \def\nt{\int\kern-6mu\int\kern-6mu\int\kern-6mu\int} \def\idotsint{\int\kern-3mu\cdots\kern-3mu\int} That works perfectly on screen, and the output is consistent. But then we have the old problem again: LyX does not know that these symbols need amsmath. And we still have no \oiint. I would prefer the ams versions if possible, since ams is widely available and looks better than wasy IMHO. We could then hardcode the requirement of amsmath for the integral symbols into MathMacro::validate(). In the long run we need a way to specify requirements in lib/symbols. > It seems that the esint.sty package the Herbert pointed to does that. > The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. Georg
Re: first impressions of 1.3.6
> "Olivier" == Olivier Ripoll <[EMAIL PROTECTED]> writes: Olivier> Isn't this possibly the feature that introduced the bug ? I Olivier> am using oiint (defined in my preamble). LyX thinks this Olivier> needs the wasy font and thus load the package. As a result, I Olivier> have a problem with my preamble (oiint is defined twice, thus Olivier> the error I had) and some wasysym integrals are used Olivier> somewhere. Olivier> LyX is mistaken if it thinks I need the wasysym because I use Olivier> oiint. It shoudl realise oiint is defined in the preamble. LyX is not supposed to analyze what you put in the preamble. So if you use \oiint, it tries to provide a definition for it. That's how it works. You can get rid of the error in preamble by using \def instead of \newcommand to redefine \oiint. So I do not think we will fix this particular problem. The problem we should try to fix however, is that wasysym produces ugly integrals (or at least ``different'' integrals). It does not seem to me that esint.sty is part of teTeX 2.0 (am I wrong), so I'd rather avoid using it. JMarc
Re: first impressions of 1.3.6
Georg Baum wrote: It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. there are a lot of packages which were not part of tetex _2.0_ Herbert
Re: first impressions of 1.3.6
Jean-Pierre Chretien wrote: To: lyx-users@lists.lyx.org Subject: Re: first impressions of 1.3.6 From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> Date: Wed, 20 Jul 2005 14:42:05 +0200 "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Olivier Ripoll wrote: The only one that I had (re)defined in the preamble was oiint. So shouldn't the wasy package/fonts be used only if AMSmath is unselected ? Angus> I think that the wasysym documentation Angus> http://www.ctan.org/tex-archive/macros/latex/contrib/wasysym/wasysym.pdf Angus> explains what we need to do. Executive summary: Angus> \usepackage[nointegrals]{wasysymb} Georg? Not, really, because we load wasysymb specifically to get these special integrals like \oiint. What we are looking for is a way to get the integrals without getting the look wasysym provides. It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? Standard in TeXLive 2004: /usr/local/TeX/texmf-dist/tex/latex/esint/esint.sty and presumably, in protext-2004 and part of TeXlive 2003, if I remember well. Only the Type 1 version is relatively new. Herbert
Re: first impressions of 1.3.6
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> Georg Baum wrote: >>> It seems that the esint.sty package the Herbert pointed to does >>> that. The problem is, how common is it? >> I don't know. I never heard of it before, and it is not included in >> tetex 2.0. Herbert> there are a lot of packages which were not part of tetex Herbert> _2.0_ Yes, but we try not to rely on them as far as possible. JMarc
Re: first impressions of 1.3.6
Jean-Marc Lasgouttes wrote: "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> Georg Baum wrote: It seems that the esint.sty package the Herbert pointed to does that. The problem is, how common is it? I don't know. I never heard of it before, and it is not included in tetex 2.0. Herbert> there are a lot of packages which were not part of tetex Herbert> _2.0_ Yes, but we try not to rely on them as far as possible. but you try to rely on obsolete packages ... ;-) e.g. a4.sty Herbert
Re: first impressions of 1.3.6
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> but you try to rely on obsolete packages ... ;-) e.g. a4.sty We got rid of it for 1.4.0 :) JMarc