02-01-2019, 03:46 PM | #1 |
Junior Member
Posts: 8
Karma: 53566
Join Date: Mar 2017
Device: Kindle Touch
|
Pen names
Help! I can't see a good way to record authors who use pen names.
(I can't find any forum that addresses this problem. If there is a relevant forum, please point me in that direction) Example: The author's full name is Margaret Astrid Lindholm Ogden She writes under four different pen names, of which I have ebooks she has written under the pen names Megan Lindholm and Robin Hobb. When I look up her data on the Internet Speculative Fiction database (www.isfdb.org), they list all books by the author, and separately list all books written using each pen name. Can anyone suggest the best way to achieve similar functionality from Calibre? (I can't misuse the Series field, as she has written series using both pennames) --- FYI Similar to the pen name, is the house name (or house pseudonym) where a publisher gets several different authors to write stories (usually in a series) using the same pen name. Since these, IMHO, tend to be hack writing, I doubt if I own many of them, so I don't see this as so much of a problem. |
02-01-2019, 04:21 PM | #2 |
Wizard
Posts: 3,982
Karma: 38840460
Join Date: Sep 2012
Location: Minneapolis
Device: PWSE, Voyage, K3, HDX, KBasic 7 & 8, Nook Glo3, Echos, Nanos
|
In Calibre, if it is important to me, I list both the pen name and the author's name. For instance, Barbara Vine and Ruth Rendell are the same person. So all the Barbara Vine books are ALSO listed with Ruth Rendell as author. Nora Roberts also writes with the pen name J D Robb, but since I only read the J D Robb series with Eve Dallas, I just list it as J D Robb. Use an ampersand "&" to create folders for both author and pen name.
There was some brief discussion of this some years ago (search 'aliases'). That's where I found out how to use the ampersand. Last edited by Tarana; 02-01-2019 at 04:32 PM. |
Advert | |
|
02-01-2019, 04:37 PM | #3 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
https://www.mobileread.com/forums/sh...d.php?t=269911 Job Spy has a Pseudonym/Real Author tool that can be run individually or automatically as part of the JS Quality Fix tools. See JS Customizing.
If you want to add notes and links to a Pseudonymous Author custom column, and/or add notes and links to Authors and associate them with the Pseudonymous Authors, you can do so with Entities Manager at https://www.mobileread.com/forums/sh...d.php?t=313935 DaltonST Last edited by DaltonST; 02-02-2019 at 09:50 AM. Reason: fixed typo |
02-01-2019, 05:20 PM | #4 |
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Cynosarges - I create a note in Evernote for the authors real name -- e.g. Margaret Astrid Lindholm Ogden -- and paste the link for that note into the Author Link field in Manage Authors for the pen names -- Megan Lindholm, Robin Hobb, etc, etc.
When I click on an Author name in Book Details that has an Evernote link in the Link field, Evernote will start if its not running and open up that note. In Evernote I can store whatever info I want for the Author - including links back to calibre via calibre-server urls. Added: I create Evernote notes for Authors because calibre has no natural place to store author information, using it as I do for pen-names is a fortuitous by-product. BR Last edited by BetterRed; 02-01-2019 at 05:30 PM. |
02-01-2019, 05:21 PM | #5 |
Well trained by Cats
Posts: 29,816
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I made a custom (like Authors) column for pseudonyms
But I late expanded its usage for when there were a big list of authors (collections...), and replaced the entry in the standard {authors} with either editors_name (ed) or <various> Dont forget to create a search linkage in preferences: Searching |
Advert | |
|
02-01-2019, 05:51 PM | #6 |
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Another way to deal with pen-names might be to put them into a User Category, there's a template function to access UCs. You probably wouldn't want to use UCs for anything but pen-names. You can search on UCs and they appear in the tag browser.
BR |
06-24-2019, 08:33 PM | #7 | |
Wizard
Posts: 1,092
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
Quote:
Anyway, to help anyone who is interested in the same solution I attached a picture with an example below for author Nora Roberts who uses two pen names: Nora Roberts and J.D. Robb. You just need to put the appropriate alias in the author field of each book (No need to use multiple aliases per book). After that I created a user category called alias. Under the alias user category, I created sub-category called NoraRoberts to which I added all the pen names (Nora Roberts and J.D Robb). Now whenever I click on the sub-category alias.NoraRoberts it returns all the books created by the author no matter what alias was used. If you prefer using the search box, just type "@alias.NoraRoberts:true" in the search box and it will return the same result. You can proceed to do the same steps for other authors. |
|
06-25-2019, 12:16 AM | #8 | |
Grand Sorcerer
Posts: 6,235
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
06-25-2019, 05:48 AM | #9 | |
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I got the idea of using UCs for pseudonyms/pen-names when I was looking at the UC template function in a different context, so it was the trigger for my tentative idea. Glad it worked for you. @Terisa - I'm surprised you didn't think of yourself BR |
|
06-25-2019, 09:02 AM | #10 |
Grand Sorcerer
Posts: 6,235
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I'm a creature of habit, and unless I have a pressuring need (and pen names isn't, only a cosmetic feature), I don't explore for getting more info. And user categories always have looked very complicated to me (if we are talking about series info and python function, you would be surprised about all the info I have in calibre )
|
06-19-2023, 05:58 AM | #11 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2023
Device: kindle
|
Please: Need Help to modify
Quote:
Since I don't always know the alias name, I first have to search the author name for it in the keyword browser. I would now like to see the alias name displayed as a clickable link instead of yes/no. (as above in the search bar) Another point is also the case when a book has multiple authors. An alias search link should then appear for each author. If there is no alias, then nothing. Is something like this possible and if so, how? Sorry for my bad English (Google) and thanks in advance for an answer. P.S.: I've read the forum a lot but couldn't find it and I'm not a programmer. |
|
06-19-2023, 10:50 AM | #12 |
Well trained by Cats
Posts: 29,816
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You also need to make entries in:
Preferences: Searching (2 places) FWIW I move All the Authors there (when more than 3) and set The regular column with either the Books 'edited by': Joe Smith (ed) or <Various> This was my way if keeping filenames short for my original reader that used them for selection. The column originally started out for a place to put the Authors Real name when the cover had a Pen Name (or the book was later released with the real name, so I put the other one there) . Last edited by theducks; 06-19-2023 at 10:51 AM. Reason: imageses were lost |
06-20-2023, 06:41 AM | #13 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2023
Device: kindle
|
I read your info and tried it right away, unfortunately it doesn't work for me.
I probably created the custom column wrong, use the capink variant with a yes/no query. Will test some more, but I think your statement is not exactly what I'm looking for. Nonetheless, thank you for your quick reply. |
06-20-2023, 09:28 AM | #14 |
Well trained by Cats
Posts: 29,816
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The other column is an like 'Authors' type.
Penname is the 'collective' of {authors} and {#psudo4} ALL of those also appear in the Tag Browser |
06-20-2023, 01:58 PM | #15 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Although I don't use pen names, for fun I looked at how I would solve the problem for myself.
I started with @capink's idea to use a 3-level Aliases user category: Aliases.real_name.pen_names. I then wanted to add links to book details for:
I added two composite columns: Real names and Pen names. The Real Names column is a "Column built from other columns, behaves like tags." The Pen names column is a "Column built from other columns, show as HTML." This screen capture shows the result. The comma in the names in the Real names column looks a bit weird because commas cannot in in values in tags-like composite columns. I used a quill image for the column icon. Clicking a "Real name" link will select all books by that author, including pen names. Clicking a "Pen name" link will select only books with that pen name as an author. The pen names column is implemented using calibre search URLs. Here are the column definitions and templates. The templates need a bit more work for performance. Real names: Code:
python: def evaluate(book, context): from collections import defaultdict from calibre.utils.icu import sort_key alias_category = 'Aliases.' alias_len = len(alias_category) fake_comma = '⸴' db = context.db.new_api aliases = defaultdict(list) # Parse the user categories, getting the real names. Build an inverted dict # pen_name: list(real_names). Why a list? Because a pen name can be used by # more than one real author. for real_name,pen_names in {cat[alias_len:]:vals for cat,vals in db.pref('user_categories').items() if cat.startswith(alias_category)}.items(): for pn in pen_names: aliases[pn[0]].append(real_name) # For each author (pen name) for this book, get the real author(s) ans = set() for aut in book.authors: if aut in aliases: for real_name in aliases[aut]: # Replace commas with a fake comma because commas are used # by calibre to separate values ans.add(real_name.replace(',', fake_comma) ) return ', '.join(sorted(ans, key=sort_key)) Code:
python: def evaluate(book, context): from collections import defaultdict from calibre.utils.icu import sort_key alias_category = 'Aliases.' link_break = '<br/>' db = context.db.new_api # Build a set of other pen names for each author that is a pen name. # This loop only processes categories prefixed with alias_category all_pen_names = defaultdict(set) for pen_names in [[v[0] for v in vals] for cat,vals in db.pref('user_categories').items() if cat.startswith(alias_category)]: for pn in pen_names: all_pen_names[pn].update(pen_names) # Build the set of all pen names for all the authors of this book. Use a set # to remove duplicates. auts = set() for p in book.authors: if p in all_pen_names: auts.update(all_pen_names[p]) # Now build the list of calibre search link URLs , one for each pen name. ans = list() for p in sorted(auts, key=sort_key): # Replace any spaces with non-breaking spaces to prevent a name from # wrapping over two lines. ans.append(f'''<a href="calibre://search/_?eq=''' f'''{('authors:"='+p + '"').encode().hex()}">''' f'''{p.replace(' ', ' ')}</a>''') # Combine all the URLS into a single string with the URLS separated by link_break. return link_break.join(ans)
EDIT 2: added links to @capink's post describing the user category setup. Last edited by chaley; 06-21-2023 at 03:34 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
automatic changing christian names and family names | sjefclaassen | Calibre | 3 | 09-29-2017 06:59 AM |
M96 big pen eraser not working (big pen option checked) | booker07 | Onyx Boox | 2 | 05-25-2017 05:35 PM |
Accessories Found a functional replacement pen that fits the PE pen-sliot | STL Droid | enTourage Archive | 2 | 05-11-2011 06:41 AM |
Pen Names? | St Valamir | Writers' Corner | 9 | 05-06-2011 11:11 PM |
Other pen | t-town | enTourage eDGe | 4 | 09-10-2010 02:20 PM |