Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 23:48:18 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        r.mahoney@comnet.net.nz, rbm49@ext.canterbury.ac.nz, hrs@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   Re: teTeX-2.0.2_5 -- latex: fatal: Item 0 &c.
Message-ID:  <20040630.234818.88012606.hrs@eos.ocn.ne.jp>
In-Reply-To: <20040629224647.GB31589@131-203-240-72.remote.comnet.co.nz>
References:  <20040627095909.GC7665@131-203-240-72.remote.comnet.co.nz> <20040627.194314.55834240.hrs@eos.ocn.ne.jp> <20040629224647.GB31589@131-203-240-72.remote.comnet.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Wed_Jun_30_23_48_18_2004_400)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Richard MAHONEY <rbm49@ext.canterbury.ac.nz> wrote
  in <20040629224647.GB31589@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> 
rbm49>  /usr/local/share/texmf/web2c/updmap.cfg
rbm49> 
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> 
rbm49>  /usr/local/share/texmf-var/web2c/updmap.cfg

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

  .
  share/texmf-var/
  share/texmf-local/
  share/texmf/

 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

----Security_Multipart(Wed_Jun_30_23_48_18_2004_400)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBA4tKyTyzT2CeTzy0RAs1aAJ4mC+t4zPD/+9kOjaZ0MtPjhpGUKACggCMU
bgl+9jWEWcFX69VyKGR8sE0=
=Lkaa
-----END PGP SIGNATURE-----

----Security_Multipart(Wed_Jun_30_23_48_18_2004_400)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040630.234818.88012606.hrs>