welcome: please sign in
location: Diff for "Computer/Latex/macTex"
Differences between revisions 2 and 3
Revision 2 as of 2015-09-21 15:30:56
Size: 895
Editor: kristian
Comment:
Revision 3 as of 2018-06-05 14:23:31
Size: 955
Editor: leif
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#acl Known:read,write,admin,delete,revert All:read


Line 6: Line 10:
 * Copy {{{/opt/texmf-local}}} from one of the department computers to the same location on the mac.  * Copy {{{/opt/texmf-local}}} from one of the department computers to a suitable location on the mac.

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 [https://www.tug.org/mactex/|MacTeX distribution].

  • Copy /opt/texmf-local from one of the department computers to a suitable 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. The last line (specifying memory) is very optional.

  • Run, as SU:

mktexlsr
updmap-sys

Done.

Computer/Latex/macTex (last edited 2022-04-20 14:03:02 by leif)