Difference between revisions of "Latex"
From Camilo's web
m |
m |
||
Line 6: | Line 6: | ||
To make the packages available throughout the entire system (so that you can access it from any directory), you have to put the folder in the ''global'' directory: | To make the packages available throughout the entire system (so that you can access it from any directory), you have to put the folder in the ''global'' directory: | ||
/opt/local/share/texmf-texlive/tex/latex/ | /opt/local/share/texmf-texlive/tex/latex/ | ||
Afterwards, you need to let the system know that you have made some changes on the files. This can be done with the 'texhash' command: | |||
sudo texhash | |||
If everything went right, you will see in the terminal the list with the updated files. If, however, the terminal doesn't know how to handle the command, you can try to find the file (in my case, it was in /opt/local/bin/), and make the path to the file accessible | |||
export PATH=$PATH:/opt/local/bin | |||
and then use the texhash command. |
Revision as of 20:05, 2 October 2017
- This is a template for an abstract
Installing packages
To make the packages available throughout the entire system (so that you can access it from any directory), you have to put the folder in the global directory:
/opt/local/share/texmf-texlive/tex/latex/
Afterwards, you need to let the system know that you have made some changes on the files. This can be done with the 'texhash' command:
sudo texhash
If everything went right, you will see in the terminal the list with the updated files. If, however, the terminal doesn't know how to handle the command, you can try to find the file (in my case, it was in /opt/local/bin/), and make the path to the file accessible
export PATH=$PATH:/opt/local/bin
and then use the texhash command.