summaryrefslogtreecommitdiffstats
path: root/scilab_doc
diff options
context:
space:
mode:
authorPierre Marechal <pierre.marechal@scilab.org>2006-04-19 15:44:54 +0000
committerPierre Marechal <pierre.marechal@scilab.org>2006-04-19 15:44:54 +0000
commitb715b3cffa265f4d09cbd7cee2404cbeb8bd03ff (patch)
treeb2be4ad15b6604bdef192127c22451ed9074b026 /scilab_doc
parent9ff1d16ecc3eb564f15dac268cebcd997d83d27c (diff)
downloadscilab-b715b3cffa265f4d09cbd7cee2404cbeb8bd03ff.zip
scilab-b715b3cffa265f4d09cbd7cee2404cbeb8bd03ff.tar.gz
Some display improvements :
=> table of content => titles
Diffstat (limited to 'scilab_doc')
-rw-r--r--scilab_doc/toolbox_guide/html/toolbox.css17
-rw-r--r--scilab_doc/toolbox_guide/html/toolbox.html159
2 files changed, 84 insertions, 92 deletions
diff --git a/scilab_doc/toolbox_guide/html/toolbox.css b/scilab_doc/toolbox_guide/html/toolbox.css
index dc5db14..b6a724f 100644
--- a/scilab_doc/toolbox_guide/html/toolbox.css
+++ b/scilab_doc/toolbox_guide/html/toolbox.css
@@ -6,11 +6,20 @@
6 color: black; 6 color: black;
7 background: white; 7 background: white;
8 font-family: arial,helvetica,sans-serif; 8 font-family: arial,helvetica,sans-serif;
9 font-size : 95%;
10 padding : 10px; 9 padding : 10px;
11 margin : 0; 10 margin : 0;
12 } 11 }
13 12
13 h1{
14 text-align:center;
15 }
16
17 h2{
18 padding-top:10px;
19 padding-bottom:10px;
20 text-decoration:none;
21 }
22
14/* ====================================================== */ 23/* ====================================================== */
15/* Element contenant du code afficher tel quel 24/* Element contenant du code afficher tel quel
16/* ====================================================== */ 25/* ====================================================== */
@@ -18,7 +27,7 @@
18 pre.entete{ 27 pre.entete{
19 background-color:#EEEEEE; 28 background-color:#EEEEEE;
20 border:thin solid black; 29 border:thin solid black;
21 padding : 5px; 30 padding : 10px;
22 font-size : 85%; 31 font-size : 85%;
23 font-family:"Courier New", Courier, monospace; 32 font-family:"Courier New", Courier, monospace;
24 } 33 }
@@ -31,8 +40,4 @@
31 font-style:italic; 40 font-style:italic;
32 } 41 }
33 42
34 .souligne {
35 text-decoration:underline;
36 }
37
38 P EM {text-decoration:underline;} 43 P EM {text-decoration:underline;}
diff --git a/scilab_doc/toolbox_guide/html/toolbox.html b/scilab_doc/toolbox_guide/html/toolbox.html
index 73cec11..110e0f5 100644
--- a/scilab_doc/toolbox_guide/html/toolbox.html
+++ b/scilab_doc/toolbox_guide/html/toolbox.html
@@ -1,12 +1,12 @@
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<html> 2<html>
3 <head> 3 <head>
4 <title>toolbox_example</title> 4 <title>Toolbox Guide</title>
5 <link rel="stylesheet" href="toolbox.css" type="text/css"> 5 <link rel="stylesheet" href="toolbox.css" type="text/css">
6 </head> 6 </head>
7 7
8 <body> 8 <body>
9 <h1 center>Guide for the toolboxes contribution (general application)</h1> 9 <h1 center>Guide for the toolboxes contribution (general application)<br /><hr></h1>
10 <p> 10 <p>
11 This article describes a standart method to create a Scilab toolbox.<br /> 11 This article describes a standart method to create a Scilab toolbox.<br />
12 The objective is to help the contributors to build a toolbox easily, but also that the users are able to install it with just the execution of a main builder and a main loader script.<br /> 12 The objective is to help the contributors to build a toolbox easily, but also that the users are able to install it with just the execution of a main builder and a main loader script.<br />
@@ -15,31 +15,35 @@
15 (The above standarisation is not mandatory) 15 (The above standarisation is not mandatory)
16 </p> 16 </p>
17 17
18 <a href="#chap1">1. Toolbox composition</a><br /><br /> 18 <h2>Table of content</h2>
19 <a href="#chap2">2. Sub-builders and sub-loaders</a><br /> 19
20 <ul> 20 <ul>
21 <li><a href="#chap2.1">2.1 The macros directory</a><br /></li> 21 <a href="#chap1">1. Toolbox composition</a><br />
22 <ul> 22 <a href="#chap2">2. Sub-builders and sub-loaders</a><br />
23 <li><a href="#chap2.1.1">2.1.1 Creation of the builder</a><br /></li>
24 <li><a href="#chap2.1.2">2.1.2 Creation of the loader</a><br /></li>
25 </ul>
26 <li><a href="#chap2.2">2.2 The src directory</a><br /></li>
27 <ul>
28 <li><a href="#chap2.2.1">2.2.1 Interface</a><br /></li>
29 <li><a href="#chap2.2.2">2.2.2 Creation of the builder</a><br /></li>
30 </ul>
31 <li><a href="#chap2.3">2.3 The man directory</a><br />
32 <ul> 23 <ul>
33 <li><a href="#chap2.3.1">2.3.1 Creation of .xml files</a><br /></li> 24 <a href="#chap2.1">2.1. The macros directory</a><br />
34 <li><a href="#chap2.3.2">2.3.2 Creation of the builder</a><br /></li> 25 <ul>
35 <li><a href="#chap2.3.3">2.3.3 Creation of the loader</a><br /><br /></li> 26 <a href="#chap2.1.1">2.1.1. Creation of the builder</a><br />
27 <a href="#chap2.1.2">2.1.2. Creation of the loader</a><br />
28 </ul>
29 <a href="#chap2.2">2.2. The src directory</a><br />
30 <ul>
31 <a href="#chap2.2.1">2.2.1. Interface</a><br />
32 <a href="#chap2.2.2">2.2.2. Creation of the builder</a><br />
33 </ul>
34 <a href="#chap2.3">2.3. The man directory</a><br />
35 <ul>
36 <a href="#chap2.3.1">2.3.1. Creation of .xml files</a><br />
37 <a href="#chap2.3.2">2.3.2. Creation of the builder</a><br />
38 <a href="#chap2.3.3">2.3.3. Creation of the loader</a><br />
39 </ul>
36 </ul> 40 </ul>
41 <a href="#chap3">3. The main builder and loader</a><br />
42 <a href="#chap4">4. Upload your toolbox</a><br />
37 </ul> 43 </ul>
38 <a href="#chap3">3. The main builder and loader</a><br /><br />
39 <a href="#chap4">4. Upload your toolbox</a><br />
40 44
41 <a name="#chap1"></a> 45 <a name="chap1"></a>
42 <h2 class=souligne>1. Toolbox composition</h2> 46 <h2>1. Toolbox composition</h2>
43 <p>The root directory has the generic name of the toolbox (here <b>toolbox_example</b>), it contains 7 sub-directories:</p> 47 <p>The root directory has the generic name of the toolbox (here <b>toolbox_example</b>), it contains 7 sub-directories:</p>
44 48
45 <ul style="list-style-type: disc"> 49 <ul style="list-style-type: disc">
@@ -60,14 +64,14 @@
60 <li><b>loader.sce</b></li> 64 <li><b>loader.sce</b></li>
61 </ul> 65 </ul>
62 66
63 <a name="#chap2"></a> 67 <a name="chap2"></a>
64 <h2 class=souligne>2. Sub-builders and sub-loaders</h2> 68 <h2>2. Sub-builders and sub-loaders</h2>
65 <p> 69 <p>
66 The main builder and main loader scripts launch respectively the sub-builders and sub-loaders included in the sub-directories (macros, src, man, ...), to generate and to load the necessary libraries and the Scilab help files. 70 The main builder and main loader scripts launch respectively the sub-builders and sub-loaders included in the sub-directories (macros, src, man, ...), to generate and to load the necessary libraries and the Scilab help files.
67 </p> 71 </p>
68 72
69 <a name="#chap2.1"></a> 73 <a name="#chap2.1"></a>
70 <h3 class=souligne>2.1 The macros directoy</h3> 74 <h3>2.1 The macros directoy</h3>
71 <p> 75 <p>
72 The main builder and main loader scripts launche respectively the sub-builders and sub-loaders included in the sub-directories (macros, man, ...), to generate and to load the necessary libraries and the Scilab help files. 76 The main builder and main loader scripts launche respectively the sub-builders and sub-loaders included in the sub-directories (macros, man, ...), to generate and to load the necessary libraries and the Scilab help files.
73 This directory included macros Scilab functions, a builder and a loader script.<br /> 77 This directory included macros Scilab functions, a builder and a loader script.<br />
@@ -94,11 +98,10 @@ function [X]=foo1(A)
94 X($+1)=A(i,i); 98 X($+1)=A(i,i);
95 end 99 end
96 end 100 end
97endfunction 101endfunction</pre>
98 </pre>
99 102
100 <a name="#chap2.1.1"></a> 103 <a name="chap2.1.1"></a>
101 <h4 class=souligne>2.1.1 Creation of the builder</h4> 104 <h4>2.1.1 Creation of the builder</h4>
102 <p> 105 <p>
103 The builder (see above script) creates a library variable, (named here: toolbox_examplelib= toolbox name +'lib') 106 The builder (see above script) creates a library variable, (named here: toolbox_examplelib= toolbox name +'lib')
104 from functions .sci include in the directory macros, and saves it in the file lib. 107 from functions .sci include in the directory macros, and saves it in the file lib.
@@ -113,14 +116,13 @@ toolboxname='toolbox_example'
113pathB=get_absolute_file_path('builder.sce') 116pathB=get_absolute_file_path('builder.sce')
114disp('Building macros in ' +pathB) 117disp('Building macros in ' +pathB)
115genlib(toolboxname+'lib',pathB,%t) 118genlib(toolboxname+'lib',pathB,%t)
116clear pathB genlib toolboxname 119clear pathB genlib toolboxname</pre>
117 </pre>
118 120
119 <br /> 121 <br />
120 To customize this template, replace the characters string 'toolbox_example' by the name of your toolbox. 122 To customize this template, replace the characters string 'toolbox_example' by the name of your toolbox.
121 123
122 <a name="#chap2.1.2"></a> 124 <a name="chap2.1.2"></a>
123 <h4 class=souligne>2.1.2 Creation of the loader</h4> 125 <h4>2.1.2 Creation of the loader</h4>
124 <p> 126 <p>
125 The loader (see above script) loads the library lib included in the directory macros. Like the builder, the code is generic, the first step to locate macrosloader.sce script, and the second to load the library (see help <strong><var>load</strong></var> function) 127 The loader (see above script) loads the library lib included in the directory macros. Like the builder, the code is generic, the first step to locate macrosloader.sce script, and the second to load the library (see help <strong><var>load</strong></var> function)
126 </p> 128 </p>
@@ -131,19 +133,18 @@ mode(-1)
131pathL=get_absolute_file_path('loader.sce') 133pathL=get_absolute_file_path('loader.sce')
132disp('Loading macros in ' +pathL) 134disp('Loading macros in ' +pathL)
133load(pathL+'/lib') 135load(pathL+'/lib')
134clear pathL 136clear pathL</pre>
135 </pre>
136 137
137 <a name="#chap2.2"></a> 138 <a name="chap2.2"></a>
138 <h3 class=souligne>2.2 The src directory</h3> 139 <h3>2.2 The src directory</h3>
139 <p> 140 <p>
140 This directory included .c files and a builder script<br /> 141 This directory included .c files and a builder script<br />
141 A Scilab primitive is a Scilab function which calls a function written in C or fortran code (using an interface program)<br /> 142 A Scilab primitive is a Scilab function which calls a function written in C or fortran code (using an interface program)<br />
142 Before to write the builder, its necessary to create for each primitives the corresponding interface programs. When a Scilab primitive is called, the interface program checks that the number, the type and the size of inputs/outputs arguments is correct (using CheckRhs and CheckLhs functions), and get the adress of the rhs arguments which are in Scilab internal stack to give this information at the interfaced function. So in the first part we explain, thanks to template, how to implement some interfaces programs (written in C code). In this article we don't describe all the possibilities of the interface programs, for more explanations see the directory SCI/examples. 143 Before to write the builder, its necessary to create for each primitives the corresponding interface programs. When a Scilab primitive is called, the interface program checks that the number, the type and the size of inputs/outputs arguments is correct (using CheckRhs and CheckLhs functions), and get the adress of the rhs arguments which are in Scilab internal stack to give this information at the interfaced function. So in the first part we explain, thanks to template, how to implement some interfaces programs (written in C code). In this article we don't describe all the possibilities of the interface programs, for more explanations see the directory SCI/examples.
143 </p> 144 </p>
144 145
145 <a name="#chap2.2.1"></a> 146 <a name="chap2.2.1"></a>
146 <h4 class=souligne>2.2.1 Interface</h4> 147 <h4>2.2.1 Interface</h4>
147 <p> 148 <p>
148 Here two examples which enable to write many interfaces, so it's important to understand it, and know how to customize it for your toolbox. 149 Here two examples which enable to write many interfaces, so it's important to understand it, and know how to customize it for your toolbox.
149 </p> 150 </p>
@@ -164,8 +165,7 @@ void sumab(int n, double * a, double * b, double * y)
164 int k; 165 int k;
165 for (k = 0; k < n; ++k) 166 for (k = 0; k < n; ++k)
166 y[k] = a[k] + b[k]; 167 y[k] = a[k] + b[k];
167} 168}</pre>
168 </pre>
169 169
170 <br /> 170 <br />
171 intsumab.c<br /> 171 intsumab.c<br />
@@ -208,8 +208,7 @@ sumab(n,stk(l1),stk(l2),stk(l3));
208/* 5 - Specif the ouput argument */ 208/* 5 - Specif the ouput argument */
209LhsVar(1) = 3; 209LhsVar(1) = 3;
210return 0; 210return 0;
211} 211}</pre>
212 </pre>
213 212
214 <br /> 213 <br />
215 <p> 214 <p>
@@ -284,8 +283,7 @@ void fun1(double * a, int na, int * nb, double ** b , double * positive_sum){
284 *positive_sum += a[i]; 283 *positive_sum += a[i];
285 k1++; 284 k1++;
286 }; 285 };
287} 286}</pre>
288 </pre>
289 287
290 <br /> 288 <br />
291 289
@@ -298,8 +296,7 @@ void fun2(double * a, int na, int * m)
298 for(i=0;i<na;i++) 296 for(i=0;i<na;i++)
299 if (a[i]>0) 297 if (a[i]>0)
300 (*m)++; 298 (*m)++;
301} 299}</pre>
302 </pre>
303 300
304 <br /> 301 <br />
305 302
@@ -358,13 +355,12 @@ int intfun1(char *fname)
358 if(Lhs==2) 355 if(Lhs==2)
359 LhsVar(2) = 3; 356 LhsVar(2) = 3;
360 return 0; 357 return 0;
361} 358}</pre>
362 </pre>
363 359
364 <br /> 360 <br />
365 361
366 <a name="#chap2.2.2"></a> 362 <a name="chap2.2.2"></a>
367 <h4 class=souligne>2.2.2 Creation of the builder</h4> 363 <h4>2.2.2 Creation of the builder</h4>
368 <p> 364 <p>
369 Now the src directory of the toolbox toolbox_example contains all the necessary files (<b><i>fun1.c</b></i>, 365 Now the src directory of the toolbox toolbox_example contains all the necessary files (<b><i>fun1.c</b></i>,
370 <b><i>fun2.c</b></i>, <b><i>intfun1.c</b></i>, <b><i>sumab.c</b></i>, <b><i>intsumab.c</b></i>) to create the 366 <b><i>fun2.c</b></i>, <b><i>intfun1.c</b></i>, <b><i>sumab.c</b></i>, <b><i>intsumab.c</b></i>) to create the
@@ -378,8 +374,7 @@ int intfun1(char *fname)
378 374
379 the src builder 375 the src builder
380 <pre class="entete"> 376 <pre class="entete">
381ilib_for_link('toolboxsrc',['fun1.o' 'fun2.o','sumab.o'],[],"c") 377ilib_for_link('toolboxsrc',['fun1.o' 'fun2.o','sumab.o'],[],"c")</pre>
382 </pre>
383 378
384 <br /> 379 <br />
385 the interface builder<br /> 380 the interface builder<br />
@@ -392,14 +387,13 @@ libs = ["../src/libtooloxsrc"] // other libs needed for linking
392table = [ 'scifun1', 'intfun1'; 387table = [ 'scifun1', 'intfun1';
393 'scisum','intsumab']; // table of (scilab_name,interface-name) 388 'scisum','intsumab']; // table of (scilab_name,interface-name)
394// do not modify below 389// do not modify below
395ilib_build(ilib_name,table,files,libs) 390ilib_build(ilib_name,table,files,libs)</pre>
396 </pre>
397 391
398 <br /> 392 <br />
399 <br /> 393 <br />
400 394
401 <a name="#chap2.2.2"></a> 395 <a name="chap2.2.2"></a>
402 <h4 class=souligne>2.2.2 Creation of the builder</h4> 396 <h4>2.2.2 Creation of the builder</h4>
403 <p>Now the src directory of the toolbox toolbox_example contains all the necessary files (<b><i>fun1.c</b></i>, <b><i>fun2.c</b></i>, <b><i>intfun1.c</b></i>, <b><i>sumab.c</b></i>, <b><i>intsumab.c</b></i>) to create the builder (see above template) for the primitives scifun1 and scisum. 397 <p>Now the src directory of the toolbox toolbox_example contains all the necessary files (<b><i>fun1.c</b></i>, <b><i>fun2.c</b></i>, <b><i>intfun1.c</b></i>, <b><i>sumab.c</b></i>, <b><i>intsumab.c</b></i>) to create the builder (see above template) for the primitives scifun1 and scisum.
404 <br /> 398 <br />
405 We need to write two builders: one the hand, the src builder (see above script) which creates a shared libraries (see help <i><b>ilib_for_link</b></i> function) corresponding to the .c functions. 399 We need to write two builders: one the hand, the src builder (see above script) which creates a shared libraries (see help <i><b>ilib_for_link</b></i> function) corresponding to the .c functions.
@@ -409,8 +403,7 @@ ilib_build(ilib_name,table,files,libs)
409 403
410 the src builder 404 the src builder
411 <pre class="entete"> 405 <pre class="entete">
412ilib_for_link('toolbox_examplesrc',['fun1.o' 'fun2.o','sumab.o'],[],"c") 406ilib_for_link('toolbox_examplesrc',['fun1.o' 'fun2.o','sumab.o'],[],"c")</pre>
413 </pre>
414 407
415 <br /> 408 <br />
416 the interface builder<br /> 409 the interface builder<br />
@@ -423,24 +416,23 @@ libs = ["../src/libtoolbox_examplesrc"] // other libs needed fo
423table = [ 'scifun1', 'intfun1'; 416table = [ 'scifun1', 'intfun1';
424 'scisum','intsumab']; // table of (scilab_name,interface-name) 417 'scisum','intsumab']; // table of (scilab_name,interface-name)
425// do not modify below 418// do not modify below
426ilib_build(ilib_name,table,files,libs) 419ilib_build(ilib_name,table,files,libs)</pre>
427 </pre>
428 420
429 <br /> 421 <br />
430 The <i><b>ilib_name</b></i> value is the interface library name, the vector <i><b>files</b></i> contains all the object interface files, 422 The <i><b>ilib_name</b></i> value is the interface library name, the vector <i><b>files</b></i> contains all the object interface files,
431 the vector <i><b>libs</b></i> contains the libraries needed for linking (here the library included in the src directory), 423 the vector <i><b>libs</b></i> contains the libraries needed for linking (here the library included in the src directory),
432 the variable <i><b>table</b></i> contains the primitives names (first column) and the corresponding interface program names (second column) 424 the variable <i><b>table</b></i> contains the primitives names (first column) and the corresponding interface program names (second column)
433 425
434 <a name="#chap2.3"></a> 426 <a name="chap2.3"></a>
435 <h3 class=souligne>2.3 The man directory</h3> 427 <h3>2.3 The man directory</h3>
436 <p>This directory included .xml files, a manbuilder and a manloader scripts 428 <p>This directory included .xml files, a manbuilder and a manloader scripts
437 On Unix/Linux systems: to create the manual pages you need 'sabcmd', an XML parser which is part of the Sablotron package.<br /> 429 On Unix/Linux systems: to create the manual pages you need 'sabcmd', an XML parser which is part of the Sablotron package.<br />
438 (here link to download it:<A href="http://www.scilab.org/download/index_download.php?page=related_tool.html"> http://www.scilab.org/download/index_download.php?page=related_tool.html</A>)<br /> 430 (here link to download it:<A href="http://www.scilab.org/download/index_download.php?page=related_tool.html"> http://www.scilab.org/download/index_download.php?page=related_tool.html</A>)<br />
439 (.................... a completer ............................) 431 (.................... a completer ............................)
440 </p> 432 </p>
441 433
442 <a name="#chap2.3.1"></a> 434 <a name="chap2.3.1"></a>
443 <h4 class=souligne>2.3.1 Creation of .xml files</h4> 435 <h4>2.3.1 Creation of .xml files</h4>
444 <p> 436 <p>
445 Here a template which helps you to write the .xml help files. You should just fill the different items(Langage, title, type, date, short description, ...) for the .xml files of your functions (here <b><i>foo1.xml</i></b>, <b><i>scifun1.xml</i></b>, <b><i>scisum.xml</i></b>) and put them in the man directory. 437 Here a template which helps you to write the .xml help files. You should just fill the different items(Langage, title, type, date, short description, ...) for the .xml files of your functions (here <b><i>foo1.xml</i></b>, <b><i>scifun1.xml</i></b>, <b><i>scisum.xml</i></b>) and put them in the man directory.
446 </p> 438 </p>
@@ -517,11 +509,10 @@ Add here the author references
517&lt;USED_FUNCTIONS&gt; 509&lt;USED_FUNCTIONS&gt;
518Add here the used function name and references 510Add here the used function name and references
519&lt;/USED_FUNCTIONS&gt; 511&lt;/USED_FUNCTIONS&gt;
520&lt;/MAN&gt; 512&lt;/MAN&gt;</pre>
521 </pre>
522 513
523 <a name="#chap2.3.2"></a> 514 <a name="chap2.3.2"></a>
524 <h4 class=souligne>2.3.2 Creation of the builder</h4> 515 <h4>2.3.2 Creation of the builder</h4>
525 <p>The manbuilder (see above) creates a whatis.htm file which is a short description of the functions, and translates the xml files to html (see help xmltohtml function) 516 <p>The manbuilder (see above) creates a whatis.htm file which is a short description of the functions, and translates the xml files to html (see help xmltohtml function)
526 </p> 517 </p>
527 518
@@ -534,11 +525,10 @@ path=get_absolute_file_path('builder.sce');//get the absolute path of this file
534add_help_chapter("Title1",path);//add help chapter 525add_help_chapter("Title1",path);//add help chapter
535xmltohtml(path,"Title1") 526xmltohtml(path,"Title1")
536//clear the variable stack 527//clear the variable stack
537clear path add_help_chapter get_absolute_file_path 528clear path add_help_chapter get_absolute_file_path </pre>
538 </pre>
539 529
540 <a name="#chap2.3.3"></a> 530 <a name="chap2.3.3"></a>
541 <h4 class=souligne>2.3.3 Creation of the loader</h4> 531 <h4>2.3.3 Creation of the loader</h4>
542 <p>The loader(see above script) add your help functions files in the help Scilab browser 532 <p>The loader(see above script) add your help functions files in the help Scilab browser
543 </p> 533 </p>
544 534
@@ -547,11 +537,10 @@ clear path add_help_chapter get_absolute_file_path
547mode(-1) //force silent execution 537mode(-1) //force silent execution
548path=get_absolute_file_path('loader.sce');//get the absolute path of this file 538path=get_absolute_file_path('loader.sce');//get the absolute path of this file
549add_help_chapter("Title1",path);//add help chapter 539add_help_chapter("Title1",path);//add help chapter
550clear path add_help_chapter get_absolute_file_ 540clear path add_help_chapter get_absolute_file_</pre>
551 </pre>
552 541
553 <a name="#chap3"></a> 542 <a name="chap3"></a>
554 <h2 class=souligne>3. The main builder and loader</h2> 543 <h2>3. The main builder and loader</h2>
555 The builder and loader are generic, they execute all sub-builder(s) and sub-loader(s), here the both scripts:<br /><br /> 544 The builder and loader are generic, they execute all sub-builder(s) and sub-loader(s), here the both scripts:<br /><br />
556 545
557 builder.sce 546 builder.sce
@@ -579,8 +568,7 @@ chdir('man');
579exec('builder.sce'); 568exec('builder.sce');
580chdir('..'); 569chdir('..');
581end 570end
582clear mainpathB 571clear mainpathB</pre>
583 </pre>
584 572
585 <br /> 573 <br />
586 574
@@ -604,17 +592,16 @@ chdir('man');
604exec('loader.sce'); 592exec('loader.sce');
605chdir('..'); 593chdir('..');
606end 594end
607clear mainpathL 595clear mainpathL</pre>
608 </pre>
609 596
610 <a name="#chap4"></a> 597 <a name="chap4"></a>
611 <h2 class=souligne>4. Upload your toolbox</h2> 598 <h2>4. Upload your toolbox</h2>
612 <ul style="list-style-type: disc"> 599 <ul style="list-style-type: disc">
613 <li>Read the instructions about how to contribute , see the link: 600 <li>Read the instructions about how to contribute , see the link:
614 <A href="http://www.scilab.org/contrib/index_contrib.php?page=howto.html">http://www.scilab.org/contrib/index_contrib.php?page=howto.html </A></li> 601 <A href="http://www.scilab.org/contrib/index_contrib.php?page=howto.html">http://www.scilab.org/contrib/index_contrib.php?page=howto.html </A></li>
615 <li>Archive and Compress your toolbox: </li> 602 <li>Archive and Compress your toolbox: </li>
616 <li>Complete the submission form document and add your package (here <b>toolbox_example.tar.gz</b> and <b>toolbox_example.zip</b>), 603 <li>Complete the submission form document and add your package (here <b>toolbox_example.tar.gz</b> and <b>toolbox_example.zip</b>),
617 see the link: <A href="http://www.scilab.fr/contrib/index_contrib.php?page=upload.html">http://www.scilab.fr/contrib/index_contrib.php?page=upload.html </A></li> 604 see the link: <A href="http://www.scilab.org/contrib/index_contrib.php?page=upload.html">http://www.scilab.fr/contrib/index_contrib.php?page=upload.html </A></li>
618 </ul> 605 </ul>
619 </body> 606 </body>
620</html> \ No newline at end of file 607</html>