emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Adding custom ordered list "bullet" symbols?
@ 2015-10-15 18:07 Lawrence Bottorff
       [not found] ` <CAGyxsyjV_0Z_8owBZV1JB4jSb--fr7Fbmhpuzo2w8BpNd_Hj6g@mail.gmail.com>
  2015-10-15 20:26 ` Eric S Fraga
  0 siblings, 2 replies; 8+ messages in thread
From: Lawrence Bottorff @ 2015-10-15 18:07 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

[-- Attachment #1: Type: text/plain, Size: 100 bytes --]

Would there be a way to add a \rightarrow (or other latex symbols) as an
ordered list "bullet"?

LB

[-- Attachment #2: Type: text/html, Size: 155 bytes --]

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

* Re: Adding custom ordered list "bullet" symbols?
       [not found] ` <CAGyxsyjV_0Z_8owBZV1JB4jSb--fr7Fbmhpuzo2w8BpNd_Hj6g@mail.gmail.com>
@ 2015-10-15 19:37   ` Lawrence Bottorff
  2015-10-15 20:25     ` Nick Dokos
  0 siblings, 1 reply; 8+ messages in thread
From: Lawrence Bottorff @ 2015-10-15 19:37 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

[-- Attachment #1: Type: text/plain, Size: 928 bytes --]

Thanks. Interesting. But not really what I'm after -- unless I'm not using
it right. When I do M-x org-bullets-mode, it wants to replace heading
asterisks with the alternative list

(defcustom org-bullets-bullet-list
  '(;;; Large
    "◉"
    "○"
    "✸"
    "✿"
    ;; ♥ ● ◇ ✚ ✜ ☯ ◆ ♠ ♣ ♦ ☢ ❀ ◆ ◖ ▶
    ;;; Small
    ;; ► • ★ ▸
    )

I wanted something that would give me the ability to add to the existing
ordered list symbols -, +, 1. etc., not totally replace the normal heading
asterisks.

On Thu, Oct 15, 2015 at 6:18 PM, Seamus Tuohy <s2e.lists@gmail.com> wrote:

> There is a way using UTF-8 chars. https://github.com/sabof/org-bullets
>
> On Thu, Oct 15, 2015 at 2:07 PM, Lawrence Bottorff <borgauf@gmail.com>
> wrote:
>
>> Would there be a way to add a \rightarrow (or other latex symbols) as an
>> ordered list "bullet"?
>>
>> LB
>>
>
>

[-- Attachment #2: Type: text/html, Size: 1890 bytes --]

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

* Re: Adding custom ordered list "bullet" symbols?
  2015-10-15 19:37   ` Lawrence Bottorff
@ 2015-10-15 20:25     ` Nick Dokos
  0 siblings, 0 replies; 8+ messages in thread
From: Nick Dokos @ 2015-10-15 20:25 UTC (permalink / raw)
  To: emacs-orgmode

Lawrence Bottorff <borgauf@gmail.com> writes:

> Thanks. Interesting. But not really what I'm after -- unless I'm not using it right. When I do M-x
> org-bullets-mode, it wants to replace heading asterisks with the alternative list
>
> (defcustom org-bullets-bullet-list
>   '(;;; Large
>     "◉"
>     "○"
>     "✸"
>     "✿"
>     ;; ♥ ● ◇ ✚ ✜ ☯ ◆ ♠ ♣ ♦ ☢ ❀ ◆ ◖ ▶
>     ;;; Small
>     ;; ► • ★ ▸
>     )
>
> I wanted something that would give me the ability to add to the existing ordered list symbols -, +, 1.
> etc., not totally replace the normal heading asterisks.
>
> On Thu, Oct 15, 2015 at 6:18 PM, Seamus Tuohy <s2e.lists@gmail.com> wrote:
>
>     There is a way using UTF-8 chars. https://github.com/sabof/org-bullets
>    
>     On Thu, Oct 15, 2015 at 2:07 PM, Lawrence Bottorff <borgauf@gmail.com> wrote:
>    
>         Would there be a way to add a \rightarrow (or other latex symbols) as an ordered list "bullet"?
>        
>         LB

Assuming you are talking about buffer contents, check the variable
org-list-demote-modify-bullet. I doubt you can use latex symbols, but
you should be able to use unicode characters. Untested.

--
Nick

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

* Re: Adding custom ordered list "bullet" symbols?
  2015-10-15 18:07 Adding custom ordered list "bullet" symbols? Lawrence Bottorff
       [not found] ` <CAGyxsyjV_0Z_8owBZV1JB4jSb--fr7Fbmhpuzo2w8BpNd_Hj6g@mail.gmail.com>
@ 2015-10-15 20:26 ` Eric S Fraga
  2015-10-15 20:49   ` Nick Dokos
  1 sibling, 1 reply; 8+ messages in thread
From: Eric S Fraga @ 2015-10-15 20:26 UTC (permalink / raw)
  To: Lawrence Bottorff; +Cc: emacs-orgmode Mailinglist

On Thursday, 15 Oct 2015 at 18:07, Lawrence Bottorff wrote:
> Would there be a way to add a \rightarrow (or other latex symbols) as an
> ordered list "bullet"?

Try

1. one item
2. @@latex:[$\rightarrow$]@@ second item

(untested)
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-161-gd2ac25

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

* Re: Adding custom ordered list "bullet" symbols?
  2015-10-15 20:26 ` Eric S Fraga
@ 2015-10-15 20:49   ` Nick Dokos
  2015-10-15 21:21     ` Lawrence Bottorff
  2015-10-16  8:13     ` Eric S Fraga
  0 siblings, 2 replies; 8+ messages in thread
From: Nick Dokos @ 2015-10-15 20:49 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Thursday, 15 Oct 2015 at 18:07, Lawrence Bottorff wrote:
>> Would there be a way to add a \rightarrow (or other latex symbols) as an
>> ordered list "bullet"?
>
> Try
>
> 1. one item
> 2. @@latex:[$\rightarrow$]@@ second item
>
> (untested)

... assuming that OP is talking about latex export.
I assumed he was talking about the org buffer - we'll have to wait
and see who guessed correctly :-)

--
Nick

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

* Re: Adding custom ordered list "bullet" symbols?
  2015-10-15 20:49   ` Nick Dokos
@ 2015-10-15 21:21     ` Lawrence Bottorff
  2015-10-15 23:10       ` Nick Dokos
  2015-10-16  8:13     ` Eric S Fraga
  1 sibling, 1 reply; 8+ messages in thread
From: Lawrence Bottorff @ 2015-10-15 21:21 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

>
> ... assuming that OP is talking about latex export.
> I assumed he was talking about the org buffer - we'll have to wait
> and see who guessed correctly :-)
>
> --
> Nick
>
> Subtle. Yes, both would be nice, both in the buffer and as an HTML export.
I put this

(setq org-list-demote-modify-bullet
          '(("+" . "-") ("-" . "+") ("*" . "+") ("-" . "8594")))

in my init file, but I'm not seeing it as a choice in customize.

[-- Attachment #2: Type: text/html, Size: 887 bytes --]

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

* Re: Adding custom ordered list "bullet" symbols?
  2015-10-15 21:21     ` Lawrence Bottorff
@ 2015-10-15 23:10       ` Nick Dokos
  0 siblings, 0 replies; 8+ messages in thread
From: Nick Dokos @ 2015-10-15 23:10 UTC (permalink / raw)
  To: emacs-orgmode

Lawrence Bottorff <borgauf@gmail.com> writes:

>     ... assuming that OP is talking about latex export.
>     I assumed he was talking about the org buffer - we'll have to wait
>     and see who guessed correctly :-)
>    
>     --
>     Nick
>
> Subtle. Yes, both would be nice, both in the buffer and as an HTML export. I put this
>
> (setq org-list-demote-modify-bullet
>           '(("+" . "-") ("-" . "+") ("*" . "+") ("-" . "8594")))
>
> in my init file, but I'm not seeing it as a choice in customize.

Not sure what you mean: what does customize have to do with this?
What this says, is that if you start with a + bullet, the next
level down will be a - bullet; if you start with a - bullet, the
next level down will be a + bullet; if you start with a * bullet, the
next level down will be a + bullet.

AFAIK, these are taken in LR order, so it will never see the last pair.
And the specification of the unicode character is wrong.
Try

 (setq org-list-demote-modify-bullet
 '(("-" . "→") ("→" . "↑") ("↑" . "↓")))


(I used insert-char interactively

   C-x 8 RET right arrow RET

to get the right arrow and similarly for the up arrow and the down
arrow).

At least that's what I thought, but it doesn't work as I expected: I get
the right arrow as the bullet in the second level, but if I try M-RET, I
get a - bullet at first level again and I cannot indent it past second
level. I'm probably misunderstanding something.

--
Nick

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

* Re: Adding custom ordered list "bullet" symbols?
  2015-10-15 20:49   ` Nick Dokos
  2015-10-15 21:21     ` Lawrence Bottorff
@ 2015-10-16  8:13     ` Eric S Fraga
  1 sibling, 0 replies; 8+ messages in thread
From: Eric S Fraga @ 2015-10-16  8:13 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

On Thursday, 15 Oct 2015 at 16:49, Nick Dokos wrote:
> ... assuming that OP is talking about latex export.
> I assumed he was talking about the org buffer - we'll have to wait
> and see who guessed correctly :-)

Indeed.  I read the OP's email too quickly... <blush> And as I was in
the midst of writing a paper, I was very much in a org/LaTeX frame of
mind. :-)
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-161-gd2ac25

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

end of thread, other threads:[~2015-10-16  8:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15 18:07 Adding custom ordered list "bullet" symbols? Lawrence Bottorff
     [not found] ` <CAGyxsyjV_0Z_8owBZV1JB4jSb--fr7Fbmhpuzo2w8BpNd_Hj6g@mail.gmail.com>
2015-10-15 19:37   ` Lawrence Bottorff
2015-10-15 20:25     ` Nick Dokos
2015-10-15 20:26 ` Eric S Fraga
2015-10-15 20:49   ` Nick Dokos
2015-10-15 21:21     ` Lawrence Bottorff
2015-10-15 23:10       ` Nick Dokos
2015-10-16  8:13     ` Eric S Fraga

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