[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Math formatting in HTML export - The Org Manual
From: |
Nick Dokos |
Subject: |
Re: [O] Math formatting in HTML export - The Org Manual |
Date: |
Tue, 14 Oct 2014 13:51:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Joseph Vidal-Rosset <address@hidden> writes:
> Thanks Eric.
>
> I have tested this solution that works with imagemagick and html export. I
> have added these lines in my init.el :
>
> ; Include the latex-exporter
> (require 'ox-latex)
> ;; Add minted to the defaults packages to include when exporting.
> ;(add-to-list 'org-latex-packages-alist '("" "minted"))
> ;; Tell the latex export to use the minted package for source
> ;; code coloration.
> (setq org-latex-listings 'minted)
> ;; Let the exporter use the -shell-escape option to let latex
> ;; execute external programs.
> ;; This obviously and can be dangerous to activate!
> (setq org-latex-pdf-process
> '("xelatex -shell-escape -interaction nonstopmode -output-directory %o
> %f"))
>
> and it works.
>
> But now it does not work in my Gnus if I want to include some png
> images of proofs... I have to deleted these "dangerous lines"...
>
> I do not understand why I need minted and shell-escape...
>
I don't know why you need minted (I have not followed the conversation),
but to use minted you *need* -shell-escape: minted requires running an
external program (pygments), but tex does not like doing that for
security reasons - the -shell-escape option gives tex permission to run
such an external program.
Nick
- [O] Math formatting in HTML export - The Org Manual, Joseph Vidal-Rosset, 2014/10/12
- Re: [O] Math formatting in HTML export - The Org Manual, Grant Rettke, 2014/10/12
- Re: [O] Math formatting in HTML export - The Org Manual, Joseph Vidal-Rosset, 2014/10/13
- Re: [O] Math formatting in HTML export - The Org Manual, Eric S Fraga, 2014/10/13
- Re: [O] Math formatting in HTML export - The Org Manual, Joseph Vidal-Rosset, 2014/10/13
- Re: [O] Math formatting in HTML export - The Org Manual, Eric S Fraga, 2014/10/14
- Re: [O] Math formatting in HTML export - The Org Manual, Joseph Vidal-Rosset, 2014/10/14
- Re: [O] Math formatting in HTML export - The Org Manual,
Nick Dokos <=
- Re: [O] Math formatting in HTML export - The Org Manual, Joseph Vidal-Rosset, 2014/10/15
- Re: [O] Math formatting in HTML export - The Org Manual, Eric S Fraga, 2014/10/14
- Re: [O] Math formatting in HTML export - The Org Manual, Joseph Vidal-Rosset, 2014/10/15
- Re: [O] Math formatting in HTML export - The Org Manual, Eric S Fraga, 2014/10/15