Hello,

Samuel Wales <samolog...@gmail.com> writes:

> Surely this is pilot error someplace.
>
> (org-export-to-buffer
>           'html
>           (get-buffer-create "test")
>           t
>           nil
>           t)
>

Beware, `org-export-to-buffer' expects a string as its second argument,
not a buffer. So:

  (org-export-to-buffer 'html "test" t nil t)

should be enough.

> *** test
> asasdf[fn::test]
>
> *** output
> <p>
> asasdf<sup><a id="fnr.1" name="fnr.1" class="footref"
> href="#fn.1">1</a></sup></p>
>

I assume you wonder why there's no footnote definition. That's because
this is a body-only export. Footnote definitions belong to the global
template, which is ignored when this option is active.


Regards,

-- 
Nicolas Goaziou

Reply via email to