emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [Bug] [Patch] List number start with the latex exporter


From: Nicolas Goaziou
Subject: Re: [O] [Bug] [Patch] List number start with the latex exporter
Date: Fri, 10 Jun 2011 15:52:47 +0200

Hello,

Darlan Cavalcante Moreira <address@hidden> writes:

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

Thank you! Patch applied.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]