[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: |
Thu, 16 Jan 2014 16:15:32 +0100 |
Eric S Fraga <address@hidden> writes:
> Sebastien Vauban <address@hidden> writes:
>
>> Hello Eric,
>>
>> Eric S Fraga wrote:
>>> Seems to work fine. I've tried using the export snippets together with
>>> the filter for checkboxes and my lists come out looking as they
>>> should. Changing my documents won't be too onerous.
>>
>> Would you mind sharing your filter (or put it on Worg hacks, maybe)?
>
> Sure:
>
> #+begin_src emacs-lisp
> (defun esf/filter-checkbox-list-items (line backend channel)
> (if (eq backend 'latex)
> (replace-regexp-in-string "\\\\item
> \\$\\\\\\(square\\|boxtimes\\)\\$" "\\\\item [$\\\\\\1$]" line)))
>
> (add-to-list 'org-export-filter-plain-list-functions
> 'esf/filter-checkbox-list-items)
> #+end_src
>
> It took a while to suss out the number of backslashes... :)
The question is still open, though: should it be the default?
Regards,
--
Nicolas Goaziou
- 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/)], (continued)
- 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/)], Vladimir Lomov, 2014/01/13
- 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/)], Eric S Fraga, 2014/01/14
- 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/)], Nicolas Goaziou, 2014/01/14
- 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/)], Eric S Fraga, 2014/01/14
- 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/)], Nicolas Goaziou, 2014/01/14
- 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/)], Eric S Fraga, 2014/01/15
- 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/)], Nicolas Goaziou, 2014/01/15
- 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/)], Eric S Fraga, 2014/01/16
- 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/)], Sebastien Vauban, 2014/01/16
- 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/)], Eric S Fraga, 2014/01/16
- 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/)],
Nicolas Goaziou <=
- 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/)], Sebastien Vauban, 2014/01/16
- 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/)], Eric S Fraga, 2014/01/16
- 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/)], Nicolas Goaziou, 2014/01/16
- 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/)], Jon Degenhardt, 2014/01/18