|
|
#1 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 190
Karma: 10802
Join Date: Sep 2010
Device: Kindle 3, iPhone 5, New iPad, Paperwhite
|
Add to chapter marks to mobi file?
Please dont say convert it to epub in Calibre and edit with Sigil
|
|
|
|
|
|
#2 | |
|
Feral Underclass
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,410
Karma: 26134395
Join Date: Jan 2010
Location: Yorkshire, tha noz
Device: 2nd hand paperback
|
Quote:
![]() You could also extract the html from the mobi file, add header tags to it in the relevant places, then re-generate the mobi with mobicreator. |
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,772
Karma: 4481760
Join Date: Mar 2010
Location: Eastern TN
Device: PW/K4B/K4S/K3+3G KFire/SGP 5.0/LG Vortex
|
Calibre using Heuristics processing sometimes works. Sometimes the right xpath regular expression will do it. You can quickly view the code of your book in the Search and Replace Wizard to see what it is so you know what regex will work if Heuristics processing fails to find the chapters.
Make a backup of your mobi file so you can drag into Calibre each time you need run a test conversion. I don't use Sigil at all.
|
|
|
|
|
|
#4 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 125
Karma: 1445856
Join Date: Aug 2010
Device: Kindle 3
|
My apology in advance... I'm writing a book and go from an HTML file, add the photos in Sigil, create a TOC, (check it in the TOC editor), and then convert to a mobi with Calibre.... I find it a fairly easy task.....
Again, SORRY!!!!! |
|
|
|
|
|
#5 |
|
Mrawr?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,111
Karma: 15039064
Join Date: Aug 2010
Device: kindle 3 wifi
|
This is what I do when I edit my own files:
1. I make sure all my "Chapter 1/2/3/4 etc" are Heading 1 (from styles and formatting) 2. Then I save as HTML 3. Use Mobipocket Creator to make .PRC (and there I create a TOC by specifying "h1, class, western" in the Tags' 1st Level <-- remember Heading 1) 4. Simply convert .PRC to .MOBI by using Calibre PS: I use OpenOffice to edit the files but I'm pretty sure it will work in Word as well. And, sometimes, it works with other tags (in HTMLs I'm too lazy to edit) but most of the times I have to use h1, class, western. Other times, when the book is already a .MOBI/.PRC I just run it through Calibre once and voila, chapter marks! But again it does not always work. People have explained it to me but it just flies over my head...
|
|
|
|
|
|
#6 |
|
Wizzard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,993
Karma: 14640083
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International & Sony PRS-T1
|
To add chapter marks to a pre-existing Mobi file with a decent HTML table of contents already inside it, I'd say
|
|
|
|
|
|
#7 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 190
Karma: 10802
Join Date: Sep 2010
Device: Kindle 3, iPhone 5, New iPad, Paperwhite
|
I guess the biggest concern for me is not laziness but changes to formatting due to conversion to epub and then back again.
|
|
|
|
|
|
#8 |
|
Wizzard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,993
Karma: 14640083
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International & Sony PRS-T1
|
In which case, Mobiunpack and manual NCX creation, though mildly tedious, will give you the least formatting changes since it'll leave the actual Mobi formatting untouched, which Mobi-ePub-Mobi almost certainly won't.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange text characters and missing chapter marks on Kindle 3 | Grahamk | Conversion | 7 | 02-28-2011 02:14 AM |
| epub file to mobi, but some caracters appear as question marks | abatsukh | Conversion | 8 | 02-21-2011 09:44 PM |
| Xpath expression for detecting chapter marks | p3aul | Calibre | 5 | 11-14-2010 11:14 PM |
| PRC with no chapter marks. Best way add them and convert for Kindle mobi? | neonbible | Calibre | 0 | 10-19-2010 08:01 AM |
| can calibre creat a TOC by reading numerals as chapter marks | p3aul | Calibre | 7 | 10-04-2010 04:18 AM |