[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [Bug] [Patch] List number start with the latex exporter
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
20. address@hidden twenty
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
- [O] [Bug] [Patch] List number start with the latex exporter,
Darlan Cavalcante Moreira <=