Implementation of document wide colormap.
For a summary of the changes see "08fd1cd3" Commit description.
This branch contains the changes from the commit in the vignette branch: d36f5dd9
and fixes of the colormap from the vignette branch commit: 1cf18013