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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2010, 07:31 AM   #1
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,548
Karma: 13575467
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Sigil Find

I have run into this several times and will finally ask for help.

The following code appears at the end of each chapter and I wish to remove it.
Code:
  <p><br />
  <br />
  <br /></p>
Find is set to NORMAL and FIND ALL and reports that it cannot find it.

What am I doing wrong?
crutledge is offline   Reply With Quote
Old 08-30-2010, 07:47 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,870
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by crutledge View Post
I have run into this several times and will finally ask for help.

The following code appears at the end of each chapter and I wish to remove it.
Code:
  <p><br />
  <br />
  <br /></p>
Find is set to NORMAL and FIND ALL and reports that it cannot find it.

What am I doing wrong?
You probably forgot the non printing "newlines" and tabs/spaces that vary and you can't see them in Sigil

If you copy and paste, you also some times can pick them pick up Or there is a leading spaces/tabs on each line.
you could try (wildcard, with extreme care, if replace all.)
Code:
 *<p><br />?
?<br />?
?<br /></p>
theducks is offline   Reply With Quote
Old 08-30-2010, 08:23 AM   #3
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,548
Karma: 13575467
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by theducks View Post
You probably forgot the non printing "newlines" and tabs/spaces that vary and you can't see them in Sigil

If you copy and paste, you also some times can pick them pick up Or there is a leading spaces/tabs on each line.
you could try (wildcard, with extreme care, if replace all.)
Code:
 *<p><br />?
?<br />?
?<br /></p>
Thanks. I suspected some such. However, with no "TRYOUT" IN Sigil and no global undo I avoid wildcards. The same is true of regex. There is no way to pretest and say, "Whoops" "Lets try again."

The joys of a developing system.
crutledge is offline   Reply With Quote
Old 08-30-2010, 09:00 AM   #4
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,188
Karma: 727236
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by crutledge View Post
However, with no "TRYOUT" IN Sigil and no global undo I avoid wildcards. The same is true of regex. There is no way to pretest and say, "Whoops" "Lets try again."
Set your regex to look in the current file and hit 'Find Next'. Check that it's found only the passage you want to change and hit 'Replace'. You can undo this if there was a problem with your regex.

The lack of undo only applies to 'Replace All', but Sigil does provide a way to test and debug your regex before using that.

But for simple passages such as the one you describe, it's easiest just to copy and paste the code into the Find box. Sometimes you need to do that twice because Sigil will refactor any nonstandard newlines.
charleski is offline   Reply With Quote
Old 08-30-2010, 10:53 AM   #5
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,870
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by crutledge View Post
Thanks. I suspected some such. However, with no "TRYOUT" IN Sigil and no global undo I avoid wildcards. The same is true of regex. There is no way to pretest and say, "Whoops" "Lets try again."

The joys of a developing system.
You have a "Tryout mode" even if you did not know it.
It is called "Save", just before you try something. Then if something 's on you,
Just (re)Load (from recent list) with "Discard" the current when asked

I Use that "feature" a lot
theducks is offline   Reply With Quote
Old 08-30-2010, 11:20 AM   #6
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,548
Karma: 13575467
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by theducks View Post
You have a "Tryout mode" even if you did not know it.
It is called "Save", just before you try something. Then if something 's on you,
Just (re)Load (from recent list) with "Discard" the current when asked

I Use that "feature" a lot
You, my friend, are obviously a genius.
crutledge is offline   Reply With Quote
Old 08-30-2010, 11:33 AM   #7
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,870
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by crutledge View Post
You, my friend, are obviously a genius.
The reason I have 2 feet, is so I can still hop up and down after I foot-shoot myself.
Lots of practice
theducks 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
Sigil 0.2.3 Valloric Sigil 16 06-25-2010 10:59 AM
Sigil Marc_liest Software 19 06-01-2010 12:59 AM
When searching Sigil highlights but doesn't jump to the find. ramjet1953 Sigil 1 12-25-2009 05:28 AM
When do we get Sigil v0.2.0??? delphidb96 Sigil 0 10-08-2009 04:24 PM
Sigil 0.1.1 Valloric Sigil 29 08-08-2009 02:16 PM


All times are GMT -4. The time now is 03:45 AM.


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