Possibly use information from https://qa23-mysql8.nightly.sakaiproject.org/portal/help/TOCDisplay/content.hlp?docId=howdoiaddlatexlanguagetomycoursesite as guidance.