Florent, this might be interesting for an upload targetted at etch
--- Begin Message ---
- To: Frank Küster <frank@kuesterei.ch>
- Subject: Re: Bug#401903: Integrating texdoc.php into Debian's teTeX
- From: Joao Palhoto Matos <jmatos@math.ist.utl.pt>
- Date: Wed, 27 Dec 2006 11:02:14 +0000 (WET)
- Message-id: <Pine.LNX.4.64.0612271044330.5664@pai>
- In-reply-to: <861wmlvd60.fsf@alhambra.kuesterei.ch>
- References: <[🔎] 20061206180239.GA11706@cepheus> <[🔎] 861wn697bs.fsf@alhambra.kuesterei.ch> <[🔎] 86r6v67qoi.fsf@alhambra.kuesterei.ch> <45902B23.1070108@math.ist.utl.pt> <868xgtx1t3.fsf@alhambra.kuesterei.ch> <Pine.LNX.4.64.0612270951530.3282@pai> <861wmlvd60.fsf@alhambra.kuesterei.ch>
On Wed, 27 Dec 2006, Frank Küster wrote:Joao Palhoto Matos <jmatos@math.ist.utl.pt> wrote:Not quite. They are available in /usr/share/doc/packagename[...]I was referring mainly to some flattening out and rearrangement inside the doc trees. For instance /usr/share/doc/latex-xcolor/examples/xcolor2.tex.gz /usr/share/doc/texmf/latex-xcolor/xcolor.pdf.gz could have been /usr/share/doc/texmf/latex/xcolor/examples/xcolor2.tex.gz /usr/share/doc/texmf/latex/xcolor/xcolor.pdf.gzThat's not nice, but is it a problem for texdoc.php? $ kpsewhich --format="TeX system documentation" xcolor.pdf.gz /usr/share/texmf/doc/latex-xcolor/xcolor.pdf.gzand /usr/share/doc/latex-beamer/beameruserguide.pdf.gz could have been /usr/share/doc/texmf/latex/beamer/beameruserguide.pdf.gz#357032These would be solved with a slight configuration change. If /usr/share/texmf/doc had been used things would have worked without changes but I guess that when the package was created the old tetex documentation was still around and a conflict existed (at least I seem to remember a bug report of one such situation).According to the Debian Policy, documentation must be in /usr/share/doc/<whatever>. Therefore packages should install their documentation either in /usr/share/doc/texmf/<subdir> (a symlinks /usr/share/texmf/doc -> ../../doc/texmf will always exist) or in /usr/share/doc/<packagename>, but then it needs to create symlinks itself.Thanks! I will make as minimal as possible changes based on this and furnish a Debian etch version for your consideration.One last idea: instead of texdoc.php showing missing docs in red, I plan adding a line in the bottom frame if missing documents are detected pointing to the html source for details. Also I think mentioning Debian in the bottom frame should be appropriate (meaning, e.g., replacing "local additions" by "Debian and local changes"). What do you think?Best, -- João Palhoto Matos http://www.math.ist.utl.pt/~jmatos Departamento de Matemática Instituto Superior Técnico Lisboa mailto:jmatos@math.ist.utl.pt
--- End Message ---
-- Dr. Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)