Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-07-2010, 03:06 PM   #1
bpugliese
Enthusiast
bpugliese began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
Periods in authors' names

Hello there, I'm struggling with Calibre and Kindle trying to get the author name to display correctly.
The problem is that authors whose have periods in their name end up having their name partially hidden when i transfer the book to Kindle.

Let's take for example the author J. K. Rowling.
In my current calibre and Kindle configurations, the author_sort is Rowling, J. K. and author name should display J. K. Rowling. All works well while at Calibre, but after transfering the file to Kindle, the name I get for author is J Rowling
Get the picture?

I know it's a simple thing and I know I'm being stubborn (I could just remove the damn periods and be happy) but I was wondering if there is a way to make Kindle display them correctly, maybe with some tweaking on Calibre configs (and I feel dumb for not being able to make it work hahaha)
bpugliese is offline   Reply With Quote
Old 11-07-2010, 05:25 PM   #2
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
That's a Kindle problem, not a calibre one...
You could always just remove the dots from the authors name e.g. via plugboard, though I confess I have no idea how to do this for the general case. I'm thinking regular expressions, and I suspect Charles would tell me that it's impossible to do that way...
Manichean is offline   Reply With Quote
Advert
Old 11-08-2010, 06:38 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,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Manichean View Post
That's a Kindle problem, not a calibre one...
You could always just remove the dots from the authors name e.g. via plugboard, though I confess I have no idea how to do this for the general case. I'm thinking regular expressions, and I suspect Charles would tell me that it's impossible to do that way...
Unfortunately, he wants to dots to appear. The kindle is already quite handily removing them (the kindle seems to be very good at screwing up authors' names). But that aside, the plugboard template entry {authors:re(\.,)} removes all the dots.

@bpugliese: What happens if the name is 'Rowling, J.K.' (no spaces after the periods)? Does the kindle turn that into J.K Rowling? If that is preferable, then the plugboard template entry {authors:re(\. +,.)} will remove all spaces after periods.

You could always use Rowling, Jdot Kdot.
chaley is offline   Reply With Quote
Old 11-08-2010, 07:26 AM   #4
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by chaley View Post
Unfortunately, he wants to dots to appear. The kindle is already quite handily removing them (the kindle seems to be very good at screwing up authors' names). But that aside, the plugboard template entry {authors:re(\.,)} removes all the dots.
The search is unanchored, right? I was thinking along the lines of this being a similar case to the palindrome issue we discussed some time ago, because in the general case, you cannot know how many dots there are in an authors' name. Clearly, I was thinking too complicated- I thought about matching the non-dot parts as groups and using backreferences...
Manichean is offline   Reply With Quote
Old 11-08-2010, 08:06 AM   #5
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,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Manichean View Post
The search is unanchored, right?
Unanchored, and also global. Every occurrence found of the search pattern will be replaced.
Quote:
I was thinking along the lines of this being a similar case to the palindrome issue we discussed some time ago, because in the general case, you cannot know how many dots there are in an authors' name. Clearly, I was thinking too complicated- I thought about matching the non-dot parts as groups and using backreferences...
It is so easy to start down roads that lead to perdition. I do it frequently.
chaley is offline   Reply With Quote
Advert
Old 11-11-2010, 05:40 PM   #6
bpugliese
Enthusiast
bpugliese began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
Exclamation

Sorry for taking this long to answer the thread

Quote:
Originally Posted by chaley View Post
Unfortunately, he wants to dots to appear. The kindle is already quite handily removing them (the kindle seems to be very good at screwing up authors' names). But that aside, the plugboard template entry {authors:re(\.,)} removes all the dots.
Thanks, I'll use this solution, but I will keep looking for a better one

Quote:
Originally Posted by chaley View Post
@bpugliese: What happens if the name is 'Rowling, J.K.' (no spaces after the periods)? Does the kindle turn that into J.K Rowling? If that is preferable, then the plugboard template entry {authors:re(\. +,.)} will remove all spaces after periods.
It displays "J Rowling" the same result as if I put the spaces after the periods.

Quote:
Originally Posted by chaley View Post
You could always use Rowling, Jdot Kdot.
best idea so far ??



Anyway, thanks for your suggestions ^^

If you know anything else I could try, just let me know.
bpugliese is offline   Reply With Quote
Old 11-15-2010, 12:59 PM   #7
bpugliese
Enthusiast
bpugliese began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
@chaley:
I accidentally discovered something today. When I copy the books directly to kindle, without using calibre to "send" tehm to the device, everything (inlucind the dots) works fine. I'm guessing the problem is with my plugboards. If you could check and point a possible problem it would be great

any format > Kindle2

TEMPLATE: {author_sort:re(\, (.).*?( &|$),\, \1\2)}
DESTINATION FIELD: authors

TEMPLATE: {#stripped_series:lookup(.\s,#initials,.,#shortene d,series)}{series_index:0>2s| [|] }{title}
DESTINATION FIELD: title

TEMPLATE: {authors:re(\.,)}
DESTINATION FIELD: authors


* The first one is for making author sort by last name but display the author name normal

* The second is for Seriesorganization

* The third is the one you suggested for removing the periods from authors' name, which worked nice btw
bpugliese is offline   Reply With Quote
Old 11-18-2010, 12:04 AM   #8
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,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by bpugliese View Post
@chaley:
I accidentally discovered something today. When I copy the books directly to kindle, without using calibre to "send" tehm to the device, everything (inlucind the dots) works fine. I'm guessing the problem is with my plugboards. If you could check and point a possible problem it would be great
Could you tell me what isn't currently working? I am having trouble following the chain of posts through the changes.

Two notes: the first plugboard entry changes the authors' names from
Lastname, Firstname
to
Lastname FirstInitial

Is this what you want?

2) More importantly, you are assigning to the authors field twice. The second assignment will overwrite the first one. Because of this, the operation done by the first plugboard statement will be overwritten by the second.

Problem number 2 is arguably a bug. I will look at whether that behavior can safely be changed.
chaley is offline   Reply With Quote
Old 11-19-2010, 07:31 PM   #9
bpugliese
Enthusiast
bpugliese began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
The first 2 plugboards were taken from this thread:
https://www.mobileread.com/forums/sho...d.php?t=100949

1st one apparently "Show author name as Initial and Surname (Kindle)" (Kindle/Kobo Metadata 'section', last plugboard)

2nd one is about series in the title "Put series into the title, using either initials or a shortened form. Strip leading articles from the series name (any) (inspired by Gary_M_Mugford)" (General Metadata 'section')


The 3rd plugboard was suggested by you in this thread, as I said above.
I don't have the knowledge to argue with you what these plugboards were supposed to do, but they seem to work nicely, except for the 'dot problems' I mentioned in the first post. And using 2 plugboard to authors actually solved the problem, by removing the dots on authors' names.
I was kind of satified with this, but as I pointed out, I accidentally discovered that when I copied the files directly (in windows explorer) to kindle instead of using calibre 'send to device' the dots do work properly. The downside of doing this, is that I lose the plugboards features (auto-sorting the authors and including the series on title).

As I said, I'm pretty much convinced that the best solution is to keep the plugboards as they are right now, and let go of the dots, but I was just curious on what might be going wrong with the conversion while 'sending to device' through kindle, and thought someone could give some explanation by looking at the plugboards which I think are the actual cause of the problem (some syntax error, maybe?)

Anyway, don't overthink this, it's somehow insignificant issue, and you solved it by presenting the 'dot removal' plugboard.
Thanks for the attention given to this matter though
bpugliese is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random Restarts After Long Periods of Idleness? Acreo Aeneas Astak EZReader 7 02-22-2010 03:10 AM
How to file authors with language-dependent names? Jellby Workshop 6 01-24-2010 05:21 PM
"i stare at the computer for long periods of time" jeremy_ahn Writers' Corner 0 10-06-2009 04:25 AM
Short Fiction Authors, Various: Stories by Foreign Authors: Polish, Greek, Belgian. v1, 20 Feb 2008 nrapallo IMP Books (offline) 0 02-22-2008 12:45 AM
Short Fiction Authors, Various: Stories by Foreign Authors: Polish, Greek, Belgian. v1, 20 Feb 2008 Madam Broshkina BBeB/LRF Books (offline) 0 02-20-2008 08:40 PM


All times are GMT -4. The time now is 02:41 PM.


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