Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-21-2017, 06:15 AM   #1
msimeon
Junior Member
msimeon began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2015
Device: Kobo Aura HD
Smile Hierarchical grouping

When I group books by author and then display the list of books for a given author, I can sort the list say by series. I would be nice to be able to display two levels of grouping, as a tree:
Authors
Author A
Series 1
Series 2
and then be able to display only the books in a given series

I am new to Calibre Companion, so it might be already possible (how ???) but if not please add it to the wish list
msimeon is offline   Reply With Quote
Old 08-21-2017, 06:56 AM   #2
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
Quote:
Originally Posted by msimeon View Post
When I group books by author and then display the list of books for a given author, I can sort the list say by series. I would be nice to be able to display two levels of grouping, as a tree:
Authors
Author A
Series 1
Series 2
You can sort series within author in two ways.
  1. First sort by series, then sort by author. The result will be series within author.
  2. Set up one of the two user defined sorts (CC's Settings / Sorting) to do it. The major sort would be authors. The second sort would be series.

As for "be nice to be able to display two levels of grouping, as a tree": I think you are asking for a hierarchical display on the book list. That isn't going to happen.

However: you can get a hierarchical list in the grouping drawer that does much of what you are asking for. You do this by making a custom column in calibre containing the data you want (author.series) then displaying data from that column in CC's grouping drawer. The process is:
  1. In calibre, create a custom column built from other columns. For this example I will use the lookup name #auth_series.
  2. Set the template for #auth_series to be something like
    Code:
    {authors:'re(sublist($, 0, 1, '&'), '\.', ';')'} - {series}
    The Template Program Mode template for authors fetches the first author then changes any periods in the author's name to semicolons so that CC can correctly use it as a hierarchical group (see below). You can remove the 'first author' part if none of your series have multiple authors. You can make a template to generate a group per author of a series, but that template is *much* more complicated.
  3. Connect as a wireless device so that CC is told about #auth_series. Let CC fetch the new metadata (column). Disconnect.
  4. In CC's settings (Grouping drawer / Groups/sort on custom columns), add #auth_series to the grouping drawer.
  5. In CC's settings (Grouping drawer / Hierarchical groups) add #auth_series as a hierarchical group.
  6. (Optional) Tell CC to sort the book list by Author/Series (as discussed above) whenever the #auth_series group is selected. You do this by setting up a user defined sort as described above, then going to CC's Settings / Automatic sorting when grouping / Sort when tapping a group. Set the sort for #auth_series to be the correct user defined sort (#1 or #2).
You will now see #auth_series in the grouping drawer, displayed as a tree of authors/series. After tapping on #auth_series, if you tap on an author then you will see all books by that author. If you tap on a series hierarchically below that author then you will see all books in that series written by that author. If you open book details for one of those books and tap the series then you will see all books in that series regardless of author.
Quote:
and then be able to display only the books in a given series
It isn't clear what exactly you are asking for here. I might have already answered it above.

Alternatively, if you mean "Limit CC to display only books from a series" then you can do that by long-pressing on a series in the grouping drawer.
chaley is offline   Reply With Quote
Advert
Old 08-21-2017, 08:45 AM   #3
msimeon
Junior Member
msimeon began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2015
Device: Kobo Aura HD
Smile Thank you

Thank you for the very quick response.
Most useful
Best regards
msimeon is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about hierarchical columns... dkplayaclub Library Management 14 06-27-2016 04:31 PM
Touch Is hierarchical table of contents possible? Mekk Kobo Reader 7 11-11-2015 02:48 AM
PRS-T1 Hierarchical Collection? silentguy Sony Reader Dev Corner 10 07-23-2012 02:03 AM
Hierarchical organization by subject daveed Library Management 2 05-07-2011 07:40 AM
Xpath hierarchical structure mtravellerh Calibre 4 01-03-2009 02:40 PM


All times are GMT -4. The time now is 10:33 AM.


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