LaTeXML icon indicating copy to clipboard operation
LaTeXML copied to clipboard

Would like the ability to add static assets at a deeper directory level than the main html file

Open mnazzaro opened this issue 1 year ago • 2 comments

For instance, I would like to be able to have a main html file at the top level, then storing the static assets two levels deeper than that. In general just the ability to customize the destination directory of the static assets relative to the html file.

mnazzaro avatar Apr 18 '24 14:04 mnazzaro

Thanks for the request!

We currently have a single --sitedirectory option in latexmlpost that determines the base directory of the site, which I believe is the default location for all static assets (notably images such as x1.png).

We probably want to have a --site-assets-directory option that specifies a sub-level where static assets are to be written (and have a defensive check that it is contained within --sitedirectory).

dginev avatar Apr 18 '24 14:04 dginev

This feature may help support offline viewers: https://github.com/arXiv/html_feedback/issues/554#issuecomment-2093079348

chrisjcameron avatar May 03 '24 14:05 chrisjcameron