PDF→EPUB: Add ARIA role for references to footnotes.
This commit is contained in:
parent
fb921af466
commit
c67fd6f310
|
@ -237,8 +237,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: `` ([0-9]{1,3})([ <])`` (note the leading space) +
|
||||
Replace: `<sup><a epub:type="noteref" href="#fn1_\1">\1</a></sup>\2`
|
||||
Find: `` ([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…
Reference in New Issue
Block a user