>From my experience, it is necessary to use xml2jar.<br><br>Eric.<br><br><div class="gmail_quote">2009/12/25 José Luis Volta Grau <span dir="ltr"><<a href="mailto:jlvolta@hipuu.com.py">jlvolta@hipuu.com.py</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Thank you, Eric, that really help me a
lot;</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I'd writen some help files in XML language,
following the scheme of the "help_skeleton" function; then I translate them
using the "xmltohtml" function; to load these .htmls' in the Scilab
help system I ran "add_help_chapter" function; this works fine in 4.1.2
release.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Do you mean I should have to change
"xmltohtml" by "xmltojar"; or maybe I have to use the new version
of XML "help_skeleton" with Sci-5.2 ?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I will try both...</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">J.L.</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<b>From:</b>
<a title="grocer.toolbox@gmail.com" href="mailto:grocer.toolbox@gmail.com" target="_blank">Eric
Dubois</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="users@lists.scilab.org" href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Friday, December 25, 2009 6:51
AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [scilab-Users] Add chapters
to Scilab help system</div>
<div><br></div>Hi<br><br>There are indeed big differences between the 4.1.2
and the 5.2.0.<br><br>The greatest is that help files must now be written in
the XML langage and strictly comply with Scilab specifications.<br><br>When
your help files comply with Scilab specifications that you have to run
xml2jar('avaHelp',helps_dirs,helps_titles)<br><br>And once it has been done,
you must run:<br>add_help_chapter(your title','helps_dir',%f);<br><br>To
understand how it works, you can for instance have a look at <a href="mailto:top@tpett.com" target="_blank">Torbjørn Pettersen</a> toolbox <a href="http://www.scilab.org/contrib/index_contrib.php?page=displayContribution&fileID=1200" target="_blank">guimaker
(1.2)</a> (<a href="http://www.scilab.org/contrib/index_contrib.php?page=listdyn&order=date" target="_blank">http://www.scilab.org/contrib/index_contrib.php?page=listdyn&order=date</a>).<br><br>If
it can help, I have written a Scilab function html2xml.sci to translate my
help files. Altough it is only suited to my needs, I think it could be adapted
to your needs relatively easily. I join also a html file and its xml version
to help you understand how it works. If you need more examples, you can
download on my web site (<a href="http://dubois.ensae.net/grocer.html" target="_blank">http://dubois.ensae.net/grocer.html</a>)
the version of my toolbox for Siclab-4.1.2 and the one for Scilab-5.> and
compare the html and xml files resulting from this translation.<br><br>Hope it
will help.<br><br>Eric.<br><br><br><br>
<div class="gmail_quote">2009/12/24 José Luis Volta Grau <span dir="ltr"><<a href="mailto:jlvolta@hipuu.com.py" target="_blank">jlvolta@hipuu.com.py</a>></span><div><div></div><div class="h5"><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">
<div><font face="Arial" size="2">Hi,</font></div>
<div><font face="Arial" size="2">I've tried to add a help chapter for my
functions to the Scilab-5.2.0 help system, as I did with version
4.1.2</font></div>
<div><font face="Arial" size="2">But Scilab rises an error when I
try to access the global constant "%helps", and nothing happens when I
use the "add_help_chapter" function (my help chapter doesn't
appear).</font></div>
<div><font face="Arial" size="2">What's the difference between the 5.2.0 and
4.1.2 versions ?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I would appreciate some help,</font></div>
<div><font face="Arial" size="2">J.L.V.</font></div></font></div></div></blockquote></div></div></div><br></blockquote></div>
</blockquote></div><br>