View Single Post
Old 09-06-2022, 06:15 PM   #7508
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
From defaults.ini; checkout out the second example chapter_title_strip_pattern setting:
Do I need to use anything else with that second example because on it's own it doesn't seem to do anything. There are still numbers listed before "Chapter."

EDITED: Figured it out. I needed this block of code for everything to work.
Code:
strip_chapter_numbers:true
add_chapter_numbers:true
chapter_title_add_pattern: Chapter ${number}. ${title}
chapter_title_strip_pattern:^([0-9]+[\.: -]+)?(Chapter *[0-9]+[\.:, -]*)?
Thanks for the quick response.
Amalthia

Last edited by Amalthia; 09-06-2022 at 06:36 PM. Reason: Solved the question
Amalthia is offline   Reply With Quote