Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Installing new packages under mactex and texshop

Don’t put packages not coming with the main distribution there. Rather use /usr/local/texlive/texmf-local; otherwise the added file will vanish when an update to the main distribution will be done.

From the Terminal, assuming you are in the directory where the package files are:

% sudo mkdir -p /usr/local/texlive/texmf-local/tex/latex/cleveref

% sudo mv cleveref.sty /usr/local/texlive/texmf-local/tex/latex/cleveref

% …do the same for the other files…

% sudo mktexlsr

Here “%” stands for the shell prompt, which will be different.You can also navigate to /usr/local/texlive/texmf-local in the Finder and copy the files this way. However you’ll need to give thesudo mktexlsr anyway from the Terminal. If you don’t know about “sudo”, just do as stated, giving your password when requested. Of course, this assumes you are an administrator of the machine. The “mktexlsr”command makes TeX know about the added files.

Another way is to put the package files in

~/Library/texmf/tex/latex

~ stands for your home directory. Other users of your machine will not be able to use the added package, though. With this technique the “mktexlsr” command is not needed.

via Re: installing new packages under mactex and texshop.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>