09-30-2010, 11:33 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2010
Device: Kindle 3
|
Structure Detection Ceased To Exist?
I have this infuriating title being left in my book. I opened up the "Remove Header" wizard, leaving the default regex. the title reads for example <A name=5></a>[Mass Effect 01] - Revelation <br>, and the default regex clearly covers titles of such a form. However, it is not highlighted by the wizard nor is it removed in the conversion. Interestingly enough, it has no trouble removing the footer which looks something like file://Karpyshyn,%20Drew%20-%20...Effect%2001]%20-%20Revelation%20(v2.0)%20.htm<br>.
|
10-01-2010, 12:04 AM | #2 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Are you sure your input format is set correctly? I run into this problem because sometimes while I mean to convert from pdf to epub, Calibre sometimes changes the input format automatically to epub when one exists from a previous conversion as that's one of my preferred formats.
The other bit is if it's not being highlighted it's probably because of the [] characters in your title. You need to escape those with backslashes \[ \]. That footer is hardcoded into preprocessing because it's pretty universal in the way it's formatted. |
Advert | |
|
10-01-2010, 12:29 AM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2010
Device: Kindle 3
|
Right... I forgot that code-specific characters needed to actually be pointed out so that it doesn't think it's part of the code. Though I was using the general name remover function and not specifically removing the title of my book... no matter. I manually removed them in Sigil anyway.
|
10-01-2010, 12:33 AM | #4 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
The default function rarely works by itself, it's just there as an example. You need to modify it to match your header.
Read here for a primer: https://www.mobileread.com/forums/showthread.php?t=99258 |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Structure Detection - Remove Header (or Footer) Regex | DarkKipper | Conversion | 69 | 11-09-2013 12:21 PM |
Trouble w structure detection | jeff47 | Calibre | 1 | 10-13-2010 12:51 AM |
epub - force a 2nd pass to improve structure detection ? | cybmole | Calibre | 10 | 10-08-2010 01:00 AM |
Structure detection v5.5 and v6.2 | AlexBell | Calibre | 2 | 07-29-2009 10:11 PM |
I've ceased all iLiad development | scotty1024 | iRex | 54 | 03-07-2007 11:08 AM |