From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [patch][ox-html] Stylistic changes Date: Tue, 18 Mar 2014 20:46:28 +0100 Message-ID: <8761nbs31n.fsf@gmx.us> References: <874n2z3ruf.fsf@gmx.us> <87d2hmsbuc.fsf@gmail.com> <87eh21k1qx.fsf@bzg.ath.cx> <20140317170102.GA75979@eyeBook> <87k3bs31u8.fsf@gmx.us> <20140318003542.GB92601@eyeBook> <874n2w2n62.fsf@gmx.us> <0d5c03b1f1e36a4250cbd11d467d3efe@mail.rickster.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPzyN-00049x-9p for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 15:46:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPzyH-0000f7-4N for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 15:46:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:50753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPzyG-0000ey-To for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 15:46:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WPzyF-0005Pd-4u for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 20:46:43 +0100 Received: from dynamic-adsl-94-34-191-91.clienti.tiscali.it ([94.34.191.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Mar 2014 20:46:43 +0100 Received: from rasmus by dynamic-adsl-94-34-191-91.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Mar 2014 20:46:43 +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: emacs-orgmode@gnu.org Rick Frankel writes: > On 2014-03-17 23:36, Rasmus wrote: > When you refer above to "utf-8 entities", do you mean the named html > entities (e.g., <) or the actual utf-8 encoded characters? The latter. Do M-x describe-char on such an character. Emacs will tell you the code points. My conjecture is therefore that one could write a script that would translate html values to these weird hex string or codepoints. It would create more ugly source output, but perhaps better for XHTML. Personally, I don't care about XHTML as I have little intuition as to when to use. . . > I believe the named entities are encoding independent, while including > encoded characters in html output is fine -- although making sure the > page is served with the correct character encoding is another issue > entirely. Not what I meant. I'm only addressing your concern about &HUMAN-READABLE-NAME; vs %HEX-VALUE;. > As to using a more extensive set of named entities, as i said above, > the problem is that the xhtml flavors don't support them, and I don't > see any advantage in making the exporter handle character encoding > differently based on ouput doctype. Definitely not. Why I ask if there's a point in changing nice entities to ugly entities for the sake of not getting them in XHTML-encoded documents. > As Nicolas would point out, you can always use a filter to map all the > entities in the output. With ox-latex.el we for instance don't include entities that are not supported by the default package alist. A similar concern could be at play here. –Rasmus -- El Rey ha muerto. ¡Larga vida al Rey!