Re: Hyphenation

Mike Driscoll <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CAO4gEAuQWs-RHGta5Ukn2=e3YMyzFV5ZvWMcETJPQxjPifePUg@mail.gmail.com>
Hi Dinu and Lele,

I haven't actually used wordaxe before. I had thought I had seen something
on the mailing list about ReportLab having better support for this
built-in, but I can't find anything obvious with Google. Dinu, did
ReportLab ever include your changes that you mentioned in this thread:
https://pairlist2.pair.net/pipermail/reportlab-users/2008-September/007283.html
?

If I had some samples of what it looks like before wordaxe is applied and
then after, I think I would understand it a bit better. I have a general
idea, but I prefer concrete examples. Then maybe I could put together a
tutorial around the subject. It is too bad that wordaxe looks like its been
dead for 8 years.

Here's a link to the book Dinu mentioned: https://leanpub.com/reportlab/  I
still have around 4 chapters left to write, but you can get what's
currently done if you're interested (plus free updates)

Mike

-----------------
Mike Driscoll

Blog:   http://blog.pythonlibrary.org
Books: Python 101 <https://gum.co/py101>, Python 201: Intermediate Python
<https://gum.co/py201>, wxPython Recipes
<https://www.apress.com/us/book/9781484232361>, Python Interviews
<https://www.packtpub.com/web-development/python-interviews>

On Sat, Apr 21, 2018 at 3:03 AM, Dinu Gherman <[email protected]>
wrote:

> Hyphenation has always been rather low on the priority list, given that
> average word lengths in English are pretty short compared to German or
> French, say.
>
> I've used Henning's wordaxe and its previous incarnations, but it's too
> long ago to give any useful advice now (also while still travelling back
> from vacation).
>
> In any case that topic would be one more cool "pro" thing to be covered in
> Mike's emerging book, if he's still looking for topics. ;-)
>
> Cheers,
>
> Dinu
>
> Lele Gaifax <[email protected]>:
> >
> > Hi all,
> >
> > is there a multi-language hyphenation solution for current ReportLab?
> >
> > I found the "wordaxe" package, but seems a little old and
> unmaintained... In
> > the current RL source there are just a few mentions to the capability,
> but I
> > fail to see how one could inject a language-specific hyphenator into the
> > Paragraph class.
> >
> > Thanks in advance for any hint,
> > ciao, lele.
> > --
> > nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
> > real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
> > [email protected]  |                 -- Fortunato Depero, 1929.
> >
> > _______________________________________________
> > reportlab-users mailing list
> > [email protected]
> > https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.