Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2016, 10:30 PM   #1
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
Question Adding ligatures to AZW3

Hi

Is there a way to add ligatures to an AZW3 file after conversion (or during), when the source is an EPUB without ligatures ?

I'm stuck to Caliber 1.48.

Thanks.
Pyjam is offline   Reply With Quote
Old 05-20-2016, 10:35 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,053
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ligatures in azw3 are usually a feature fo the font, so all you have to do is embed an OpenType font that has ligatures. If you are referring to unicode ligatures (of which there are a few in the Unicode standard) you can use the search & replace function in the conversion to search for and replace for example:
ff by its ligature, ffl by its ligature and so on.

I'm not 100% certain if the required functionality is all in 1.48, but, I think it is.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-20-2016, 11:02 PM   #3
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
Thanks for you answer. I forgot to say that I've tried to replace ff with the unicode char ff, but after I close and reopen the file (in Calibre), the two 'f' are back.

It's a limitation of Calibre 1.48, I suppose. Isn't it?
Pyjam is offline   Reply With Quote
Old 05-20-2016, 11:05 PM   #4
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
Hum…

Maybe the problem lies in the first line of each file :
<?xml version='1.0' encoding='utf-8'?>

???
Pyjam is offline   Reply With Quote
Old 05-20-2016, 11:29 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,053
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont forget to enable Keep ligatures in the look & feel section of the conversion dialog.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-20-2016, 11:37 PM   #6
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
There were no ligatures in the entry file. I want to add them.

Anyway, I would like to have both ligatures and hyphenations in the AZW3 file. I suppose, it's incompatible without an advanced solution.
Pyjam is offline   Reply With Quote
Old 06-07-2016, 04:26 AM   #7
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
The solution is to convert from AZW3 to AZW3 with a list of substitutions in the find and replace panel : ffl to ffl, ffi to ffi, ff to ff, fl to fl, fi to fi

There are two limitations:
• st to st bugs Caliber
• Each time the AZW3 is opened in the editor, the ligatures are gone.
Pyjam is offline   Reply With Quote
Old 06-07-2016, 04:30 AM   #8
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
Isn't it a good feature for a plug-in ?
Pyjam is offline   Reply With Quote
Old 06-08-2016, 07:59 AM   #9
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
******

Last edited by Pyjam; 06-08-2016 at 06:57 PM.
Pyjam is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem adding metadata (.opf, .mobi, .azw3) mobilemax Library Management 3 04-27-2016 11:29 AM
List of ligatures JSWolf General Discussions 12 01-17-2013 11:20 PM
Odyssey Hyphenation and Ligatures? owly Bookeen 2 12-21-2011 02:49 PM
old english ligatures bobcdy Workshop 3 08-26-2011 05:18 PM
What's with ligatures. frabjous ePub 44 03-03-2010 08:02 PM


All times are GMT -4. The time now is 05:52 PM.


MobileRead.com is a privately owned, operated and funded community.