Thank you Nick for this helpful email. The good news is that I have succeeded to get the png image in /tmp/ltxpng/ directory.
The bad news is that my gnus persist in saying to me that there is no /tmp/ltxpng/image.png ... here is the message : Loading reftex...done Loading reftex...done Creating LaTeX Image... Failed to create dvi file from /tmp/orgtex6500qb1.tex Ispell process killed Starting new Ispell process [aspell::fr] ... Mark set Sending... Mark set [2 times] mm-insert-file-contents: Opening input file: aucun fichier ou dossier de ce type, /tmp/ltxpng/latex6500dRv_882193079df36c558aa30f292b503a46cfd2aa88.png Auto-saving... I attach the orgtex6500qb1.tex and orgtex6500qb1.log Again thanks for this help. Best regards, Jo. 2014-07-03 17:55 GMT+02:00 Nick Dokos <ndo...@gmail.com>: > Joseph Vidal-Rosset <joseph.vidal.ros...@gmail.com> writes: > > > Hello, > > > > My O.S. is Debian GNU/Linux testing version. My desktop is mainly xfce > (or openbox). > > > > In Gnus when I create png image via M-x org-preview-latex-fragment and > after having M-x org-mime-htmlize the png image is > > created in /home/joseph/ltxpng directory and not in /ltxpng directory. > That's why when I try to send my message, I have an > > error message saying to me that the png image is not in ltxpng > directory... of course, it is created not in the /tmp/ltxpng but > > in /home/joseph/tmp/lxpng .... > > > > These unwelcome tmp and ltxpng directories are created automatically in > my home and I do not know why. > > > > I suspect a problem in my setup and not in org-mode, that is why I > apologize is this email is irrelevant in this list. But maybe > > some Debian expert will be able to help me. > > > > When you do org-preview-latex-fragment, a ltxpng subdirectory is created > under the directory that contains the org file. So if you have > /home/joseph/foo.org and you preview it, you are going to get > /home/joseph/ltxpng as a subdirectory. That is controlled by the setting > of org-latex-preview-ltxpng-directory however: > > ,---- > | org-latex-preview-ltxpng-directory is a variable defined in `org.el'. > | Its value is "ltxpng/" > | > | Documentation: > | Path to store latex preview images. > | A relative path here creates many directories relative to the > | processed org files paths. An absolute path puts all preview > | images at the same place. > `---- > > So you could customize it to store all the png files into /tmp/ltxpng > e.g. > > No idea where the tmp/ directory comes from, but I don't think it's from > the preview. > > Nick > > > > >
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/Debian) (preloaded format=latex 2014.7.1) 3 JUL 2014 18:48 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **/tmp/orgtex6500qb1.tex (/tmp/orgtex6500qb1.tex LaTeX2e <2014/05/01> Babel <3.9k> and hyphenation patterns for 78 languages loaded. (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty Package: color 2014/04/23 v1.1a Standard LaTeX Color (DPC) (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive ) Package color Info: Driver file: dvips.def on input line 137. (/usr/share/texlive/texmf-dist/tex/latex/graphics/dvips.def File: dvips.def 2014/04/23 v3.0j Driver-dependant file (DPC,SPQR) ) (/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def File: dvipsnam.def 2014/04/23 v3.0j Driver-dependant file (DPC,SPQR) )) (/usr/share/texlive/texmf-dist/tex/latex/minted/minted.sty Package: minted 2011/09/17 v1.7 Yet another Pygments shim for LaTeX (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty Package: keyval 2014/05/08 v1.15 key=value parser (DPC) \KV@toks@=\toks14 ) (/usr/share/texlive/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty Package: fancyvrb 2008/02/07 Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix <2008/02/07> (tvz) \FV@CodeLineNo=\count87 \FV@InFile=\read1 \FV@TabBox=\box26 \c@FancyVerbLine=\count88 \FV@StepNumber=\count89 \FV@OutFile=\write3 ) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK) (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive ) Package xcolor Info: Driver file: dvips.def on input line 225. LaTeX Info: Redefining \color on input line 702. Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337. Package xcolor Info: Model `RGB' extended on input line 1353. Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355. Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356. Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357. Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358. Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359. Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360. ) (/usr/share/texlive/texmf-dist/tex/latex/float/float.sty Package: float 2001/11/08 v1.3d Float enhancements (AL) \c@float@type=\count90 \float@exts=\toks15 \float@box=\box27 \@float@everytoks=\toks16 \@floatcapt=\box28 ) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) ) (/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ) \calc@Acount=\count91 \calc@Bcount=\count92 \calc@Adimen=\dimen103 \calc@Bdimen=\dimen104 \calc@Askip=\skip43 \calc@Bskip=\skip44 LaTeX Info: Redefining \setlength on input line 75. LaTeX Info: Redefining \addtolength on input line 76. \calc@Ccount=\count93 \calc@Cskip=\skip45 ) (/usr/share/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty Package: ifplatform 2010/10/22 v0.4 Testing for the operating system (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO ) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) ) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) Package ifluatex Info: LuaTeX not detected. ) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) ) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) Package ifpdf Info: pdfTeX in PDF mode is not detected. ) Package pdftexcmds Info: LuaTeX not detected. Package pdftexcmds Info: \pdf@primitive is available. Package pdftexcmds Info: \pdf@ifprimitive is available. Package pdftexcmds Info: \pdfdraftmode is ignored in DVI mode. ) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty Package: catchfile 2011/03/01 v1.6 Catch the contents of a file (HO) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) Package etexcmds Info: Could not find \expanded. (etexcmds) That can mean that you are not using pdfTeX 1.50 or (etexcmds) that some package has redefined \expanded. (etexcmds) In the latter case, load this package earlier. )) Package ifplatform Warning: shell escape is disabled, so I can only detect \ifwindows. ) \minted@bgbox=\box29 \minted@code=\write4 \@float@every@listing=\toks17 \c@listing=\count94 ) ! Package minted Error: You must invoke LaTeX with the -shell-escape flag. See the minted package documentation for explanation. Type H <return> for immediate help. ... l.4 \usepackage [english]{babel} ? ! Emergency stop. ... l.4 \usepackage [english]{babel} Pass the -shell-escape flag to LaTeX. Refer to the minted.sty documentation for more information. Here is how much of TeX's memory you used: 1987 strings out of 493114 28597 string characters out of 6137515 82952 words of memory out of 5000000 5471 multiletter control sequences out of 15000+600000 3640 words of font info for 14 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 37i,0n,37p,260b,36s stack positions out of 5000i,500n,10000p,200000b,80000s No pages of output.
orgtex6500qb1.tex
Description: TeX document