03-30-2015, 05:38 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Samsung Galaxy Note II
|
typographic apostrophe and sort
Hi,
I would like to use typographic apostrophe (the curly one) on Calibre instead of typewriter apostrophe, but Calibre can not handle to sort titles correctly for french ebooks. So I have changed on Preferences the parameter per_language_title_sort_articles like this for the french part: Code:
'fra': ('Le\\s+', 'La\\s+', "L'", 'L’', 'Les\\s+', 'Un\\s+', 'Une\\s+', 'Des\\s+', 'De\\s+La\\s+', 'De\\s+', "D'", 'D’') Code:
'fra': ('Le\\s+', 'La\\s+', "L'", 'L\xe2\x80\x99', 'Les\\s+', 'Un\\s+', 'Une\\s+', 'Des\\s+', 'De\\s+La\\s+', 'De\\s+', "D'", 'D\xe2\x80\x99') I can, of course, edit manualy title sort on metadatas form of the e-book, but the backgroud of the title sort field stays red. I also have the same problem for authors name and series too. I use Calibre 2.22 with french language on windows seven. Language of my e-books are tagged as french on their metadatas. Please, can anyone help me on sort feature and typographic apostrophe? |
03-30-2015, 10:56 PM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
In addition to changing the tweak you also have to set the book's language to french in the edit metadata screen.
|
Advert | |
|
03-31-2015, 01:52 AM | #3 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Samsung Galaxy Note II
|
Quote:
I also checked title_series_sorting parameter, but value is also set with library_order. Looks like I forgot to do something but I have no idea about Any suggestion about this issue? Thanks in advance! |
|
03-31-2015, 02:12 AM | #4 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use
u'L’' Note the leading u |
03-31-2015, 01:28 PM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Samsung Galaxy Note II
|
|
Advert | |
|
04-12-2015, 07:19 AM | #6 |
Member
Posts: 17
Karma: 10
Join Date: May 2011
Location: Paris, France
Device: Pocketbook pro 602 - Touch 622
|
Same problem, while using Calbre 2.24. Found this perfect answer: use u'L’'. After restart, it becomes u'L\u2019' and it works. Two questions:
Last edited by Gnolive; 04-12-2015 at 07:32 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with an apostrophe | mr ploppy | Writers' Corner | 27 | 02-17-2012 03:17 PM |
apostrophe's | deborahjeanne | Calibre | 4 | 09-08-2011 09:38 PM |
Typographic quotes broken after editing in Sigil | MacEachaidh | Sigil | 7 | 08-27-2010 09:33 AM |
0.5.14 apostrophe's missing... | Amalthia | Calibre | 24 | 08-11-2009 08:15 PM |
Suggestion: let's create typographic CSS | sic | Sony Reader | 2 | 08-20-2007 07:17 PM |