04-12-2010, 12:42 PM | #1 |
Comparer of the Ephemeris
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> 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 |
04-12-2010, 12:48 PM | #2 |
Created Sigil, FlightCrew
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. |
Advert | |
|
04-12-2010, 01:06 PM | #3 |
Comparer of the Ephemeris
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 |
|
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 |