![]() |
#1 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2009
Device: Stanza
|
Remove File Name in front of Chapters
Hi, I used Stanza a while back to create a ton of ePub files. The problem is it put's the title of the book in front of each chapter and it gets to be kind of a pain. I looked at the source code in Sigil and it appears it is putting it at <h1> and then the chapter name at <h2>. Is there any way to use the Remove Header or Remove Footer expressions to delete anything in a file that starts at <h1>. Please see below what the code looks like. I just want to have it remove the line entirely.
<div> <h1>Test File</h1> </div> <div> <h2>CHAPTER THREE</h2> Thanks in advance for your help! |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just stick
h1, h2 { display: none } in extra css |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2009
Device: Stanza
|
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2009
Device: Stanza
|
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It will still be there in the html, it just wont be rendered in the epub viewer.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2009
Device: Stanza
|
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2009
Device: Stanza
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
adjusting toc.ncx file to restore missing chapters viewed in Adobe Digital Editions | cyberbaffled | ePub | 5 | 12-06-2009 09:44 PM |
How can I remove spaces from folder and file names? | jusmee | Calibre | 1 | 11-06-2009 10:36 PM |
Remove pre-conversion file? | JDThird | Calibre | 4 | 07-25-2009 03:59 PM |
Remove first image in file during conversion? | itimpi | Calibre | 3 | 02-08-2009 12:57 AM |
Remove file path from PDF file | DuckDodgers | 1 | 08-13-2006 09:23 AM |