[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Problem using bracket with the LaTeX backend
From: |
Günter Kolousek |
Subject: |
[Orgmode] Problem using bracket with the LaTeX backend |
Date: |
Sun, 21 Mar 2010 15:46:11 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre |
I think there is a problem using brackets at the beginning
of plain list items with the LaTeX backend:
1. [A] foo bar...
The generated LaTeX code looks like:
\item[A] foo bar...
but rather this would be the expected output:
\item{}[A] foo bar...
Here follows the patch:
*** org-list.el 2010-03-21 15:33:49.000000000 +0100
--- org-list.el.old 2010-03-21 15:26:38.000000000 +0100
***************
*** 1336,1342 ****
:dstart "\\begin{description}" :dend "\\end{description}"
:dtstart "[" :dtend "]"
:ddstart "" :ddend ""
! :istart "\\item{} " :iend ""
:isep "\n" :lsep "\n"
:cbon "\\texttt{[X]}" :cboff "\\texttt{[ ]}")
params)))
--- 1336,1342 ----
:dstart "\\begin{description}" :dend "\\end{description}"
:dtstart "[" :dtend "]"
:ddstart "" :ddend ""
! :istart "\\item " :iend ""
:isep "\n" :lsep "\n"
:cbon "\\texttt{[X]}" :cboff "\\texttt{[ ]}")
params)))
Cheers and thanks a lot for the wonderful org-mode!
Günter
- [Orgmode] Problem using bracket with the LaTeX backend,
Günter Kolousek <=