Project

General

Profile

root / trunk / model / sources / math / latex / mathTex.model @ 1445

1
<?xml version="1.0" encoding="UTF-8"?><!--
2
 * LICENCE[[
3
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1/CeCILL 2.O 
4
 *
5
 * The contents of this file are subject to the Mozilla Public License Version 
6
 * 1.1 (the "License"); you may not use this file except in compliance with 
7
 * the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
8
 * 
9
 * Software distributed under the License is distributed on an "AS IS" basis, 
10
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
11
 * for the specific language governing rights and limitations under the 
12
 * License. 
13
 * 
14
 * The Original Code is keli.fr code. 
15
 * 
16
 * The Initial Developer of the Original Code is 
17
 * antoine.pourchez@kelis.fr on behalf of USTL / SEMM (http://semm.univ-lille1.fr)
18
 * 
19
 * Portions created by the Initial Developer are Copyright (C) 2005 
20
 * the Initial Developer. All Rights Reserved. 
21
 * 
22
 * Contributor(s): 
23
 * 
24
 * 
25
 * Alternatively, the contents of this file may be used under the terms of 
26
 * either of the GNU General Public License Version 2 or later (the "GPL"), 
27
 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 
28
 * or the CeCILL Licence Version 2.0 (http://www.cecill.info/licences.en.html), 
29
 * in which case the provisions of the GPL, the LGPL or the CeCILL are applicable 
30
 * instead of those above. If you wish to allow use of your version of this file 
31
 * only under the terms of either the GPL or the LGPL, and not to allow others 
32
 * to use your version of this file under the terms of the MPL, indicate your 
33
 * decision by deleting the provisions above and replace them with the notice 
34
 * and other provisions required by the GPL or the LGPL. If you do not delete 
35
 * the provisions above, a recipient may use your version of this file under 
36
 * the terms of any one of the MPL, the GPL, the LGPL or the CeCILL.
37
 * ]]LICENCE
38
 --><sm:freePrim xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" codeModel="mathTex" isInternalizable="no" name=";Equation mathématique LaTeX" primitiveSignature="@sm_binaryPrim#Class:Content:Public#Glimpse:Img">
39
	<sm:links/>
40
	<sm:storageSheet>
41
		<sm:standAloneItem>
42
			<sm:ss sc:refUri="/math/latex/_res/model/bs.txt" encoding="ISO-8859-1"/>
43
		</sm:standAloneItem>
44
	</sm:storageSheet>
45
	<sm:editionSheet>
46
		<sm:standAloneItem>
47
			<sm:icon sc:refUri="/math/latex/_res/model/ico.doss"/>
48
			<sm:registerModelInPack>	vModel = new ModelBase(
49
		"[![agent=//codeModel]!]",
50
		"[![agent=//iconFolderPath]!]",
51
		"[![agent=//nameModelInJs]!]",
52
		"[![agent=//mainview.xul;arguments=act:]!]",
53
		 "[![agent=//prefixChromeUrl]!]/mathTex/preview.xul",
54
		 "facet=glimpse"
55
		 ); 
56
	vPack.registerModel(vModel); 
57
</sm:registerModelInPack>
58
			<sm:creatorItemInPack> vCreator = new CreatorItem3 (
59
                        this, 
60
                        "[![agent=//codeModel]!]",
61
                        "[![agent=//codeModel]!]", 
62
                        "[![agent=//nameModelInJs]!]",
63
                        "[![agent=//iconFolderPath]!]/icovalid.png", 
64
                        null, 
65
                        ".mtex", 
66
                        "string", 
67
                        "",
68
                         "math{optionalCounter}",
69
                        "" );
70
                </sm:creatorItemInPack>
71
			<sm:mainView sc:refUri="/math/latex/_res/model/es/mainview.txt"/>
72
		</sm:standAloneItem>
73
		<sm:staticFile sc:refUri="/math/latex/_res/model/es/preview.xul" destPath="preview.xul"/>
74
		<sm:staticFile sc:refUri="/math/latex/_res/model/es/Latex2MathML.js" destPath="Latex2MathML.js"/>
75
		<sm:dynamicFile sc:refUri="/math/latex/_res/model/es/mathTexEditor.xul" encoding="UTF-8" destPath="mathTexEditor.xul" type="inclusion-dynamique"/>
76
		<sm:staticFile sc:refUri="/math/latex/_res/model/es/mathTexEditor.css" destPath="mathTexEditor.css"/>
77
		<sm:staticFile sc:refUri="/math/latex/_res/model/es/sctabMathTexEditor.xbl.xml" destPath="sctabMathTexEditor.xbl.xml"/>
78
	</sm:editionSheet>
79
</sm:freePrim>
(3-3/11)