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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-08-2017, 09:58 AM   #1
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 487
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Libra Colour
Odd editing behavior

I've only ever noticed this happening when I edit my fanfics.

At the end of a chapter (file), there are sometimes notes which I want remove. For example:

Code:
...</p>
  </div><b>Notes for the Chapter:</b><blockquote class="userstuff">
          <p>Blah, Blah, notes, thoughts, coming attractions, blah, blah, blah, and so on and so forth</p>
        </blockquote></div>
Now, I remove the space(s) in front of the first </div>, then select all the text between the two </div>. Since I want to have the 2nd </div> on the next line, my first thought is to hit enter.

I expect to see:

Code:
...</p>
</div>
</div>
What actually happens is:

Code:
...</p>
</div>
        </div>
Anywhere else in the text that I've tried, if I select a bunch of text and hit enter, the expected happens: the text is deleted and everything after is on the next line with no extra spaces, tabs, etc.

If I then select from right after the > to < and hit enter, the spaces remain. If I select from right after the > to < and hit delete, the spaces are gone, and then hitting enter works as expected.
MerlinMama is offline   Reply With Quote
Old 03-08-2017, 10:07 AM   #2
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: 30,405
Karma: 58055234
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 MerlinMama View Post
I've only ever noticed this happening when I edit my fanfics.


Code:
...</p>
  </div><b>Notes for the Chapter:</b><blockquote class="userstuff">
          <p>Blah, Blah, notes, thoughts, coming attractions, blah, blah, blah, and so on and so forth</p>
        </blockquote></div>
.
This is naked text (not in a Block level tag) that may be tripping up the indention
theducks is offline   Reply With Quote
Advert
Old 03-08-2017, 10:27 AM   #3
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 487
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Libra Colour
Quote:
Originally Posted by theducks View Post
This is naked text (not in a Block level tag) that may be tripping up the indention
But once it's gone, shouldn't a return or enter still be able to get rid of those spaces? It thankfully doesn't come up too often, but also because of that I forget that enter doesn't work. It (obviously) doesn't bother anything that the spaces are there, but I can't stand seeing them.

Just like if there are five blank lines between paragraphs. They don't render as blank lines in any viewer or reader, but if I know they're there, they annoy me LOL
MerlinMama is offline   Reply With Quote
Old 03-08-2017, 10:38 AM   #4
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,118
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
What happens when you use delete or cut text?

benie
gbm is offline   Reply With Quote
Old 03-08-2017, 11:25 AM   #5
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 487
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Libra Colour
Delete works as expected, but I never remember to use it first. So instead of return/enter and finished (which is what I do without really thinking about it), I have to remember to do delete then return/enter.

I can't say I've ever tried cut text, but I expect it to work as delete...yep, just tried it and it works like delete does.
MerlinMama is offline   Reply With Quote
Advert
Old 03-08-2017, 12:40 PM   #6
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,118
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by MerlinMama View Post
snip

Just like if there are five blank lines between paragraphs. They don't render as blank lines in any viewer or reader, but if I know they're there, they annoy me LOL
Those empty line returns may not render but they do slow down the reader or reader app.

If there is more than one return then I use the following regex to remove them:
search:
Code:
>\n*<
Replace
Code:
>\n<
With Project Gutenberg ebooks they have a lot returns in the text so I remove all returns then put them back between block elements.


bernie
gbm is offline   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
Odd broswer behavior on Knlde 3 Teyrnon Amazon Kindle 3 03-07-2012 03:40 PM
PE Odd behavior...(Help. Please?) Em_Scape enTourage eDGe 11 10-27-2011 07:37 PM
Odd startup behavior from a new K3 bfollowell Amazon Kindle 18 12-28-2010 05:24 PM
PRS-900 Odd behavior (battery?) Penforhire Sony Reader 1 06-22-2010 03:03 PM


All times are GMT -4. The time now is 03:51 PM.


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