| 
			
			 | 
		#16 | |
| 
			
			
			
			 Age improves with wine. 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 596 
				Karma: 95229 
				Join Date: Nov 2014 
				
				
				
				Device: Kindle Oasis, Kobo Libra II 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 My solution does what I want, it's fully debugged, and I don't need any help with that. There is no need for you to be offended simply because I choose to do things a different way to you. Maybe you're OK with having authors listed under "Jr" and "II" and "(ed.), but I'm not.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#17 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295 
				Karma: 2534928 
				Join Date: Nov 2022 
				Location: Canada 
				
				
				Device: Kobo Aura 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 If I test your proposed solution: Code: 
	{author_sort:'re(list_re($, '&', '^([^,]*)(,(.*))?$', '\3 \1'),'&',', ')'}
Code: 
	⸲,  ) is the following:Code: 
	{author_sort:'re(re(list_re($, '&', '^([^,]*)(,(.*))?$', '\3 \1'), ',', '⸲'),'&',', ')'}
![]() Hope that helps more, and good luck!  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#18 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295 
				Karma: 2534928 
				Join Date: Nov 2022 
				Location: Canada 
				
				
				Device: Kobo Aura 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			PS: I also tested it on a book with an author like “Dr. First Last”. I believe Calibre has (some?) such titles built into its logic, so the author sort for this author was already set to “Last, First” without any intervention on my part and the template worked flawlessly. If you have an author like “Title First Last” and the author sort is not set correctly, you may run into issues. But of course I hope you expect to have “Garbage In, Garbage Out” if you know you're dealing with poorly-curated metadata.  
		
	
		
		
		
		
		
		
		
		
		
		
		
			![]() PPS: I've also tested with authors with author_sort values like “Fitzgerald, F. Scott”, “Fonseca, Josa da”, “Le Guin, Ursula K.”, “López-Alt, J. Kenji”, and mononyms like “Aesop”; basically all the “strangest” examples I could find in my tag browser, and it seems to work for any and all of them, and for combinations thereof.  
		Last edited by isarl; 02-21-2023 at 12:54 PM. Reason: adding more formats I've tested with  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#19 | |||
| 
			
			
			
			 Age improves with wine. 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 596 
				Karma: 95229 
				Join Date: Nov 2014 
				
				
				
				Device: Kindle Oasis, Kobo Libra II 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 Quote: 
	
  | 
|||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#20 | |
| 
			
			
			
			 Age improves with wine. 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 596 
				Karma: 95229 
				Join Date: Nov 2014 
				
				
				
				Device: Kindle Oasis, Kobo Libra II 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#21 | |
| 
			
			
			
			 Age improves with wine. 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 596 
				Karma: 95229 
				Join Date: Nov 2014 
				
				
				
				Device: Kindle Oasis, Kobo Libra II 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 The only thing I'm missing now is a way to go to "authors beginning with M" in the author list, and the search doesn't seem to help much for that. Oh well.  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#22 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295 
				Karma: 2534928 
				Join Date: Nov 2022 
				Location: Canada 
				
				
				Device: Kobo Aura 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ![]() For “authors beginning with M”, I'm not sure whether you're talking about in Calibre or on the Kobo. In Calibre, you can right-click Authors in the tag browser, and choose “Change sub-categorization scheme” to “By first letter”. (If you have enabled the tweak to show author names as Last, First in the tag browser, then this will use the first letter of their last name – otherwise, of their first name.) If you are talking about on the Kobo, then in My Books -> Authors, you can choose to sort by First Name, Last Name, and other options as well (mononyms conveniently sort properly regardless of whether you are using First Name or Last Name). If it's just an issue that the list of authors is long, I don't know that you can jump directly to a letter, but you should be able to manipulate the scrollbar directly and jump down e.g. halfway through rather than having to page through authors one page at a time. Not sure if either of these addresses your need. Another way to address it might be the Calibre search query: Code: 
	author_sort:="~^M" Code: 
	author_sort:="~^[M-Z] Last edited by isarl; 02-21-2023 at 04:41 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#23 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Years back, I seem to remember one person who created collections based on the first letter of the primary author's last name. So a collection called M would have any author with that last name in it.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#24 | |
| 
			
			
			
			 Groupie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178 
				Karma: 727278 
				Join Date: Dec 2022 
				Location: Not in an English speaking country 
				
				
				Device: (Too many) Kobo(s) 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Indeed, I remember correctly: https://www.mobileread.com/forums/sh...d.php?t=347056 https://www.mobileread.com/forums/sh...d.php?t=346321  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#25 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295 
				Karma: 2534928 
				Join Date: Nov 2022 
				Location: Canada 
				
				
				Device: Kobo Aura 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Code: 
	program:
  result = '';
  for a in 'author_sort' separator '&':
    result = list_join(', ', result, ',', substr(a, 0, 1), ',')
  rof
 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#26 | 
| 
			
			
			
			 Age improves with wine. 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 596 
				Karma: 95229 
				Join Date: Nov 2014 
				
				
				
				Device: Kindle Oasis, Kobo Libra II 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The Kobo -- I know how to do it on Calibre. But I have about 800 authors, and paging through them is a pain if I can't remember the exact name. I suppose I can look the name up on Calibre (if I'm next to my computer) and then use the Kobo search. Can't expect the Kobo to do everythng, I suppose (unlike Calibre, which already does do everything!).
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#27 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295 
				Karma: 2534928 
				Join Date: Nov 2022 
				Location: Canada 
				
				
				Device: Kobo Aura 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Plugboard usage for Kobo device: Authors | DrChiper | Library Management | 14 | 09-29-2022 12:12 PM | 
| Plugboard for series info for Kobo? | sweth | Devices | 2 | 04-27-2018 03:25 AM | 
| Metadata Plugboard Plugin and Kobo | darryl | Plugins | 14 | 04-25-2015 11:18 AM | 
| Kobo Aura Calibre plugboard question | Calibrefan | Kobo Reader | 5 | 07-06-2014 12:34 PM | 
| metadata plugboard not doing anything on kobo touch | SonjaD | Library Management | 2 | 07-13-2013 12:10 PM |