From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Support Freemind/Freeplane export Date: Sun, 03 Mar 2013 20:33:03 +0530 Message-ID: <87r4jw34rc.fsf@gmail.com> References: <87r4jxr834.fsf@gmail.com> <87ip59xz4i.fsf@gmail.com> <87lia51llv.fsf@bzg.ath.cx> <87ip58ucji.fsf@Rainer.invalid> <87sj4cnah2.fsf@bzg.ath.cx> <87mwukx3uo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCARc-0007ru-79 for emacs-orgmode@gnu.org; Sun, 03 Mar 2013 10:03:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCARa-0007WL-Sq for emacs-orgmode@gnu.org; Sun, 03 Mar 2013 10:03:20 -0500 Received: from mail-pb0-f47.google.com ([209.85.160.47]:47475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCARa-0007W3-MW for emacs-orgmode@gnu.org; Sun, 03 Mar 2013 10:03:18 -0500 Received: by mail-pb0-f47.google.com with SMTP id rp2so2595650pbb.34 for ; Sun, 03 Mar 2013 07:03:17 -0800 (PST) In-Reply-To: <87mwukx3uo.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 03 Mar 2013 09:52:15 +0100") 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: Bastien , Achim Gratz , emacs-orgmode@gnu.org Nicolas Goaziou writes: > Bastien writes: > >> Achim Gratz writes: >> >>> It also requires that the HTML is output in UTF-8. I would >>> (reluctantly, I don't really know much about how this would work) >>> suggest that the export should always be done with symbolic entities and >>> a post-export filter should then replace them with whatever the >>> particular backend prefers. Does that work? >> >> This seems a good idea to me. Nicolas, do you think so? > > Yes. We can add a defconst associating each HTML entity to its utf-8 > counterpart, and add a filter to :filter-final-output in freemind > back-end definition (not to `org-export-filter-final-output-functions', > which is user-oriented). > > Any taker? Jambunathan? Please merge ,---- http://repo.or.cz/w/org-mode/org-kjn.git | | URL git://repo.or.cz/org-mode/org-kjn.git | http://repo.or.cz/r/org-mode/org-kjn.git | `---- I will submit more changes to ox-html.el and ox-odt.el. It's going to some time though. ps: I have a feeling that `org-html-display-buffer-mode' is superfluous. A simple `set-auto-mode' will do the trick. ,---- | kjambunathan@debian-6:~/src/org-mode$ git log upstream/master.. | commit b8d0b1ae89bd769a898aba90f6c85c680963e0ed | Author: Jambunathan K | Date: Sun Mar 3 20:21:07 2013 +0530 | | doc/org.texi: Replace org-export-odt with org-odt | | commit c5d46d21b5a3f902cfd7b9d709660b493f67bd94 | Author: Jambunathan K | Date: Sun Mar 3 20:15:10 2013 +0530 | | Always use utf-8 encoding for HTML export | | * ox-html.el (org-html-coding-system): Removed. Always use | utf-8 for HTML export. | (org-html--build-meta-info, org-html-template) | (org-html-entity, org-html-export-to-html): Propagate above | change. | (org-html-table--table.el-table): Replace   with it's | utf-8 equivalent. | (org-html-special-string-regexps, org-html--tags) | (org-html-format-headline, org-html--format-toc-headline) | (org-html-checkbox, org-html-table-cell, org-html-timestamp) | (org-html-verse-block): Replace numeric entities with their | utf-8 equivalent. | | Mark ox-html.el as utf-8 encoded. | | commit 75708cf644944d301e57bc343db8749b8fa3c242 | Author: Jambunathan K | Date: Sun Mar 3 13:51:32 2013 +0530 | | ox-html.el (org-html-code, org-html-verbatim): Transcode value | | * lisp/ox-html.el (org-html-code, org-html-verbatim): | Transcode value. `---- > > > Regards, --