View Single Post
Old 07-15-2023, 06:20 PM   #8650
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,039
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-07-15
- Add anthology_merge_keepsingletocs option, requires new EpubMerge.

This goes with the change in the previous test version:
- Apply mark_new_chapters to new story chapters in Anthologies. #977

In short, Chirishman pointed out that the default EpubMerge/anthology anthology behavior of skipping TOC sub-entries for stories with only one chapter could conceal the '(new)' chapter markings.

Since that code was actually in EpubMerge, you need this new EpubMerge test version to use anthology_merge_keepsingletocs.

Discussion:
https://github.com/JimmXinu/EpubMerge/pull/10
https://github.com/JimmXinu/FanFicFare/issues/977

From defaults.ini:
Spoiler:
Code:
## (Plugin Only) - When mark_new_chapters:true, new stories added to
## an existing anthology will have *all* chapters marked (new).  If
## set to latestonly, existing (new) marks will only be removed when
## that particular story within the anthology is updated--either
## because it has new chapter(s) or you are using Update Always.
##
## By default, EpubMerge only creates one TOC entry for a story that
## has only one chapter (not counting titlepage and logpage).  Because
## that TOC entry is the story title, the *chapter* title doesn't
## appear in the anthology TOC.  Setting
## anthology_merge_keepsingletocs:true will keep the full TOC for all
## anthology stories, even when only one chapter.  Helpful to see
## (new) marks in TOC when mark_new_chapters:true
#anthology_merge_keepsingletocs:false
JimmXinu is offline   Reply With Quote