This question already has an answer here:

I've been trying for several days to get this to work, but i haven't been successful yet. I'm new to latex and I don't have a very good idea of what I'm doing, which is why I'm using LyX.

I put the hmcpset.cls file in the directory /usr/local/texlive/texmf-local/tex/latex/Max's classes. I think the MacTex distribution uses TEX Live Utility for managing packages, so that's where I'm looking to find hmcpset. But hmcpset doesn't show up in available packages inside TEX LIVE.

Is there a way to let TEX Live know where I put a new .cls files?

Once TEX Live, or whatever the package manager is, knows where the .cls file is, will I be able to use the hmpcpset class in LyX?

marked as duplicate by Alan Munn, Stefan Pinnow, schtandard, Zarko, Raaja Aug 8 at 17:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Welcome to TeX.Stackexchange! – user36296 Jan 31 at 20:28
  • 1
    Maybe tex.stackexchange.com/a/10256/36296 could be helpfull – user36296 Jan 31 at 20:30
  • 3
    Don't use folder (and file) names with spaces and curious chars in them. – Ulrike Fischer Jan 31 at 20:30
  • Did you run sudo mktexlsr after installing the file(s)? That is needed so that the files are found. – Herb Schulz Jan 31 at 20:41

You will have to run texhash in terminal and then in Lyx Tools > reconfigure. Then restart Lyx. Your packages should be visible.

Not the answer you're looking for? Browse other questions tagged or ask your own question.