all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: James Harkins <jamshark70@gmail.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: HTML export doesn't convert quote before footnote
Date: Thu, 09 Jan 2014 12:07:15 +0100	[thread overview]
Message-ID: <87eh4h9zx8.fsf@gmail.com> (raw)
In-Reply-To: <8b247f17-020f-4738-8198-f864301f4bd7@dewdrop-world.net> (James Harkins's message of "Thu, 09 Jan 2014 11:03:25 +0800")

Hello,

James Harkins <jamshark70@gmail.com> writes:

> On Thursday, January 9, 2014 10:13:32 AM HKT, James Harkins wrote:
>> OK, I'll work around it on my side.
>
> Continuing... I've tried to write a filter for this, but I'm stuck on
> choosing strings based on the backend name.
>
> (cdr (assoc
> 			  (org-export-backend-name backend)
> 			  '((latex . "\"\\footnote") (html . "\"<sup><a"))))
>
> Apparently org-export-backend-name returns neither a symbol nor
> a string.

That's because BACKEND is already a symbol, not a real back-end (i.e.
a defstruct).  Thus, you can use:

  (cdr (assq backend ...) ...)



Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2014-01-09 11:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08  2:09 HTML export doesn't convert quote before footnote James Harkins
2014-01-08  5:03 ` Nick Dokos
2014-01-08 15:33 ` Nicolas Goaziou
2014-01-08 15:50   ` James Harkins
2014-01-08 16:37     ` Nicolas Goaziou
2014-01-09  2:13       ` James Harkins
2014-01-09  3:03         ` James Harkins
2014-01-09 11:07           ` Nicolas Goaziou [this message]
2014-01-11  2:45             ` James Harkins

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=87eh4h9zx8.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jamshark70@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.