Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2020, 05:12 AM   #76
gmw
cacoethes scribendi
gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.
 
gmw's Avatar
 
Posts: 5,809
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
Quote:
Originally Posted by FrustratedReader View Post
[...] It would also need carefully dried and not dunked in salt or dirty water as there could be electrochemical action of the gold on the USB attacking other bare metals. [...]
One of the points of using gold is that it is one of the least reactive elements. It seems extremely unlikely that anyone would immerse their e-readers in the sorts of substances that might cause an electrochemical reaction with the gold.

Last edited by gmw; 01-26-2020 at 05:15 AM.
gmw is offline   Reply With Quote
Old 01-26-2020, 11:45 AM   #77
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,154
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
In the presence of an electrolyte the gold causes any LESSER metal to be corroded at an accelerated rate.
Hence gold connectors should only used with gold and tin to tin plug in cards are far more reliable than gold to tin.

So the USB socket is fine and obviously can't be coated or it wouldn't work with the plug. In any conductive liquid the gold causes accelerated corrosion of the aluminium and tin.

Stainless steel bolts on an aluminium structure can cause the aluminium to rot, for a similar reason, so historically the stainless steel was cadmium plated, or the aluminium had an epoxy coating.

Any bathwater or saltwater immersion will result in increased rate of corrosion of any exposed reactive metals BECAUSE the gold is there.
You can test this at home with and wiithout a wedding ring and various metal in regular salt solution, vinegar, baking soda water, coca-cola (has phosphoric acid) and dissolved bath salts.
You can even make a primitive battery with gold , lemon juice and zinc. The gold isn't harmed at all! It might get a bit zinc plated, but it will polish off.
https://blog.samtec.com/post/dissimi...ng-connectors/

"Improper use of aluminum in contact with stainless steel had caused rapid corrosion in the presence of salt water"
https://en.wikipedia.org/wiki/Galvanic_corrosion

The best waterproofing concept is keeping the liquid out. So professional gear designed for immersion uses a neoprene sealing ring compressed slightly by a precision screw on cover, or a cover held by screws exterior to the sealed contents with an elastomer seal between the two halves.
The original H2O had a push on cover with sealing ring, a membrane at the power button and double sided single piece waterproof sticky tape for the main cover. It wasn't very reliable and the main cover could easily get slightly peeled. The small cover would wear.
The Libra H2O's HZO system is even cheaper and because dust, grit dirt and liquid can get inside, especially via the front buttons and the USB socket, it's only for accidental dunking. The back can easily be popped off with a thumbnail starting at the corner diagonal from the power button.

It's a lovely eReader but the case and waterproofing could have been better. It's a really cheap design compared to screen and electronics.
Quoth is offline   Reply With Quote
Advert
Old 01-26-2020, 07:57 PM   #78
gmw
cacoethes scribendi
gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.
 
gmw's Avatar
 
Posts: 5,809
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
This happens not "BECAUSE the gold is there", it is because there are dissimilar metals present. Your posts suggest this is something specific to the use of gold. Dissimilar metals tend to be present because there are differing structural requirements.

But yes, I always imagined water-proofing of e-readers was intended for accidental dunking rather than taking your scuba diving instructions for a swim. If you are not leaving the device soaking in an electrolytic solution the problem of preferential corrosion is minimal - your other points of dust and grit etc. are much more likely to cause a problem.
gmw is offline   Reply With Quote
Old 01-27-2020, 11:15 AM   #79
Argon
Enthusiast
Argon began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jan 2020
Device: Kobo Libra 2, Kindle Oasis 3
Quote:
Originally Posted by jhowell View Post
It should be 1.6em. If you have a counter example I would very much like to see it.

(If you can supply the title/ASIN of a book, I can take a look at the free sample and see what is going on with it.)
Attached are, respectively, quick pictures of my Kindle with A Fire Upon the Deep—which I'm using as a reference standard, whose style sheet says 5%—and The Wandering Inn with this globally added (as well as a line-height adjustment):

Code:
p {
text-indent: 0%
}
p + p {
text-indent: 5%
}
https://imgur.com/gallery/Tsldhwi

The Wandering Inn's indentation looks bigger to me, and A Fire Upon the Deep's doesn't look like 1.6em to me. What do you think?

Last edited by Argon; 01-27-2020 at 11:20 AM.
Argon is offline   Reply With Quote
Old 01-27-2020, 11:21 AM   #80
ZodWallop
Gentleman and scholar
ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.
 
ZodWallop's Avatar
 
Posts: 10,988
Karma: 108309641
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara HD; Nook ST w/Glowlight, (2015) Glowlight Plus, Paperwhite 3
One thing is for certain: If reading in the tub or by the swimming pool, it is safer to use a waterproof 2015 Nook Glowlight Plus than it is to use a non-waterproof Kobo Clara.
ZodWallop is offline   Reply With Quote
Advert
Old 01-27-2020, 02:26 PM   #81
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Argon View Post
Attached are, respectively, quick pictures of my Kindle with A Fire Upon the Deep—which I'm using as a reference standard, whose style sheet says 5%—and The Wandering Inn with this globally added (as well as a line-height adjustment):

Code:
p {
text-indent: 0%
}
p + p {
text-indent: 5%
}
https://imgur.com/gallery/Tsldhwi

The Wandering Inn's indentation looks bigger to me, and A Fire Upon the Deep's doesn't look like 1.6em to me. What do you think?
That sort of code can make looking at the HTML code more difficult. If you have <p> as...

Code:
p {
  margin-top: 0;
  margin-bottom: 0;
  text-indent: 1.2em;
}
Then you'll see when <p> has no indent when you see <p class="noindent">. Most <p> will be with an indent.
JSWolf is offline   Reply With Quote
Old 01-27-2020, 04:10 PM   #82
Argon
Enthusiast
Argon began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jan 2020
Device: Kobo Libra 2, Kindle Oasis 3
Quote:
Originally Posted by JSWolf View Post
That sort of code can make looking at the HTML code more difficult. If you have <p> as...

Code:
p {
  margin-top: 0;
  margin-bottom: 0;
  text-indent: 1.2em;
}
Then you'll see when <p> has no indent when you see <p class="noindent">. Most <p> will be with an indent.
I barely know any CSS or HTML. I just followed the commenter's suggestion from this: https://ebookconversion.paulbrookes....agraph-styles/
Argon is offline   Reply With Quote
Old 01-27-2020, 08:10 PM   #83
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by Argon View Post
my Kindle with A Fire Upon the Deep—which I'm using as a reference standard, whose style sheet says 5%
I took a look at the free sample available on Amazon for A Fire Upon the Deep.

It is coded with text-indent:5%, but it also has a body style of margin-right:25px, which slightly reduces the overall page width. Because of that, for this book the KFX text-indent becomes 1.55em instead of 1.6em.

Quote:
Originally Posted by Argon View Post
A Fire Upon the Deep's doesn't look like 1.6em to me.
I was able to duplicate your photo on my Kindle using a font size of 1.

I used a screenshot from my Kindle Oasis 2 (touch opposite corners to generate) with a test book containing m-dashes and determined that at size 1, 1em = 29px on my screen.

A text-indent of 1.55em should be 45px and that is what I measured in for A Fire Upon the Deep. So it is working as expected for me.

Quote:
Originally Posted by Argon View Post
The Wandering Inn's indentation looks bigger to me
The Wandering Inn indent (1.6em) should look slightly larger than A Fire Upon the Deep (1.55em). It is hard to judge from photographs.
jhowell is offline   Reply With Quote
Old 01-28-2020, 12:59 PM   #84
Argon
Enthusiast
Argon began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jan 2020
Device: Kobo Libra 2, Kindle Oasis 3
Quote:
Originally Posted by jhowell View Post
I took a look at the free sample available on Amazon for A Fire Upon the Deep.

It is coded with text-indent:5%, but it also has a body style of margin-right:25px, which slightly reduces the overall page width. Because of that, for this book the KFX text-indent becomes 1.55em instead of 1.6em.



I was able to duplicate your photo on my Kindle using a font size of 1.

I used a screenshot from my Kindle Oasis 2 (touch opposite corners to generate) with a test book containing m-dashes and determined that at size 1, 1em = 29px on my screen.

A text-indent of 1.55em should be 45px and that is what I measured in for A Fire Upon the Deep. So it is working as expected for me.



The Wandering Inn indent (1.6em) should look slightly larger than A Fire Upon the Deep (1.55em). It is hard to judge from photographs.
Wow, thanks so much! That's very interesting. I may remove that margin before reading AFUtD, then. Why do publishers add strange formatting like that? Wouldn't it be in their interest to let readers adjust the Kindle margin themselves?
Argon is offline   Reply With Quote
Old 01-28-2020, 01:05 PM   #85
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Argon View Post
Wow, thanks so much! That's very interesting. I may remove that margin before reading AFUtD, then. Why do publishers add strange formatting like that? Wouldn't it be in their interest to let readers adjust the Kindle margin themselves?
I think they do it like that because of the way ADE used to work. ADE used to have a page number on the right and you needed a margin of some size to not overwrite the page number. That was a forced page number. Now that that's not an issue, they still don't adjust for the last of the page number. Another reason they may still do it is because Amazon uses such large margins.

I agree that there are some things that need to be left at default such as L/R margins, base font size, and line-height. But they don't so I go in to fix the mess they make. And the chapter headings are (in most cases) a waste of screen space.
JSWolf is offline   Reply With Quote
Old 01-29-2020, 04:14 AM   #86
Kamikuza
Connoisseur
Kamikuza began at the beginning.
 
Posts: 62
Karma: 10
Join Date: May 2011
Location: Japan
Device: Kindle3
If the book has blockquotes, 1.2em for a “square” indent relative to line height, even is the indents of the block quote are greater. If there are no full width blockquotes, 1.55em because ...

I restyle the ebooks I get to simplify the CSS and make them look more like the paper books...
Kamikuza is offline   Reply With Quote
Old 01-29-2020, 10:18 AM   #87
Argon
Enthusiast
Argon began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jan 2020
Device: Kobo Libra 2, Kindle Oasis 3
Can anyone help me with this?

I downloaded the ePub of the Free Complete Works of H.P. Lovecraft for Nook and Kindle, and the formatting it comes with is blank line spaces between paragraphs and no indentation, so I added

Code:
p {
text-indent: 0em;
}
p + p {
text-indent: 1.25em;
}
(Now, keep in mind, I don't really know CSS, so I'm sure this was a ham-fisted way to go about things, but it worked in another ebook.)

Well, there were a lot of initial lines of introductory matter in the beginning of the chapters (the year of publication or epigraphs) that shouldn't be indented, and the lines immediately following block quotes that should be indented, so in the Calibre editor, I added <div> and <p></p> liberally, like so (all paragraphs are their own <p>)

Code:
<p>Epigraph that is not indented, with a blank line between it and the next paragraph <div></p>
<div>
<p>First paragraph that is not indented</p>
<p>Second and consecutive paragraphs that are indented</p>
and

Code:
<blockquote>Blockquote text, no indent<blockquote>
<p></p>
<p>First line of paragraph following blockquote that is indented</p>
<p>Consecutive paragraphs that are also indented</p>
And it worked...in the Calibre editor. When I converted it to KFX with jhowell's plugin and side-loaded it onto my Kindle, the result was no indentation anywhere and three spaces between paragraphs.

Is there a simple way to modify the HTML or CSS to make it do what I want as a KFX? (I believe there were no <div> or <p></p> before I added them, so a simple find and replace shouldn't be cumbersome, if it's necessary to undo what I added.)
Argon is offline   Reply With Quote
Old 01-30-2020, 03:36 PM   #88
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by Argon View Post
Can anyone help me with this?
Not answering your question, or maybe it will work if you did it this way, but I prefer to have my divs not be generic and assign specific classes to them. My top level formatting for blocks that are separate from the running text is

Code:
div.block {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    width: 85%;
}
Then for the paragraphs within and after them

Code:
div.block + p {
    margin-top: 1em;
}

div.block p {
    margin-top: 0.25em;
    text-indent: 0em;
}
Then for a specific type of block, e.g., an article

Code:
div.article {
    font-family: sans-serif;
}
Then in the html it's a double-barrelled class 'div class="block article"'.

Alternatively you could dispense with the block class and chain all of the different div types together for the common stuff; e.g.

Code:
div.article, div.note, div.letter {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    width: 85%;
}
and then have div.article the same as above.
hobnail is offline   Reply With Quote
Old 01-30-2020, 04:56 PM   #89
Argon
Enthusiast
Argon began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jan 2020
Device: Kobo Libra 2, Kindle Oasis 3
Quote:
Originally Posted by hobnail View Post
Not answering your question, or maybe it will work if you did it this way, but I prefer to have my divs not be generic and assign specific classes to them. My top level formatting for blocks that are separate from the running text is

Code:
div.block {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    width: 85%;
}
Then for the paragraphs within and after them

Code:
div.block + p {
    margin-top: 1em;
}

div.block p {
    margin-top: 0.25em;
    text-indent: 0em;
}
Then for a specific type of block, e.g., an article

Code:
div.article {
    font-family: sans-serif;
}
Then in the html it's a double-barrelled class 'div class="block article"'.

Alternatively you could dispense with the block class and chain all of the different div types together for the common stuff; e.g.

Code:
div.article, div.note, div.letter {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    width: 85%;
}
and then have div.article the same as above.
I don't think I understand. Did you understand the nature of my question? My primary problem lies in the KFX plugin's conversion of my ordinary, non-blockquote paragraphs.
Argon is offline   Reply With Quote
Old 01-30-2020, 05:17 PM   #90
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
@Argon, forget that Lovcraft book you downloaded. It's very poorly made. It's going to be a lot of work to fix. There are some Lovecraft books in the Mobileread library.
JSWolf is offline   Reply With Quote
Reply

Tags
css, indent, indentation, paragraph, text-indent


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre gives unwanted paragraph indentation LeighC Conversion 1 09-05-2016 08:36 AM
How do I create first line paragraph indentation with Calibre? stutzj Calibre 4 01-21-2014 11:09 AM
Paragraph Indentation Formatting Question virtualritz Conversion 9 05-04-2013 08:14 AM
How to Change Paragraph Indentation Acharn ePub 5 01-31-2013 12:16 AM
Suppress indentation of first paragraph btab Conversion 3 12-11-2012 01:49 AM


All times are GMT -4. The time now is 12:13 AM.


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