![]() |
#1 |
Layback feline
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,034
Karma: 6980745
Join Date: Nov 2010
Location: USA
Device: Oasis 2nd gen, Sony DPTS1, iPad Pro 10.5"
|
Does Amazon do some extra formatting on their books?
I buy most of my computer books from Amazon. Today, I didn't. I bought the same book from Microsoft Press just because it comes with PDF as well.
Boy! The MS press, which technically speaking is the same book, looks like crap, especially the TSQL code. Here's an example: And this is Amazon's sample: The MS version has italic and the font is "busy". The SQL code is in ugly pink. To me, it seems Amazon is doing extra coding? How I can fix this, via Calibre? The book is DRM free. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,717
Karma: 3790058
Join Date: Oct 2010
Location: NYC
Device: Kindle Paperwhite, Sony 650
|
In the example you posted, it looks to me like the first version (is it epub?) has LESS formatting than the Amazon version, not more. Both use a different font for the code, and the MS version ALSO changes the color. It's just that you don't like the aesthetic choices they made. (The pink makes the code stand out more, but I have to agree with you that I have never seen italic used to represent code, that's weird).
In order to change it, open in a text editor and see what the tags around the code samples are. Then you can try to set up a new CSS definition for that tag. That's the general idea. eP |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Layback feline
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,034
Karma: 6980745
Join Date: Nov 2010
Location: USA
Device: Oasis 2nd gen, Sony DPTS1, iPad Pro 10.5"
|
Does Amazon do some extra formatting on their books?
Quote:
It's MOBI, no ePub. As a matter of fact, I've not seen yet an online store (not Amazon) selling computer books in ePub, but that's another story. Anyway, so I need to change the CSS definition? Is that on one place? You're right, is due aesthetic. I've never seen code in italic and pink. It's hard to read, at least for me. |
|
![]() |
![]() |
![]() |
#4 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Amazon doesn't format any books; the formatting is done by the publisher.
|
![]() |
![]() |
![]() |
#5 | |
Nameless Being
|
Quote:
Personally I still prefer to see code represented in a monotype font. ETA: I don't know about mobi7, but Amazon's KF8 format recognizes the HTML [CODE] tag. Seems to me it would be smart to use that tag for code in eBooks. The eBook creator could easily modify the results of the CODE tag via CSS. However, looking at your sample I doubt the eBook creator used the CODE tag. Last edited by jswinden; 05-24-2014 at 05:11 PM. |
|
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
O'Reilly books sells in every format, including ePub, .mobi, and pdf.
|
![]() |
![]() |
![]() |
#7 | |
Layback feline
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,034
Karma: 6980745
Join Date: Nov 2010
Location: USA
Device: Oasis 2nd gen, Sony DPTS1, iPad Pro 10.5"
|
Quote:
So... Did the publisher create two formats? One for MS and other one for Amazon? That doesn't make sense. By the way, MS press contacted me (I'm surprised, I wasn't expecting any follow up) they asked for screenshots and ISBN. They will investigate. |
|
![]() |
![]() |
![]() |
#8 | |
Layback feline
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,034
Karma: 6980745
Join Date: Nov 2010
Location: USA
Device: Oasis 2nd gen, Sony DPTS1, iPad Pro 10.5"
|
Quote:
True, but I they stopped selling MS press like one month ago; they even notified on front page. I'm guessing, but I think is because MS press will sell them by themselves now and they don't want competition. The only other place where I can find MS books (ebook format) is Amazon. But I like the PDF as well. With the PDF I can work on my Mac and do exercises , using copy paste for the code, then execute on SQL 2012. That's hard to do with Kindle for Mac. |
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2014
Device: kindle
|
I know this is a slightly old thread but I figured I'd chime in. I'd be really interested in knowing if you ever got a reply back for them.
I think the second example looks like the typical display of one of the more basic kindles. They don't/didn't display pink text, just black and white. That is also the default font they used. Maybe the publisher made a version that would display better on those kindles or simply used that example from one of the older kindles. |
![]() |
![]() |
![]() |
#10 |
purpose priority passion
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 645
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, b&n ngp, rM2, kindle scribe, boox poke5
|
|
![]() |
![]() |
![]() |
#11 | |
Layback feline
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,034
Karma: 6980745
Join Date: Nov 2010
Location: USA
Device: Oasis 2nd gen, Sony DPTS1, iPad Pro 10.5"
|
Quote:
Yes. They even asked for screenshots, but nothing happens after that. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
cleaning up extra returns formatting mess | momtodogs | Workshop | 5 | 05-20-2014 08:23 AM |
Why define a paragraph as a span with no different or extra formatting? | bfollowell | ePub | 7 | 03-16-2011 10:30 PM |
Amazon no longer charges an extra $2 | lene1949 | General Discussions | 24 | 10-29-2010 05:20 AM |
[KOBO] Strip existing formatting to apply my own default formatting to all books | digital_steve | Calibre | 2 | 08-10-2010 06:34 PM |