[Booki-dev] [Booki and Objavi Development] #420: hyphenation

Luka Frelih luka at ljudmila.org
Fri Apr 22 08:03:36 PDT 2011


On 22. 04. 2011 16:31, adam wrote:
> i tried it and it didnt work...i saw the code in fmbook.py is still 
> there...is there already a switch in place?
>
> adam

no switch yet, the javascript include is there but not the settings and 
run part
that's in a branch "hyphens" of the git in douglas/objavi2.

easiest to test the hyphenator separately from objavi - for the hard 
hyphen idea.

LF

>
>
> On 04/22/2011 04:27 PM, Luka Frelih wrote:
>> On 22. 04. 2011 07:04, Booki and Objavi Development wrote:
>>> #420: hyphenation
>>> -------------------------+------------------------------------------------- 
>>>
>>>
>>> Reporter: adam | Owner:
>>> Type: enhancement | Status: new
>>> Priority: major | Milestone: booki the musical (feature
>>> Component: Objavi | requests)
>>> Keywords: | Resolution:
>>> -------------------------+------------------------------------------------- 
>>>
>>>
>>>
>>> Comment (by adam):
>>>
>>> Luka - do you think we should try a hard hyphen? We can replace it 
>>> with :
>>>
>>> <script src="Hyphenator.js" type="text/javascript"></script>
>>> <script type="text/javascript">
>>> Hyphenator.config({hyphenchar : '-'});
>>> Hyphenator.run();
>>> </script>
>>>
>>> https://code.google.com/p/hyphenator/wiki/en_PublicAPI#property_hyphenchar 
>>>
>>>
>>>
>> i fear that would insert hyphens in all legal positions, not just all
>> needed positions.
>> as i don't know really how the hyphenator works, might be wrong...
>> but my suspicion is it inserts the soft hyphens everywhere and the
>> browser then splits the lines appropriately.
>>
>> so we should try, but i'm not keeping my hopes up.
>>
>> LF
>> _______________________________________________
>> Booki-dev mailing list
>> Booki-dev at lists.flossmanuals.net
>> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
>




More information about the Booki-dev mailing list