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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2013, 02:41 AM   #1
randomzombie
Enthusiast
randomzombie began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Dec 2012
Device: kindle paperwhite
Strange "raw" HTML before each paragraph?

Hi! Just starting to mess with conversion, but I'm having a hard time. What I'm trying to convert's original input has a line between paragraphs, which I want to keep, and a paragraph indent that I don't.

I tried using

p { text-indent: 0mm; } in the Add Extra CSS slot

but it didn't effect the indent, so I used debug and converted again, and checked the "raw" HTML and noticed every paragraph started like this:
"┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ Having nothing else..."

The "A"s are beginning every paragraph, mind you, not the subsequent example words. I suspect that whatever these characters are, they're blocking my setting the indent to 0. What are they, and how would I remove them all in one fell swoop? Or is it something else entirely?

Newb here. Using the Kindle PW as my device. Any advice? This is mobi to mobi.

Thanks!

p.p.s. Tried "Ignore margins" as well, but no effect.

p.s. Input CSS:
body { text-align: justify }
blockquote { margin: 0em 0em 0em 2em; }
p { margin: 0em; text-indent: 1.5em }
.bold { font-weight: bold }
.italic { font-style: italic }
.underline { text-decoration: underline }
.mbp_pagebreak {
page-break-after: always; margin: 0; display: block
}.calibre_9 { margin-top: 1em; text-indent: 0pt; text-align: center }
.calibre_18 { margin-top: 1em; text-indent: 0pt; text-align: left }

Last edited by randomzombie; 02-02-2013 at 02:57 AM. Reason: more info
randomzombie is offline   Reply With Quote
Old 02-02-2013, 06:21 AM   #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,499
Karma: 5567061
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by randomzombie View Post
Hi! Just starting to mess with conversion, but I'm having a hard time. What I'm trying to convert's original input has a line between paragraphs, which I want to keep, and a paragraph indent that I don't.

I tried using

p { text-indent: 0mm; } in the Add Extra CSS slot

but it didn't effect the indent, so I used debug and converted again, and checked the "raw" HTML and noticed every paragraph started like this:
"┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ Having nothing else..."

The "A"s are beginning every paragraph, mind you, not the subsequent example words. I suspect that whatever these characters are, they're blocking my setting the indent to 0. What are they, and how would I remove them all in one fell swoop? Or is it something else entirely?

Newb here. Using the Kindle PW as my device. Any advice? This is mobi to mobi.

Thanks!

p.p.s. Tried "Ignore margins" as well, but no effect.

p.s. Input CSS:
body { text-align: justify }
blockquote { margin: 0em 0em 0em 2em; }
p { margin: 0em; text-indent: 1.5em }
.bold { font-weight: bold }
.italic { font-style: italic }
.underline { text-decoration: underline }
.mbp_pagebreak {
page-break-after: always; margin: 0; display: block
}.calibre_9 { margin-top: 1em; text-indent: 0pt; text-align: center }
.calibre_18 { margin-top: 1em; text-indent: 0pt; text-align: left }
What you are seeing is the result of the use of a wrong code page AND a sloppy/lazy habit for creating indents (akin to hitting the spacebar 8 times instead of text-indent: 4em).
theducks is online now   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
"Raw & funny." - Time magazine columnist Joel Stein mjomary Self-Promotions by Authors and Publishers 0 08-13-2012 08:07 PM
Are paragraph ending marks ("pilcrow" symbols) necessary for page breaks? DSpider Workshop 4 01-02-2012 03:57 PM
Paragraph/line space - "n" added NormalJoe Conversion 6 01-25-2011 11:28 AM
Calibre Recipe HTML content differs from raw html of index.html. krunk Calibre 4 09-20-2010 09:48 PM


All times are GMT -4. The time now is 10:16 AM.


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