]> git.lyx.org Git - features.git/commitdiff
The ��ngstr��m, ��rsted patch
authorMartin Vermeer <martin.vermeer@hut.fi>
Fri, 17 Dec 2004 13:34:02 +0000 (13:34 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Fri, 17 Dec 2004 13:34:02 +0000 (13:34 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9394 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/images/math/textrm_AA.xpm [new file with mode: 0644]
lib/images/math/textrm_Oe.xpm [new file with mode: 0644]
lib/symbols
src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlMath.C

index df78e4ad5d188a191ee5924fa4e25316e6262f85..3a94f6d5040eac62f09251bc6b00368dd1b5a467 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-17  Martin Vermer  <martin.vermeer@hut.fi>
+
+       * images/math/textrm_*.xpm: renamed to textrm_AA, textrm_Oe
+       * symbols: added Ångström, Ørsted
+
 2004-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * configure.m4: remove code for checking languages in the LaTeX
diff --git a/lib/images/math/textrm_AA.xpm b/lib/images/math/textrm_AA.xpm
new file mode 100644 (file)
index 0000000..ee58d5c
--- /dev/null
@@ -0,0 +1,27 @@
+/* XPM */
+static char *a[] = {
+/* columns rows colors chars-per-pixel */
+"12 19 2 1",
+"  c #000000",
+". c None",
+/* pixels */
+"....   .....",
+"... ... ....",
+"... ... ....",
+"... ... ....",
+"... ... ....",
+"....   .....",
+".....  .....",
+"....   .....",
+".... .  ....",
+"... ..  ....",
+"... ...  ...",
+"... ...  ...",
+".. ....  ...",
+".. .....  ..",
+"..        ..",
+".. .....  ..",
+". .......  .",
+". .......  .",
+"   .....    "
+};
diff --git a/lib/images/math/textrm_Oe.xpm b/lib/images/math/textrm_Oe.xpm
new file mode 100644 (file)
index 0000000..59db0bb
--- /dev/null
@@ -0,0 +1,24 @@
+/* XPM */
+static char *a[] = {
+/* columns rows colors chars-per-pixel */
+"13 16 2 1",
+"  c #000000",
+". c None",
+/* pixels */
+"......  .... ",
+"....  ..  . .",
+"...  ..... ..",
+"..  ..... . .",
+".  ...... . .",
+".  ..... ... ",
+"  ..... .... ",
+"  ..... .... ",
+"  .... ..... ",
+"  ... ...... ",
+". ... ...... ",
+".  . ....... ",
+"..  .......  ",
+"..  ......  .",
+".. . ....  ..",
+". ...     ..."
+};
index 3c391055df3e9dae82b27161aa39a1aa0b477c92..343fee12879b268bfe5618e11573085af4b0b080 100644 (file)
@@ -811,6 +811,9 @@ iffont msb
 \def\Join{\ltimes\kern-18.5mu\rtimes}
 endif
 \def\mathcircumflex{\mbox{\^{}}}{\^}
+# Fixme: latin-1 chars in text file
+\def\AA{\AA}{Å}
+\def\O{\O}{Ø}
 
 textdegree         lyxsymbol             176 0 mathord  x
 
index fecfea49ea7b699057558c41b6763ea4d9cae90e..527c1c5491d24590c5f8e638c3e850038791b432 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-17  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * ControlMath.C: fixed Ångström, Ørsted.
+
 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
 
        * ControlTabular.[Ch], ControlTabularCreate.h: use size_t-like
index ffdf67d49a52248f9b71d83b8125adae0be5dfeb..dd2260f9e5669f54354081c2348baddc5f391bc3 100644 (file)
@@ -177,7 +177,7 @@ char const * latex_misc[] = {
        "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 @@ XPMmap sorted_xpm_map[] = {
        { "nRightarrow", "nrightarrow2" },
        { "nVDash", "nvdash3" },
        { "nvDash", "nvdash2" },
-       { "textrm_Å", "textrm_A" },
-       { "textrm_Ø", "textrm_0" },
+       { "textrm \\AA", "textrm_AA"},
+       { "textrm \\O", "textrm_Oe"},
        { "vDash", "vdash2" }
 };