[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#148910: tetex-bin: incorrect cd in mktexdir



Package: tetex-bin
Version: 1.0.7+20011202-7
Severity: normal


Please use next path, without it mktexdir incorrect work in dir with space
"Test Directory" - example name for dir

--- mktexdir    Mon Jun  3 19:32:25 2002
+++ /usr/share/texmf/web2c/mktexdir     Mon Jun  3 19:32:35 2002
@@ -28,10 +28,10 @@

 errstatus=0

-cd $KPSE_DOT
+cd "$KPSE_DOT"
 for file
 do
-   cd $KPSE_DOT
+   cd "$KPSE_DOT"
    set fnord `echo ":$file" | \
      sed -ne 's/^:\//#/;s/^:-/.\/-/;s/^://;s/\// /g;s/^#/\//;p'`
    shift




-- System Information
Debian Release: 3.0
Kernel Version: Linux villain 2.4.19-pre5 #1 ðÎÄ áÐÒ 1 12:22:54 YEKST 2002 i686 unknown

Versions of the packages tetex-bin depends on:
ii  debianutils    1.16.2         Miscellaneous utilities specific to Debian.
ii  dpkg           1.9.21         Package maintenance system for Debian
ii  ed             0.2-19         The classic unix line editor
ii  libc6          2.2.5-6        GNU C Library: Shared libraries and Timezone
ii  libkpathsea3   1.0.7+20011202 shared libkpathsea for teTeX
ii  libpng2        1.0.12-3       PNG library - runtime
ii  libstdc++2.10- 2.95.4-9       The GNU stdc++ library
ii  libtiff3g      3.5.5-6        Tag Image File Format library
ii  libxaw7        4.1.0-17       X Athena widget set library
ii  tetex-base     1.0.2+20011202 basic teTeX library files
ii  xlibs          4.1.0-17       X Window System client libraries
ii  zlib1g         1.1.4-1        compression library - runtime

--- Begin /etc/texmf/mktex.cnf (modified conffile)
: ${MT_FEATURES=appendonlydir:varfonts}
: ${MODE=ljfive}
: ${BDPI=600}
: ${DPI=600}

--- End /etc/texmf/mktex.cnf

--- Begin /etc/texmf/texmf.d/05TeXMF (modified conffile)
% original texmf.cnf -- runtime path configuration file for kpathsea.
% (If you change or delete `original' on the previous line, the
% distribution won't install its version over yours.)
% Public domain.
% 
% What follows is a super-summary of what this .cnf file can
% contain. Please read the Kpathsea manual for more information.
% 
% texmf.cnf is generated from texmf.in, by replacing @var@ with the
% value of the Make variable `var', via a sed file texmf.sed, generated
% (once) by kpathsea/Makefile (itself generated from kpathsea/Makefile.in
% by configure).
% 
% Any identifier (sticking to A-Za-z_ for names is safest) can be assigned.
% The `=' (and surrounding spaces) is optional.
% No % or @ in texmf.in, for the sake of autogeneration.
% (However, %'s and @'s can be edited into texmf.cnf or put in envvar values.)
% $foo (or ${foo}) in a value expands to the envvar or cnf value of foo.
% 
% Earlier entries (in the same or another file) override later ones, and
% an environment variable foo overrides any texmf.cnf definition of foo.
% 
% All definitions are read before anything is expanded, so you can use
% variables before they are defined. 
% 
% If a variable assignment is qualified with `.PROGRAM', it is ignored
% unless the current executable (last filename component of argv[0]) is
% named PROGRAM.  This foo.PROGRAM construct is not recognized on the
% right-hand side. For environment variables, use FOO_PROGRAM.
% 
% Which file formats use which paths for searches is described in the
% various programs' and the kpathsea documentation.
% 
% // means to search subdirectories (recursively).
% A leading !! means to look only in the ls-R db, never on the disk.
% A leading/trailing/doubled ; in the paths will be expanded into the
%   compile-time default. Probably not what you want.
% 
% You can use brace notation, for example: /usr/local/{mytex:othertex}
% expands to /usr/local/mytex:/usr/local/othertex.  Instead of the path
% separator you can use a comma: /usr/local/{mytex,othertex} also expands
% to /usr/local/mytex:/usr/local/othertex.  However, the use of the comma
% instead of the path separator is deprecated.
%
% The text above assumes thet path separator is a colon (:).  Non-UNIX
% systems use different path separators, like the semicolon (;).
%  Part 1: Search paths and directories.
% You can set an environment variable to override TEXMF if you're testing
% a new TeX tree, without changing anything else.
% 
% You may wish to use one of the $SELFAUTO... variables here so TeX will
% find where to look dynamically.  See the manual and the definition
% below of TEXMFCNF.
% The main tree, which must be mentioned in $TEXMF, below:
TEXMFMAIN = /usr/share/texmf
% A place for local additions to a "standard" texmf tree.  For example:
TEXMFLOCAL = /usr/local/share/texmf
TEXMFOLDLOCAL = /usr/local/lib/texmf
% If defined, teTeX's texconfig stores modifications here (instead of the
% TEXMFMAIN tree).
%   VARTEXMF = /usr/share/texmf-var
% User texmf trees can be catered for like this...
HOMETEXMF = $HOME/texmf
% Now, list all the texmf trees. If you have multiple trees you can
% use shell brace notation, like this:
TEXMF = {$HOMETEXMF,$TEXMFLOCAL,$TEXMFOLDLOCAL,!!$TEXMFMAIN}
% 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
% The system trees.  These are the trees that are shared by all the users.
SYSTEXMF = $TEXMFLOCAL;$TEXMFOLDLOCAL;$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
% varfonts feature was enabled in MT_FEATURES in mktex.cnf.
VARTEXFONTS  = /tmp
% Where to look for ls-R files.  There need not be an ls-R in the
% directories in this path, but if there is one, Kpathsea will use it.
%
% Remove $VARTEXFONTS from TEXMFDBS if the VARTEXFONTS directory is below
% one of the TEXMF directories (avoids overlapping ls-R files).
TEXMFDBS = $TEXMF;$VARTEXFONTS
% It may be convenient to define TEXMF like this:
%   TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN,$HOME}
% which allows users to set up entire texmf trees, and tells TeX to
% look in places like ~/tex and ~/bibtex.  If you do this, define TEXMFDBS
% like this:
%   TEXMFDBS = $HOMETEXMF;$TEXMFLOCAL;$TEXMFMAIN;$VARTEXFONTS
% or mktexlsr will generate an ls-R file for $HOME when called, which is
% rarely desirable.  If you do this you'll want to define SYSTEXMF like
% this:
%   SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN
% so that fonts from a user's tree won't escape into the global trees.
%
% On some systems, there will be a system tree which contains all the font
% files that may be created as well as the formats.  For example
%   VARTEXMF = /var/lib/texmf
% is used on many Linux systems.  In this case, set VARTEXFONTS like this
%   VARTEXFONTS = $VARTEXMF/fonts
% and do not mention it in TEXMFDBS (but _do_ mention VARTEXMF).

--- End /etc/texmf/texmf.d/05TeXMF


-- 
To UNSUBSCRIBE, email to debian-tetex-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: