On Fri, 7 Dec 2007, Aditya Mahajan wrote:
Hi Norbert,
Sorry for the (extremely) late reply.
On Mon, 5 Nov 2007, Norbert Preining wrote:
Hi Aditya,
On Mo, 05 Nov 2007, Aditya Mahajan wrote:
So, there are two differences here. The files are organized in a different directory structure, and have a different extension. Is there some way this can be corrected at the packaging end?
I will take a look at that, but note that the context-doc-nonfree packages has NOT been updated in a while, so it probably is in a bad state wrt organization. Next upload will ship pdf uncompressed, and hopefully fix these issues.
Can you propose/list a better/working layout? The docs should reside somehow under /usr/share/doc/<package> but can be linked into /usr/share/doc/texmf/ which in turn is linked from /usr/share/texmf/doc/ so that texdoc finds the stuff.
How about having the same directory structure as in the context standalone distribution? For that, we will need to make the following changes
cd /usr/share/doc/context-doc-nonfree/
gunzip showcase/*.pdf.gz gunzip manuals/*.pdf.gz
mv showcase/*.pdf ./ rmdir showcase
mkdir general mv manuals general
The files in setup/ are ok, since they are not linked by anything else. Also, can the context magazines (isoimage/usr/local/context/docroot/documents/general/magazines in the context standalone distribution) be included in the debian package at /usr/share/doc/context-doc-nonfree. Their location does not matter, but to keep the directory structure future proof, I would suggest the same strucutre as pragma's So they can be copied to general/magazines/
Actually, the magazines are linked from show-mag.pdf so they MUST go to general/magazines/ directory. Aditya