emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Export to Latex - Incorrect output for list items starting


From: Nicolas Goaziou
Subject: Re: [O] 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

Hello,

Eric S Fraga <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]