* Nested ordered (numbered) lists
@ 2016-06-25 19:34 ST
2016-06-25 21:47 ` Rick Frankel
0 siblings, 1 reply; 5+ messages in thread
From: ST @ 2016-06-25 19:34 UTC (permalink / raw)
To: emacs-orgmode
Hi,
is there a way to produce nested ordered (numbered) lists and get it
exported (to pdf/html) properly? Like:
1. item_1
2. item_2
2.1. subitem_2_1
2.1.1. subsubitem_2_1_1
2.2. subitem_2_2
3. item_3
Thank you!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Nested ordered (numbered) lists
2016-06-25 19:34 ST
@ 2016-06-25 21:47 ` Rick Frankel
0 siblings, 0 replies; 5+ messages in thread
From: Rick Frankel @ 2016-06-25 21:47 UTC (permalink / raw)
To: emacs-orgmode
On Sat, Jun 25, 2016 at 10:34:35PM +0300, ST wrote:
> Hi,
>
> is there a way to produce nested ordered (numbered) lists and get it
> exported (to pdf/html) properly? Like:
>
> 1. item_1
> 2. item_2
> 2.1. subitem_2_1
> 2.1.1. subsubitem_2_1_1
> 2.2. subitem_2_2
> 3. item_3
have you tried:
# <snip>
#+LATEX_HEADER_EXTRA: \usepackage{enumitem} \setlist[enumerate]{label*=\arabic*.}
* Numbered lists
1. item_1
2. item_2
1. subitem_2_1
1. subsubitem_2_1_1
2. subitem_2_2
3. item_3
rick
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Nested ordered (numbered) lists
[not found] <a6fb1dc370974b9dac0c052fda8d2e4e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-06-26 14:58 ` Eric S Fraga
2016-06-27 7:51 ` ST
[not found] ` <e3c3370ce6764bd58b03b1478da9f99f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
0 siblings, 2 replies; 5+ messages in thread
From: Eric S Fraga @ 2016-06-26 14:58 UTC (permalink / raw)
To: ST; +Cc: emacs-orgmode@gnu.org
On Saturday, 25 Jun 2016 at 19:34, ST wrote:
> Hi,
>
> is there a way to produce nested ordered (numbered) lists and get it
> exported (to pdf/html) properly? Like:
>
> 1. item_1
> 2. item_2
> 2.1. subitem_2_1
> 2.1.1. subsubitem_2_1_1
> 2.2. subitem_2_2
> 3. item_3
For pdf export, you can use LaTeX settings, as described in
https://vantr.wordpress.com/2011/12/16/multi-level-enumerated-list-in-latex/
For HTML, I have no idea. Sorry.
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.4-869-gf2c421
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Nested ordered (numbered) lists
2016-06-26 14:58 ` Nested ordered (numbered) lists Eric S Fraga
@ 2016-06-27 7:51 ` ST
[not found] ` <e3c3370ce6764bd58b03b1478da9f99f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
1 sibling, 0 replies; 5+ messages in thread
From: ST @ 2016-06-27 7:51 UTC (permalink / raw)
To: Eric S Fraga; +Cc: emacs-orgmode@gnu.org
Thank you for the tip!
But shouldn't it be part of org export?
And it looks like org itself doesn't support it, so if I press M-<Ret>
while in:
1. item1
1.1. item1.1.
I get to the top level "2. " and not into the nested level "1.2. ". Why?
Should we file a feature request?
Thank you!
On Sun, 2016-06-26 at 15:58 +0100, Eric S Fraga wrote:
> On Saturday, 25 Jun 2016 at 19:34, ST wrote:
> > Hi,
> >
> > is there a way to produce nested ordered (numbered) lists and get it
> > exported (to pdf/html) properly? Like:
> >
> > 1. item_1
> > 2. item_2
> > 2.1. subitem_2_1
> > 2.1.1. subsubitem_2_1_1
> > 2.2. subitem_2_2
> > 3. item_3
>
> For pdf export, you can use LaTeX settings, as described in
>
> https://vantr.wordpress.com/2011/12/16/multi-level-enumerated-list-in-latex/
>
> For HTML, I have no idea. Sorry.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Nested ordered (numbered) lists
[not found] ` <e3c3370ce6764bd58b03b1478da9f99f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-06-27 8:02 ` Eric S Fraga
0 siblings, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2016-06-27 8:02 UTC (permalink / raw)
To: ST; +Cc: emacs-orgmode@gnu.org
On Monday, 27 Jun 2016 at 07:51, ST wrote:
> Thank you for the tip!
>
> But shouldn't it be part of org export?
Why? The default behaviour is fine for most people. E.g. the default
formatting in LaTeX and HTML is consistent with org's export engine.
The nice thing about org is that it allows quite extensive customisation
of the export using various #+ directives and the @@...@@ syntax.
> And it looks like org itself doesn't support it, so if I press M-<Ret>
> while in:
>
> 1. item1
> 1.1. item1.1.
>
> I get to the top level "2. " and not into the nested level "1.2. ". Why?
Because 1.1. is not recognised as a list entry. The following would be
recognised:
1. item1
1. item 1.1.
> Should we file a feature request?
Personally, I don't see a need for this. Obviously, YMMV!
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.4-869-gf2c421
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-06-27 8:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <a6fb1dc370974b9dac0c052fda8d2e4e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-06-26 14:58 ` Nested ordered (numbered) lists Eric S Fraga
2016-06-27 7:51 ` ST
[not found] ` <e3c3370ce6764bd58b03b1478da9f99f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-06-27 8:02 ` Eric S Fraga
2016-06-25 19:34 ST
2016-06-25 21:47 ` Rick Frankel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.