Size: 842
Comment:
|
Size: 616
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#acl Known:read,write,admin,delete,revert All:read {{{#!wiki caution '''This procedure needs more testing''' }}} |
|
Line 5: | Line 11: |
* Install the latest TeXLive available through the [https://www.tug.org/mactex/|MacTeX distribution]. * Copy {{{/opt/texmf-local}}} from one of the department computers to the same location on the mac. *Run {{{kpsewhich texmf.cnf}}} to see where your tex {{{texmf.cnf}}} file is, and edit it to look something like: {{{ TEXMFVAR = /usr/local/texlive/2014/texmf-var TEXMFSYSVAR = $TEXMFVAR TEXMFLOCAL = /opt/texmf-local TEXMFCONFIG = $TEXMFSYSCONFIG openout_any = r openin_any = a main_memory = 5000000 }}} Change the first line (depends on where TeXLive is installed). Note that you have to be SU to save changes to the file. |
* Install the latest TeXLive available through the [[https://www.tug.org/mactex/|MacTeX distribution]]. * Execute {{{ sudo curl -o /usr/local/bin/update-texmf-local http://dist.control.lth.se/public/Texlive/texmf-local/scripts/update-texmf-local |
Line 18: | Line 16: |
* Run, as SU: {{{ mktexlsr updmap-sys }}} |
sudo chmod +x /usr/local/bin/update-texmf-local sudo update-texmf-local }}} |
This procedure needs more testing
LaTeX setup for mac
If you are installing LaTeX on a mac, and want to use department-specific styles and fonts, follow these steps:
Install the latest TeXLive available through the MacTeX distribution.
- Execute
sudo curl -o /usr/local/bin/update-texmf-local http://dist.control.lth.se/public/Texlive/texmf-local/scripts/update-texmf-local sudo chmod +x /usr/local/bin/update-texmf-local sudo update-texmf-local
Done.