From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Export Org checkboxes in ox-html using UTF-8 symbols Date: Wed, 26 Mar 2014 20:56:51 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSzYr-0001XR-P9 for emacs-orgmode@gnu.org; Wed, 26 Mar 2014 21:56:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSzYq-0000SI-MM for emacs-orgmode@gnu.org; Wed, 26 Mar 2014 21:56:53 -0400 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:61787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSzYq-0000S4-Hd for emacs-orgmode@gnu.org; Wed, 26 Mar 2014 21:56:52 -0400 Received: by mail-ob0-f175.google.com with SMTP id uy5so3520115obc.34 for ; Wed, 26 Mar 2014 18:56:51 -0700 (PDT) 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" Hi, Sacha Chua made a nice hack to export checkboxes as unicode symbols to HTML here: http://sachachua.com/blog/2014/03/emacs-tweaks-export-org-checkboxes-using-= utf-8-symbols/?shareadraft=3Dbaba27119_533313c944f64 (defun sacha/org-html-checkbox (checkbox) "Format CHECKBOX into HTML." (case checkbox (on "") ; checkbox (checked) (off "") (trans "[-]") (t ""))) (defadvice org-html-checkbox (around sacha activate) (setq ad-return-value (sacha/org-html-checkbox (ad-get-arg 0)))) Thanks Sacha. Regards, Grant Rettke | AAAS, ACM, AMA, COG, IEEE, Sigma Xi grettke@acm.org | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson