emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: Export Org checkboxes in ox-html using UTF-8 symbols
Date: Sat, 29 Mar 2014 15:12:14 +0100	[thread overview]
Message-ID: <20140329151214.316e7840@aga-netbook> (raw)
In-Reply-To: <e4bbfd4d48071019839254c0efd5a311@mail.rickster.com>

Dnia 2014-03-28, o godz. 10:59:43
Rick Frankel <rick@rickster.com> napisał(a):

> On 2014-03-28 10:01, Sebastien Vauban wrote:
> > Rick Frankel wrote:
> > BTW, i used "[&nbsp;]" for the unchecked box (we use the same for
> > checked and trans)... I think i'll change the unchecked box to
> > &#x2610; to match the checked box (same as sachua).
> > 
> > Isn't it error-prone and very misleading to have 3 different states
> > in the Org files, and just 2 different in the HTML exports?
> 
> There *are* three different states in the exported file -- the
> "transient" mode is for partially completed rollups:
> 
> #+BEGIN_SRC org
> ,* rollup
> - [-] All done
> - [X] one
> - [ ] two
> #+END_SRC
> 
> Generates (abbreviated and indented):
> 
> #+BEGIN_SRC html
> <ul class="org-ul">
> <li><code>[-]</code> All done
> <ul class="org-ul">
> <li><code>[X]</code> one
> </li>
> <li><code>[&#xa0;]</code> two
> </li>
> </ul>
> </li>
> </ul>
> #+END_SRC

Wouldn't it be better to have (maybe in addition) three distinct
classes for the <li> elements with checkboxes in various states?  This
would make styling them with CSS possible.

> rick

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

  parent reply	other threads:[~2014-03-29 14:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27  1:56 Export Org checkboxes in ox-html using UTF-8 symbols Grant Rettke
2014-03-27  8:43 ` Nicolas Goaziou
2014-03-28 13:55   ` Rick Frankel
2014-03-28 14:01     ` Sebastien Vauban
2014-03-28 14:59       ` Rick Frankel
2014-03-28 15:27         ` Sebastien Vauban
2014-03-29 14:12         ` Marcin Borkowski [this message]
2014-04-02 16:59           ` Rick Frankel
2014-04-17  1:15           ` Rick Frankel
2014-04-17  9:45             ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140329151214.316e7840@aga-netbook \
    --to=mbork@wmi.amu.edu.pl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).