ox-latex: Fix bug with enforced item numbering in mixed lists
commitf00fd7800f73117ba4863bcab8bb29f2165d9ad3
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 4 Mar 2013 07:54:51 +0000 (4 08:54 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Mon, 4 Mar 2013 07:54:58 +0000 (4 08:54 +0100)
tree847baf7a7546685a991cb167cf71c3d12a4f48ee
parent8ed99fad6bb04857a0c1a54345d7c427a065ea39
ox-latex: Fix bug with enforced item numbering in mixed lists

* lisp/ox-latex.el (org-latex-item): Fix wrong behaviour when
  a counter is set in an ordered list while its parent is not ordered.

This fixes numbering in the following case:

  - Unordered.
    3. [@3] Ordered.

Thanks to Hiroshi Saito for reporting the problem.
lisp/ox-latex.el