emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bullets when exporting a list of checklists
@ 2013-07-19 18:18 J. David Boyd
  2013-07-19 18:24 ` J. David Boyd
  0 siblings, 1 reply; 5+ messages in thread
From: J. David Boyd @ 2013-07-19 18:18 UTC (permalink / raw)
  To: emacs-orgmode


Is there any way to turn off the solid and hollow bullet points when exporting
a checklist of checklists?

I want to make a checklist for my camping trips, and I don't want the bullet
points, just the nice clean list.

I've seen some options available for formatting, but nothing seems to control
the generation of the bullet points.

Any pointers on where to look in the docs or source for controlling this?

Thanks,

Dave in St. Petersburg, FL

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bullets when exporting a list of checklists
  2013-07-19 18:18 bullets when exporting a list of checklists J. David Boyd
@ 2013-07-19 18:24 ` J. David Boyd
  2013-07-19 19:22   ` Rasmus
  2013-07-19 20:17   ` Nick Dokos
  0 siblings, 2 replies; 5+ messages in thread
From: J. David Boyd @ 2013-07-19 18:24 UTC (permalink / raw)
  To: emacs-orgmode

david@adboyd.com (J. David Boyd) writes:

> Is there any way to turn off the solid and hollow bullet points when exporting
> a checklist of checklists?
>
> I want to make a checklist for my camping trips, and I don't want the bullet
> points, just the nice clean list.
>
> I've seen some options available for formatting, but nothing seems to control
> the generation of the bullet points.
>
> Any pointers on where to look in the docs or source for controlling this?
>
> Thanks,
>
> Dave in St. Petersburg, FL

And sorry, I should have said "When exporting to html,"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bullets when exporting a list of checklists
  2013-07-19 18:24 ` J. David Boyd
@ 2013-07-19 19:22   ` Rasmus
  2013-07-19 20:17   ` Nick Dokos
  1 sibling, 0 replies; 5+ messages in thread
From: Rasmus @ 2013-07-19 19:22 UTC (permalink / raw)
  To: emacs-orgmode

david@adboyd.com (J. David Boyd) writes:

> david@adboyd.com (J. David Boyd) writes:
>
>> Is there any way to turn off the solid and hollow bullet points when exporting
>> a checklist of checklists?
>>
>> I want to make a checklist for my camping trips, and I don't want the bullet
>> points, just the nice clean list.
>>
>> I've seen some options available for formatting, but nothing seems to control
>> the generation of the bullet points.
>>
>> Any pointers on where to look in the docs or source for controlling this?
>>
>> Thanks,
>>
>> Dave in St. Petersburg, FL
>
> And sorry, I should have said "When exporting to html,"

looking at M-x apropos-variable org-export-with RET I didn't see
anything.  But check it out. 

If nothing works you can add a filter.  Here's something to get you
started.  You could add more robustness-check, e.g. making sure that
only the first occurrence is removed etc.

(defun me/org-export-remove-checkboxes-from-html (item backend info)
  "Remove checkboxes from html via regexp.  It's inheritantly
unstable as it only recognizes checkboxes of the format
<code>[something]</code>.  Info is ignored"
  (when (org-export-derived-backend-p backend 'html)
    (replace-regexp-in-string "<code>\\[.*?\\]</code> ?" "" item)))

(add-to-list 'org-export-filter-item-functions
             'me/org-export-remove-checkboxes-from-html)

–Rasmus

-- 
. . . The proofs are technical in nature and provides no real understanding.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bullets when exporting a list of checklists
  2013-07-19 18:24 ` J. David Boyd
  2013-07-19 19:22   ` Rasmus
@ 2013-07-19 20:17   ` Nick Dokos
  2013-07-19 20:33     ` J. David Boyd
  1 sibling, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2013-07-19 20:17 UTC (permalink / raw)
  To: emacs-orgmode

[I tried following up earlier and I think I messed it up, so I'm
resending. Apologies if there is a second reply.]

david@adboyd.com (J. David Boyd) writes:

> david@adboyd.com (J. David Boyd) writes:
>
>> Is there any way to turn off the solid and hollow bullet points when exporting
>> a checklist of checklists?
>>
>> I want to make a checklist for my camping trips, and I don't want the bullet
>> points, just the nice clean list.
>>
>> I've seen some options available for formatting, but nothing seems to control
>> the generation of the bullet points.
>>
>> Any pointers on where to look in the docs or source for controlling this?
>>
>> Thanks,
>>
>> Dave in St. Petersburg, FL
>
> And sorry, I should have said "When exporting to html,"
>
>
>
I think this is more up CSS's alley. Try

--8<---------------cut here---------------start------------->8---
#+HTML_HEAD: <style>.org-ul {list-style-type: none; } </style>
* foo

  - foo
    - bar
  - foo
--8<---------------cut here---------------end--------------->8---

-- 
Nick

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bullets when exporting a list of checklists
  2013-07-19 20:17   ` Nick Dokos
@ 2013-07-19 20:33     ` J. David Boyd
  0 siblings, 0 replies; 5+ messages in thread
From: J. David Boyd @ 2013-07-19 20:33 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> [I tried following up earlier and I think I messed it up, so I'm
> resending. Apologies if there is a second reply.]
>
> david@adboyd.com (J. David Boyd) writes:
>
>> david@adboyd.com (J. David Boyd) writes:
>>
>>> Is there any way to turn off the solid and hollow bullet points when exporting
>>> a checklist of checklists?
>>>
>>> I want to make a checklist for my camping trips, and I don't want the bullet
>>> points, just the nice clean list.
>>>
>>> I've seen some options available for formatting, but nothing seems to control
>>> the generation of the bullet points.
>>>
>>> Any pointers on where to look in the docs or source for controlling this?
>>>
>>> Thanks,
>>>
>>> Dave in St. Petersburg, FL
>>
>> And sorry, I should have said "When exporting to html,"
>>
>>
>>
> I think this is more up CSS's alley. Try
>
> #+HTML_HEAD: <style>.org-ul {list-style-type: none; } </style>
> * foo
>
>   - foo
>     - bar
>   - foo


Hmm, I'll check that out...

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-19 20:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-19 18:18 bullets when exporting a list of checklists J. David Boyd
2013-07-19 18:24 ` J. David Boyd
2013-07-19 19:22   ` Rasmus
2013-07-19 20:17   ` Nick Dokos
2013-07-19 20:33     ` J. David Boyd

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).