<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18854">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Thank you, Eric, that really help me a
lot;</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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 size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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 size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I will try both...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>J.L.</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=grocer.toolbox@gmail.com href="mailto:grocer.toolbox@gmail.com">Eric
Dubois</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=users@lists.scilab.org
href="mailto:users@lists.scilab.org">users@lists.scilab.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, December 25, 2009 6:51
AM</DIV>
<DIV style="FONT: 10pt arial"><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">Torbjørn Pettersen</A> toolbox <A
class=contrib_title
href="http://www.scilab.org/contrib/index_contrib.php?page=displayContribution&fileID=1200">guimaker
(1.2)</A> (<A
href="http://www.scilab.org/contrib/index_contrib.php?page=listdyn&order=date">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">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">jlvolta@hipuu.com.py</A>></SPAN><BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>Hi,</FONT></DIV>
<DIV><FONT size=2 face=Arial>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 size=2 face=Arial>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 size=2 face=Arial>What's the difference between the 5.2.0 and
4.1.2 versions ?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I would appreciate some help,</FONT></DIV>
<DIV><FONT size=2
face=Arial>J.L.V.</FONT></DIV></FONT></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>