From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Problem using bracket with the LaTeX backend Date: Sun, 21 Mar 2010 18:19:47 +0100 Message-ID: <07F4C150-E3E0-45C0-B974-E6DF901B707B@gmail.com> References: <4BA63133.1070901@htlwrn.ac.at> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ntcoq-0000ps-6e for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 04:17:04 -0400 Received: from [140.186.70.92] (port=59588 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ntcoo-0000pj-Ad for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 04:17:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtcLO-0002F7-EL for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 03:46:39 -0400 Received: from mail-fx0-f220.google.com ([209.85.220.220]:47762) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtcLO-0002EW-9W for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 03:46:38 -0400 Received: by mail-fx0-f220.google.com with SMTP id 20so5957263fxm.32 for ; Mon, 22 Mar 2010 00:46:37 -0700 (PDT) In-Reply-To: <4BA63133.1070901@htlwrn.ac.at> 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: =?ISO-8859-1?Q?G=FCnter_Kolousek?= Cc: emacs-orgmode@gnu.org Hi G=FCnter, nice catch, but I actually like the old way better! It is a good way to specify the bullet if you like. Org-mode does intentionally remove that white space. Now, I agree that this is inconsistent with the other backends, but I do still like this possibility. Why do you need [A] there? Maybe 1. =3D[A]=3D foo bar... would even be better, depending on what the [A] is supposed to mean? HTH - Carsten On Mar 21, 2010, at 3:46 PM, G=FCnter Kolousek wrote: > > 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=FCnter > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten