Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-07-2019, 08:13 AM   #1
Poldi
Enthusiast
Poldi began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Aug 2011
Device: kindle
Question Edit Author

Hello,
is there a recipe to change serveral names from
"lastname, firstname" to "firstname lastname" at once?
I went to "Optimierungen" (german version) and tried:
invert: 'ln, fn' -> 'fn ln'
but got a syntax error:
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\tweaks.py", line 535, in apply_tweak
File "<string>", line 4
author_sort_copy_method = invert: 'ln, fn' -> 'fn ln'
^
SyntaxError: invalid syntax
What to do?

Last edited by Poldi; 10-07-2019 at 09:06 AM.
Poldi is offline   Reply With Quote
Old 10-07-2019, 10:19 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: 35,303
Karma: 12711906
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The way to set it is:

Code:
author_sort_copy_method = 'invert'
kovidgoyal is offline   Reply With Quote
Old 10-08-2019, 07:01 AM   #3
Poldi
Enthusiast
Poldi began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Aug 2011
Device: kindle
Red face Nearly there

Quote:
Originally Posted by kovidgoyal View Post
The way to set it is:

Code:
author_sort_copy_method = 'invert'
Yes thank you, it works but unfortunately
"ln, fn" turns into "fn, ln" instead off "fn ln"
how to get rid of the comma?

But all this seems to be the wrong method because it only adjusts the sorting..

Now I found an other thread:

I imported a lot of books recently, and the Author field now contains a lot of entries that are LN, FN.

this is exactly my problem. I want it to be "FN LN". The sorting is ok.
And the author (theducks) recommended the quality check plugin. But I coudld not find it.
Ist there an other way?

Last edited by Poldi; 10-08-2019 at 08:25 AM.
Poldi is offline   Reply With Quote
Old 10-08-2019, 11:38 AM   #4
Horus68
Enthusiast
Horus68 doesn't litterHorus68 doesn't litter
 
Horus68's Avatar
 
Posts: 45
Karma: 110
Join Date: Feb 2015
Location: Portugal
Device: Kobo Aura HD
For the Quality check plugin:
Preferences -> Plugins -> Get new plugins /
now "Filter list" for not installed / and search for "Quality check"

Install!

Note: Plugin page https://www.mobileread.com/forums/sh...d.php?t=125428
Horus68 is offline   Reply With Quote
Old 10-09-2019, 01:24 PM   #5
Poldi
Enthusiast
Poldi began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Aug 2011
Device: kindle
Got it.
Thank you
Poldi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bulk edit of Author Field istuart Library Management 4 10-12-2019 07:05 AM
Edit Author names in Calibre Vauh Library Management 1 02-25-2014 05:27 PM
Author, Edit Metadata, messed up. markdek Calibre 22 05-09-2011 12:26 PM
Author Edit 7s7 Library Management 5 01-23-2011 08:04 AM
Cannot edit author or file name on HanlinV5 booknut Calibre 1 03-28-2010 11:42 AM


All times are GMT -4. The time now is 10:16 PM.


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