See http://bugzilla.lyx.org/show_bug.cgi?id=1942. The problem is in short
form that the wasysym package defines \iint and \iiint that don't look
alike to \int, and that we force the wasysym package now for symbols that
use the wasy font.
There are several solutions:

1) Use amsmath for \iint and \iiint and load wasysym with the nointegrals
option. This works well but the user cannot use the wasysym integrals if he
wishes to do so. Note that the nointegrals option is not available in older
releases of the wasysym package.

2) Use esint for the integrals and load wasysym with the nointegrals option.
That is IMHO the technically best solution. The disadvantages are the same
as 1), and esint is not in tetex 2.0 (it is in tetex 3.0 and current
texlive). The advantage over 1) is that esint provides more integral signs
(the most important one is \oiint IMHO).

3) Don't load the wasysym package at all and let the user decide how to load
it. This was the behaviour of 1.3.5.

4) Implement an additional switch (like use_amsmath) and let the user decide
what to use: esint, amsmath or wasy.

I think we should do 3) for 1.3.7, and that is implemented in the attached
patch. Is that OK, Jean-Marc?

For 1.4.0 we could either do 3) or 4). What do you think? I would prefer 3),
since 4) needs some additional testing and documentation.


Georg


Index: src/mathed/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/ChangeLog,v
retrieving revision 1.299.2.24
diff -u -p -r1.299.2.24 ChangeLog
--- src/mathed/ChangeLog	4 Jul 2005 14:24:37 -0000	1.299.2.24
+++ src/mathed/ChangeLog	25 Jul 2005 16:10:34 -0000
@@ -1,3 +1,8 @@
+2005-07-25  Georg Baum  <[EMAIL PROTECTED]>
+
+	* math_factory.C (initSymbols): Don't require wasysym for the wasy
+	font (bug 1942)
+
 2005-06-24  Joao Luis Meloni Assirati  <[EMAIL PROTECTED]>
 
 	* math_parser.C (parse_verbatim_{option,item}): Add skipSpaces()
Index: src/mathed/math_factory.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_factory.C,v
retrieving revision 1.70.2.3
diff -u -p -r1.70.2.3 math_factory.C
--- src/mathed/math_factory.C	6 Jun 2005 12:45:54 -0000	1.70.2.3
+++ src/mathed/math_factory.C	25 Jul 2005 16:10:35 -0000
@@ -147,8 +147,9 @@ void initSymbols()
 			// store requirements as long as we can
 			if (tmp.inset == "msa" || tmp.inset == "msb")
 				tmp.requires = "amssymb";
-			else if (tmp.inset == "wasy")
-				tmp.requires = "wasysym";
+			// See http://bugzilla.lyx.org/show_bug.cgi?id=1942
+			// else if (tmp.inset == "wasy")
+			//	tmp.requires = "wasysym";
 
 			// symbol font is not available sometimes
 			string symbol_font = "lyxsymbol";

Reply via email to