[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Minor problems with dvipng latex image preview
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Minor problems with dvipng latex image preview |
Date: |
Wed, 22 May 2013 21:03:03 +0200 |
Hello,
Nick Dokos <address@hidden> writes:
> The main problem is that the latex->dvi invocation is hard-wired in
> org-create-formula-image-with-dvipng and in addition, when the latex
> file is created, the value of org-latex-packages-alist is spliced in.
>
> That in itself is fine, except in the case when (for normal latex
> processing) I choose minted for code prettification. Following the
> docstring of or-export-latex-listings, I set:
>
> (setq org-export-latex-listings 'minted)
You mean `org-latex-listings'. `org-export-latex-listings' belongs to
the old export framework (like almost all variables with
"org-export-BACKEND-" prefix).
> (add-to-list 'org-latex-packages-alist '("" "minted"))
> in which case, I end up with a \usepackage{minted} in the preview
> latex file.
Use:
(add-to-list 'org-latex-packages-alist '("" "minted" nil))
to tell Org not to include the package for previewing snippets.
Regards,
--
Nicolas Goaziou
- [O] Minor problems with dvipng latex image preview, Nick Dokos, 2013/05/19
- Re: [O] Minor problems with dvipng latex image preview,
Nicolas Goaziou <=
- Re: [O] Minor problems with dvipng latex image preview, Nick Dokos, 2013/05/23
- Re: [O] Minor problems with dvipng latex image preview, Nicolas Goaziou, 2013/05/23
- Re: [O] Minor problems with dvipng latex image preview, Nick Dokos, 2013/05/23
- Re: [O] Minor problems with dvipng latex image preview, Nicolas Goaziou, 2013/05/23
- Re: [O] Minor problems with dvipng latex image preview, Nick Dokos, 2013/05/23
- Re: [O] Minor problems with dvipng latex image preview, Nicolas Goaziou, 2013/05/25
- Re: [O] Minor problems with dvipng latex image preview, Nick Dokos, 2013/05/26
- Re: [O] Minor problems with dvipng latex image preview, Nicolas Goaziou, 2013/05/30
- Re: [O] Minor problems with dvipng latex image preview, Nick Dokos, 2013/05/30