Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-20-2010, 08:36 AM   #1
lexmoen
Junior Member
lexmoen began at the beginning.
 
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
lexmoen is offline   Reply With Quote
Old 10-20-2010, 09:13 AM   #2
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
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
charleski is offline   Reply With Quote
Old 10-20-2010, 09:26 AM   #3
lexmoen
Junior Member
lexmoen began at the beginning.
 
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
lexmoen is offline   Reply With Quote
Old 10-20-2010, 09:28 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by lexmoen View Post
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
"Real" E-Pub's don't need an "inline TOC" (page).

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
theducks is offline   Reply With Quote
Old 10-20-2010, 12:14 PM   #5
lexmoen
Junior Member
lexmoen began at the beginning.
 
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
lexmoen is offline   Reply With Quote
Old 10-20-2010, 12:34 PM   #6
lexmoen
Junior Member
lexmoen began at the beginning.
 
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?
lexmoen is offline   Reply With Quote
Old 10-20-2010, 12:42 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by lexmoen View Post
pressing f7 shows a toc entry: iblis 0:1-8 proloog in the file i see: <h3 id="heading_id_2">
but now what?
There was supposed to be the Text between the Heading tags
Code:
<h3>Chapter 99<\h3>
What is between the tags is also usefd as a TOC text.
or

Code:
<h3>title="Chapter 99" &nbsp;<\h3>
If you only want the words to show in the TOC
(or different words)
theducks is offline   Reply With Quote
Old 10-20-2010, 01:00 PM   #8
lexmoen
Junior Member
lexmoen began at the beginning.
 
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
lexmoen is offline   Reply With Quote
Old 10-20-2010, 01:47 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by lexmoen View Post
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
You need nothing for the TOC to link to the header. It is automatic.
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"
theducks is offline   Reply With Quote
Old 10-20-2010, 05:18 PM   #10
lexmoen
Junior Member
lexmoen began at the beginning.
 
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?
lexmoen is offline   Reply With Quote
Old 10-20-2010, 06:37 PM   #11
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by lexmoen View Post
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?
Forget F7. that is the RESULTS of making Header tag values.
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.
theducks is offline   Reply With Quote
Old 10-21-2010, 04:15 AM   #12
lexmoen
Junior Member
lexmoen began at the beginning.
 
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
lexmoen is offline   Reply With Quote
Old 10-21-2010, 05:36 AM   #13
lexmoen
Junior Member
lexmoen began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: sigil
no - i understand it now!
thank you very much!!

lex
lexmoen is offline   Reply With Quote
Old 10-21-2010, 06:58 AM   #14
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
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>
then if you need to link to it elsewhere you can do something like
Code:
<a href="#chap03">Jump to Chapter 3</a>
Things to note.
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>
Doesn't have to be used for just chapters, I use it for footnotes.
Code:
<p><a id="return01"></a>Here’s a <a href="#footnote1">link</a> which jumps to the end footnote.</p>
and further on
Code:
<p><a id="footnote1"></a>A footnote is here.</p>
<p>When selecting here. <a href="#return01">RETURN</a></p>
Edit: spelling
Perkin is offline   Reply With Quote
Old 10-21-2010, 11:18 AM   #15
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Perkin View Post
Doesn't have to be used for just chapters, I use it for footnotes.
Code:
<p><a id="return01"></a>Here’s a <a href="#footnote1">link</a> which jumps to the end footnote.</p>
and further on
Code:
<p><a id="footnote1"></a>A footnote is here.</p>
<p>When selecting here. <a href="#return01">RETURN</a></p>
And you don't have to use empty <a> elements, you can add the "id" to the <p>:

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>
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comics jump to TOC klikklak iRex 0 01-02-2010 11:41 PM
Key to Jump to 30%, 40%, 50% etc of book gregcd Sony Reader 6 10-09-2009 02:57 PM
ePub Chapters vs. Stanza Chapters kjk Sigil 4 09-14-2009 10:50 AM
Forum Jump feature chrissy Feedback 2 06-11-2009 04:16 PM
I just bought a 505- can I just jump right in? ohheythere Sony Reader 6 05-20-2009 05:09 AM


All times are GMT -4. The time now is 05:57 PM.


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