Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2010, 12:33 AM   #1
radiofred
Junior Member
radiofred began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 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>.
radiofred is offline   Reply With Quote
Old 10-01-2010, 01:04 AM   #2
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
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.
ldolse is offline   Reply With Quote
 
Advertisement
Old 10-01-2010, 01:29 AM   #3
radiofred
Junior Member
radiofred began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Quote:
Originally Posted by ldolse View Post
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 \[ \]
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.
radiofred is offline   Reply With Quote
Old 10-01-2010, 01:33 AM   #4
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
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:
http://www.mobileread.com/forums/showthread.php?t=99258
ldolse is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Structure Detection - Remove Header (or Footer) Regex DarkKipper Conversion 69 11-09-2013 01:21 PM
Trouble w structure detection jeff47 Calibre 1 10-13-2010 01:51 AM
epub - force a 2nd pass to improve structure detection ? cybmole Calibre 10 10-08-2010 02:00 AM
Structure detection v5.5 and v6.2 AlexBell Calibre 2 07-29-2009 11:11 PM
I've ceased all iLiad development scotty1024 iRex 54 03-07-2007 12:08 PM


All times are GMT -4. The time now is 07:26 PM.


MobileRead.com is a privately owned, operated and funded community.