On Tue, 2004-12-14 at 08:42, Martin Vermeer wrote: > On Mon, 2004-12-13 at 20:55, Juergen Spitzmueller wrote: > > Jean-Marc Lasgouttes wrote: > > > > > Juergen> - "textrm ÃÂ", "textrm ÃÂ", "mathcircumflex", "_", > > > Juergen> + "textrm Ã", "textrm Ã", "mathcircumflex", "_", > > > > > > Is it really a good idea to have stuff in latin1 included > > > unconditionally? Why not use "AA" and "emptyset"? > > > > Yes, I agree, but I think that \textrm{Ã} is rather synonymical to > > \textrm{\O} than to \textrm{\emptyset} (which also triggers a LaTeX error). > > But OTOH I am no mathematician. > > > > Also, mathed does not render \AA and \O to symbols ATM, but I guess Andrà > > could fix that easily. > > > > JÃrgen. > > I suppose I am guilty here. > > These are meant to be the units ÃngstrÃm and Ãrsted. So you need a > Swedish à (\AA is OK I think) and a Danish à (\O).
Attached a patch which outputs the right LaTeX AND shows correctly in the panel. Note that I renamed the two XPM files to be more self documenting (and the second one had nothing to do with the number zero or the empty set anyway). Andrà should look at lib/symbols, I'm lost there too :-) - Martin
Index: src/frontends/controllers/ControlMath.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ControlMath.C,v retrieving revision 1.26 diff -u -r1.26 ControlMath.C --- src/frontends/controllers/ControlMath.C 19 May 2004 15:11:30 -0000 1.26 +++ src/frontends/controllers/ControlMath.C 17 Dec 2004 10:37:35 -0000 @@ -177,7 +177,7 @@ "angle", "top", "bot", "Vert", "neg", "flat", "natural", "sharp", "surd", "triangle", "diamondsuit", "heartsuit", "clubsuit", "spadesuit", - "textrm Ã", "textrm Ã", "mathcircumflex", "_", + "textrm \\AA", "textrm \\O", "mathcircumflex", "_", "mathrm T", "mathbb N", "mathbb Z", "mathbb Q", "mathbb R", "mathbb C", "mathbb H", @@ -333,8 +333,8 @@ { "nRightarrow", "nrightarrow2" }, { "nVDash", "nvdash3" }, { "nvDash", "nvdash2" }, - { "textrm_Ã", "textrm_A" }, - { "textrm_Ã", "textrm_0" }, + { "textrm \\AA", "textrm_AA"}, + { "textrm \\O", "textrm_Oe"}, { "vDash", "vdash2" } }; Index: lib/images/math/textrm_AA.xpm =================================================================== RCS file: lib/images/math/textrm_AA.xpm diff -N lib/images/math/textrm_AA.xpm --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lib/images/math/textrm_AA.xpm 17 Dec 2004 10:38:39 -0000 @@ -0,0 +1,27 @@ +/* XPM */ +static char *a[] = { +/* columns rows colors chars-per-pixel */ +"12 19 2 1", +" c #000000", +". c None", +/* pixels */ +".... .....", +"... ... ....", +"... ... ....", +"... ... ....", +"... ... ....", +".... .....", +"..... .....", +".... .....", +".... . ....", +"... .. ....", +"... ... ...", +"... ... ...", +".. .... ...", +".. ..... ..", +".. ..", +".. ..... ..", +". ....... .", +". ....... .", +" ..... " +}; Index: lib/images/math/textrm_Oe.xpm =================================================================== RCS file: lib/images/math/textrm_Oe.xpm diff -N lib/images/math/textrm_Oe.xpm --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lib/images/math/textrm_Oe.xpm 17 Dec 2004 10:38:39 -0000 @@ -0,0 +1,24 @@ +/* XPM */ +static char *a[] = { +/* columns rows colors chars-per-pixel */ +"13 16 2 1", +" c #000000", +". c None", +/* pixels */ +"...... .... ", +".... .. . .", +"... ..... ..", +".. ..... . .", +". ...... . .", +". ..... ... ", +" ..... .... ", +" ..... .... ", +" .... ..... ", +" ... ...... ", +". ... ...... ", +". . ....... ", +".. ....... ", +".. ...... .", +".. . .... ..", +". ... ..." +};
signature.asc
Description: This is a digitally signed message part