Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-20-2015, 05:58 AM   #1
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
tabs in epub?

I've got some text arranged on the page to make patterns.
So I want to have the horizontal position exactly set.
Is there a way to have something like tab stops, either in em or percent, so this will work with any font or size?

Otherwise, I suppose I'll have to use a monospaced font.
AlanHK is offline   Reply With Quote
Old 04-20-2015, 08:22 AM   #2
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,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
There are no tab stops, but you could use tables, margins, or elements with fixed width (I think you'd need "display:inline-block" for that).
Jellby is offline   Reply With Quote
Advert
Old 04-21-2015, 06:46 AM   #3
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by AlanHK View Post
I've got some text arranged on the page to make patterns.
So I want to have the horizontal position exactly set.
With e-books, IMHO, that's a Bad Thing. Be aware that the older Kindles don't support much in the way of tables, and that includes the DX, still on sale. And of course your book is going to look different in my iPhone 4 in vertical mode! And finally, anyone can throw off the design by selecting a larger font size.
Notjohn is offline   Reply With Quote
Old 04-21-2015, 08:12 AM   #4
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Notjohn View Post
With e-books, IMHO, that's a Bad Thing. Be aware that the older Kindles don't support much in the way of tables, and that includes the DX, still on sale. And of course your book is going to look different in my iPhone 4 in vertical mode! And finally, anyone can throw off the design by selecting a larger font size.
I know all that.
Did you read my post :

Quote:
Is there a way to have something like tab stops, either in em or percent, so this will work with any font or size?

Anyway, what I've done is use <pre> text. Not the most aesthetic, but it keeps the text in the right place. And it should convert to to mobi easily.

It will probably look crappy on a small phone and run off the screen, but it's either that or use images of text.
AlanHK is offline   Reply With Quote
Old 04-22-2015, 02:21 AM   #5
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by AlanHK View Post
I know all that.
Did you read my post :




Anyway, what I've done is use <pre> text. Not the most aesthetic, but it keeps the text in the right place. And it should convert to to mobi easily.

It will probably look crappy on a small phone and run off the screen, but it's either that or use images of text.
I suspect, that when you convert that to MOBI format, you are going to be quite surprised at the results. I'm sure we'll all be very interested in your report on the end product.

Hitch
Hitch is offline   Reply With Quote
Advert
Old 04-22-2015, 03:07 AM   #6
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Hitch View Post
I suspect, that when you convert that to MOBI format, you are going to be quite surprised at the results. I'm sure we'll all be very interested in your report on the end product.
Mobi isn't my target. I posted in the epub forum. Though I expect if not mobi it would convert to kf8 okay.

But if you were more specific about what disaster I'm courting, it might be helpful.

-- PS. Ran the current version through Kindle Previewer,and the mobi it made looks okay.
Only thing is that it ignored the "inline-block" style and put pagebreaks in the "graphic text" blocks. So I will insert pagebreaks before if I make a proper mobi.

Last edited by AlanHK; 04-22-2015 at 08:23 AM.
AlanHK is offline   Reply With Quote
Old 04-22-2015, 09:10 PM   #7
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by AlanHK View Post
Mobi isn't my target. I posted in the epub forum. Though I expect if not mobi it would convert to kf8 okay.

But if you were more specific about what disaster I'm courting, it might be helpful.

-- PS. Ran the current version through Kindle Previewer,and the mobi it made looks okay.
Only thing is that it ignored the "inline-block" style and put pagebreaks in the "graphic text" blocks. So I will insert pagebreaks before if I make a proper mobi.
You said, a few posts back:

Quote:
And it should convert to to mobi easily.
So, naturally, I assumed that you did intend to do a mobi. If you're not, fine. And if you're happy with the result, great.

You may run into issues at the KDP, if you were going to upload at Amazon, as it's taken to stripping ALL fonts, font-calls (rather than embedded fonts, even stuff like "monospaced") from mobis, for the last few weeks, but if yours is working, good!

Hitch
Hitch is offline   Reply With Quote
Old 04-22-2015, 10:20 PM   #8
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Hitch View Post
You said, a few posts back:
So, naturally, I assumed that you did intend to do a mobi. If you're not, fine. And if you're happy with the result, great.
It was just an aside. I know some things go screwy on conversion, but this seemed simple enough.
If it was necessary, I'd make sure.

(The only thing that I'd have to fix are pagebreaks, since a straight conversion didn't respect the "display: inline-block" styling. So I guess I'd put in hard pagebreaks before the sections that need to be continuous.)


Quote:
Originally Posted by Hitch View Post
You may run into issues at the KDP, if you were going to upload at Amazon, as it's taken to stripping ALL fonts, font-calls (rather than embedded fonts, even stuff like "monospaced") from mobis, for the last few weeks, but if yours is working, good!
Hitch
You mean that embedded fonts still work? That seems sensible enough.

Actually recently I made a ebook for a publisher who was very specific that it use the same font as the print edition. So of course I embedded them. There'd be hell to pay if that ended up in a default font.

But in this book I didn't specify a font beyond "'pre" implying a monospaced font. Surely that has to work.
AlanHK is offline   Reply With Quote
Old 04-23-2015, 02:52 AM   #9
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by AlanHK View Post
It was just an aside. I know some things go screwy on conversion, but this seemed simple enough.
If it was necessary, I'd make sure.

(The only thing that I'd have to fix are pagebreaks, since a straight conversion didn't respect the "display: inline-block" styling. So I guess I'd put in hard pagebreaks before the sections that need to be continuous.)




You mean that embedded fonts still work? That seems sensible enough.

Actually recently I made a ebook for a publisher who was very specific that it use the same font as the print edition. So of course I embedded them. There'd be hell to pay if that ended up in a default font.

But in this book I didn't specify a font beyond "'pre" implying a monospaced font. Surely that has to work.
No. I mean that all fonts, whether embedded or called from the firmware (e.g., device fonts) are being stripped. This doesn't affect books that have already been through the process; only new ones. If your client's book is up and selling, s/he is fine.

All the usual ways of creating MOBIs, with fonts, are currently not working. One of our closest competitors called me today, looking for a way to get monospaced to work.

Hitch
Hitch is offline   Reply With Quote
Old 04-23-2015, 04:21 AM   #10
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Hitch View Post
No. I mean that all fonts, whether embedded or called from the firmware (e.g., device fonts) are being stripped.
Obviously that's a major screw up.
They'll have to fix it quick.
AlanHK is offline   Reply With Quote
Old 04-23-2015, 02:31 PM   #11
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by AlanHK View Post
Obviously that's a major screw up.
They'll have to fix it quick.
They've known about it since not later than the 10th of this month, when I wrote to ECR and told them about it. After myriad emails, I'm fairly sure that it was accidental (a byproduct of something else they decided to update that week) and they don't know what is causing it.

Hitch
Hitch is offline   Reply With Quote
Old 04-24-2015, 01:47 AM   #12
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by Hitch View Post
They've known about it since not later than the 10th of this month, when I wrote to ECR and told them about it. After myriad emails, I'm fairly sure that it was accidental (a byproduct of something else they decided to update that week) and they don't know what is causing it.
Unfortunately, the more I deal with Amazon, the more convinced I am that a lot of their non-storefront systems are basically "protoduction" code, tossed together under too-tight time deadlines, resulting in fragile code that is constantly breaking whenever they make changes.

At some point, they're going to have to pay the piper—throw out all of KDP's ingest code and start over, creating a replacement that's actually robust.
dgatwood is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Tabs nhojnesnej Library Management 4 07-23-2013 03:18 PM
Using Tabs in Epub?? Paxman53 Sigil 5 03-12-2012 10:02 AM
Why the tabs? mshellberg Sigil 2 06-18-2010 01:23 PM


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


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