Macaulay2 for Debian
====================

Javascript libraries
--------------------
Macaulay2 uses a number of Javascript libraries.  In particular, they
are used to render mathematical expressions in the browser-based
documentation and to visualize various mathematical objects by the
Visualize package.

Upstream embeds these libraries in the source code, often minimized.
This is not desirable for the Debian package.  Therefore, we repack
the tarball (using Files-Excluded in debian/copyright) without the
embedded copies and use dh_linktree to create symbolic links to the
Debian versions.

dwww
----
The Macaulay2 documentation is registered with doc-base.  In order to
view the html documentation properly in your web browser using dwww,
you must append "/usr/share/Macaulay2" to DWWW_DOCPATH in
/etc/dwww/dwww.conf.  Otherwise, some resources (e.g., CSS and
Javascript files) will be unavailable.

Suggested packages
------------------
Quite a few additional Debian packages will be installed alongside
Macaulay2 automatically due to being listed in "Depends" or
"Recommended", but there are a number of others that are listed under
"Suggests" that will not be installed unless you pass
"--install-suggests" to apt or install them separately.  They are:

* dot2tex - Used by showTikZ function in Graphs package.

* fig2dev - Used by gfanRender and gfanRenderStaircase functions in
  gfanInterface package.

* graphviz - Used by displayGraph function in Graphs package.

* pdf-viewer (virtual package) - Used by displayPoset function in
  Posets package.  The default pdf viewer is called using xdg-open;
  use xdg-mime to change it.

* phcpack - Used by MonodromySolver, NumericalSchubertCalculus, and
  PHCpack packages.

* polymake - Used by Polymake, StatePolytope, and Tropical packages.

* qepcad - Used by CoincidentRootLoci package.

* sdpa - Used by SemidefiniteProgramming package.

 -- Doug Torrance <dtorrance@debian.org>, Thu, 10 Feb 2022 14:33:41 -0500
