Replace with nothing (plain text search and replace):
class="body-text"
class="body-text _idGenParaOverride-1"
class="Normal--Web- ParaOverride-14"
class="Normal--Web- ParaOverride-15"
class="Normal ParaOverride-12"
class="body-text ParaOverride-6"
Replace with nothing (Regex):
(.*?) --> \1
(.*?) --> \1
(.*?) --> \1
(.*?) --> \1
(.*?) --> \1
Replace obsolete index references with nothing (Regex):
"no-indent"
--------
REPLACE ITALICS WITH EM TAG:
(.*?)
(.*?)
(.*?)
(.*?)
(.*?)
(.*?)
(.*?)
(.*?)
(.*?)
-->
\1
----------------
Fix bold, but be careful as some epub output is incorrectly marked as bold and in that case the span tag should be simply removed altogether:
(.*?)
\1
------------
Fix header 1
(.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?) * * * * * * * * * (.*) \1 (.*)<\/p>
Then
[1] Amalgamated Engineering Union (.*)
-->
\1
ALSO
...
Make footnotes superscript:
(.*?) (.*?) (.*?) (.*?) (.*) \1 (.*)
-->
Then
-->
class="fecha"
-->
class="right"
(.*)
-->
CLEAN UP EPUB-->HTML GENERATED CODE
(.*?)
-->
\1
class="calibre1"
(delete)
TĂtulo original: Moya Zihizn Leon Trotsky, 1930 TraducciĂłn: Wenceslao Roces Editor digital: Titivillus\1
--------
Fix subtitles and make header 2:
\1
* * *
-------------
Fixing footer and align right
class="Footer"
-->
class="right"
class="Footnote"
-->
class="small"
Removing hr line and adding h3 Notes header
-->
Notes
---
FIXING QUOTES
"Blockquote-first" "Blockquote-last" "Blockquote-middle" "Quotes-documents_Indented-Quote-Solo" --> "blockquote"
Fix UK quotes:
"Quotes-documents_Indented-Quote-first" "Quotes-documents_Indented-Quote" "Quotes-documents_Indented-Quote-first---no-spacing" "Quotes-documents_Indented-Quote---no-spacing" "Quotes-documents_Indented-Quote---no-spacing-end" "Quotes-documents_Indented-Quote---middle" --> "blockquote"
Then do regex to get proper blockquote tag wrap:
OR lately
-->
(nothing)
---------------
FOOTNOTES
Add anchors for half-way MIA notes
a href="notes.html#n(.*?)"
-->
a href="#n\1" id="f\1"
In the footnotes at bottom:
(.*?)
-->
[\2]
For fixing ebook footnotes and make superscript:
First remove the italics:
(.*?)
-->
\1
Then:
class="_idFootnoteLink _idGenColorInherit"
-->
class="superscript"
Then to replace superscript class with for HTML standardisation:
--->
To add square brackets to footnotes using regex:
[0-9]+<\/a><\/sup>
-->
[\0]
Then
]
-->
]
backlink">[0-9]<
-->
>[\0]<
Then in normal mode
>[backlink">
-->
backlink">[
--------------------------------------------
-------------------------------------------
OBSOLETE AND TIME-CONSUMING
------------------------------------------
-----------------------------------------
Then:
add square brackets using normal search and replace:
>1
-->
>[1]
(in text)
and
backlink">1<
-->
backlink">[1]<
----------
(also)
--->
(.*)
-->
\2
also variation
(.*)
sup
FOOTNOTES FROM SCRATCH:
Notes
\1
-----
Spanish InDesign fixes
(.*?)
(.*?)
(.*?)
(.*?)
(.*?)
-->
\1
Body-Text ParaOverride-5
-->
no-indent
p class="Body-Text ParaOverride-7"
-->
p
\1
\1
CLEAN UP EPUBLIOBRE FILES
\1
\1
(.*?)
(.*?)
(.*?) -->
-->Regresar al Ăndice