View Single Post
Old 03-28-2020, 01:21 PM   #13
LittleMissS
Enthusiast
LittleMissS began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Apr 2019
Device: none
Because I am somewhat dysphraxic it takes me a long time to type, scroll, copy and paste., etc I get timed out an have to log back in. The my typing is lost, or more messages come in.

So excuse me if what I paste is has been answered whilst I have been typing. Thankfully I copied it in case of timing out


Psting now..

Quote:
Originally Posted by theducks View Post
Did you highlight the bad code, then Ctrl-F ?
No. I pasted code into the Find facility, set to Regex. I assume that does the same job but is part of Sigil? I was getting it saying ' No matches found '
for
>p

<o></po>

<o:


<p>p>*</p>


When I tried to paste in

<p>p>*</p>
<p>p>*</p>
<p>p>*</p>


(as shown )...

Quote:
Originally Posted by JSWolf View Post
It could be that you have your code looking like...

<p>p>*</p>
<p>p>*</p>
<p>p>*</p>

That would give you the look you are seeing instead of...

* * *

The code you want instead of three lines is...

<p class="center">* * *</p>
It simply lined them in a line <p>p>*</p><p>p>*</p><p>p>*</p>

and also came back as 'No matches found'.


Now I reopen and try again, I am getting that there is an error on line 62 as follows...

<p><!--[if gte vml 1]><v:shape id="Picture_x0020_3"


I don't know if it is relevant, but part way through all this hassle, I realised that I still had the ToC that was in the Word paperback version that I am using to make the ePub. I had forgotten the remove the ToC before pasting the content from Word. So, as it had taken me 20 mins to scroll to select lots of code, I didn't want to start again. Instead, I went into the code and removed what I assumed to be the ToC code (just a line or two). But I had problems before then anyway.

Perhaps I will have to start again tomorrow when I am less stressed!

So far, code I have either deleted or swapped has been
about 700 lines of a hgue bock of code following Cubbon Sigil video. https://www.youtube.com/watch?v=A_Z8aQeEMmg

Also (following his video) I have searched for the following with the Find box in regex mode :
<p[^>]*> Replaced with <p>
<span[^>]*> Replaced with nothing
</span> Replaced with nothing
<v:[^> Replaced with nothing
</v[^>]*> Replaced with nothing
<!^>]*> Replaced with nothing
width=”[^>]*” Replaced with nothing
*</p> Replaced with space
<p>*</p> Replaced with nothing
V:[^>]* Replaced with I deleted manually

(some of them came back as No matches found -I assume this to mean that there were no incidences). Is that so?

Then - as per online advice elsewhere, I also searched for the following codes using the Doc with the doc with Find Regex:

<o></po>
<o:

<p><b> </b></p>
*


Then I tried the suggestions on here.


I hope my having put all this here hasn't made it as confusing for you as it is for me!!

Do you know if there is an extensive list of code to search for and swap / remove?

I thought the code in Rob C's video was enough, but it seems not!
LittleMissS is offline   Reply With Quote