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

Bug#396826: tex-common: Please make section 2.4 of TeX-on-Debian more precise about user settings



Ralf Stubner <ralf.stubner@physik.uni-erlangen.de> wrote:

> One problem is that texmf.cnf is only searched along the compiled in
> TEXMFCNF (not TEXMFCONFIG). At least as long as it is not defined in the
> environment. So in order for the above to work, one would also need
>
> export TEXMFCNF=$HOME/.texmf-config/web2c:
>
> (the final colon includes the system wide default).

--- doc/TeX-on-Debian.sgml	(Revision 1926)
+++ doc/TeX-on-Debian.sgml	(Arbeitskopie)
@@ -546,11 +546,25 @@
           <p>
 	    <prgn>update-texmf</prgn> is only available for root; if a
 	    user wants to maintain their own <file>texmf.cnf</file>,
-	    they can put it into <tt><var>TEXMFCONFIG</var>/web2c</tt> and must
-	    manually edit it.  Since all <file>texmf.cnf</file> files
-	    are read, with earlier definitions taking precedence over
-	    later ones, it is best to keep only a minimal set of
-	    definitions in the user-specific file.
+	    they can put it into <tt><var>TEXMFCONFIG</var>/web2c</tt>
+	    and must manually edit it.  However, in order for it to be
+	    found, they need to set an environment
+	    variable
+	    <footnote>
+	      The reason for this is that the search
+	      path for <file>texmf.cnf</file>, which is the file that
+	      defines all search paths for later use, naturally cannot
+	      be specified in the file, but is fixed at compile
+	      time.
+	    </footnote>:
+<example>
+export TEXMFCNF=$HOME/.texmf-config/web2c:
+</example>
+            The final colon includes the system wide default.  Since
+	    all <file>texmf.cnf</file> files are read, with earlier
+	    definitions taking precedence over later ones, it is best
+	    to keep only a minimal set of definitions in the
+	    user-specific file.
 	  </p>
 
 	  <p>


-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: