szhorvat / MaTeX

LaTeX labels in Mathematica
http://szhorvat.net/mathematica/MaTeX
MIT License
375 stars 45 forks source link

MaTeX fails to load #30

Closed B7ADE-RUNNER closed 5 years ago

B7ADE-RUNNER commented 5 years ago

I am having issue with loading MaTeX.


(Debug) In[18]:= << MaTeX`

(Debug) During evaluation of In[18]:= Get::noopen: Cannot open MaTeX`.

(Debug) Out[18]= $Failed


The built-in command ResourceFunction doesn't appear to be defined.

(Debug) In[19]:= ResourceFunction["MaTeXInstall"][]

(Debug) Out[19]= ResourceFunction["MaTeXInstall"][]


I cannot reinstall

(Debug) In[16]:= Needs["PacletManager`"] PacletInstall["/full/path/to/MaTeX-1.7.5.paclet"]

(Debug) During evaluation of In[16]:= PacletInstall::fnotfound: Paclet file /full/path/to/MaTeX-1.7.5.paclet not found.

(Debug) Out[17]= $Failed


szhorvat commented 5 years ago

I am having issue with loading MaTeX.

MaTeX is not installed on your computer.

The built-in command ResourceFunction doesn't appear to be defined.

As noted in the instructions, this installation method is available only in Mathematica 11.3 or later.

I cannot reinstall

You must type in the actual path to the paclet file that you download.

If you are not sure what a file path is, type PacletInstall[, then use the menu item Insert -> File Path..., browse to the paclet file and select it, finally type the closing ] and evaluate the cell.

B7ADE-RUNNER commented 5 years ago

Oh you know I didn't see that. I am not sure where the paclet file is on the computer. I recently updated Mathematica on this system to 11.1, and I have alternated between student and full versions so I am not sure what is going on with the file system where Mathematica is looking. Thank you for bringing that too my attention.

B7ADE-RUNNER commented 5 years ago

I did install it oh so many semesters ago. I just can't seem to find where the files ended up.

szhorvat commented 5 years ago

I am not sure where the paclet file is on the computer.

It is the file that you downloaded from https://github.com/szhorvat/MaTeX/releases

I did install it oh so many semesters ago.

If <<MaTeX` fails then it is not installed now.


I suggest you simply use the updateMateX[] function here: https://github.com/szhorvat/MaTeX#upgrading-or-uninstalling Then you do not need to bother with paths.

B7ADE-RUNNER commented 5 years ago

Thank you for this. Looks like it is suggesting to me to update ghostscript too. I can now load it in with the Needs[] command or the other way <<. I really like MaTeX. Thank you very much.

szhorvat commented 5 years ago

I'll close this issue now.

If you have suggestions about how to make the installation instructions easier to follow, please let me know, and I will try to improve them.

B7ADE-RUNNER commented 5 years ago

Everything is fine, that was extremely easy, I was just tripping