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

Re: Bug#402118: [debiandoc-sgml-pkgs] Bug#402118: debiandoc-sgml: Please allow alternative dependency on texlive



On Sat, Jan 06, 2007 at 06:44:03PM +0100, Danai SAE-HAN  wrote:
> 
> >From: Osamu Aoki <osamu@debian.org>
> 
> > On Fri, Dec 08, 2006 at 02:33:44PM +0100, Frank Küster wrote:
> > > Frank Küster <frank@debian.org> wrote:
> > > 
> > > > Package: debiandoc-sgml
> > > > Version: 1.1.99
> > > > Severity: normal
> > > >
> > > > debiandoc-sgml currently 
> > > >
> > > > Recommends: libpaperg, tetex-bin, tetex-extra, texinfo, latex-cjk-all, gs-esp | gs
> > > >
> > > > This should be changed to allow texlive to be used, too.  I'm not sure
> > > > which texlive packages are needed, but I'll investigate this using
> > > > debian-reference as an example.
> > > 
> > > The packages needed for debian-reference are
> > > 
> > > texlive-latex-extra texlive-latex-recommended texlive-fonts-recommended
> > > 
> > > So this could be
> > > 
> > > Recommends: libpaperg, tetex-bin | texlive-latex-recommended, \
> > >                        tetex-extra | texlive-latex-extra, \
> > >                        tetex-extra | texlive-fonts-recommended, \
> > >                 texinfo, latex-cjk-all, gs-esp | gs
> > 
> > I agree with latex-cjk-all
> > 
> > Interesting suggestions.  But I consider rests are not so critical since
> > these are recommends (not depends).  You can install texlive packages
> > without these changes.
> 
> I also think that latex-cjk-all (+fonts) should be enough as a
> Build-Depends for debian-reference, since latex-cjk-common already
> depends on tetex or texlive.
> 
> But you might precipitate the move to TeXlive as default TeX
> distribution by putting texlive|tetex (etc.) in the Build-Depends.
> We all have to move to TeXlive now that teTeX is not actively
> developed anymore, so changing to TeXlive might be a good exercise
> now.  I myself will wait for the transition of latex-cjk to default to
> the TeXlive distribution after my exams in February.

First thing to wait is etch release, I think.  Then we can make large
change such as switching to texlive.

> As for the Depends, I don't think debian-reference should have any
> Depends or Recommends on TeX packages at all, since the binary
> packages only provide HTML, PS, PDF and plain text files.  TeX is not
> needed for the end-user.

OK.

> For debiandoc-sgml, I think latex-cjk-all is enough as a Recommends,
> because latex-cjk-{chinese,japanese} recommends already some fonts.
> No need to make it any more complex than it is. ;)

After etch release and when you have time, can you look into font choice
of debiandopc-sgml tool chain (not just for CJK but all other languages)
and add explanation text to font package choice determination scheme
(where to look for and what to chose.) in generic way so ther document
will be valid for future release too.

 /usr/share/perl5/DebianDoc_SGML/Locale/xx_YY.ZZZZ/LaTeX

This has language specific definitions

As I review these, it looks like we need to have 2 entries xx_YY.ZZZZ
for each language so we can handle both UTF-8 and traditional encodings.
Hmmmm...  that calls to add new feature to debiandoc-sgml.  Maybe -l
locale is not ending with utf-8 then we use traditional encoding but if
they are ending with traditional encoding, we should use utf-t counter
part.  That will be major rewite of scripts.

If we use current build process, UTF-8 encoded latex source needs to be
converted to traditional encoding.  (Can be done by iconv running at -s
option script fixlatex.)

But that sounds too complicated.  Does TeXlive has capability to handle
UTF-8 encoded source?

...
> To make a long story short, gs and latex-cjk are completely
> independent of each other.  I have been a happy user of gs-esp +
> gs-cjk-resource, but have no idea if this changes anything.

I see.

Osamu



Reply to: