From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Export to Latex - Incorrect output for list items starting with left bracket [8.2.3c (8.2.3c-elpa @ /Users/jdegenhardt/.emacs.d/elpa/org-20131115/)] Date: Tue, 14 Jan 2014 19:42:40 +0100 Message-ID: <87zjmyl80v.fsf@gmail.com> References: <1389475109.23348.YahooMailNeo@web184706.mail.ne1.yahoo.com> <87sisrkepy.fsf@gmail.com> <87lhyiv7pt.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W38wW-00084o-6L for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 13:42:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W38wQ-0006f8-QT for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 13:42:28 -0500 Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:42312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W38wQ-0006f2-JG for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 13:42:22 -0500 Received: by mail-we0-f171.google.com with SMTP id w61so788003wes.2 for ; Tue, 14 Jan 2014 10:42:21 -0800 (PST) In-Reply-To: <87lhyiv7pt.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 14 Jan 2014 16:39:10 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jon Degenhardt Cc: "emacs-orgmode@gnu.org" Hello, Eric S Fraga writes: > I very often make use of the [] feature in itemised lists to change > individual bullet points, for instance. I would not like this feature > to disappear: it would break many of my documents, especially my beamer > presentations. I sometimes use this feature, too. But, admittedly, it is a hack. I though about escaping first opening square bracket, but only if the item doesn't start with an export snippet. E.g, - [item --> \item\relax [item but, - @@latex:[\blacktriangle]@@ item --> \item [\blacktriangle] Unfortunately, I can't see how to not break your documents if we fix the problem. > In fact, I had started preparing an email to ask the check lists make > use of this feature to make these lists look nicer when exported to > LaTeX. For instance, if we have > > - [ ] not yet done > - [X] this has been done > > the exporter currently generates > > \item $\square$ not yet done > \item $\boxtimes$ this has been done > > I would like to have this instead which looks much nicer: > > \item [$\square$] not yet done > \item [$\boxtimes$] this has been done > > Try it and see how much nicer the list looks... This is orthogonal to the issue at hand. The problem is not the checkbox but what comes after. IOW, this feature can be implemented with or without fixing the bug above (also, a filter can do the job). Regards, -- Nicolas Goaziou