[Scilab-users] help page

Samuel Gougeon sgougeon at free.fr
Fri Apr 26 21:23:00 CEST 2019


Hello,

Le 26/04/2019 à 19:40, Stéphane Mottelet a écrit :
> Le 26/04/2019 à 19:10, Antoine Monmayrant a écrit :
>
>> Hello Stéphane,
>>
>> Not sure this does what you expect, but I think pandoc can do the trick:
>> foo.xml copied from : 
>> https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/help.scilab.org/docs/5.5.2/en_US/man.html
>>
>> pandoc -f docbook -t latex foo.xml -o foo.pdf
>
> OK, but you need the Scilab stylesheets in order to have the correct 
> output. I suppose the above assumes a basic rendering. My question was 
> rather about doing this within Scilab. The example of the help page 
> does not work on my machine for html and pdf output.

To do this, i have created a template toolbox restricted to 
./etc/page.start (void), ./help/la_LA series of languages subdirs, and 
./jar empty.
I make a copy of the template. Then, i put in ./help/en_US the main xml 
file (etc for other languages),
I set the current directory to the root dir of the template, and run
--> tbx_make . help  // (*)
Then i display the HTML page in Chrome, preview the printing in PDF, 
tune its layout, and that's OK.

Why on your side does it fail to generate the html? Any error message in 
the terminal?

Samuel

(*) When the page generates some <scilab:image> images, be sure 
<http://bugzilla.scilab.org/show_bug.cgi?id=16065> to not have any 
opened graphic figure before building the page.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20190426/1bb31178/attachment.htm>


More information about the users mailing list