From: Mark Meyer <mark@ofosos.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Searching for a headline
Date: Sun, 26 Feb 2017 22:46:05 +0100 [thread overview]
Message-ID: <b9d8a804-d8c5-d01a-c187-4c937b4d9f60@ofosos.org> (raw)
In-Reply-To: <87shn0erh0.fsf@nicolasgoaziou.fr>
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
mark@ofosos.org
next prev parent reply other threads:[~2017-02-26 21:46 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-26 13:41 Searching for a headline Mark Meyer
2017-02-26 15:27 ` Nicolas Goaziou
2017-02-26 16:11 ` Mark Meyer
2017-02-26 16:39 ` Nicolas Goaziou
2017-02-26 16:58 ` Mark Meyer
2017-02-26 17:28 ` Nicolas Goaziou
2017-02-26 17:54 ` Mark Meyer
2017-02-26 18:12 ` Nicolas Goaziou
2017-02-26 18:21 ` Mark Meyer
2017-02-26 18:28 ` Nicolas Goaziou
2017-02-26 18:30 ` Mark Meyer
2017-02-26 21:46 ` Mark Meyer [this message]
2017-02-26 19:32 ` Eric Abrahamsen
2017-02-26 20:40 ` Mark Meyer
2017-02-26 21:34 ` Eric Abrahamsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9d8a804-d8c5-d01a-c187-4c937b4d9f60@ofosos.org \
--to=mark@ofosos.org \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).