From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?R8O8bnRlciBLb2xvdXNlaw==?= Subject: Problem using bracket with the LaTeX backend Date: Sun, 21 Mar 2010 15:46:11 +0100 Message-ID: <4BA63133.1070901@htlwrn.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtMQ0-0006IS-3w for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 10:46:20 -0400 Received: from [140.186.70.92] (port=49987 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtMPy-0006IK-1m for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 10:46:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtMPw-00036m-Nl for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 10:46:17 -0400 Received: from mx07lb.world4you.com ([81.19.149.117]:52606) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtMPw-00036Y-7s for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 10:46:16 -0400 Received: from [91.115.154.34] (helo=[10.0.0.1]) by mx07lb.world4you.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NtMPs-0004Cw-9U for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 15:46:12 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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