[debiandoc-sgml-pkgs] Re: Bug#403200: maint-guide: FTBFS: --> latex-cjk-*

Osamu Aoki osamu at debian.org
Sat Dec 16 23:27:50 UTC 2006


Hi,

I see funy complain on dnp:
 "Package CJK Error: Encoding `dnp' is not defined."

What is going on?

Also log has funny ^M when my tex source is clean like:

\usepackage{CJK}
\begin{document}
\begin{CJK}{dnp}{JIS}{min}
\renewcommand{\vpageref}[1]{on page \pageref{#1}}

See ...

On Sat, Dec 16, 2006 at 06:16:20PM +0100, Danai SAE-HAN wrote:
> From: Frank Küster <frank at kuesterei.ch>
> 
> > Osamu Aoki <osamu at debian.org> wrote:
> > 
> > > By the way, can latex-cjk-all mainatiner make this package to install
> > > all required fonts to get decent looking pages by "depends"?  So all
> > > documentation packages can forget about fine details of latex.
> > 
> > I'm not sure this is a good idea.  If you write a document yourself,
> > using latex-cjk, you will often use the fonts that are provided in
> > Debian - but sometimes you might want to use different ones.  In other
> > words, it makes perfect sense to use latex-cjk without these font
> > packages installed, and a Depends would be to strict a dependency.
> > 
> > However, since debiandoc-sgml only Recommends the TeX toolchain, anyway,
> > it could also Recommend the fonts needed for different languages,
> > indicating to maintainers what they should try.
> 
> I agree.  It was by a user's request that I changed it from a
> dependency to a recommendation.  And if we can reduce the bandwith
> overhead for the kind Debian repositories everywhere, then I think we
> should do so. =)

I think there is some misunderstanding of my wish.  Let me explain but please
note this is not the focus of discussion here. If you think my thought is not
really good one, please keep as is for the dependency.

i   latex-cjk-all                   - installs all LaTeX CJK packages
i A latex-cjk-chinese               - Chinese module of LaTeX CJK
i A latex-cjk-chinese-arphic-bkai00 - traditional Chinese KaiTi fonts for CJK
i A latex-cjk-chinese-arphic-bsmi00 - traditional Chinese KaiTi fonts for CJK
i A latex-cjk-chinese-arphic-gbsn00 - traditional Chinese KaiTi fonts for CJK
i A latex-cjk-chinese-arphic-gkai00 - traditional Chinese KaiTi fonts for CJK
i   latex-cjk-common                - LaTeX macro package for CJK (Chinese/Japani A latex-cjk-japanese              - Japanese module of LaTeX CJK
i A latex-cjk-japanese-wadalab      - type1 and tfm DNP Japanese fonts for latexi A latex-cjk-korean                - Korean module of LaTeX CJK
i A latex-cjk-thai                  - Thai module of LaTeX CJK

Basically, latex-cjk-all is the utility package which installs all
latex-cjk-locale packages.  There, I wished to have normally recommended
font packages by latex-cjk-locale packages to be a depends.  If people
is so fussy about waisting bandwidth, they should not install
latex-cjk-all or latex-cjk-all should just recommends latex-cjk-locale
packages.  If you dare to introduce package for "ease of use" knowing it
is a "bandwidth waister", just focus on its focus. That was my thught.

Whenever people are bandwidth concious, they should install each
latex-cjk-locale package and font packages are just recommends.

Whenever people are ready to use commercial fonts, this way will give
then option to install  latex-cjk-japanese with real DNP fonts.

> > > So when fixing this bug, please consider this to fix/prevents all FTBFS
> > > for doc packages when latex infrastructure evolves.  
> > 
> > Err, FTBFS bugs can be prevented by never uploading a package that
> > hasn't been built in a clean environment.  AFAIK the old cjk-latex
> > package didn't depend on *japanese-wadalab*, either (at least in sarge
> > it doesn't).

I did build clean.

> Right, the old cjk-latex didn't provide the Japanese Wadalab DNP
> fonts, but it did *suggest* HBF kanji48 fonts.
> 
> HBF are bitmap fonts, but as you can imagine the result wasn't too
> pretty.

Yes.  And it provided clean build in pbuilder.  I had hbf-kanji48 and
all other font packages listed in Build-Depends-Indep.

Anyway, I see many ^M sequences inserted in funny place of the latex log when I
run debiandoc2latex command.

I have latex-cjk-japanese-wadalab installed but... it complains on dnp

*hyperref using default driver hpdftex*^M
(/usr/share/texmf-tetex/tex/latex/hyperref/hpdftex.def)^M
(/usr/share/texmf-tetex/tex/latex/tools/xspace.sty)^M
(/usr/share/texmf/tex/latex/CJK/CJK.sty^M
(/usr/share/texmf/tex/latex/CJK/mule/MULEenc.sty)^M
(/usr/share/texmf/tex/latex/CJK/CJK.enc)) (./maint-guide.ja.aux)^M
(/usr/share/texmf-tetex/tex/latex/base/ts1cmr.fd)^M
(/usr/share/texmf-tetex/tex/latex/psnfss/t1ppl.fd)^M
(/usr/share/texmf-tetex/tex/latex/graphics/color.sty^M
(/usr/share/texmf-tetex/tex/latex/graphics/color.cfg)^M
(/usr/share/texmf-tetex/tex/latex/graphics/pdftex.def^M
(/usr/share/texmf-tetex/tex/context/base/supp-pdf.tex^M
(/usr/share/texmf-tetex/tex/context/base/supp-mis.tex^M
loading : Context Support Macros / Miscellaneous (2004.10.26)^M
)^M
loading : Context Support Macros / PDF (2004.03.26)^M
))) (/usr/share/texmf-tetex/tex/latex/hyperref/nameref.sty)^M
(./maint-guide.ja.out) (./maint-guide.ja.out)^M
^M
! Package CJK Error: Encoding `dnp' is not defined.^M
^M
See the CJK package documentation for explanation.^M
Type  H <return>  for immediate help.^M
 ...                                              ^M
                                                  ^M
l.68 \begin{CJK}{dnp}{JIS}^M
                          {min}^M
! Missing \endcsname inserted.^M
<to be read again> ^M
                   \CJK at dnp@fontenc ^M
l.68 \begin{CJK}{dnp}{JIS}^M
                          {min}^M
! Extra \endcsname.^M
\CJKenc  ...csname CJK@#1\CJK at temp @enc\endcsname ^M
                                                  \relax \PackageError {CJK}...^M
l.68 \begin{CJK}{dnp}{JIS}^M
                          {min}^M
^M
! Package CJK Error: Encoding `dnp\CJK at dnp@fontenc ' is not defined.^M
^M
See the CJK package documentation for explanation.^M
Type  H <return>  for immediate help.^M
 ...                                              ^M
                                                  ^M
l.68 \begin{CJK}{dnp}{JIS}^M
                          {min}^M
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2]^M
! Undefined control sequence.^M
l.98 {\Huge Debian XX
                    } \\[2ex]^M
! Undefined control sequence.^M
l.98 {\Huge Debian 新^M
                     メンテナガイド} \\[2ex]^M
! Undefined control sequence.^M
....

Osamu




More information about the Debiandoc-sgml-pkgs mailing list