Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-20-2012, 03:51 PM   #1
morrow
Enthusiast
morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.
 
morrow's Avatar
 
Posts: 38
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
few noob questions.

[edit]: I have noticed this maybe is better in "epub" subforum? Can a mod move it?

I am new at creating ebooks and a novice on html at heart, please bare with me with few simple questions (I hope) that I have been having.
  1. Considering toc, I noticed that whenever I converted a ebook to mobi that the toc is at the very end of the book. It is really confusing and somewhat frustrating to me, thus I'm wondering if there is anyway to move the toc to the first few pages of the book. I have searched the forum and the only reverent answer was to check calibre for conversation options, which it worked, however it actually creates additional toc at the beginning. So, resulting file have a toc at the beginning and one at the end.
  2. I understand there is a code where you can trigger the viability of words on the file. For example, I wanted give a name to the chapter, h3 chapter 1, however, I do not wanted the "chapter 1" appear on the page itself only in the toc. I have come across it once or twice, but have apparently fail to make note of it. If possible, please provide me the code?

Thank you for taking the time~

Last edited by morrow; 10-20-2012 at 03:59 PM.
morrow is offline   Reply With Quote
Old 10-20-2012, 04:11 PM   #2
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,792
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Moderator Notice
Moved
theducks is online now   Reply With Quote
Advert
Old 10-21-2012, 01:35 AM   #3
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
one way is to style the "Chapter 1 " text with zero line height. That I think will make it disappear from the page. but it may not work in all readers.

another way is to just delete the chapter 1 text .i. leave just an empty line, AFTER you have built the TOC, then remember not to rebuild it
cybmole is offline   Reply With Quote
Old 10-21-2012, 03:39 AM   #4
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
1. The location of the inline TOC created (if any) is up to program you are using to convert the book. If you are using calibre, I believe there's some setting for that. You'd be better saved asking this in the calibre forum, as this is only marginally related to ePub.

2. The titles in the text and in the TOC are totally independent, you can have whatever words you want in both (even in an inline TOC, if it exists). It is only if you are creating the TOC automatically with some tool that the titles are copied from the text. In that case, you should tell us which tool you are using. You can "hide" some words from the text wrapping them in a <span> (or whatever) with a "display: none" style. In Sigil (and maybe other programs) you can assign a different name for the TOC adding a "title" attribute, so these would be roughly equivalent:

Code:
<h3><span class="hidden">Chapter 1</span></h3>

/*with this in CSS:*/
span.hidden { display: none; }
Code:
<h3 title="Chapter 1">&nbsp;</h3>
(The second may be better for conversion to Mobi, as Mobi does not support CSS, and the converter might not interpret "display: none" correctly.)
Jellby is online now   Reply With Quote
Old 10-21-2012, 06:29 AM   #5
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
If you are creating works in epub, you need to be aware that not all readers will treat hidden text the same. It may well be hidden alright, but at the expense of a 10 character or so space in the middle of your text. This is particularly a problem with page numbers.

You might experiment by creating a new and short document in Sigil with some of these attributes and then do your conversions and see what results you get with your reader and with Nook for PC and Sony Reader Library software.
mrmikel is offline   Reply With Quote
Advert
Old 10-21-2012, 03:38 PM   #6
morrow
Enthusiast
morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.morrow ought to be getting tired of karma fortunes by now.
 
morrow's Avatar
 
Posts: 38
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
Quote:
Originally Posted by Jellby View Post


Code:
<h3 title="Chapter 1">&nbsp;</h3>
This work perfectly, thank you.
morrow is offline   Reply With Quote
Old 10-22-2012, 12:46 AM   #7
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
If you use display hidden it should not occupy space and cause rendering issues.
Toxaris is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
just a couple noob questions perry59 Library Management 11 01-17-2012 08:56 AM
a few noob questions dezq32n Calibre 2 06-14-2010 04:02 PM
Some Noob questions TimMason Onyx Boox 15 05-27-2010 05:08 PM
General Questions From A Noob MacReader Calibre 9 05-17-2009 11:00 PM
Noob questions re: OS X la bete Sony Reader 5 09-03-2008 01:34 AM


All times are GMT -4. The time now is 12:33 PM.


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