new tag <scilab:diary> including in an help page the text output in the console when performing the tagged piece of code
Reported by Samuel GOUGEON (@sgougeon)
Originally assigned to Calixte DENIZET
Bug description:
There is presently no way -- but copy/paste by hand -- to include in an help page the result output in the console when a piece of code -- like examples -- is run, except when the result is an image.
Yet, for the HTML or PDF or CHM releases of the help where examples cannot be sent to Scilab interactively, this kind of illustrations would be very useful.
The diary() facility could be invoked when building the help.
Its output could be stored
- either in an help\diaries\ subdir if the xml source is stored in
help\<lang>\path_to_any_subsection_if_any\*
and the localized="false" attribute of the tag is set (by default)
- or in an help\<lang>\diaries\ subdir if the xml source is stored in
help\<lang>\path_to_any_subsection_if_any\*
and the localized="true" attribute of the tag is set.