Bug#65837: installing local .mf files
On Sun, Jun 18, 2000 at 05:28:52PM +0200, Dan Christensen wrote:
> Package: tetex-bin
> Version: 1.0.6-7
> Severity: wishlist
>
>
> It would be great if the default configuration of tetex allowed you to
> just plop some .mf files into a directory in /usr/local and then have
> the pk files created as needed and added to the system font directories.
> Could the set-up be altered to make this possible? (Or is it already?)
Patch to /etc/texmf/texmf.cnf appended below; this would be very good
to apply .... Also, maybe we should move /usr/local/lib/texmf to
/usr/local/share/texmf? This will also require changing
tetex-base.postinst. (If not, then the /usr/local/share/texmf should
be changed to /usr/local/lib/texmf in the patch below.)
> Also, is it intentional that when a user puts .mf files somewhere
> in his home directory, and alters MFINPUTS accordingly, the pk files
> that get created when xdvi is run are left in the same directory as
> the dvi file, instead of being added to the system directories?
Security feature.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
Debian GNU/Linux Developer, see http://www.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
--- /tmp/texmf.cnf.orig Sun Jun 18 20:18:04 2000
+++ /tmp/texmf.cnf Sun Jun 18 20:20:41 2000
@@ -58,7 +58,7 @@
TEXMFMAIN = /usr/share/texmf
% A place for local additions to a "standard" texmf tree. For example:
-% TEXMFLOCAL = /usr/share/texmf.local
+TEXMFLOCAL = /usr/local/share/texmf
% If defined, teTeX's texconfig stores modifications here (instead of the
% TEXMFMAIN tree).
@@ -73,10 +73,10 @@
% The braces are necessary. If you set VARTEXMF, you also have to
% - list $VARTEXMF in the TEXMF definition;
% - make sure that $VARTEXMF precedes $TEXMFMAIN in the TEXMF definition.
-TEXMF = !!$TEXMFMAIN
+TEXMF = {!!$TEXMFMAIN,!!$TEXMFLOCAL}
% The system trees. These are the trees that are shared by all the users.
-SYSTEXMF = $TEXMF
+SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN
% Where generated fonts may be written. This tree is used when the sources
% were found in a system tree and either that tree wasn't writable, or the
@@ -88,7 +88,7 @@
%
% Remove $VARTEXFONTS from TEXMFDBS if the VARTEXFONTS directory is below
% one of the TEXMF directories (avoids overlapping ls-R files).
-TEXMFDBS = $TEXMF;$VARTEXFONTS
+TEXMFDBS = $TEXMFLOCAL;$TEXMFMAIN;$VARTEXFONTS
% It may be convenient to define TEXMF like this:
% TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN,$HOME}
Reply to: