Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-04-2013, 10:16 PM   #16
theducks
Well trained by Cats
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: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
JS
I can tell you don't like big indents, but 0 is pretty small
theducks is online now   Reply With Quote
Old 04-05-2013, 02:52 AM   #17
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
<p>
<p class="noindent">
<p class="spacebreak">

p {
margin-top: 0;
margin-bottom: 0;
text-indent: 0 1.2em
}
.noindent {
text-indent: 0
}
.spacebreak {
margin-top: 2em;
text-indent: 0
}

There you go; indented, not indented and even a section break.
Yay!!

Exactly....

You only need special classes for paragraphs that are...well....special. Anything else is unnecessary and bloat.
Turtle91 is offline   Reply With Quote
Advert
Old 04-05-2013, 12:03 PM   #18
CyanBC
Junior Member
CyanBC began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2013
Device: Kindle Touch
Thanks for all the responses. I didn't know about the tidy feature, but in my case it was sufficient as I've yet to find a regex code that could have found

<br... />the text in here with anything else what, so, ever!

and replaced it with

<p>the text in here with anything else what, so, ever!</p>

Without exploiting the cleanifying feature in Sigil, I would have had to (at this point at least) manually put in all the </p> tens of thousands of times.
CyanBC is offline   Reply With Quote
Old 04-05-2013, 01:37 PM   #19
theducks
Well trained by Cats
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: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by CyanBC View Post
Thanks for all the responses. I didn't know about the tidy feature, but in my case it was sufficient as I've yet to find a regex code that could have found

<br... />the text in here with anything else what, so, ever!

and replaced it with

<p>the text in here with anything else what, so, ever!</p>

Without exploiting the cleanifying feature in Sigil, I would have had to (at this point at least) manually put in all the </p> tens of thousands of times.
If you had use my original S&R , you would have had to edit Zero times.
Note: the Tags Close the current P then open the next P
The first Open is already Good
The Last Close is already Good

We really have done this before
theducks is online now   Reply With Quote
Old 04-05-2013, 01:47 PM   #20
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: 79,763
Karma: 145864619
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 Turtle91 View Post
Yay!!

Exactly....

You only need special classes for paragraphs that are...well....special. Anything else is unnecessary and bloat.
Thank you for fixing my mistake with the indent in your quoting.
JSWolf is offline   Reply With Quote
Advert
Old 04-05-2013, 11:59 PM   #21
CyanBC
Junior Member
CyanBC began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2013
Device: Kindle Touch
Quote:
Originally Posted by theducks View Post
If you had use my original S&R , you would have had to edit Zero times.
Note: the Tags Close the current P then open the next P
The first Open is already Good
The Last Close is already Good

We really have done this before
Oh... yes, I just realized that. Thanks for pointing out my brain fart. I'm not the best at thinking about code.
CyanBC is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
class="none" vs class="none1" hymie Conversion 2 10-27-2011 06:45 AM
Value of Attribute "Class" is Invalid Error TFaire ePub 2 09-23-2011 11:25 AM
Changing or removing <div class="calibrenavbar"> ptsefton Recipes 3 05-28-2011 08:30 AM
How to reduce indents without "removing space between paragraphs" Skydog Calibre 5 06-05-2010 12:58 AM
Line indents using "<div>" tags HarryT Kindle Formats 11 04-29-2009 10:18 PM


All times are GMT -4. The time now is 09:35 AM.


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