Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xplore
See also:

Quantlet: makehelp
Description: makehelp invokes the automatic translator for generating help pages

Link:
Usage: makehelp (modus, tmp, in {, outname})
Input:
modus text vector defining which helpsystems should be generated. Possible values are "text", "tex", "html".
tmp text defining in which directory makehelp can write the generated help files. The user needs to have write permission to this directory. A possible choice is getenv("xpl4outtemp").
in text which defines a directory or an XploRe file to be converted (see Notes for further information)
outname (optional) text which defines the output directory of the resulting files. Since the parameter is optional the default location is getenv("xpl4outhelp")

Note:

Example:
library("xplore")
makehelp("tex", getenv("xpl4outtemp"), "/opt/XploRe")
makehelp("text", getenv("xpl4outtemp"), "/opt/XploRe")
makehelp("html", getenv("xpl4outtemp"), "/opt/XploRe")

Result:
generates the three versions of the helpsystem. For your
computer you have to replace /opt/XploRe by the directory
where XploRe is installed.
Example:
; generates one help page
library("xplore")
tmpdir = getenv("xpl4outtemp")
outdir = getenv("xpl4outhelp")
; windows-style, for unix replace \\ by / !!
makehelp("html", tmpdir, getenv("xpl4lib")+"\\plot.xpl", outdir)

Result:
Generates the HTML version of the quantlet plot.
Example:
; generates a whole helpsystem
proc()=makeallhelp(version, out)
  if(exist("out")<>2)
    out = getenv("xpl4outhelp")
  endif
  tmp = getenv("xpl4outtemp")
  in  = getenv("xpl4syshome")
  ; if multiple directories are given
  ; then take the first one
  if(getenv("os")=="windows")
    tmpl = strtok(tmp, ";")
    inl  = strtok(in, ";")
    outl = strtok(out, ";")
  else
    tmpl = strtok(tmp, ":")
    inl  = strtok(in, ":")
    outl = strtok(out, ":")
  endif
  makehelp(version,  tmpl[1], inl[1], outl[1])
endp
library("xplore")
makeallhelp("html")

Result:
generates the HTML version of the helpsystem. It takes
the default directories given by the system environment.



Author: W. Wang, S. Klinke, 20011210
(C) MD*TECH Method and Data Technologies, 05.02.2006