View Single Post
Old 06-11-2025, 08:46 PM   #13
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,229
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Rellwood View Post
...
Goal - somehow show the reading order of a "series universe". This makes it easier for me to know which is next rather than keeping a paper copy of the series or going online and hunting for the order. Having a small catalog with just those few books (around 30 books) will be easier. Just open the catalog, locate the series Universe section - which book is next?
I did hacked calibre catalog to allow me to customize it my way. Those are the changes I remember making:

- Let me to use a custom cover: 'config_dir\resources\catalog\CatalogCover.jpg';
- Embed the 'config_dir\resources\catalog\calibreSymbols.otf' font so I can use half stars in my custom rating column;
- Let me to use any custom column in 'template.xhtml' and 'stylesheet.css';
- Use 'title' and 'author' instead of 'title_sort' and 'author_sort' (I might seem weird to most people, but that's how I like it)
- Colorized (green/red) bool symbols;
- Change 'Titles/Authors/Series beginning with %s' to just '%s' in the index;

Now, on top of that, I made a [VERY] dirty and quick fix so you can you use a '#series' custom column instead of the regular 'series' column. I don't have the time now to undo my other changes, but this might help you with your problem. The name '#series' and '#series_index' is hardcoded, but you can just search and replace with your actual custom column name.

To use it, you must run calibre from source and replace the existing files with the ones supplied. This is the folder where the files will be in the source code: \calibre\src\calibre\library\catalogs.

Remember to keep a copy of the files, since any update to your calibre source code (from github) will discard the changes, and you will have to patch it again. Luckly in this case, the Catalog is not currently mantained by anyone, so it rarely changes.

I hope this helps.
Attached Files
File Type: py epub_mobi_builder.py (181.0 KB, 14 views)
File Type: py epub_mobi.py (25.3 KB, 12 views)

Last edited by thiago.eec; 06-11-2025 at 08:49 PM.
thiago.eec is offline   Reply With Quote