01-09-2020, 12:23 AM | #1 |
Member
Posts: 22
Karma: 10
Join Date: Mar 2018
Device: Kindle Voyage
|
"Invisible chapter title" but visible in TOC
Hello,
How to archive the automatic recognition of the chapter, but not show chapter title in the book? * With solution that is file format indepedent (azw3 \ epub) Example: - Copyright page with no visible title in HTML body - After auto-generating chapters (for example in Calibre > EPUB edit >Generate chapters from all headings) - The copyright page should be recognized Thanks a lot for suggestions! |
01-09-2020, 05:19 PM | #2 |
Running with scissors
Posts: 1,556
Karma: 14325282
Join Date: Nov 2019
Device: none
|
I'm not sure if I understand your question but try
Code:
<h2 class="nodisplay" title="Chapter title here">Chapter title here</h2> Code:
.nodisplay { display: none; } Last edited by hobnail; 01-09-2020 at 10:50 PM. |
Advert | |
|
01-09-2020, 05:20 PM | #3 |
Running with scissors
Posts: 1,556
Karma: 14325282
Join Date: Nov 2019
Device: none
|
If the above does what you want perhaps you could use an empty h2 tag
Code:
<h2 title="TOC stuff goes here" /> |
01-09-2020, 10:07 PM | #4 | |
A Hairy Wizard
Posts: 3,208
Karma: 19000001
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
Code:
<h2 style="display:none" title="TOC stuff goes here" /> or <h2 style="display:none" title="TOC stuff goes here"></h2> |
|
01-09-2020, 10:51 PM | #5 | |
Running with scissors
Posts: 1,556
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Quote:
|
|
Advert | |
|
01-10-2020, 01:18 AM | #6 |
Member
Posts: 22
Karma: 10
Join Date: Mar 2018
Device: Kindle Voyage
|
Either CSS solution either direct HTML solution works!
Thank you all, friend. |
Tags |
book, chapter, epub, toc |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use "short" instead of "full" title for title sort & renaming? | wolpi | Library Management | 2 | 08-04-2016 05:25 PM |
Making "invisible"characters visible? | Phssthpok | Editor | 4 | 02-11-2016 01:40 PM |
A warning for Linux users: slow "Add Books", "Unknown" title and Author | rolgiati | Library Management | 8 | 07-24-2013 04:36 PM |
Title page does not "translate" as TOC item | Caleñ0 | Sigil | 19 | 10-19-2012 11:42 AM |
Title page does not "translate" as TOC item | Caleñ0 | Conversion | 3 | 10-18-2012 08:11 PM |