Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 06-08-2014, 04:32 AM   #1
maleficmax
3d reader
maleficmax began at the beginning.
 
maleficmax's Avatar
 
Posts: 2
Karma: 10
Join Date: Jun 2014
Location: Ukraine, Kremenchuk
Device: Nook Simple Touch
Unhappy Wrong sorting of cyrillic names

Hi!
My library is mostly Cyrillic and Calibre almost fails sorting it properly. Here is an example screenshot:
Spoiler:

The names are already in chaotic order

This is Cyrillic alphabet:
А Б В Г Д Е Ё Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я

Even rows, which begin with "A" can be separated by another letter.

Last edited by maleficmax; 06-08-2014 at 04:37 AM. Reason: adding info
maleficmax is offline   Reply With Quote
Old 06-08-2014, 07:05 AM   #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: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sorting of books by titles is done via the title sort field, which you can access by clicking the edit metadata button.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-08-2014, 11:34 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Macs have a broken implementation on ICU, the library that calibre uses to do international sorting and first letter identification. If you are using a Mac there isn't anything we can do until apple updates their software.
chaley is offline   Reply With Quote
Old 06-08-2014, 12:01 PM   #4
maleficmax
3d reader
maleficmax began at the beginning.
 
maleficmax's Avatar
 
Posts: 2
Karma: 10
Join Date: Jun 2014
Location: Ukraine, Kremenchuk
Device: Nook Simple Touch
Quote:
Originally Posted by kovidgoyal View Post
Sorting of books by titles is done via the title sort field, which you can access by clicking the edit metadata button.
Emm, sorting by titles works well (surprisingly), but sorting by the author is not.
Quote:
If you are using a Mac
No, i do not. I am using Linux.

------
Oh my God, i've just understood the problem!
Calibre sorts by the author's second name (surname? the last word in the name string), but in the list it shows the first name first!

Is it possible to change the output order in the list?

Spoiler:

Last edited by maleficmax; 06-08-2014 at 12:13 PM.
maleficmax is offline   Reply With Quote
Old 06-08-2014, 01:10 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
If you right-click on any author in the Book Details pane, there is an option to "Manage %s" -- use that to go to Manage Authors, and one of the tools there lets you "Recalculate all author sort values".

All "author" values of "FN LN" should be copied over as "LN, FN" to "author_sort".

I don't know if there are different rules for calibre calculating the sort value on non-English words, but this works great for English books where the metadata is imported wrongly (stupid publishers/vendors use FN LN for both author and author_sort).
eschwartz is offline   Reply With Quote
Advert
Old 06-08-2014, 01:21 PM   #6
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by maleficmax View Post
Oh my God, i've just understood the problem!
Calibre sorts by the author's second name (surname? the last word in the name string), but in the list it shows the first name first!

Is it possible to change the output order in the list?
Calibre is sorting by the author_sort field which is the default.

Under Preferences->Advanced->tweaks you can tweak the rule for deriving author_sort from author. The default rule assumes that author is stored as firstname lastname, and author-sort is derived as lastname, firstname.

Last edited by itimpi; 06-08-2014 at 02:00 PM.
itimpi is offline   Reply With Quote
Old 06-08-2014, 01:33 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,813
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
There are 2 tweaks (Preferences:tweaks) that may also affect sorting

Language to use when sorting. the default is use the system laocale

Author sort copy method.
You may need to create a set of entries specific to your Locale as the ones supplied are English

Per_language_sort_articles


Enter the word 'sort' in tweaks search box and review all topics that shows. You may see something we missed
theducks is online now   Reply With Quote
Old 06-09-2014, 01:41 PM   #8
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Be aware that you cannot get calibre to use author_sort = LN, FN to display author names in LN, FN order within the book display area. While it will sort the names correctly, it will not swap the order in which the names are displayed.

So...
authors=Abe Johnson
author_sort=Johnson, Abe

What is displayed?
Abe Johnson

Where is it placed within the sort?
Under J

How do you get calibre to display Johnson, Abe?
You don't. Unless you're willing to create a custom column, with custom programming, which computes the necessary changes and displays the list accordingly. But as I understand things you're going to take a pretty big hit in response time in order to do so (with CPU speed & memory capacity, along with number of books in the database, being the main bottlenecks).
Sabardeyn is offline   Reply With Quote
Old 06-09-2014, 02:01 PM   #9
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
You can always set author to be identical to author_sort if that is what you want and set them both up in lastname, firstname format.

The big problem it is not the default used by most of the metadata sources which makes using author in last name, first name format inconvenient.
itimpi is offline   Reply With Quote
Old 06-09-2014, 03:24 PM   #10
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Itimpi,
Wasn't there something else your suggestion alters in how calibre functions? Sorry, this is vaguely familiar to me and I recall that there was some change that I found unacceptable - but I can't remember what the change was. Calibre's internal file structure, maybe?
Sabardeyn is offline   Reply With Quote
Reply

Tags
cyrillic, sorting


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong author sorting order Gnolive PocketBook 3 11-15-2013 04:32 PM
Wrong sorting of titles DigiCam1 Library Management 6 01-24-2013 01:26 PM
Sorting 'unusual' names travger Library Management 4 07-08-2011 08:30 AM
Sorting names with polish character - bug SnakeMM Calibre 5 02-27-2010 11:49 AM
PDF with the wrong names TeddieS PDF 4 05-17-2009 03:57 PM


All times are GMT -4. The time now is 09:05 AM.


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