Hello, James Harkins <jamshar...@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