~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to examples/man-examples-xml/builder.sce

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
mode(-1)
 
2
path=get_absolute_file_path('builder.sce');
 
3
 
 
4
myhelps=[path+'helpdir1', "Title1";
 
5
         path+'helpdir2', "Title2"]
 
6
 
 
7
// process the xml files to produce html files 
 
8
 
 
9
// update %helps for cross reference
 
10
%helps_save=%helps
 
11
%helps=[%helps;myhelps] 
 
12
xmltohtml(myhelps(:,1),myhelps(:,2));
 
13
 
 
14
//restore the previous help table
 
15
%helps=%helps_save
 
16
//erase temporary variables
 
17
clear %helps_save xmltohtml myhelps path get_absolute_file_path