Register Guidelines E-Books Search Today's Posts Mark Forums Read

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: 27
Karma: 473242
Join Date: Oct 2012
Device: K3/PW
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
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,213
Karma: 5495470
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Moderator Notice
Moved
theducks is offline   Reply With Quote
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: 2,596
Karma: 1065018
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Sony T2, Kindle Fire HDX 8.9 , Kindle for PC
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: 5,958
Karma: 4346919
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
Book Twiddler
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: 1,915
Karma: 1405001
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
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: 27
Karma: 473242
Join Date: Oct 2012
Device: K3/PW
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: 2,859
Karma: 2623257
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
If you use display hidden it should not occupy space and cause rendering issues.
Toxaris is offline   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
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 08:20 AM.


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