From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: HTML export doesn't convert quote before footnote Date: Sat, 11 Jan 2014 10:45:41 +0800 Message-ID: <4e70d163-1f0d-4f4e-9506-ee5237d41fc3@dewdrop-world.net> References: <2dca3d53-10f1-4ead-8106-eb5fe050a656@dewdrop-world.net> <87lhyqbi8r.fsf@gmail.com> <87d2k2bfak.fsf@gmail.com> <3388e888-389f-4963-843f-4c3508e59bd8@dewdrop-world.net> <8b247f17-020f-4738-8198-f864301f4bd7@dewdrop-world.net> <87eh4h9zx8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1oar-0006Xv-Vv for emacs-orgmode@gnu.org; Fri, 10 Jan 2014 21:46:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1oaj-0001gt-IB for emacs-orgmode@gnu.org; Fri, 10 Jan 2014 21:46:37 -0500 Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]:57745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1oaj-0001f9-A0 for emacs-orgmode@gnu.org; Fri, 10 Jan 2014 21:46:29 -0500 Received: by mail-pd0-f171.google.com with SMTP id x10so613015pdj.30 for ; Fri, 10 Jan 2014 18:46:27 -0800 (PST) In-Reply-To: <87eh4h9zx8.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: orgmode On Thursday, January 9, 2014 7:07:15 PM HKT, Nicolas Goaziou wrote: > Hello, > > James Harkins writes: > >> On Thursday, January 9, 2014 10:13:32 AM HKT, James Harkins wrote: > ... > > That's because BACKEND is already a symbol, not a real back-end (i.e. > a defstruct). Thus, you can use: > > (cdr (assq backend ...) ...) And, I have a working filter now. (defun hjh-quote-before-footnote (contents backend info) "Convert '\"[fn' to the appropriate closing quote per backend." (when (and (and =09 (org-export-derived-backend-p backend 'latex 'html) =09 (plist-get info :with-smart-quotes)) =09 (let ((teststring =09=09 (cdr (assq backend =09=09=09 '((latex . "\"\\\\footnote") (html . "\"