View Single Post
Old 09-27-2024, 10:38 AM   #9984
Clem2605
Connoisseur
Clem2605 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
Quote:
Originally Posted by culytera View Post
Hey that looks familiar

If it's about the chapter title page for TOC, does your chapter_start look like this?

Code:
chapter_start:<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>${chapter}</title>
 <link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
 <meta name="chapterurl" content="${url}"></meta>
 <meta name="chapterorigtitle" content="${origchapter}"></meta>
 <meta name="chaptertoctitle" content="${tocchapter}"></meta>
 <meta name="chaptertitle" content="${chapter}"></meta>
 </head>
 <body class="fff_chapter">
 <h3 class="fff_chapter_title">${origchapter}<hr><small>${date}</small></h3>
I didn't reset the chapter start, the only only toc-related changes I make, that I can think about, are my chapter_title_strip/add/addnew code:

Code:
strip_chapter_numbers:true
add_chapter_numbers:true
chapter_title_strip_pattern:^([0-9]+[\.: -]+)?(Chapter *[0-9]+[\.:, -]*)?
chapter_title_add_pattern:Chapter ${number}${title:|: |}
chapter_title_addnew_pattern:Chapter ${number}${title:|: |} | New <3
mark_new_chapters:true
And I modify it in the AO3 section with:
Code:
chapter_title_add_pattern:Chapter ${number}${title:|: |} ◈ ${date}
chapter_title_addnew_pattern:Chapter ${number}${title:|: |} ◈ ${date} | New <3
Otherwise, there is my 'titlepage_start' code, but I didn't modify the <head> part of the HTML, so nothing that should impact the toc.
Clem2605 is offline   Reply With Quote