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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-12-2010, 12:42 PM   #1
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Adding a <reference> item to <guide> in OPF file

(Apologies if this is covered somewhere, I did a quick search in the postings without any hits.)

I'd like to be able to add a line within the <guide> section of the .OPF file:
Code:
<guide>
     <reference type="toc" title="Table of Contents" href=... />
</guide>
This allows calibre to connect a Table of Contents on the Kindle.

I'm happy to do it by hand, but I can't figure out any way to get to the .OPF file within Sigil. I can explode the .epub file and edit the .OPF file and re-zip, but that seems inelegant and awkward.

Is this possible with the current beta?

G
GRiker is offline   Reply With Quote
Old 04-12-2010, 12:48 PM   #2
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Not possible with the current beta. I plan to add a way to semantically mark different XHTML flows as one of the "fundamental structural components of the publication", as the OPF spec puts it for the <guide> element. It's not currently on the tracker, but it's on my TODO list. It's simple and easy to do, and should make it for 0.2.1, if not 0.2.0 itself.

Direct OPF and NCX editing is also a planned future feature.
Valloric is offline   Reply With Quote
Advert
Old 04-12-2010, 01:06 PM   #3
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Thanks for the quick reply and explanation, and thanks for making this excellent tool available.

G
GRiker 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
Multiple reference elements with the same type in the <guide> Valloric ePub 8 04-25-2010 11:18 AM
Reference Guide: How to Prepare Images for EPUB (and other) Formats Zorba ePub 13 11-22-2009 08:28 AM
Adding book via OPF file itimpi Calibre 2 11-11-2009 10:28 AM
OPF & guide Nate the great ePub 39 08-06-2009 12:13 PM
Free PDF: Ubuntu Pocket Guide and Reference TadW Deals and Resources (No Self-Promotion or Affiliate Links) 4 01-30-2009 11:22 PM


All times are GMT -4. The time now is 06:52 AM.


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