10-20-2010, 09:36 AM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: sigil
|
jump to chapters
i am making my first ebook with sigil, works wonderfull. but i have a lot of chapters and in the beginning a contentpage. can i jump from this contentpage directly to any of the chapters?
thnx lex |
10-20-2010, 10:13 AM | #2 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
<p class="toc"><a href="[name of file containing the chapter][#optional fragment id]">Chapter Whatever</a></p>
etc |
Advert | |
|
10-20-2010, 10:26 AM | #3 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: sigil
|
jump not succesfull
what do i do wrong?
in sigil in the bookbrowser are the names of the chapters, f.i. blis 0 verzen 1-8 proloog.xhtml now i did this: <p class="toc"><a href="iblis 0 verzen 1-8 proloog.xhtml">Iblis 0 : 1- 8 proloog</a></p> but it doesn't work lex |
10-20-2010, 10:28 AM | #4 | |
Well trained by Cats
Posts: 30,575
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
USING a H1, H2, H3 headeron Text, auto-magically make a nested entry in the "Catalog" (TOC) Press F7 to see what you have. There are tick boxes to hide entries that used H# tags in places that are not to show as a TOC item. The advantage of the "Catalog", is it's use does not lose your place in the book as moving to the inline version would. OTOH if you plan on converting your E-Pub to some other formats, you might need that inline TOC to support the lack of built in TOC features |
|
10-20-2010, 01:14 PM | #5 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: sigil
|
ok, using <h2></h2> and pressing f7 shows a toc entry.
and now what? lex |
Advert | |
|
10-20-2010, 01:34 PM | #6 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: sigil
|
pressing f7 shows a toc entry: iblis 0:1-8 proloog in the file i see: <h3 id="heading_id_2">
but now what? |
10-20-2010, 01:42 PM | #7 | |
Well trained by Cats
Posts: 30,575
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
<h3>Chapter 99<\h3> or Code:
<h3>title="Chapter 99" <\h3> (or different words) |
|
10-20-2010, 02:00 PM | #8 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: sigil
|
between the headers was Iblis 0:1-8 proloog but if i put that < a href="Iblis 0:1-8 proloog">Iblis 0:1-8 proloog</a> it doesn't work still
i do something wrong |
10-20-2010, 02:47 PM | #9 | |
Well trained by Cats
Posts: 30,575
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
If you want t link the Header to the TOC, No. That trick only works with the manual Inline (Web Browser holdover?) type BTW Sigil usually puts files in the Text/ folder Code:
"../Text/yourfilenamehere" |
|
10-20-2010, 06:18 PM | #10 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: sigil
|
i still don't get it.
if i have in the f7 a toc entry : Iblis 0:1-8 proloog, how do i refer to that spot at other places? |
10-20-2010, 07:37 PM | #11 | |
Well trained by Cats
Posts: 30,575
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Open the document. Make a Header (h3 type) by placing h3 tags around some text.: TOC entry made. Done Repeat for each place you want a TOC entry. The order in the "Book Browser", the within the document., automatically places them correctly, with a link to the proper place. Simple After you have done a few, press F7 and see the results of your work. F7 exists because you might not want ALL uses of "Header tags" to appear in the TOC.. Sigil adjusts your code if you un-tick an entry. |
|
10-21-2010, 05:15 AM | #12 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: sigil
|
i must be stupid.
i put <h3> around a text, as well in the contentpage as in the actual chapter. i save the document (epub) . when i press f7, i see the entries. but when i look at bookview or the ebookreader, i cannot click anything to jump from the contentpage directly to the corresponding chapter with the same name |
10-21-2010, 06:36 AM | #13 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: sigil
|
no - i understand it now!
thank you very much!! lex |
10-21-2010, 07:58 AM | #14 |
Guru
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
If you want a seperate link, other than the toc links, include in the <h#> tag an id decriptor something like
Code:
<h3 id="chap03">Chapter 3</h3> Code:
<a href="#chap03">Jump to Chapter 3</a> The jump link has a #before the id-name. The jump link would need a (relative)filename if the target is in a different file. Code:
<a href="section1.html#chap03">Jump to Chapter 3</a> Code:
<p><a id="return01"></a>Here’s a <a href="#footnote1">link</a> which jumps to the end footnote.</p> Code:
<p><a id="footnote1"></a>A footnote is here.</p> <p>When selecting here. <a href="#return01">RETURN</a></p> |
10-21-2010, 12:18 PM | #15 | |
frumious Bandersnatch
Posts: 7,541
Karma: 19001081
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Code:
<p id="return01">Here’s a <a href="#footnote1">link</a> which jumps to the end footnote.</p> <p id="footnote1">A footnote is here.</p> <p>When selecting here. <a href="#return01">RETURN</a></p> |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comics jump to TOC | klikklak | iRex | 0 | 01-03-2010 12:41 AM |
Key to Jump to 30%, 40%, 50% etc of book | gregcd | Sony Reader | 6 | 10-09-2009 03:57 PM |
ePub Chapters vs. Stanza Chapters | kjk | Sigil | 4 | 09-14-2009 11:50 AM |
Forum Jump feature | chrissy | Feedback | 2 | 06-11-2009 05:16 PM |
I just bought a 505- can I just jump right in? | ohheythere | Sony Reader | 6 | 05-20-2009 06:09 AM |