teTeX-2.0.2_5 -- latex: fatal: Item 0 &c.

Hiroki Sato hrs at FreeBSD.org
Wed Jun 30 07:48:55 PDT 2004

Richard MAHONEY <rbm49 at ext.canterbury.ac.nz> wrote
  in <20040629224647.GB31589 at 131-203-240-72.remote.comnet.co.nz>:

rbm49> though there is some thing I am curious about. in the past -- with the
rbm49> old FreeBSD teTeX directory structure -- i have always indicated the
rbm49> presence of additional fonts by altering:
rbm49>  /usr/local/share/texmf/web2c/updmap.cfg
rbm49> and then executing `updmap'. with the new structure this no longer has
rbm49> the desired effect. it seems that one now needs to alter:
rbm49>  /usr/local/share/texmf-var/web2c/updmap.cfg

 Yes, the new teTeX-* ports will look for files in the following order:


 So if there are texmf/web2c/updmap.cfg and texmf-var/web2c/updmap.cfg at the
 same time, texmf-var/web2c/updmap.cfg is used (if
 texmf-var/web2c/updmap.cfg does not exist, texmf/web2c/updmap.cfg is used).

rbm49> my question is, where is it best to place additional fonts and their
rbm49> associated files, under `usr/local/share/texmf',
rbm49> `/usr/local/share/texmf-var' or perhaps
rbm49> `/usr/local/share/texmf-local'?

 What I intend is the following:

 - share/texmf contains original files in the teTeX distribution.
   The users should not need to add/delete/change files there
   except web2c directory.

 - share/texmf-local contains additional macro packages, fonts,
   and so on, and mainly used by the FreeBSD Ports Collection.

 - share/texmf-var can contain the same files as share/texmf-local.
   The differences are 1) ports will not touch this directory as possible,
   and 2) some TeX-related utilities (such as texconfig and fmtutil) put
   their configuration files, generated format files, and so on
   into this directory.

 So, it is better to put your own additional fonts into the texmf-var
 directory.  Upgrading TeX-related ports should not
 break files there, and TeX-related utilities will look for a file from
 this directory first.  Of course you can put them into share/texmf or
 share/texmf-local, but files/directories in them can be
 added/deleted/modified by the Ports Collection.

 From technical point of view, texmf-var, texmf-local, and texmf are
 no more than directories with the order of priority.

| Hiroki SATO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040630/a7e37f4f/attachment.bin

More information about the freebsd-ports mailing list