From: dpvc v. a. <we...@ma...> - 2005-12-30 19:10:11
|
Log Message: ----------- No longer needed. Removed Files: ------------- webwork-modperl/htdocs/jsMath: jsMath-mozilla.js Revision Data ------------- --- htdocs/jsMath/jsMath-mozilla.js +++ /dev/null @@ -1,212 +0,0 @@ -/* - * jsMath-mozilla.js - * - * Part of the jsMath package for mathematics on the web. - * - * This file makes changes needed for use with Mozilla-based - * browsers on any platform - * - * --------------------------------------------------------------------- - * - * jsMath is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * jsMath is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with jsMath; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - - -/******************************************************************** - * - * Mozilla has its own character mapping mechanism for accessing - * the TeX fonts, so we replace the values in our internal - * font map to point to these - */ - -jsMath.Update.TeXfontCodes({ - cmr10: [ - 'Γ', 'Δ', 'Θ', 'Λ', - 'Ξ', 'Π', 'Σ', 'Υ', - 'Φ', 'Ψ', 'Ω', 'ff', - 'fi', 'fl', 'ffi', 'ffl', - - 'ı', '', '̀', '́', - '̌', '̆', '̅', '̊', - '̧', 'ß', 'æ', 'œ', - 'ø', 'Æ', 'Œ', 'Ø', - - '̷', '!', '”', '#', - '$', '%', '&', ''', - '(', ')', '*', '+', - ',', '-', '.', '/', - - '0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', ':', ';', '¡', '=', '¿', '?', - - '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', - 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', - - 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', - 'X', 'Y', 'Z', '[', '“', ']', '̂', '̇', - - '‘', 'a', 'b', 'c', 'd', 'e', 'f', 'g', - 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', - - 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', - 'x', 'y', 'z', '–', '—', '̋', '̃', '̈' - ], - - cmmi10: [ - 'Γ', 'Δ', 'Θ', 'Λ', - 'Ξ', 'Π', 'Σ', 'Υ', - 'Φ', 'Ψ', 'Ω', 'α', - 'β', 'γ', 'δ', 'ε', - - 'ζ', 'η', 'θ', 'ι', - 'κ', 'λ', 'μ', 'ν', - 'ξ', 'π', 'ρ', 'σ', - 'τ', 'υ', 'φ', 'χ', - - 'ψ', 'ω', 'ɛ', 'ϑ', - 'ϖ', 'ϱ', 'ς', 'ϕ', - '↼', '↽', '⇀', '⇁', - '', '', '▹', '◃', - - '0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', '.', ',', '<', '/', '>', '⋆', - - '∂', 'A', 'B', 'C', 'D', 'E', 'F', 'G', - 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', - - 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', - 'X', 'Y', 'Z', '♭', '♮', '♯', '⌣', '⌢', - - 'ℓ', 'a', 'b', 'c', 'd', 'e', 'f', 'g', - 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', - - 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', - 'x', 'y', 'z', 'ı', '', '℘', '⃗', '̑' - ], - - cmsy10: [ - '−', '·', '×', '⋆', - '÷', '⋄', '±', '∓', - '⊕', '⊖', '⊗', '⊘', - '⊙', '○', '∘', '∙', - - '≃', '≍', '⊆', '⊇', - '≤', '≥', '≼', '≽', - '∼', '≅', '⊂', '⊃', - '≪', '≫', '≺', '≻', - - '←', '→', '↑', '↓', - '↔', '↗', '↘', '≂', - '⇐', '⇒', '⇑', '⇓', - '⇔', '↖', '↙', '∝', - - '′', '∞', '∈', '∋', - '△', '▽', '̸', '', - '∀', '∃', '¬', '∅', - 'ℜ', 'ℑ', '⊤', '⊥', - - 'ℵ', '', 'ℬ', '', - '', 'ℰ', 'ℱ', '', - 'ℋ', 'ℐ', '', '', - 'ℒ', 'ℳ', '', '', - - '', '', 'ℛ', '', - '', '', '', '', - '', '', '', '∪', - '∩', '⊎', '∧', '∨', - - '⊢', '⊣', '⌊', '⌋', - '⌈', '⌉', '{', '}', - '〈', '〉', '∣', '∥', - '↕', '⇕', '∖', '≀', - - '√', '∐', '∇', '∫', - '⊔', '⊓', '⊑', '⊒', - '§', '†', '‡', '¶', - '♣', '♢', '♡', '♠' - ], - - cmex10: [ - '', '', '', '', - '', '', '', '', - '', '', '', '', - '', '', '', '', - - '', '', '', '', - '', '', '', '', - '', '', '', '', - '', '', '', '', - - '', '', '', '', - '', '', '', '', - '', '', '', '', - '', '', '', '', - - '', '', '', '', - '', '', '', '', - '', '', '', '', - '', '', '', '', - - '', '', '', '', - '', '', '', '', - '', '', '', '', - '', '', '', '', - - '', '', '', '', - '', '', '', '', - '', '', '', '', - '', '', '', '', - - '', '', '', '', - '', '', '', '', - '', '', '', '', - '', '', '', '', - - '', '', '', '', - '', '', '', '', - '', '', '', '', - '', '', '', '' - ] -}); - - -/* - * Adjust a few other characters as well - */ - -jsMath.Update.TeXfonts({ - cmr10: {'20': {c: 'ˇ', tclass: 'normal', w: .3}}, - cmmi10: { - '20': {c: '<I>&kappa</I>', tclass: 'normal'}, - '58': {c: '.', tclass: 'normal'}, - '59': {c: ',', tclass: 'normal'}, - '61': {c: '/', tclass: 'cmr10'} - }, - cmsy10: { - '3': {c: '*', tclass: 'normal'}, - '16': {c: '≍'}, - '17': {c: '≡', tclass: 'normal'}, - '25': {c: '≈', tclass: 'normal'}, - '39': {c: '≃'}, - '20': {c: '≤', tclass: 'normal'} - }, - cmex10: {'20': {c: '<SPAN STYLE="font-size: 80%"></SPAN>'}}, - cmti10: {'10': {c: '<I>Ω</I>', tclass: 'normal'}}, - cmbx10: {'10': {c: '<B>Ω</B>', tclass: 'normal'}} -}); - - - |