emacs-orgmode
[Top][All Lists]

 From: Darlan Cavalcante Moreira Subject: [O] [Bug] [Patch] List number start with the latex exporter Date: Thu, 09 Jun 2011 18:05:35 -0300 User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO)


When using a numbered list it is possible to specify the start number using
address@hidden so that one can write
1. one
2. two
21. twenty one

This works OK with the HTML exporter, but in the latex exporter
the number will be one unity above the desired value.

The reason why this happens is because the \item command in the enumerate
environment in latex increments the counter before using it. Therefore,
org-mode should set the enumeration counter to the desired value minus one.

A patch is attached for the lisp/org-list.el file.

--
Darlan Cavalcante



org-list.el.diff
Description: Text document