From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Getting checkboxes in HTML output? Date: Mon, 02 Dec 2013 20:11:25 -0500 Message-ID: <87li02eo1u.fsf@gmail.com> References: <20131127154534.GA12765@pdavismbp15.iscinternal.com> <8738mhal2d.fsf@alphaville.bos.redhat.com> <20131127182059.GB12765@pdavismbp15.iscinternal.com> <20131128133329.GA28945@eyeBook> <87vbzc9rmj.fsf@Rainer.invalid> <86haawtdya.fsf@somewhere.org> <16f7d77c0769177de44354bcf25abb37@mail.rickster.com> <87A2DB5F-009B-4C8E-8058-D9A5DA78748B@gmail.com> <20131130140703.GA45985@eyeBook> <43B44636-263C-47D1-8853-55BFEFFCE576@gmail.com> <86k3fn1w2t.fsf@somewhere.org> <529CB77D.6050608@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VneWe-0006Lk-Hi for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 20:11:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VneWY-0008S3-9P for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 20:11:44 -0500 Received: from plane.gmane.org ([80.91.229.3]:36172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VneWY-0008Rr-1Q for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 20:11:38 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VneWW-00021r-Ug for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 02:11:36 +0100 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Dec 2013 02:11:36 +0100 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Dec 2013 02:11:36 +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 Peter Davis writes: > I've now changed ox-html.el to include this: > As an FYI: you don't need to change ox-html.el. You can just load a file containing the redefinition *after* you've loaded ox-html. Something like this (untested): (eval-after-load "ox-html" (defun org-html-checkbox (checkbox) ....)) That way, you have pristine sources *and* you get the redefined function. > (defun org-html-checkbox (checkbox) > "Format CHECKBOX into HTML." > (case checkbox (on "☒") > (off "☐") > (trans "☑") > (t ""))) > > > This is sort of close to using > [ ] for unchecked > [/] for partially checked > [X] for checked > > To my aging eyes, the check in U#9745 looks almost like a forward > slash. Certainly, though, this would be potentially confusing, > especially if no [X] boxes were present, so that only [ ] or [/] were > visible. > > -pd -- Nick