The easiest way to install is to use Opam.
Install Opam, then, as a regular user, fetch and install an OCaml version and install Stog.
The whole can be done with the following opam commands:
Plugins can be installed one by one
or by installing the package stog_plugins:
$ opam install stog_plugins
# same as opam install stog_asy stog_dot stog_extern stog_markdown stog_multi_doc stog_nocaml stog_noexec stog_rel_href stog_sitemap stog_writing
The preview server is installed by
$ opam install stog_server
You will need to have the following tools installed to use
some functions:
highlight
to use syntax highlighting for languages not supported by
Higlo,
LaTeX and dvisvgm to embed
LaTeX in your pages.
Get the sources from git repository:
$ git clone https://framagit.org/zoggy/stog.git
Or pick one of the releases:
Just type
make install
This will compile and install stog, stog.byte,
stog-server, stog-server.byte,
stog-ocaml-session and stog-tmpl into the same directory as
ocamlc. This will also install the stog library and the
stog_asy,
stog_extern,
stog_dot,
stog_markdown,
stog_multi-doc,
stog_nocaml,
stog_rdf,
stog_rel_href,
stog_sitemap,
and stog_writing packages.