Bug#588194: texlive-base: texdoc does not see the system config file
Package: texlive-base
Version: 2009-10
Severity: normal
Tags: patch
The config.tlu file does not make any reference to TEXMFDIST, and so
texdoc does not see the /usr/share/texmf-texlive/texdoc/texdoc.cnf
file. Here's a patch which fixes this (hopefully!).
Julian
--- /usr/share/texmf-texlive/scripts/texdoc/config.tlu 2010-05-25 05:36:24.000000000 +0100
+++ /tmp/config.tlu 2010-07-05 14:43:59.000000000 +0100
@@ -288,6 +288,7 @@
local TEXMFHOME = kpse.var_value ('TEXMFHOME')
local TEXMFLOCAL = kpse.var_value ('TEXMFLOCAL')
local TEXMFMAIN = kpse.var_value ('TEXMFMAIN')
+ local TEXMFDIST = kpse.var_value ('TEXMFDIST')
return {
TEXMFHOME .. '/texdoc/texdoc-'..platform..'.cnf',
TEXMFHOME .. '/texdoc/texdoc.cnf',
@@ -295,6 +296,7 @@
TEXMFLOCAL .. '/texdoc/texdoc-'..platform..'.cnf',
TEXMFLOCAL .. '/texdoc/texdoc.cnf',
TEXMFMAIN .. '/texdoc/texdoc.cnf'
+ TEXMFDIST .. '/texdoc/texdoc.cnf'
}
end
-- Package-specific info:
If you report an error when running one of the TeX-related binaries
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report. Don't forget to also include minimal examples of
other files that are needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!
If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at
http://www.latex-einfuehrung.de/mini-en.html (english)
or
http://www.latex-einfuehrung.de/mini.html (german)
##################################
minimal input file
##################################
other files
######################################
List of ls-R files
-rw------- 1 jdg jdg 13298 Feb 18 12:45 /home/jdg/texmf/ls-R
-rw-r--r-- 1 root root 2100 Jun 29 07:50 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 7858 May 26 11:21 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jun 29 07:49 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 Jun 8 07:17 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 Jun 8 07:17 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
Config files
lrwxrwxrwx 1 root root 20 Jun 29 07:49 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 8573 Jun 29 07:49 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 14907 Jun 29 07:49 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 5083 Jun 29 07:49 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 4
-rw-r--r-- 1 root root 283 Jun 9 2009 mktex.cnf
######################################
md5sums of texmf.d
3875bf0f4a53a29b7f247399dc9833e2 /etc/texmf/texmf.d/05TeXMF.cnf
6e82a3d4c00ae7e4f86aa8dcf9438cf3 /etc/texmf/texmf.d/15Plain.cnf
c60a084820a0b73e3bfbf2e90bda437c /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1 /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068 /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e /etc/texmf/texmf.d/80DVIPDFMx.cnf
37329819f1109e8a457e64b8b58fecdb /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c /etc/texmf/texmf.d/90TeXDoc.cnf
bab3b7e578107f999fa1b0768994f6f8 /etc/texmf/texmf.d/95NonPath.cnf
1df66bc319cec731e202eaf39f5d85e1 /etc/texmf/texmf.d/96JadeTeX.cnf
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages texlive-base depends on:
ii dpkg 1.15.7.2 Debian package management system
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii luatex 0.60.1-1 next generation TeX engine
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
ii tex-common 2.08 common infrastructure for building
ii texlive-binaries 2009-6 Binaries for TeX Live
ii texlive-common 2009-10 TeX Live: Base component
ii texlive-doc-base 2009-2 TeX Live: TeX Live documentation
Versions of packages texlive-base recommends:
ii lmodern 2.004.1-3 scalable PostScript and OpenType f
Versions of packages texlive-base suggests:
ii acroread [pdf-viewer] 9.3.3-0.0 Adobe Acrobat Reader: Portable Doc
ii evince [postscript-viewe 2.30.1-3 Document (postscript, pdf) viewer
ii ghostscript [postscript- 8.71~dfsg2-3 The GPL Ghostscript PostScript/PDF
ii gv [postscript-viewer] 1:3.7.1-1 PostScript and PDF viewer for X
ii perl-tk 1:804.029-1 Perl module providing the Tk graph
ii xpdf-reader [pdf-viewer] 3.02-1.4+lenny2 Portable Document Format (PDF) sui
Versions of packages tex-common depends on:
ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy
ii dpkg 1.15.7.2 Debian package management system
ii ucf 3.0025 Update Configuration File: preserv
Versions of packages texlive-base is related to:
pn tetex-base <none> (no description available)
pn tetex-bin <none> (no description available)
pn tetex-extra <none> (no description available)
ii tex-common 2.08 common infrastructure for building
-- debconf information:
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:
Reply to: