Annotation of loncom/html/adm/jsMath/jsMath-fallback-symbols.js, revision 1.2
1.1 albertel 1: /*
2: * jsMath-fallback-symbols.js
3: *
4: * Part of the jsMath package for mathematics on the web.
5: *
6: * This file makes changes needed to use image fonts for symbols
7: * but standard native fonts for letters and numbers.
8: *
9: * ---------------------------------------------------------------------
10: *
1.2 ! albertel 11: * Copyright 2004-2006 by Davide P. Cervone
! 12: *
! 13: * Licensed under the Apache License, Version 2.0 (the "License");
! 14: * you may not use this file except in compliance with the License.
! 15: * You may obtain a copy of the License at
! 16: *
! 17: * http://www.apache.org/licenses/LICENSE-2.0
! 18: *
! 19: * Unless required by applicable law or agreed to in writing, software
! 20: * distributed under the License is distributed on an "AS IS" BASIS,
! 21: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! 22: * See the License for the specific language governing permissions and
! 23: * limitations under the License.
1.1 albertel 24: */
25:
1.2 ! albertel 26: jsMath.Script.Uncompress([
! 27: ['jsMath.','Script.','Start();',0,'Add(','jsMath.Img',',{','UpdateTeXFonts',':function(_1){for(var _2 in _1){for(var _3 in _1[_2]){',0,'TeX[_2][_3',']=_1[_2][_3];',0,10,'].tclass="i"+_2;}}}});',5,'.',7,'({cmr10',':{"33":{c:"!",lig:{"96":60}},"35":{c:"#"},"36":{c:"$"},"37":{c:"%"},"38":{c:"&"},"40":{c:"(",d:0.2},"41":{c:")",d:0.2},"42":{c',':"*",d:-0.3},"','43":{c:"+",a:0.1},"44":{c:",",a:-0.3','},"45":{c:"-",a:0',',lig:{"45":123}},"46":{c:".",a:-0.25},"47":{c',':"/"},"','48":{c:"0','"},"49":{c:"1"},"50":{c:"2"},"51":{c:"3"},"52":{c:"4"},"53":{c:"5"},"54":{c:"6"},"55":{c:"7"},"56":{c:"8"},"57":{c:"9"},"58":{c:":"},"59":{c:";"},"61":{c:"=",a:0,d:-0.1},"63":{c:"?",lig:{"96":62}},"64":{c:"@"},"65":{c:"A",krn:{"116','":-0.0278,"','67',27,'79',27,'71',27,'85',27,'81',27,'84":-0.0833,"89":-0.0833,"86":-0.111,"87":-0.111}},"','66":{c:"B','"},"','67":{c:"C',40,'68":{c:"D','",krn:{"','88',27,'87',27,'65',27,'86',27,'89','":-0.0278}},"','69":{c:"E',40,'70":{c:"F",','krn:{"111":-0.0833,"101":-0.0833,"117":-0.0833,"114":-0.0833,"97":-0.0833,"65":-0.111,"79":-0.0278,"67":-0.0278,"71":-0.0278,"81":-0.0278}},"','71":{c:"G',40,'72":{c:"H',40,'73":{c:"I',44,'73','":0.0278}},"','74":{c:"J',40,'75":{c:"K',44,'79',27,'67',27,'71',27,'81',54,'76":{c:"L",krn:{"',38,'77":{c:"M',40,'78":{c:"N',40,'79":{c:"O',44,'88',27,'87',27,'65',27,'86',27,'89',54,'80":{c:"P",','krn:{"65":-0.','0833,"111',27,'101',27,'97',27,'46":-0.0833,"44":-0.0833}},"','81":{c:"Q",d:','1},"82":{c:"R',44,'116',27,'67',27,'79',27,'71',27,'85',27,'81',27,38,'83":{c:"S',40,'84":{c:"T',44,'121',27,'101":-0.0833,"111":-0.0833,"114":-0.0833,"97":-0.0833,"65":-0.0833,"117":-0.0833}},"','85":{c:"U',40,'86":{c:"V",ic:0.','0139,',58,'87":{c:"W",ic:0.','0139,',58,'88":{c:"X",','krn:{"79',27,'67',27,'71',27,'81',54,'89":{c:"Y",ic:0.','025',',krn:{"',128,'90":{c:"Z',40,'91":{c:"[",d:0.1','},"93":{c:"]",d:0.1','},"97":{c:"a','",a:0,krn:{"','118',27,'106":0.0556,"121',27,'119',54,'98":{c:"b",','krn:{"101":0.0278,"111":0.0278,"120":-0.0278,"100":0.0278,"99":0.0278,"113":0.0278,"118":-0.0278,"106":0.0556,"121":-0.0278,"119":-0.0278}},"','99":{c:"c',155,'104',27,'107',54,'100":{c:"d',40,'101":{c:"e",a',':0},"102":{c:"f",ic:0.0778,krn:{"39":0.0778,"63":0.0778,"33":0.0778,"41":0.0778,"93":0.0778},lig:{"105":12,"102":11,"108":13}},"103":{c:"g",a:0,d:0.2,ic:0.0139,krn:{"106":0.0278}},"104":{c:"h",krn:{"116',27,'117',27,'98',27,'121',27,'118',27,'119',54,'105":{c:"i"},"106":{c:"j",d:','1},"107":{c:"k',44,'97','":-0.0556,"','101',27,'97',27,'111',27,'99',54,'108":{c:"l',40,'109":{c:"m',155,'116',27,'117',27,'98',27,'121',27,'118',27,'119',54,'110":{c:"n',155,'116',27,'117',27,'98',27,'121',27,'118',27,'119',54,'111":{c:"o",a:0,',163,'112":{c:"p",a:0,d:0.2,',163,'113":{c:"q",a:0,d:','1','},"114":{c:"r",a:0','},"','115":{c:"s",a:0','},"116":{c:"t',44,'121',27,'119',54,'117":{c:"u',155,'119',54,'118":{c:"v','",a:0,ic:0.','0139',148,'97',189,'101',27,'97',27,'111',27,'99',54,'119":{c:"w',248,'0139',148,'101',27,'97',27,'111',27,'99',54,'120":{c:"x",a:0','},"121":{c:"y','",a:0,d:0.2,ic:0.','0139',148,'111',27,'101',27,'97',27,105,'122":{c:"z",a:0','}},cmmi10:{"65":{c:"A',44,'127":0.139}},"',39,'",ic:0.','0502,','krn:{"127":0.0833}},"',41,290,'0715',148,'61',27,'59":-0.0556,"58":-0.0556,"127":0.','0833}},"','68":{c:"D',290,'0278',',krn:{"127":0.0556}},"',55,290,'0576,',292,57,'ic:0.139',',krn:{"61":-0.0556,"59":-0.111,"58":-0.111,"127":0.',300,59,'",',292,61,290,'0812',148,'61',189,299,'0556}},"','73":{c:"I",ic:0.','0785',148,'127":0.111}},"',67,290,'0962',311,'167}},"75":{c:"K',290,'0715',148,'61',189,299,323,'76":{c:"L",','krn:{"127":0.0278}},"',81,290,'109',148,'61',189,299,300,83,290,'109',148,'61":-0.0833,"61',27,299,300,'79":{c:"O',290,303,',',292,97,'ic:0.139',311,300,106,'0.2,',292,'82":{c:"R',290,'00773,',292,122,290,'0576',148,'61',189,299,300,'84":{c:"T",ic:0.','139',148,'61',27,299,300,129,290,'109',148,'59":-0.111,"58":-0.111,"61',189,'127',66,131,'222',',krn:{"59":-0.167,"58":-0.167,"61":-0.111}},"',134,'139',399,137,'ic:0.0785',148,'61":-0.0833,"61',27,299,300,146,'222',399,150,290,'0715',148,'61',189,299,300,'97":{c:"a",a:0},"98":{c:"b',40,'99":{c:"c",a:0',304,170,44,'89":0.0556,"90',189,'106":-0.111,"102":-0.167,"127":0.167}},"101":{c:"e",a:0',304,'102":{c:"f",d:','0.2,ic:0.','108',148,299,'167}},"103":{c:"g',275,'0359,',341,'104":{c:"h',44,'127',54,185,432,'0572',148,'59',189,'58":-0.',323,'107":{c:"k',290,'0315},"',198,290,'0197,',292,'109":{c:"m",a:0},"110":{c:"n",a:0},"111":{c:"o",a:0',304,230,292,'113":{c:"q',275,'0359,',292,'114":{c:"r',248,303,148,299,323,236,304,'116":{c:"t",',292,'117":{c:"u",a:0,',341,'118":{c:"v',248,'0359,',341,'119":{c:"w',248,'0269,',292,273,',',341,'121":{c:"y',275,'0359',304,'122":{c:"z',248,'044',148,'127":0.0556}}},cmsy10:{"0":{c:"–",a:0.1}},cmti10:{"33":{c:"!",lig:{"96":60}},"35":{c:"#",ic:0.0662},"37":{c:"%",ic:0.136},"38":{c:"&",ic:0.0969},"40":{c:"(",d:',432,'162},"41":{c:")",d:',432,'0369},"42":{c:"*",ic:0.149},"43":{c:"+",a:0.1,ic:0.0369},"44":{c:",",a:-0.3,d:0.2,w:0.278},"45":{c:"-",a:0,ic:0.0283',23,':"/",ic:0.162},"',25,'",ic:0.136},"','49":{c:"1',506,'50":{c:"2',506,'51":{c:"3',506,'52":{c:"4',506,'53":{c:"5',506,'54":{c:"6',506,'55":{c:"7',506,'56":{c:"8',506,'57":{c:"9',506,'58":{c:":",ic:0.0582},"59":{c:";",ic:0.0582},"61":{c:"=",a:0,d:-0.1,ic:0.0662},"63":{c:"?",ic:0.122,lig:{"96":62}},"64":{c:"@",ic:0.096},"65":{c:"A",','krn:{"110":-0.0256,"108":-0.0256,"114":-0.0256,"117":-0.0256,"109":-0.0256,"116":-0.0256,"105":-0.0256,"67":-0.0256,"79":-0.0256,"71":-0.0256,"104":-0.0256,"98":-0.0256,"85":-0.0256,"107":-0.0256,"118":-0.0256,"119":-0.0256,"81":-','0.0256,"84','":-0.0767,"','89',528,'86','":-0.102,"','87',532,'101":-0.0511,"97":-0.0511,"111":-0.0511,"100":-0.0511,"99":-0.0511,"103":-0.0511,"113":-0.0511}},"',39,'",ic:0.103','},"',41,290,'145},"','68":{c:"D','",ic:0.094,krn:{"88":-0.0256,"87":-0.0256,"65":-0.0256,"86":-0.0256,"89":-0.0256}},"',55,'",ic:0.12},"',57,'ic:0.133',148,'111',528,'101',528,'117','":-0.0767,"114":-0.0767,"97":-0.0767,"','65',532,'79":-0.0256,"67":-0.0256,"71":-0.0256,"81":-0.0256}},"',59,290,'0872},"',61,'",ic:0.164},"',324,'158},"',67,290,'14},"75":{c:"K',290,'145',148,557,79,'84',528,'89',528,'86',532,'87',532,535,81,562,83,562,'79":{c:"O',543,97,'ic:0.103',148,'65":-0.0767}},"',106,432,'094},"82":{c:"R',290,'0387,',526,'0.0256,"84',528,'89',528,'86',532,'87',532,535,122,545,382,'133',148,'121',528,'101',528,'111',554,'117',528,591,129,562,131,'184',148,'111',528,'101',528,'117',554,'65',532,557,134,'184',148,591,137,'ic:0.158',148,557,146,'194',148,'101',528,'111',554,'117',528,591,150,290,541,152,',ic:0.188',153,',ic:0.105},"97":{c:"a',248,'0767},"',162,'ic:0.0631',148,535,'99":{c:"c',248,'0565',148,535,170,537,148,'108":0.0511}},"','101":{c:"e',248,'0751',148,535,'102":{c:"f',290,'212',148,'39":0.104,"63":0.104,"33":0.104,"41":0.104,"93":0.104},lig:{"105":12,"102":11,"108":13}},"103":{c:"g',275,'0885},"','104":{c:"h',290,661,'105":{c:"i',290,'102},"106":{c:"j",d:',432,541,'107":{c:"k',290,'108},"',198,537,148,674,'109":{c:"m',248,661,'110":{c:"n',248,'0767',148,'39":-0.102}},"111":{c:"o',248,'0631',148,535,'112":{c:"p',275,'0631',148,535,'113":{c:"q',275,686,'114":{c:"r',248,'108',148,535,'115":{c:"s',248,'0821},"116":{c:"t',290,'0949},"117":{c:"u',248,661,'118":{c:"v',248,697,'119":{c:"w',248,'108',148,674,'120":{c:"x',248,'12},"121":{c:"y',275,686,'122":{c:"z',248,'123}},cmbx10',19,':"*"},"',21,',d:0.2,w:0.278},"45":{c:"-",a:0',23,':"/"},"',25,26,27,'67',27,'79',27,'71',27,'85',27,'81',27,38,39,40,41,40,'68":{c:"D',44,'88',27,'87',27,'65',27,'86',27,'89',54,55,40,57,58,59,40,61,40,'73":{c:"I',44,'73',66,67,40,'75":{c:"K',44,'79',27,'67',27,'71',27,'81',54,79,38,81,40,83,40,'79":{c:"O',44,'88',27,'87',27,'65',27,'86',27,'89',54,97,98,'0833,"111',27,'101',27,'97',27,105,106,'1},"82":{c:"R',44,'116',27,'67',27,'79',27,'71',27,'85',27,'81',27,38,122,40,'84":{c:"T',44,'121',27,128,129,40,131,'0139,',58,134,'0139,',58,137,'krn:{"79',27,'67',27,'71',27,'81',54,146,'025',148,128,150,40,152,153,'},"97":{c:"a',155,'118',27,'106":0.0556,"121',27,'119',54,162,163,'99":{c:"c',155,'104',27,'107',54,170,40,'101":{c:"e",a',173,27,'117',27,'98',27,'121',27,'118',27,'119',54,185,'1},"107":{c:"k',44,'97',189,'101',27,'97',27,'111',27,'99',54,198,40,'109":{c:"m',155,'116',27,'117',27,'98',27,'121',27,'118',27,'119',54,'110":{c:"n',155,'116',27,'117',27,'98',27,'121',27,'118',27,'119',54,228,163,230,163,232,'1',234,'},"',236,'},"116":{c:"t',44,'121',27,'119',54,'117":{c:"u',155,'119',54,'118":{c:"v',248,'0139',148,'97',189,'101',27,'97',27,'111',27,'99',54,'119":{c:"w',248,'0139',148,'101',27,'97',27,'111',27,'99',54,273,'},"121":{c:"y',275,'0139',148,'111',27,'101',27,'97',27,105,285,'}}});if(',0,'browser=="MSIE"&&navigator.platform=="MacPPC"){','jsMath.Setup.Styles({".typeset .math":"font-style: normal",".typeset .typeset":"font-style: normal",".typeset .icmr10":"font-family: ','Times','",".typeset .icmmi10":"font-family: ',1021,'; font-style: italic",".typeset .icmbx10":"font-family: ',1021,'; font-weight: bold",".typeset .icmti10":"font-family: ',1021,'; font-style: italic"});}','else{',1020,'serif',1022,1031,1024,1031,1026,1031,1028,0,'Add(',5,',{symbols:[0,','1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,','34,39,60,62,92,94,95,96',',123,124,125,126,127',']});',5,'.SetFont',18,':',5,'.symbols',',cmmi10:[0,',1043,'33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,','91,92,93,94,95,96',1045,'],cmsy10:[',1043,1055,'65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122',1045,'],cmex10:["all"],cmti10:',5,1052,'.concat(36),cmbx10:',5,1052,'});',5,'.LoadFont("cm-fonts");',0,1,'End();']
! 28: ]);
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>