Jakub Wilk wrote:
> tags 628476 + confirmed upstream fixed-upstream thanks
> 
> * Florian Weimer <f...@deneb.enyo.de>, 2011-05-29, 12:59:
> >The documentation mentions importing wordaxe.DCWHyphenator.  But this
> >does not work:
> >
> >fw@deneb:~$ python
> >Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
> >[GCC 4.4.5] on linux2
> >Type "help", "copyright", "credits" or "license" for more information.
> >>>>import wordaxe.DCWHyphenator
> >/usr/lib/pymodules/python2.6/wordaxe/DCWHyphenator.py:12: 
> >DeprecationWarning: the sets module is deprecated
> > import sets
> >Traceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > File "/usr/lib/pymodules/python2.6/wordaxe/DCWHyphenator.py", line 26, in 
> > <module>
> >   import wordaxe.dict.DEhyph as DEhyph
> >ImportError: No module named dict.DEhyph
> 
> Indeed, the module in question is available in the upstream tarball,
> but it's not installed due to a bug in setup.py. This appears to be
> fixed in 1.0.1.
> 
> Please note however that DCWHyphenator is only one of the available
> hyphenators; you might have better luck with others.

FYI:

Probably my end goal was/is to get hyphenation in rst2pdf output, and
I distilled the above from whatever it was doing.  It wouldn't
surprise me if rst2pdf was hard-coded to use a german hyphenator,
though what *I* actually want to hyphenate is English prose.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to