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

Bug#204459: Atsuhito, are non-english hyphenation patterns really needed?



Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp> schrieb:

> From: frank@kuesterei.ch (Frank Küster)
> Subject: Bug#204459: Atsuhito, are non-english hyphenation patterns really needed?
> Date: Mon, 18 Aug 2003 12:33:54 +0200
>
>> That might occur. However, this bug was reported because it was "not
>> possible" to add german and french patterns. The reason is, of course,
>> that they are there in any case, it's simply not necessary. And I think
>> more people will be surprised (like Andreas) that they can't choose them
>> than by having to specify them.
>> 
>> So will you apply my patch?
>
> Yes, I will do so if no one objected with good reason.  
> One more option might be to modify templates like;
>
> Default: french[=patois], german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung]
>
> my intention is; one could deselect french, german or ngerman but 
> by default these are selected in a same way as the upstream settings.

Yes, keeping the upstream settings might be a good idea.

> But I'm not sure if this would work as I expected with only
> the above modification because I didn't try this yet.  I only 
> invetsigated the templates of xserver-xfree86 
> (Template: xserver-xfree86/config/modules) and suspected it 
> might work.

The following patched worked for me (i.e. it produced a tetex bin which
installed cleanly over the existing one; however I didn't do any
pbuilder stuff or so):

diff --exclude=changelog -Naur origdebian/tetex-bin-2.0.2/debian/postinst tetex-bin-2.0.2/debian/postinst
--- origdebian/tetex-bin-2.0.2/debian/postinst	Mon Aug 11 22:40:26 2003
+++ tetex-bin-2.0.2/debian/postinst	Mon Aug 18 17:22:34 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 ;;
diff --exclude=changelog -Naur origdebian/tetex-bin-2.0.2/debian/templates tetex-bin-2.0.2/debian/templates
--- origdebian/tetex-bin-2.0.2/debian/templates	Mon Aug 11 22:40:26 2003
+++ tetex-bin-2.0.2/debian/templates	Mon Aug 18 17:23:07 2003
@@ -113,8 +113,8 @@
 
 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]
-Default: 
+Default: french[=patois], german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung]
+_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]
 _Description: What hyphenation patterns to load.
  If you want to load extra hyphenation pattern(s) please select it/them
  from the lists.


-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: