Peter Davis <p...@pfdstudio.com> 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 "&#9746;")
>     (off "&#9744;")
>     (trans "&#9745;")
>     (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


Reply via email to