M2 icon indicating copy to clipboard operation
M2 copied to clipboard

relative links not right in top viewHelp page

Open DanGrayson opened this issue 5 years ago • 0 comments

If M2 is started without the option "-q" on the command line, then it makes an index of packages as an html file in the user's application directory, and "viewHelp" shows it. Normally the package "Style" is not installed there also, and the link to the CSS file is absolute, e.g., "file:///Applications/Macaulay2-1.16/share/Macaulay2/Style/doc.css". But if the package "Style" is installed, it tries to create a relative link and fails, putting something involving the path to the current directory ("../../../../../private/tmp/foo/share/Macaulay2/Style/doc.css") there instead of ""../../../../Macaulay2/Style/doc.css"/".

This affects version 1.16.

DanGrayson avatar Sep 26 '20 12:09 DanGrayson