![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
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.
Thank you for taking the time~ Last edited by morrow; 10-20-2012 at 03:59 PM. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
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 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
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"> </h3> |
![]() |
![]() |
![]() |
#5 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |