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 07-04-2011, 01:35 PM   #1
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 3,856
Karma: 30900998
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindle 2, Kindle KB, Kindle PW 1 & 2, Kindle Voyage, Kindle Fire 2
Cool 2 lines in one toc entry

the text looks like this:

1.

A Beginning

how can i get a toc to display this:

1. A Beginning

without having to reformat the text in the book.

also:

the text looks like this:

Part IV.
It Continues

Chapter 13.
A possible Answer

how can i get a toc to display this:

Part IV. It Continues
Chapter 13. A Possible Answer

and not translate to mobi with a chapter break between the two?

i've been googling for these answers for the past 2 hours.
alansplace is online now   Reply With Quote
Old 07-04-2011, 03:37 PM   #2
Jabby
Jr. - Junior Member
Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.
 
Posts: 572
Karma: 2000170
Join Date: Aug 2010
Location: East Texas
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
Try:
<h2>Part IV.<br />It Continues</h2>
<h3>Chapter 13.<br />A possible Answer</h3>
<h4>1.<br />A Beginning</h3>
If you want you can set the hierarchy based on the value of "<h>".

Regards - John
Jabby is offline   Reply With Quote
 
Enthusiast
Old 07-04-2011, 03:38 PM   #3
theducks
Grand Sorcerer
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: 14,848
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by alansplace View Post
the text looks like this:

1.

A Beginning

how can i get a toc to display this:

1. A Beginning

without having to reformat the text in the book.

also:

the text looks like this:

Part IV.
It Continues

Chapter 13.
A possible Answer

how can i get a toc to display this:

Part IV. It Continues
Chapter 13. A Possible Answer

and not translate to mobi with a chapter break between the two?

i've been googling for these answers for the past 2 hours.

Code:
<h2>Part IV.&nbsp; <br />
It Continues</h2>
Code:
<h3>Chapter 13.&nbsp; <br /> 
A possible Answer</h3>
The nb space is for when the TOC gets flattened
Can't answer the Mobi No break question
theducks is offline   Reply With Quote
Old 07-04-2011, 05:56 PM   #4
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 3,856
Karma: 30900998
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindle 2, Kindle KB, Kindle PW 1 & 2, Kindle Voyage, Kindle Fire 2
Cool thank you

Quote:
Originally Posted by Jabby View Post
Try:
<h2>Part IV.<br />It Continues</h2>
<h3>Chapter 13.<br />A possible Answer</h3>
<h4>1.<br />A Beginning</h3>
If you want you can set the hierarchy based on the value of "<h>".

Regards - John
thanks, john. i'll try it out.
alansplace is online now   Reply With Quote
Old 07-04-2011, 05:59 PM   #5
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 3,856
Karma: 30900998
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindle 2, Kindle KB, Kindle PW 1 & 2, Kindle Voyage, Kindle Fire 2
Cool thank you

Quote:
Originally Posted by theducks View Post
Code:
<h2>Part IV.&nbsp; <br />
It Continues</h2>
Code:
<h3>Chapter 13.&nbsp; <br /> 
A possible Answer</h3>
The nb space is for when the TOC gets flattened
Can't answer the Mobi No break question
much appreciated. i'd better go try it out.
alansplace is online now   Reply With Quote
Old 07-04-2011, 09:11 PM   #6
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 3,856
Karma: 30900998
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindle 2, Kindle KB, Kindle PW 1 & 2, Kindle Voyage, Kindle Fire 2
Cool your suggestions worked

thanks to you both - the code works fine.
alansplace is online now   Reply With Quote
Old 07-05-2011, 06:59 AM   #7
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 714
Karma: 1085604
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
You could also try:

Code:
<h3 title="Chapter 13. Blah, Blah, Blah">Chapter 13.</h3>

<p class="subheading">Blah, Blah, Blah</p>
Then it doesn't matter what you put between the heading tags as what is recorded as the title will be used for the TOC.

So if you have a multi-line heading that uses different formatting for the chapter number and the rest (e.g. different font sizes, etc) you can have a bit more control on the layout. At least that's what I've found.
ghostyjack is offline   Reply With Quote
Old 07-05-2011, 08:26 AM   #8
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,527
Karma: 13575467
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by alansplace View Post
how can i get a toc to display this:

Part IV. It Continues
Chapter 13. A Possible Answer

and not translate to mobi with a chapter break between the two?

i've been googling for these answers for the past 2 hours.
I've been thinking about this question.

When an ePub is translated to MOBI, at least by Kindlegen, the chapter breaks appear in the same locatons. Since I don't use Calibre to covert to MOBI, I cant speak to it.
crutledge is online now   Reply With Quote
Old 07-05-2011, 11:47 AM   #9
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 3,856
Karma: 30900998
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindle 2, Kindle KB, Kindle PW 1 & 2, Kindle Voyage, Kindle Fire 2
Cool thank you

Quote:
Originally Posted by ghostyjack View Post
You could also try:

Code:
<h3 title="Chapter 13. Blah, Blah, Blah">Chapter 13.</h3>

<p class="subheading">Blah, Blah, Blah</p>
Then it doesn't matter what you put between the heading tags as what is recorded as the title will be used for the TOC.

So if you have a multi-line heading that uses different formatting for the chapter number and the rest (e.g. different font sizes, etc) you can have a bit more control on the layout. At least that's what I've found.
thanks, i'll give that a try
alansplace is online now   Reply With Quote
Old 07-05-2011, 11:49 AM   #10
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 3,856
Karma: 30900998
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindle 2, Kindle KB, Kindle PW 1 & 2, Kindle Voyage, Kindle Fire 2
Cool thank you

Quote:
Originally Posted by crutledge View Post
I've been thinking about this question.

When an ePub is translated to MOBI, at least by Kindlegen, the chapter breaks appear in the same locatons. Since I don't use Calibre to covert to MOBI, I cant speak to it.
ah, so it may be the conversion engine used by calibre that's at fault.
alansplace is online now   Reply With Quote
Old 07-05-2011, 01:01 PM   #11
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,527
Karma: 13575467
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by alansplace View Post
ah, so it may be the conversion engine used by calibre that's at fault.
Check the formatting options in calibre.
crutledge is online now   Reply With Quote
Old 07-05-2011, 01:38 PM   #12
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 3,856
Karma: 30900998
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindle 2, Kindle KB, Kindle PW 1 & 2, Kindle Voyage, Kindle Fire 2
Cool thank you

Quote:
Originally Posted by crutledge View Post
Check the formatting options in calibre.
am in the process,
alansplace is online now   Reply With Quote
Old 07-05-2011, 05:43 PM   #13
Jabby
Jr. - Junior Member
Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.
 
Posts: 572
Karma: 2000170
Join Date: Aug 2010
Location: East Texas
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
Hi Alan-
If you have CSS statements like "page-break-before:always;", you have to be careful where you put them. If they are in the definition of a header, then two <h> together can cause the double page you are talking about.(not in all epub readers!)

Just a thought - John
Jabby is offline   Reply With Quote
Old 07-05-2011, 06:34 PM   #14
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 3,856
Karma: 30900998
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindle 2, Kindle KB, Kindle PW 1 & 2, Kindle Voyage, Kindle Fire 2
Cool thank you

Quote:
Originally Posted by Jabby View Post
Hi Alan-
If you have CSS statements like "page-break-before:always;", you have to be careful where you put them. If they are in the definition of a header, then two <h> together can cause the double page you are talking about.(not in all epub readers!)

Just a thought - John
cool....i'll check for that the next time i run into the problem,
alansplace is online now   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
Touch Dark lines between lines of text taming Kobo Reader 12 06-13-2011 07:20 PM
Unexpected TOC entry neil_matthews Conversion 4 06-12-2011 12:45 PM
Repeated "Ignoring missing TOC entry" when converting PDF to MOBI goldenhair Calibre 2 01-19-2011 10:30 AM
iBooks not displaying entry for "Cover" in TOC purcelljf ePub 6 10-01-2010 12:56 AM
new single-entry TOC for Kobo compatibility Stinger Calibre 3 05-29-2010 01:16 AM


All times are GMT -4. The time now is 01:35 PM.


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