I want to export org texts to HTML. This is easy if I use
org-export-string-as. The problem is, the org texts may contain unreferenced footnotes, I want the export function to ignore the footnotes. Here is my code:
(let ((org-text (concat "* Header\n" "Text[fn:1].")) (my-backend (org-export-create-backend :parent 'html :transcoders '((footnote-reference . ignore))))) (org-export-string-as org-text my-backend t nil))
As you can see, I set the transcoder of
ignore, but it doesn't work. I still got an error when running the above code:
Definition not found for footnote 1
Why? What should I do?