On 02/26/17 19:28, Nicolas Goaziou wrote:
> Since you're writing the back-end, you don't need to
> use :completion-function, do you?
> 
> Just write the TOC the way you like.

I defined `*org-epub-current-file*' as a special variable and set it in
the publish function. Then I extracted the headlines in
`org-epub-template' (should find a better place). And this works like a
charm.

And now I can use the same heading text multiple times and get a proper
export.

Thank you very much.

Cheers, Mark
-- 
  Mark Meyer
  m...@ofosos.org

Reply via email to