Bug#204459: tetex-bin: German hyphenation pattern is missing from debconf template
Andreas Tille <tillea@rki.de> schrieb:
> On Thu, 7 Aug 2003, Frank Küster wrote:
>
>> This is because german and ngerman (and french and nohyphenation) are
>> used in any case. This is why it says "extra hyphenation patterns".
> While this is OK for me personally I wonder if this is not a little bit
> centric about some languages? Why not including all hyphenation
> patterns on demand?
That would be best, I think.
It requires patching language.dat in tetex-base and postinst and
templates in tetex-bin:
--- tetex-base-2.0.2/texmf/tex/generic/config/language.dat.orig Mon Aug 11 22:18:47 2003
+++ tetex-base-2.0.2/texmf/tex/generic/config/language.dat Mon Aug 11 17:18:36 2003
@@ -35,21 +35,20 @@
% english should always be defined. Either an alias for american or british.
=english
-% French, TWO lines!
-french frhyph.tex
-=patois
-
-german dehypht.tex
-=austrian
-
-% For use with ngerman.sty (neue Rechtschreibung):
-ngerman dehyphn.tex
-=naustrian
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following languages are disabled by default. Uncomment, what you need.
% To enable, remove %! and the space.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% French and German, TWO lines each!
+%! french frhyph.tex
+%! =patois
+%! german dehypht.tex
+%! =austrian
+%! For use with ngerman.sty (neue Rechtschreibung):
+%! ngerman dehyphn.tex
+%! =naustrian
+%!
%! bahasa inhyph.tex
%! basque bahyph.tex
%! croatian hrhyph.tex
--- tetex-bin-2.0.2/debian/templates.orig Mon Aug 11 22:46:16 2003
+++ tetex-bin-2.0.2/debian/templates Mon Aug 11 21:45:32 2003
@@ -113,7 +113,7 @@
Template: tetex-bin/hyphen
Type: multiselect
-_Choices: bahasa, basque, british, croatian, czech, danish, dutch, finnish, greek, italian, latin, magyar, norsk[old], norsk[nohyphb.tex], norsk[nohyphbc.tex], polish, portuges, romanian, russian, slovak, slovene, spanish, turkish, ukrainian[ukrhyph.tex], ukrainian[ukrhyph.t2a], ukrainian[ukrhyph.lcy], ukrainian[ukrhyph.ot2]
+_Choices: bahasa, basque, british, croatian, czech, danish, dutch, finnish, french[=patois], german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], greek, italian, latin, magyar, norsk[old], norsk[nohyphb.tex], norsk[nohyphbc.tex], polish, portuges, romanian, russian, slovak, slovene, spanish, turkish, ukrainian[ukrhyph.tex], ukrainian[ukrhyph.t2a], ukrainian[ukrhyph.lcy], ukrainian[ukrhyph.ot2]
Default:
_Description: What hyphenation patterns to load.
If you want to load extra hyphenation pattern(s) please select it/them
--- tetex-bin-2.0.2/debian/postinst.orig Mon Aug 11 22:45:35 2003
+++ tetex-bin-2.0.2/debian/postinst Mon Aug 11 21:45:11 2003
@@ -182,6 +182,9 @@
case $l in
none) cp -f $DFLT $LDAT ;;
british) sed -e "s/%! british ukhyphen.tex/british ukhyphen.tex/" $LDAT | sed -e "s/%! =UKenglish/=UKenglish/" > $LDAT_$$; mv $LDAT_$$ $LDAT ;;
+ french\[=patois\]) sed -e "s/%! french/french/" $LDAT | sed -e "s/%! =patois/=patois/" > $LDAT_$$; mv $LDAT_$$ $LDAT ;;
+ german\[=austrian-alte_Rechtschreibung\]) sed -e "s/%! german/german/" $LDAT | sed -e "s/%! =austrian/=austrian/" > $LDAT_$$; mv $LDAT_$$ $LDAT ;;
+ ngerman\[=naustrian-neue_Rechtschreibung\]) sed -e "s/%! ngerman/ngerman/" $LDAT | sed -e "s/%! =naustrian/=naustrian/" > $LDAT_$$; mv $LDAT_$$ $LDAT ;;
norsk\[old\]) sed -e "s/%! norsk nohyph.tex/norsk nohyph.tex/" $LDAT > $LDAT_$$; mv $LDAT_$$ $LDAT ;;
norsk\[nohyphb\.tex\]) sed -e "s/%! norsk nohyphb.tex/norsk nohyphb.tex/" $LDAT > $LDAT_$$; mv $LDAT_$$ $LDAT ;;
norsk\[nohyphbc\.tex\]) sed -e "s/%! norsk nohyphbc.tex/norsk nohyphbc.tex/" $LDAT > $LDAT_$$; mv $LDAT_$$ $LDAT ;;
Official maintainers, will you use this?
Thanks, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: