From c8e3d7fef7f33ce67ec8b4dfe1f2fa8f92d246d3 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 11 Jun 2021 02:52:12 +0200 Subject: [PATCH] =?UTF-8?q?PDF=E2=86=92EPUB:=20Recommend=20the=20sue=20of?= =?UTF-8?q?=20=E2=80=9Cendnotes=E2=80=9D=20instead=20of=20=E2=80=9Cfootnot?= =?UTF-8?q?es=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They are technically end-notes, after all. --- content/posts/how-i-convert-pdfs-to-epub.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/posts/how-i-convert-pdfs-to-epub.adoc b/content/posts/how-i-convert-pdfs-to-epub.adoc index 66b870b..e4888a5 100644 --- a/content/posts/how-i-convert-pdfs-to-epub.adoc +++ b/content/posts/how-i-convert-pdfs-to-epub.adoc @@ -209,13 +209,13 @@ Once you are done, copy the result into Calibre. Use the method from above to copy the footnotes into the now empty Emacs buffer and clean them up until you have 1 paragraph per line. Footnotes need to be hyperlink-able, so we can't just wrap them in plain `

` tags, they need IDs. I -like to use `

  • […]
  • ` if the footnote numbers -are increasing throughout the book or `
  • […]
  • ` if the footnote numbers +are increasing throughout the book or `
  • […]
  • ` if they start with 1 in each chapter. We are going to use a macro with a counter to generate consecutively numbered IDs. First, set the counter to 1 with kbd:[C-x] kbd:[C-k] kbd:[C-c] `1`. Then, record this macro: -`
  • ` +`
  • ` kbd:[] `
  • ` kbd:[] kbd:[] kbd:[] [TIP] @@ -224,14 +224,14 @@ out what a key combination does. Call the macro until every footnote is wrapped and copy them to the end of the chapter or the end of the book in Calibre. Wrap them in `
      […]
    ` +epub:type="endnotes" role="doc-endnotes">
      […]
    ` [NOTE] If the notes appear at the bottom of each page, they are called “footnotes” (`epub:type="footnote"`). If they appear at the end of each chapter or the end -of the book, they are called “endnotes”. (`epub:type="endnote"`). The difference -is that some e-book readers display footnotes on the same page where the link -to them is even if you put all footnotes at the end of the chapter / book. +of the book, they are called “endnotes”. (`epub:type="endnote"`). Some e-book +readers display footnotes on the same page where the link to them is even if you +put all footnotes at the end of the chapter / book. === Add references to footnotes