View Single Post
Old 07-26-2023, 11:49 PM   #63
culytera
Zealot
culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.
 
Posts: 125
Karma: 295674
Join Date: Jul 2021
Device: iPhone
Quote:
Originally Posted by w4tchdoge View Post
Hi there. I really like what you've done with the Generate Covers plugin, but I can't seem to replicate the way you've formatted the title page—with only some text being left justified and there being a gap between the title and the rest of it. Would you be willing to share how you've configured the plugin?
It's probably because I made the cover size huge so it looks like there's a lot of gaps. I haven't used Generate Cover for a while so I may have forgotten some workarounds I did to fit the text I wanted.

- Fonts tab: Author and Custom Text are right-aligned
- Dimensions tab: adjust cover size and margins as needed
- Contents tab: note the order of the fields, the hidden Image field pushes the Author and Custom Text down.

I updated my code in personal.ini to get the first entry in category and ship so I don't have to use sublist() in Custom Text. You can ignore that part of the code if you want to see all ships and categories though that would likely ruin the format if there are too many entries.

personal.ini code to get only the first entry in ships and category:
Code:
add_to_extra_valid_entries:,main_ship,main_category
include_in_main_ship:ships
include_in_main_category:category

replace_metadata:
 main_category_LIST=>^(.*?)(\,.*)=>\1
 main_ship_LIST=>^(.*?\/.*?)(\,.*)=>\1

add_to_custom_columns_settings:
 main_ship=>#main_ship
 main_category=>#main_category
Custom Text code:
Note the horizontal line which is different from underscore _, you can put anything you want there
Code:
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯​
{#main_category}
{#main_ship}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯​
{#ao3_rating} • {#ao3_words} • {#ao3_chapters}
{#ao3_date}​
Series text:
Code:
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯​<br>{series}<br>❖ Book {series_index} ❖<br>⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯​
Quote:
Originally Posted by w4tchdoge View Post
I also really like how you have categories based on word count in your tag browser, what template did you use in making that column built from other columns?
I have 2 Word Count columns, one is taking directly from the fic's metadata, the other is a column built from other columns (the ao3_words column) and behaves like tags.

- Calibre's custom columns settings
- FanficFare's custom columns settings.

I then use template functions to put info into the word count group column.

getWordCountGroup:
Code:
program:
	switch_if(
		$$#ao3_words <# '5000',  'Less than 5000',
		$$#ao3_words <# '10000', 'Less than 10000',
		$$#ao3_words <# '20000', 'Less than 20000',
		$$#ao3_words <# '40000', 'Less than 40000',
		$$#ao3_words <# '80000', 'Less than 80000',
		'Over 80000' 
	)
culytera is offline   Reply With Quote