From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Ken Mankoff <mankoff@gmail.com>
Cc: Org-Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: problem with markdown exporter
Date: Thu, 21 Aug 2014 11:09:45 +0200 [thread overview]
Message-ID: <87d2bufbty.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <m2lhqj594n.fsf@gmail.com> (Ken Mankoff's message of "Wed, 20 Aug 2014 14:03:05 -0400")
Hello,
Ken Mankoff <mankoff@gmail.com> writes:
> I've turn on Markdown exporting with (require 'ox-md). Citations aren't
> being exported properly, so I'm trying to customize it. I have the
> following setup:
>
> (org-add-link-type
> "textcite" (lambda (key) (org-open-file cby-references-file t nil key))
> (lambda (path desc format)
> (cond
> ((eq format 'latex) (format "\\textcite{%s}" path))
> ((eq format 'md) (format "[@%s]" path))
> ((eq format 'odt) (format "%s" desc))
> ((eq format 'html) (format "<cite>%s</cite>" path))
> )))
>
> Which works for latex, odt, and hml. But it doesn't appear that the
> format string is ever being set to 'md, and so the [[cite:foo][Foo,
> YYYY]] in my org file isn't getting converted to [@foo].
This should be fixed. Thank you for reporting it.
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2014-08-21 9:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 18:03 problem with markdown exporter Ken Mankoff
2014-08-21 9:09 ` Nicolas Goaziou [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d2bufbty.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=mankoff@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.