Browse Source

PDF→EPUB: Fix Find & Replace.

Messed up the line break.
main
tastytea 3 weeks ago
parent
commit
0584a26902
Signed by: tastytea GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      content/posts/how-i-convert-pdfs-to-epub.adoc

+ 2
- 2
content/posts/how-i-convert-pdfs-to-epub.adoc View File

@ -240,8 +240,8 @@ the EPUB right now. I found that the footnote-numbers are usually preceded by a
space and followed by a space or `<`. I use the find & replace function in
Calibre in Regex-mode to convert them to hyperlinks.
Find: ``&nbsp;([0-9]{1,3})([ <])`` (note the leading space) + Replace: `<sup><a
epub:type="noteref" role="doc-noteref" href="#fn1_\1">\1</a></sup>\2`
Find: ``&nbsp;([0-9]{1,3})([ <])`` (note the leading space) +
Replace: `<sup><a epub:type="noteref" role="doc-noteref" href="#fn1_\1">\1</a></sup>\2`
Press kbd:[<f3>] to search through the text and kbd:[C-r] to replace.


Loading…
Cancel
Save