View Single Post
Old 01-16-2025, 09:51 AM   #10199
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,065
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Question: I put that pattern in my defaults:

Code:
[defaults]

strip_chapter_numbers:true
chapter_title_strip_pattern:^(Chapter *[0-9]+[\.:, -]*)?
however does not seem to be applying to my fics. (Tested with a 1. Chapter 1). I tested with storyurl and just strip_chapter_numbers it worked. What happens?
I would try the second example from defaults.ini:
Code:
## This version remove leading numbers and 'Chapter 1':
## "Chapter 1" => ""
## "1. Chapter 1" => ""
## "1. Chapter 1, Bob's First Clue" => "Bob's First Clue"
## "Chapter 2 - Pirates Place" => "Pirates Place"
## etc
## Note that your ToC entry(ies) may be empty if the
## chapter_title_strip_pattern removes everything and you don't have
## add_chapter_numbers:true.
chapter_title_strip_pattern:^([0-9]+[\.: -]+)?(Chapter *[0-9]+[\.:, -]*)?
You might also check whether you have add_chapter_numbers:true set, because that would also result in leading numbers.

Quote:
Originally Posted by ownedbycats View Post
(sorry for bad typing, I had small stroke a few weeks ago)
Sorry to hear that. I wish you a speedy recovery.
JimmXinu is online now   Reply With Quote