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

Re: latex-cjk comments



Dear Danai!

On Son, 26 Feb 2006, Danai SAE-HAN wrote:
> > latex-cjk-chinese
> > 	the whole manual stuff regarding languages is unnecessary
> > 	this will be done by dh_installtex postinst autoscripts
> 
> Aha!  Thanks for the tip.  I have now removed
> debian/10latex-cjk-chinese.cnf.

Ok, good, it should be created automatically by the dh_installtex call.
As will be ALL the stuff necessary for the postinst and postrm scripts.
What I wanted to suggest is that you remove the
latex-cjk-chinese.postinst and latex-cjk-chinese.postrm, as the files
are automatically generated by debhelper with all necessary instructions
for updating the languages and formats.

> > Please before rebuilding the packages please build-depend onto tex-common
> > >= 0.18, as 0.17 contains a wrong call.
> 
> Thanks for pointing that out.  I haven't uploaded the new font
> packages yet, so I can just recompile and then upload them tomorrow.

Good.

> > I hope you are content with the new functionality of dh_installtex, any
> > wishes?
> 
> Not with dh_installtex, but with update-languages.  I erroneously
> thought that dh_installtex would also install the Babel .ldf and
> hyphenation .tex files, so I removed them from the .install file (I
> wasn't thinking straight).

No, because it does NOT know WHERE to install these. dh_installtex is
only for installation of *configuration* files for tex.

It is the same with the map files: You have to install the map files
yourself, but the .cfg and .list file is created by dh_isntalltex.

> At configuration, dpkg told me that the update-language subprocess
> encountered an error, but it did not tell me what.  dpkg --debug=10
> didn't give me much information.

Huuu= I assume that this error is related to the missing 
	dhit_
prefix in one call of make_format. This is the error I mentioned above
which should be fixed with 0.18 of tex-common.

But stop, wait, 
	update-language
did give you an error? Sure? Not the rest of the postinst script???
I saw an error, too, but is was the call to create_format without the
dhit_ prefix:
	create_format: command unknown
or something similar.

> So what I would like to suggest, is to have an error message built in
> update-language, telling when it can't find the language or
> hyphenation file in the TEXMF tree.  Something like "Can't find
> pyhyph.tex; make sure it's installed in the TEXMF tree".  It could
> save some debugging time when one has for example written a typo
> within the dh_installtex command.

Ahhhh, now I understand. YOu mean that update-language checks wether all
installed languages are *actually* there, so if there is
	pinyin pyhyph.tex
in one of the active config files, it actually checks wether pyhyph.tex
is present.

Hmm, this is an idea we could think about. Could you please file a
wishlist bug against tex-common so we don't forget. 

If all here on the list are ok with this, I could start implementing
this.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
KIMMERIDGE (n.)
The light breeze which blows through your armpit hair when you are
stretched out sunbathing.
			--- Douglas Adams, The Meaning of Liff



Reply to: