* Question about the math mode table exporting for latex and html @ 2014-01-07 9:47 bsun 2014-01-07 11:14 ` Rasmus 2014-01-07 12:55 ` puzzling org-mime-htmlize Joseph Vidal-Rosset 0 siblings, 2 replies; 26+ messages in thread From: bsun @ 2014-01-07 9:47 UTC (permalink / raw) To: emacs-orgmode hello list, Here is the example. ------------------------------------------------------------------------ #+ATTR_LATEX: :mode math :environment pmatrix :math-prefix \mathbf{H}= | \vdots | 0 | \vdots | | \vdots | H | \vdots | | \vdots | 0 | \vdots | ------------------------------------------------------------------------ These lines generate perfect latex code. But the html exporter omits the #+attr_latex line (which is correct), and produces a plain text table. The question is, is it possible to export the math mode table as latex code in html exporting? Maybe there is some option like "#+attr_html: :mode latex"? Thanks. Regards, Bing ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Question about the math mode table exporting for latex and html 2014-01-07 9:47 Question about the math mode table exporting for latex and html bsun @ 2014-01-07 11:14 ` Rasmus 2014-01-07 16:39 ` Nicolas Goaziou 2014-01-07 12:55 ` puzzling org-mime-htmlize Joseph Vidal-Rosset 1 sibling, 1 reply; 26+ messages in thread From: Rasmus @ 2014-01-07 11:14 UTC (permalink / raw) To: emacs-orgmode; +Cc: n.goaziou Hi Bing and Nicholas, bsun@pku.edu.cn writes: > ------------------------------------------------------------------------ > #+ATTR_LATEX: :mode math :environment pmatrix :math-prefix \mathbf{H}= > | \vdots | 0 | \vdots | > | \vdots | H | \vdots | > | \vdots | 0 | \vdots | > ------------------------------------------------------------------------ > > These lines generate perfect latex code. But the html exporter omits > the #+attr_latex line (which is correct), and produces a plain text > table. I have noticed this "bug" as well, but forgot to report it since it isn't really a bug. > The question is, is it possible to export the math mode table as latex > code in html exporting? Maybe there is some option like > "#+attr_html: :mode latex"? No. AFAIK, mathjax supports amsmath matrices, e.g. the third example here¹ . Thus, we'd really just want to insert the output of org-latex-table in the html-file. Perhaps something like the following would be OK? Nicholas? #+ATTR_HTML: :mode latex #+ATTR_LATEX: :mode math :environment pmatrix :math-prefix \mathbf{H}= | \vdots | 0 | \vdots | | \vdots | H | \vdots | | \vdots | 0 | \vdots | This would tell ox-html.el to transcode the table via ox-latex-tabel and feed the string via org-html-format-latex (assuming latex-frag is a string). Of course ox-html could also check out ATTR_LATEX but this would lead to a spurious solution since LaTeX ≠ HTML IMO. Alternatively, you'd have to use one the following hooks described in ox.html (since filters would work on a transcoded elements). ;; Eventually, two hooks (`org-export-before-processing-hook' and ;; `org-export-before-parsing-hook') are run at the beginning of the ;; export process and just before parsing to allow for heavy structure ;; modifications. Nicholas, if you want I can look into this. –Rasmus Footnotes: ¹ http://www.mathjax.org/demos/tex-samples/ -- This is the kind of tedious nonsense up with which I will not put ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Question about the math mode table exporting for latex and html 2014-01-07 11:14 ` Rasmus @ 2014-01-07 16:39 ` Nicolas Goaziou 2014-01-07 21:17 ` Rick Frankel 2014-01-18 20:40 ` Rasmus 0 siblings, 2 replies; 26+ messages in thread From: Nicolas Goaziou @ 2014-01-07 16:39 UTC (permalink / raw) To: Rasmus; +Cc: Rick Frankel, emacs-orgmode Hello, Rasmus <rasmus@gmx.us> writes: > AFAIK, mathjax supports amsmath matrices, e.g. the third example here¹ . > Thus, we'd really just want to insert the output of org-latex-table in > the html-file. > > Perhaps something like the following would be OK? Nicholas? > > #+ATTR_HTML: :mode latex > #+ATTR_LATEX: :mode math :environment pmatrix :math-prefix \mathbf{H}= > | \vdots | 0 | \vdots | > | \vdots | H | \vdots | > | \vdots | 0 | \vdots | > > This would tell ox-html.el to transcode the table via ox-latex-tabel > and feed the string via org-html-format-latex (assuming latex-frag is > a string). FWIW, I think it's worth trying. I'm Cc'ing Rick Frankel for his opinion. > Of course ox-html could also check out ATTR_LATEX but this > would lead to a spurious solution since LaTeX ≠ HTML IMO. I agree. > Nicholas, if you want I can look into this. Certainly. Thank you. Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Question about the math mode table exporting for latex and html 2014-01-07 16:39 ` Nicolas Goaziou @ 2014-01-07 21:17 ` Rick Frankel 2014-01-09 10:53 ` Nicolas Goaziou 2014-01-18 20:40 ` Rasmus 1 sibling, 1 reply; 26+ messages in thread From: Rick Frankel @ 2014-01-07 21:17 UTC (permalink / raw) To: Nicolas Goaziou; +Cc: emacs-orgmode, Rasmus On Tue, Jan 07, 2014 at 05:39:06PM +0100, Nicolas Goaziou wrote: > Rasmus <rasmus@gmx.us> writes: > > > AFAIK, mathjax supports amsmath matrices, e.g. the third example here¹ . > > Thus, we'd really just want to insert the output of org-latex-table in > > the html-file. > > > > Perhaps something like the following would be OK? Nicholas? > > > > #+ATTR_HTML: :mode latex > > #+ATTR_LATEX: :mode math :environment pmatrix :math-prefix \mathbf{H}= > > | \vdots | 0 | \vdots | > > | \vdots | H | \vdots | > > | \vdots | 0 | \vdots | > > > > This would tell ox-html.el to transcode the table via ox-latex-tabel > > and feed the string via org-html-format-latex (assuming latex-frag is > > a string). > > FWIW, I think it's worth trying. I'm Cc'ing Rick Frankel for his > opinion. > I have no opinion on this one. Nicolas, if you think this is the correct approach syntactically, then it works for me. rick ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Question about the math mode table exporting for latex and html 2014-01-07 21:17 ` Rick Frankel @ 2014-01-09 10:53 ` Nicolas Goaziou 0 siblings, 0 replies; 26+ messages in thread From: Nicolas Goaziou @ 2014-01-09 10:53 UTC (permalink / raw) To: Rasmus; +Cc: emacs-orgmode Hello, Rick Frankel <rick@rickster.com> writes: > On Tue, Jan 07, 2014 at 05:39:06PM +0100, Nicolas Goaziou wrote: >> Rasmus <rasmus@gmx.us> writes: >> >> > AFAIK, mathjax supports amsmath matrices, e.g. the third example here¹ . >> > Thus, we'd really just want to insert the output of org-latex-table in >> > the html-file. >> > >> > Perhaps something like the following would be OK? Nicholas? >> > >> > #+ATTR_HTML: :mode latex >> > #+ATTR_LATEX: :mode math :environment pmatrix :math-prefix \mathbf{H}= >> > | \vdots | 0 | \vdots | >> > | \vdots | H | \vdots | >> > | \vdots | 0 | \vdots | >> > >> > This would tell ox-html.el to transcode the table via ox-latex-tabel >> > and feed the string via org-html-format-latex (assuming latex-frag is >> > a string). >> >> FWIW, I think it's worth trying. I'm Cc'ing Rick Frankel for his >> opinion. >> > > I have no opinion on this one. Nicolas, if you think this is the > correct approach syntactically, then it works for me. OK. Thank you. Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Question about the math mode table exporting for latex and html 2014-01-07 16:39 ` Nicolas Goaziou 2014-01-07 21:17 ` Rick Frankel @ 2014-01-18 20:40 ` Rasmus 2014-01-21 17:48 ` Nicolas Goaziou 1 sibling, 1 reply; 26+ messages in thread From: Rasmus @ 2014-01-18 20:40 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 1220 bytes --] Hi, >> Perhaps something like the following would be OK? Nicholas? >> >> #+ATTR_HTML: :mode latex >> #+ATTR_LATEX: :mode math :environment pmatrix :math-prefix \mathbf{H}= >> | \vdots | 0 | \vdots | >> | \vdots | H | \vdots | >> | \vdots | 0 | \vdots | >> >> This would tell ox-html.el to transcode the table via ox-latex-tabel >> and feed the string via org-html-format-latex (assuming latex-frag is >> a string). > > FWIW, I think it's worth trying. I'm Cc'ing Rick Frankel for his > opinion. > >> Of course ox-html could also check out ATTR_LATEX but this >> would lead to a spurious solution since LaTeX ≠ HTML IMO. > > I agree. > >> Nicholas, if you want I can look into this. > > Certainly. Thank you. I have attached a rough proof-of-concept that will export the above table correctly with mathjax. But I guess it will also have to handle it correctly in the case of static png images. I'm not sure how to handle captions. I guess the most natural way is to let org-latex-table handle is. Let me know if something like this is OK in which case I can polish it up and add documentation. –Rasmus -- . . . It begins of course with The Internet. A Net of Peers. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: 0001-latex-html-output-tables-as-latex.patch --] [-- Type: text/x-diff, Size: 4745 bytes --] From 036c06fc9f577b3d17e9caf7db366267bb4d28de Mon Sep 17 00:00:00 2001 From: Rasmus <w530@pank.eu> Date: Sat, 18 Jan 2014 20:48:28 +0100 Subject: [PATCH] latex-html output tables as latex --- lisp/ox-html.el | 105 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 58 insertions(+), 47 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 8ea9e65..80ce53c 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -3286,54 +3286,65 @@ contextual information." (table.el (org-html-table--table.el-table table info)) ;; Case 2: Standard table. (t - (let* ((label (org-element-property :name table)) - (caption (org-export-get-caption table)) - (number (org-export-get-ordinal - table info nil 'org-html--has-caption-p)) - (attributes - (org-html--make-attribute-string - (org-combine-plists - (and label (list :id (org-export-solidify-link-text label))) - (and (not (org-html-html5-p info)) - (plist-get info :html-table-attributes)) - (org-export-read-attribute :attr_html table)))) - (alignspec - (if (and (boundp 'org-html-format-table-no-css) - org-html-format-table-no-css) - "align=\"%s\"" "class=\"%s\"")) - (table-column-specs - (function - (lambda (table info) - (mapconcat - (lambda (table-cell) - (let ((alignment (org-export-table-cell-alignment - table-cell info))) - (concat - ;; Begin a colgroup? - (when (org-export-table-cell-starts-colgroup-p - table-cell info) - "\n<colgroup>") - ;; Add a column. Also specify it's alignment. - (format "\n%s" - (org-html-close-tag - "col" (concat " " (format alignspec alignment)) info)) - ;; End a colgroup? - (when (org-export-table-cell-ends-colgroup-p - table-cell info) - "\n</colgroup>")))) - (org-html-table-first-row-data-cells table info) "\n"))))) - (format "<table%s>\n%s\n%s\n%s</table>" - (if (equal attributes "") "" (concat " " attributes)) - (if (not caption) "" - (format (if org-html-table-caption-above - "<caption class=\"t-above\">%s</caption>" - "<caption class=\"t-bottom\">%s</caption>") + (let ((mode (member :mode (org-export-read-attribute :attr_html table)))) + (cond + ((member-ignore-case "latex" mode) + (org-html-table--as-latex table contents info)) + (t + (let* ((label (org-element-property :name table)) + (caption (org-export-get-caption table)) + (number (org-export-get-ordinal + table info nil 'org-html--has-caption-p)) + (attributes + (org-html--make-attribute-string + (org-combine-plists + (and label (list :id (org-export-solidify-link-text label))) + (and (not (org-html-html5-p info)) + (plist-get info :html-table-attributes)) + (org-export-read-attribute :attr_html table)))) + (alignspec + (if (and (boundp 'org-html-format-table-no-css) + org-html-format-table-no-css) + "align=\"%s\"" "class=\"%s\"")) + (table-column-specs + (function + (lambda (table info) + (mapconcat + (lambda (table-cell) + (let ((alignment (org-export-table-cell-alignment + table-cell info))) (concat - "<span class=\"table-number\">" - (format (org-html--translate "Table %d:" info) number) - "</span> " (org-export-data caption info)))) - (funcall table-column-specs table info) - contents))))) + ;; Begin a colgroup? + (when (org-export-table-cell-starts-colgroup-p + table-cell info) + "\n<colgroup>") + ;; Add a column. Also specify it's alignment. + (format "\n%s" + (org-html-close-tag + "col" (concat " " (format alignspec alignment)) info)) + ;; End a colgroup? + (when (org-export-table-cell-ends-colgroup-p + table-cell info) + "\n</colgroup>")))) + (org-html-table-first-row-data-cells table info) "\n"))))) + (t (format "<table%s>\n%s\n%s\n%s</table>" + (if (equal attributes "") "" (concat " " attributes)) + (if (not caption) "" + (format (if org-html-table-caption-above + "<caption class=\"t-above\">%s</caption>" + "<caption class=\"t-bottom\">%s</caption>") + (concat + "<span class=\"table-number\">" + (format (org-html--translate "Table %d:" info) number) + "</span> " (org-export-data caption info)))) + (funcall table-column-specs table info) + contents))))))))) + +(defun org-html-table--as-latex (table contents info) + "Transcode TABLE into LaTeX code. +Suitable for transcoding Org tables into math matrices. " + (require 'ox-latex) + (org-latex-table table contents info)) ;;;; Target -- 1.8.5.3 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: Question about the math mode table exporting for latex and html 2014-01-18 20:40 ` Rasmus @ 2014-01-21 17:48 ` Nicolas Goaziou 0 siblings, 0 replies; 26+ messages in thread From: Nicolas Goaziou @ 2014-01-21 17:48 UTC (permalink / raw) To: Rasmus; +Cc: emacs-orgmode Hello, Rasmus <rasmus@gmx.us> writes: > I have attached a rough proof-of-concept that will export the above > table correctly with mathjax. But I guess it will also have to handle > it correctly in the case of static png images. Thank you. I agree that PNG handling is required. I think you need to call `org-html-format-latex' around the generated table. You get PROCESSING-TYPE with (plist-get info :with-latex). See `org-html-latex-environment' for gory details. A few comments follow. > I'm not sure how to handle captions. I guess the most natural way is > to let org-latex-table handle is. Let me know if something like this > is OK in which case I can polish it up and add documentation. > > + (let ((mode (member :mode (org-export-read-attribute :attr_html table)))) `org-export-read-attribute' returns a plist, so it should be: (plist-get (org-export-read-attribute :attr_html table) :mode) But, if there is only one mode to implement, wouldn't it be more straightforward to call it ":latex t" instead? > + (cond > + ((member-ignore-case "latex" mode) Using `plist-get', MODE will be a string, as expected. You can then use `compare-strings'. If you use ":latex t" syntax, you can have instead: (if (plist-get (org-export-read-attribute :attr_html table) :latex) (org-html-table--as-latex ...) (let* (...))) > +(defun org-html-table--as-latex (table contents info) > + "Transcode TABLE into LaTeX code. > +Suitable for transcoding Org tables into math matrices. " > + (require 'ox-latex) > + (org-latex-table table contents info)) You will have a LaTeX table with HTML markup in its cells. Also, calling `org-latex-table' directly is a bit fragile. Use: (org-export-with-backend table 'latex info) CONTENTS will be computed again with `latex' export back-end. Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 26+ messages in thread
* puzzling org-mime-htmlize 2014-01-07 9:47 Question about the math mode table exporting for latex and html bsun 2014-01-07 11:14 ` Rasmus @ 2014-01-07 12:55 ` Joseph Vidal-Rosset 2014-01-07 13:37 ` Nick Dokos 2014-01-08 7:28 ` Fwd: " Joseph Vidal-Rosset 1 sibling, 2 replies; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-07 12:55 UTC (permalink / raw) To: emacs-orgmode Hello the list, Back to gnus in order to improve my life in emacs, I meet a very strange problem with org-mime-htmlize. The more surprising fact is that this problem does not appear on my laptop (running with GNU Linux Debian testing) but only with my PC (running also with a Crunchbang + Debian wheezy upgraded to testing). Therefore I have imported my .gnus.el and my init.el from my laptop to my pc, but very strangely the problem persists ! It is the same settings, the same O.S. , even the same org-mime.el and it works on laptop, not on my pc. Here is the error message: Creating LaTeX Image... Failed to create dvi file from /tmp/orgtex11506Npy.tex Auto-saving... I do not know what to do, because I can't guess where the problem is. I send this message with Gnus to say you that your help is very welcome. Jo. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: puzzling org-mime-htmlize 2014-01-07 12:55 ` puzzling org-mime-htmlize Joseph Vidal-Rosset @ 2014-01-07 13:37 ` Nick Dokos 2014-01-07 13:49 ` Joseph Vidal-Rosset 2014-01-08 7:28 ` Fwd: " Joseph Vidal-Rosset 1 sibling, 1 reply; 26+ messages in thread From: Nick Dokos @ 2014-01-07 13:37 UTC (permalink / raw) To: emacs-orgmode Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes: > Hello the list, > > Back to gnus in order to improve my life in emacs, I meet a very strange > problem with org-mime-htmlize. The more surprising fact is that this > problem does not appear on my laptop (running with GNU Linux Debian > testing) but only with my PC (running also with a Crunchbang + Debian > wheezy upgraded to testing). Therefore I have imported my .gnus.el and > my init.el from my laptop to my pc, but very strangely the problem > persists ! > > It is the same settings, the same O.S. , even the same org-mime.el > and it works on laptop, not on my pc. > > Here is the error message: > > Creating LaTeX Image... > Failed to create dvi file from /tmp/orgtex11506Npy.tex > Auto-saving... > > > I do not know what to do, because I can't guess where the problem is. > Run latex on /tmp/orgtex11506Npy.tex from the command line and look for errors. -- Nick ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: puzzling org-mime-htmlize 2014-01-07 13:37 ` Nick Dokos @ 2014-01-07 13:49 ` Joseph Vidal-Rosset 0 siblings, 0 replies; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-07 13:49 UTC (permalink / raw) To: Nick Dokos; +Cc: emacs-orgmode list [-- Attachment #1: Type: text/plain, Size: 3306 bytes --] 2014/1/7 Nick Dokos <ndokos@gmail.com> > Run latex on /tmp/orgtex11506Npy.tex from the command line and look for > errors. > Many thanks Nick. I did not think about it. But it is more and more strange: it seems to be no error : Have a look ; joseph@crunchbang:/tmp$ latex orgtex11506Npy.tex This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) restricted \write18 enabled. entering extended mode (./orgtex11506Npy.tex LaTeX2e <2011/06/27> Babel <3.9f> and hyphenation patterns for 78 languages loaded. (/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2013/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/color.sty (/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/dvips.def) (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/dvipsnam.def)) (/usr/local/texlive/2013/texmf-dist/tex/latex/base/inputenc.sty (/usr/local/texlive/2013/texmf-dist/tex/latex/base/utf8.def (/usr/local/texlive/2013/texmf-dist/tex/latex/base/t1enc.dfu) (/usr/local/texlive/2013/texmf-dist/tex/latex/base/ot1enc.dfu) (/usr/local/texlive/2013/texmf-dist/tex/latex/base/omsenc.dfu))) (/usr/local/texlive/2013/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2013/texmf-dist/tex/latex/base/t1enc.def)) (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/graphics.cfg))) (/usr/local/texlive/2013/texmf-dist/tex/generic/ulem/ulem.sty) (/usr/local/texlive/2013/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/local/texlive/2013/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/local/texlive/2013/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/local/texlive/2013/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/local/texlive/2013/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/local/texlive/2013/texmf-dist/tex/latex/base/textcomp.sty (/usr/local/texlive/2013/texmf-dist/tex/latex/base/ts1enc.def (/usr/local/texlive/2013/texmf-dist/tex/latex/base/ts1enc.dfu))) (/usr/local/texlive/2013/texmf-dist/tex/latex/marvosym/marvosym.sty) (/usr/local/texlive/2013/texmf-dist/tex/latex/wasysym/wasysym.sty) (/usr/local/texlive/2013/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/local/texlive/2013/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) No file orgtex11506Npy.aux. (/usr/local/texlive/2013/texmf-dist/tex/latex/base/ts1cmr.fd) (/usr/local/texlive/2013/texmf-dist/tex/latex/wasysym/uwasy.fd) (/usr/local/texlive/2013/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/local/texlive/2013/texmf-dist/tex/latex/amsfonts/umsb.fd) [1] (./orgtex11506Npy.aux) ) Output written on orgtex11506Npy.dvi (1 page, 352 bytes). Transcript written on orgtex11506Npy.log. End of quotation. I do not quote the log file, it would be rude, it is very long. I wonder if the "restricted \write18 enabled." betrays something helpful ? Best wishes, and thanks for your kind help, Jo. [-- Attachment #2: Type: text/html, Size: 5483 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Fwd: puzzling org-mime-htmlize 2014-01-07 12:55 ` puzzling org-mime-htmlize Joseph Vidal-Rosset 2014-01-07 13:37 ` Nick Dokos @ 2014-01-08 7:28 ` Joseph Vidal-Rosset 2014-01-08 12:13 ` Nick Dokos 1 sibling, 1 reply; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-08 7:28 UTC (permalink / raw) To: Eric Schulte; +Cc: Nick Dokos, Liste-emacs-orgmode@gnu.org [-- Attachment #1: Type: text/plain, Size: 1599 bytes --] Dear Eric (cc. the list), I apologize to insist with this problem that I meet with org-mime-htmize in the gnus on my PC. On my laptop, with the same OS and I believe the same configuration, it runs perfectly. Here I meet always this sort of message: Creating LaTeX Image... Failed to create dvi file from /tmp/orgtex11506Npy.tex Auto-saving... I have tried to run latex /tmp/orgtex11506Npy.tex - as adviced Nick - and the dvi file was created. I understand neither what happens nor how I can fix this problem. Do you see an possible explanation ? Best wishes, Jo. ---------- Forwarded message ---------- From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> Date: 2014/1/7 Subject: puzzling org-mime-htmlize To: emacs-orgmode@gnu.org Hello the list, Back to gnus in order to improve my life in emacs, I meet a very strange problem with org-mime-htmlize. The more surprising fact is that this problem does not appear on my laptop (running with GNU Linux Debian testing) but only with my PC (running also with a Crunchbang + Debian wheezy upgraded to testing). Therefore I have imported my .gnus.el and my init.el from my laptop to my pc, but very strangely the problem persists ! It is the same settings, the same O.S. , even the same org-mime.el and it works on laptop, not on my pc. Here is the error message: Creating LaTeX Image... Failed to create dvi file from /tmp/orgtex11506Npy.tex Auto-saving... I do not know what to do, because I can't guess where the problem is. I send this message with Gnus to say you that your help is very welcome. Jo. [-- Attachment #2: Type: text/html, Size: 2258 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 7:28 ` Fwd: " Joseph Vidal-Rosset @ 2014-01-08 12:13 ` Nick Dokos 2014-01-08 12:56 ` Joseph Vidal-Rosset 0 siblings, 1 reply; 26+ messages in thread From: Nick Dokos @ 2014-01-08 12:13 UTC (permalink / raw) To: emacs-orgmode Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes: > Dear Eric (cc. the list), > > I apologize to insist with this problem that I meet with org-mime-htmize in the gnus on my PC. > > On my laptop, with the same OS and I believe the same configuration, it runs perfectly. Here I meet always this sort of message: > > Creating LaTeX Image... > Failed to create dvi file from /tmp/orgtex11506Npy.tex > Auto-saving... > > I have tried to run latex /tmp/orgtex11506Npy.tex - as adviced Nick - and the dvi file was created. > > I understand neither what happens nor how I can fix this problem. Do you see an possible explanation ? > Not enough information: post the procedure you follow and a minimal org file that exhibits the problem. -- Nick ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 12:13 ` Nick Dokos @ 2014-01-08 12:56 ` Joseph Vidal-Rosset 2014-01-08 15:29 ` Nick Dokos 0 siblings, 1 reply; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-08 12:56 UTC (permalink / raw) To: Nick Dokos; +Cc: Liste-emacs-orgmode@gnu.org [-- Attachment #1: Type: text/plain, Size: 383 bytes --] 2014/1/8 Nick Dokos <ndokos@gmail.com> > Not enough information: post the procedure you follow and a minimal org > file that exhibits the problem. > Hi Nick, I apolgize, it's difficult for me to be more complete that I was. It is not org, but gnus with org. M-x org-mime-htmlize creates the html email, but fails to make access to /temp/image.png . That's it. Best wishes, Jo. [-- Attachment #2: Type: text/html, Size: 867 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 12:56 ` Joseph Vidal-Rosset @ 2014-01-08 15:29 ` Nick Dokos 2014-01-08 15:43 ` Josiah Schwab ` (2 more replies) 0 siblings, 3 replies; 26+ messages in thread From: Nick Dokos @ 2014-01-08 15:29 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 1342 bytes --] #+OPTIONS: latex:t Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes: > 2014/1/8 Nick Dokos <ndokos@gmail.com> > > Not enough information: post the procedure you follow and a minimal org > file that exhibits the problem. > > Hi Nick, I apolgize, it's difficult for me to be more complete that I was. You are kidding, right? Here, let me start and maybe you can see where I'm going. In gnus, I was reading your message and did "f" to follow up. I then entered this org fragment: --8<---------------cut here---------------start------------->8--- * Org fragment for org-mime-htmlize to chew on. Does this work? --8<---------------cut here---------------end--------------->8--- I then called org-mime-htmlize. That added the html part and I then sent it with C-c C-c. How hard is that? BTW, just in case I made you feel bad: I've been ranting about things like this for years, e.g. [[http://article.gmane.org/gmane.emacs.orgmode/32130/match=ask+questions]] You are not the first, and you are not going to be the last: asking good questions is learned, so there is hope :-) BTW, I think the reference to ESR's "smart questions" paper has been added somewhere in Worg, but a few minutes search did not uncover it. Anybody know where it is? Also btw: I almost never send HTML mail - this is a very special case. Nick [-- Attachment #2.1: Type: text/html, Size: 2182 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 15:29 ` Nick Dokos @ 2014-01-08 15:43 ` Josiah Schwab 2014-01-08 17:42 ` Joseph Vidal-Rosset 2014-01-08 18:50 ` Joseph Vidal-Rosset 2 siblings, 0 replies; 26+ messages in thread From: Josiah Schwab @ 2014-01-08 15:43 UTC (permalink / raw) To: Nick Dokos; +Cc: emacs-orgmode Nick Dokos writes: > BTW, I think the reference to ESR's "smart questions" paper has been > added somewhere in Worg, but a few minutes search did not uncover it. > Anybody know where it is? There is a link to it on the front page. Second to last line in the "Documentation and Literature" section. http://orgmode.org/#sec-2 Of course, it may be linked elsewhere too. Best, Josiah ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 15:29 ` Nick Dokos 2014-01-08 15:43 ` Josiah Schwab @ 2014-01-08 17:42 ` Joseph Vidal-Rosset 2014-01-08 17:46 ` Bastien 2014-01-08 18:52 ` Nick Dokos 2014-01-08 18:50 ` Joseph Vidal-Rosset 2 siblings, 2 replies; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-08 17:42 UTC (permalink / raw) To: Nick Dokos; +Cc: Liste-emacs-orgmode@gnu.org [-- Attachment #1: Type: text/plain, Size: 1139 bytes --] 2014/1/8 Nick Dokos <ndokos@gmail.com> > > Hi Nick, I apolgize, it's difficult for me to be more complete that I > was. > > You are kidding, right? > Hi Nick, No, I did not kidding, unfortunately. I'm replying with gmail, and I am afraid I will give up the project to use Gnus. From yesterday evening, suddenly I have on my two computers an error message with gnus: 'smtp-server' not defined. I've of course tried to solve this new problem, with help of archives of mailing lists given by Google, all my tentative are at the moment unsuccessful... It's both boring and irritating. The least that I expect from an email client is to work correctly. Gnus worked, for sending and receiving emails, and suddenly without clear reason, it does not work no more... It is not stable because I have not changed .gnus.el ... I am sorry to have bothered you for nothing, but I am tired and disappointed by emailing via emacs. I loose more time in trying to configure gnus for my gmail account than in reading and replying to my emails... I will going to try to improve my use of org-mode, but Gnus is not made for me... Best wishes, Jo. [-- Attachment #2: Type: text/html, Size: 2357 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 17:42 ` Joseph Vidal-Rosset @ 2014-01-08 17:46 ` Bastien 2014-01-08 17:55 ` Joseph Vidal-Rosset 2014-01-08 18:52 ` Nick Dokos 1 sibling, 1 reply; 26+ messages in thread From: Bastien @ 2014-01-08 17:46 UTC (permalink / raw) To: Joseph Vidal-Rosset; +Cc: Nick Dokos, Liste-emacs-orgmode@gnu.org Hi Joseph, Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes: > The least that I expect from an email client is to work correctly. > Gnus worked, for sending and receiving emails, and suddenly without > clear reason, it does not work no more... It is not stable because I > have not changed .gnus.el ... If you haven't changed anything in your Gnus configuration and if you are still using the exact same setup that used to be working, it's hardly Gnus fault... maybe gmail changed something? Anyway, just to give you some more encouragement: it's really worth insisting. Remember Beckett's: fail, fail again, fail better! -- Bastien ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 17:46 ` Bastien @ 2014-01-08 17:55 ` Joseph Vidal-Rosset 2014-01-08 23:41 ` Bastien 0 siblings, 1 reply; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-08 17:55 UTC (permalink / raw) To: Bastien; +Cc: Nick Dokos, Liste-emacs-orgmode@gnu.org [-- Attachment #1: Type: text/plain, Size: 591 bytes --] 2014/1/8 Bastien <bzg@gnu.org> > If you haven't changed anything in your Gnus configuration and if > you are still using the exact same setup that used to be working, > it's hardly Gnus fault... maybe gmail changed something? > > Anyway, just to give you some more encouragement: it's really worth > insisting. > > Remember Beckett's: fail, fail again, fail better! > Hi Bastien, It was FLIM's fault. The bug is here: http://lists.gnu.org/archive/html/info-gnus-english/2010-02/msg00077.html My gnus works now. But I'm still using Gmail at the moment. Je boude ! :) Best wishes Jo. [-- Attachment #2: Type: text/html, Size: 1524 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 17:55 ` Joseph Vidal-Rosset @ 2014-01-08 23:41 ` Bastien 2014-01-09 9:03 ` Joseph Vidal-Rosset 0 siblings, 1 reply; 26+ messages in thread From: Bastien @ 2014-01-08 23:41 UTC (permalink / raw) To: Joseph Vidal-Rosset; +Cc: Nick Dokos, Liste-emacs-orgmode@gnu.org Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes: > My gnus works now. But I'm still using Gmail at the moment. As Nick wisely said: one thing at a time! The good new is that you'll get good support for both Gnus and Org. -- Bastien ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 23:41 ` Bastien @ 2014-01-09 9:03 ` Joseph Vidal-Rosset 0 siblings, 0 replies; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-09 9:03 UTC (permalink / raw) To: Bastien; +Cc: Nick Dokos, Liste-emacs-orgmode@gnu.org [-- Attachment #1: Type: text/plain, Size: 19 bytes --] #+OPTIONS: latex:t [-- Attachment #2.1: Type: text/plain, Size: 19 bytes --] #+OPTIONS: latex:t [-- Attachment #2.2.1: Type: text/plain, Size: 19 bytes --] #+OPTIONS: latex:t [-- Attachment #2.2.2.1: Type: text/plain, Size: 1245 bytes --] #+OPTIONS: latex:t Le jeu. 09 janv. 2014 à 12:41:48 , Bastien <bzg@gnu.org> a envoyé ce message: > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes: > >> My gnus works now. But I'm still using Gmail at the moment. > > As Nick wisely said: one thing at a time! > > The good new is that you'll get good support > for both Gnus and Org. Yes, you are right Bastien. Good news: I have finally the explanation of the "bug". Here is, and it could be a lesson for all Debian users. All the problems that I had theses times came from the same cause: I had decided to install some very useful packages not via Debian aptitude system, but via direct sources in /usr/local/ just in order to avoid boring and long re-installation of texlive-full for example. But it has certainly created some confusion, probably my .bashrc is not correctly written, I do not know. This morning I have removed and purge all what could be in relation with latex and re-installed bibtex2html, texlive, and so on. And now it works fine. Here is Peirce formula: $$ ((A \to B) \to A) \to A $$ End of this thread. I am going to open another one about Gnus - Org and $ \LaTeX $ Best wishes, Jo. [-- Attachment #2.2.2.2.1: Type: text/html, Size: 1939 bytes --] [-- Attachment #2.2.2.2.2: latex5486e9i_a0411e0b38a9faeb365f1d344efb230ed27b88b6.png --] [-- Type: image/png, Size: 712 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 17:42 ` Joseph Vidal-Rosset 2014-01-08 17:46 ` Bastien @ 2014-01-08 18:52 ` Nick Dokos 1 sibling, 0 replies; 26+ messages in thread From: Nick Dokos @ 2014-01-08 18:52 UTC (permalink / raw) To: emacs-orgmode Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes: > 2014/1/8 Nick Dokos <ndokos@gmail.com> > > > Hi Nick, I apolgize, it's difficult for me to be more complete that I was. > > You are kidding, right? > > Hi Nick, > > No, I did not kidding, unfortunately. > > I'm replying with gmail, and I am afraid I will give up the project to use Gnus. From yesterday evening, suddenly I have on my > two computers an error message with gnus: > > 'smtp-server' not defined. > I saw your other message where FLIM (whatever that is) is identified as the culprit. One piece of advice: do not install random software packages without thorough testing. The best way to test is with a minimal .emacs that just loads the package under test, start a new emacs with it (emacs -q -l /path/to/min.emacs) and test the heck out of it before admitting it into the set of trusted packages that you load in your everyday emacs session. I routinely have three emacs sessions going: my everyday emacs, a separate one that I use as an IRC client (running erc) and a third short-lived one for tests. My everyday emacs runs for weeks at a time; the irc emacs gets restarted every time I switch networks (I wish erc would maintain the connections, but they get dropped); the short-lived one(s) lasts from a few minutes to a few hours. > I've of course tried to solve this new problem, with help of archives > of mailing lists given by Google, all my tentative are at the moment > unsuccessful... > > It's both boring and irritating. > > The least that I expect from an email client is to work > correctly. Gnus worked, for sending and receiving emails, and suddenly > without clear reason, it does not work no more... It is not stable > because I have not changed .gnus.el ... > ... but you installed FLIM, right? That installed its own smtpmail.el which apparently you picked up in preference to the one that came with emacs. This is a fairly common mistake. > I am sorry to have bothered you for nothing, but I am tired and > disappointed by emailing via emacs. I loose more time in trying to > configure gnus for my gmail account than in reading and replying to my > emails... > > I will going to try to improve my use of org-mode, but Gnus is not made for me... > Bastien's channeling of Beckett was the perfect answer here, but as usual I have a few more comments :-) Gnus is indeed peculiar: I switched to it about 8 months ago and I'm still not quite comfortable with it. However, although I occasionally use gmail and thunderbird, I'll take an emacs-based mail client over them every time: I used mh-e for many years and switched to gnus only because I wanted an imap server at home - afaik, mh-e (and nmh underneath it) just did not support that use case. As a general principle however, you need to decouple your attempts to use gnus from your attempts to use org. I recently advised somebody not to use all the blades of the org swiss-army knife at the same time. Trying to do that in combination with gnus is turning the knife into a chainsaw (swiss-army chainsaw anyone?) Do them one at a time: it may seem slow and inefficient to you now, but it is much more efficient than the alternative - damhikt... Nick ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 15:29 ` Nick Dokos 2014-01-08 15:43 ` Josiah Schwab 2014-01-08 17:42 ` Joseph Vidal-Rosset @ 2014-01-08 18:50 ` Joseph Vidal-Rosset 2014-01-08 18:56 ` Joseph Vidal-Rosset 2014-01-08 19:23 ` Nick Dokos 2 siblings, 2 replies; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-08 18:50 UTC (permalink / raw) To: Nick Dokos; +Cc: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 4344 bytes --] #+OPTIONS: latex:t Le mer. 08 janv. 2014 à 04:29:03 , Nick Dokos <ndokos@gmail.com> a envoyé ce message: > Table of Contents > > * 1. Org fragment for org-mime-htmlize to chew on. > > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes: > >> 2014/1/8 Nick Dokos <ndokos@gmail.com> >> >> Not enough information: post the procedure you follow and a minimal org >> file that exhibits the problem. >> >> Hi Nick, I apolgize, it's difficult for me to be more complete that I was. > > You are kidding, right? Here, let me start and maybe you can see where > I'm going. > > In gnus, I was reading your message and did "f" to follow up. I then > entered this org fragment: > > –8<—————cut here—————start-————>8— > > 1 Org fragment for org-mime-htmlize to chew on. > > Does this work? > –8<—————cut here—————end—————>8— > > I then called org-mime-htmlize. That added the html part and I then sent > it with C-c C-c. How hard is that? Hi again Nick, What is easy for you in one domain can be hard for other people, and conversely for other domains. I'm back to Gnus finally and I am going to give you an example of what works and what does not work with my org-mime-htmlize... * This title should work But the following formula $$ \neg \neg A \nvdash_{i} A $$ should not. Effectively : type="image/png" filename="/tmp/ltxpng/latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png" disposition=inline id="<_tmp_ltxpng_latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png>"> provokes this message : mm-insert-file-contents: Opening input file: aucun fichier ou dossier de ce type, /tmp/ltxpng/latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png I hope that is what you expected from me... "See you" soon... Jo. <div id="table-of-contents"> <h2>Table of Contents</h2> <div id="text-table-of-contents"> <ul> <li><a href="#sec-1">1. This title</a></li> </ul> </div> </div> <p> Le mer. 08 janv. 2014 à 04:29:03 , Nick Dokos <ndokos@gmail.com> a<br /> envoyé ce message:<br /> > Table of Contents<br /> ><br /> > * 1. Org fragment for org-mime-htmlize to chew on.<br /> ><br /> > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:<br /> ><br /> >> 2014/1/8 Nick Dokos <ndokos@gmail.com><br /> >><br /> >> Not enough information: post the procedure you follow and a minimal org<br /> >> file that exhibits the problem.<br /> >><br /> >> Hi Nick, I apolgize, it's difficult for me to be more complete that I was.<br /> ><br /> > You are kidding, right? Here, let me start and maybe you can see where<br /> > I'm going.<br /> ><br /> > In gnus, I was reading your message and did "f" to follow up. I then<br /> > entered this org fragment:<br /> ><br /> > –8<—————cut here—————start-————>8—<br /> ><br /> > 1 Org fragment for org-mime-htmlize to chew on.<br /> ><br /> > Does this work?<br /> > –8<—————cut here—————end—————>8—<br /> ><br /> > I then called org-mime-htmlize. That added the html part and I then sent<br /> > it with C-c C-c. How hard is that?<br /> </p> <p> Hi again Nick,<br /> </p> <p> What is easy for you in one domain can be hard for other people, and<br /> conversely for other domains.<br /> </p> <p> I'm back to Gnus finally and I am going to give you an example of what<br /> works and what does not work with my org-mime-htmlize…<br /> </p> <div id="outline-container-sec-1" class="outline-2"> <h2 id="sec-1"><span class="section-number-2">1</span> This title</h2> <div class="outline-text-2" id="text-1"> <p> should work<br /> </p> <p> But the following formula<br /> </p> <p> <img src="cid:_tmp_ltxpng_latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png" alt="$$ \neg \neg A \nvdash_{i} A $$" /><br /> </p> <p> should not.<br /> </p> <p> I hope that is what you expected from me…<br /> </p> <p> "See you" soon…<br /> </p> <p> Jo.<br /> </p> </div> </div> ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 18:50 ` Joseph Vidal-Rosset @ 2014-01-08 18:56 ` Joseph Vidal-Rosset 2014-01-08 19:23 ` Nick Dokos 1 sibling, 0 replies; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-08 18:56 UTC (permalink / raw) To: Nick Dokos; +Cc: Liste-emacs-orgmode@gnu.org [-- Attachment #1: Type: text/plain, Size: 330 bytes --] Dear Nick and dear all, Sorry for my previous message. I have had to cut the html code in order to succed to sent my message with Gnus. The result is not beautiful. But I hope that it will help to understand the problem. Nick, many thanks for your patience with me and for all your efforts with the community. Best wishes Jo. [-- Attachment #2: Type: text/html, Size: 538 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 18:50 ` Joseph Vidal-Rosset 2014-01-08 18:56 ` Joseph Vidal-Rosset @ 2014-01-08 19:23 ` Nick Dokos 2014-01-08 20:19 ` Joseph Vidal-Rosset 1 sibling, 1 reply; 26+ messages in thread From: Nick Dokos @ 2014-01-08 19:23 UTC (permalink / raw) To: emacs-orgmode Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes: > What is easy for you in one domain can be hard for other people, and > conversely for other domains. > > I'm back to Gnus finally and I am going to give you an example of what > works and what does not work with my org-mime-htmlize... > > * This title > > should work > > But the following formula > > $$ \neg \neg A \nvdash_{i} A $$ > > should not. > > Effectively : > > type="image/png" > filename="/tmp/ltxpng/latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png" > disposition=inline > id="<_tmp_ltxpng_latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png>"> > > > provokes this message : mm-insert-file-contents: Opening input file: > aucun fichier ou dossier de ce type, > /tmp/ltxpng/latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png > > I hope that is what you expected from me... > Exactly. FWIW, it works fine for me, so it's not an org-mime (or oher org) problem. It is probably a problem in your setup: it seems that you cannot generate latex fragment images. Create a file, foo.org say, and insert the above content: --8<---------------cut here---------------start------------->8--- * This title should work But the following formula $$ \neg \neg A \nvdash_{i} A $$ should not. --8<---------------cut here---------------end--------------->8--- Split the window and visit the *Messages* buffer in one of the windows. Then do C-c C-x C-l in the foo.org window (or what amounts to the same thing, M-x org-preview-latex-fragment). Does it fail? What does the *Messages* buffer say? Nick ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 19:23 ` Nick Dokos @ 2014-01-08 20:19 ` Joseph Vidal-Rosset 2014-01-08 20:36 ` Joseph Vidal-Rosset 0 siblings, 1 reply; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-08 20:19 UTC (permalink / raw) To: Nick Dokos; +Cc: emacs-orgmode Le mer. 08 janv. 2014 à 08:23:02 , Nick Dokos <ndokos@gmail.com> a envoyé ce message: >> I hope that is what you expected from me... >> > > Exactly. FWIW, it works fine for me, so it's not an org-mime (or oher > org) problem. It is probably a problem in your setup: it seems that you > cannot generate latex fragment images. Yes, I agree, it is very probably a problem in the setup of my PC, in the setup of gnus, > > Create a file, foo.org say, and insert the above content: > > * This title > > should work > > But the following formula > > $$ \neg \neg A \nvdash_{i} A $$ > > should not. > > Split the window and visit the *Messages* buffer in one of the > windows. Then do C-c C-x C-l in the foo.org window (or what amounts to > the same thing, M-x org-preview-latex-fragment). Does it fail? What does > the *Messages* buffer say? > > Nick C-c C-x C-l works fine: I see the equation image in the buffer. Here is the result of Messages buffer: Loading reftex...done Mark set Creating images for entry...1 Process completed. Creating images for entry...done. Use `C-c C-c' to remove images. byte-code: End of buffer Auto-saving...done Maybe the problem came of building another emacs-24.3 in /usr/local/ ... I met another problem with that. So I sudo rm -r /usr/local/emacs-24.3/ and I am going to make another check. I keep you informed. Soon, Jo. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Fwd: puzzling org-mime-htmlize 2014-01-08 20:19 ` Joseph Vidal-Rosset @ 2014-01-08 20:36 ` Joseph Vidal-Rosset 0 siblings, 0 replies; 26+ messages in thread From: Joseph Vidal-Rosset @ 2014-01-08 20:36 UTC (permalink / raw) To: Nick Dokos; +Cc: Liste-emacs-orgmode@gnu.org [-- Attachment #1: Type: text/plain, Size: 1436 bytes --] 2014/1/8 Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> > Maybe the problem came of building another emacs-24.3 in /usr/local/ > ... I met another problem with that. So I sudo rm -r > /usr/local/emacs-24.3/ and I am going to make another check. I keep you > informed. > Unfortunately, the same problem persists in boring me. I have even tried an "aptitude reinstall emacs24", nothing has changed. I got this result with a formula: <#multipart type=alternative><#part type=text/plain>#+OPTIONS: latex:t [image: ((p \to q) \to p) \to p] <#multipart type=related><#part type=text/html><p> <img src="cid:_tmp_ltxpng_latex55421HL_fe33fb9aa807a803acea12fbcfe6cf88056fbc6b.png" alt="[image: ((p \to q) \to p) \to p]" /><br /> </p> <#part type="image/png" filename="/tmp/ltxpng/latex55421HL_fe33fb9aa807a803acea12fbcfe6cf88056fbc6b.png" disposition=inline id="<_tmp_ltxpng_latex55421HL_fe33fb9aa807a803acea12fbcfe6cf88056fbc6b.png>"> <#/part> <#/multipart> <#/multipart> Where you'll can see the image of Peirce Law, but I cannot send the message via Gnus because the message error: Creating LaTeX Image... Failed to create dvi file from /tmp/orgtex5542CSR.tex Auto-saving... I do not understand. I send this message from Gmail (Gmail-Tex displays the image), because I am unable to find our thread in the Group of this List in Gnus, but it is another problem.... Best wishes and good evening, Jo. [-- Attachment #2: Type: text/html, Size: 3083 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2014-01-21 17:48 UTC | newest] Thread overview: 26+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-01-07 9:47 Question about the math mode table exporting for latex and html bsun 2014-01-07 11:14 ` Rasmus 2014-01-07 16:39 ` Nicolas Goaziou 2014-01-07 21:17 ` Rick Frankel 2014-01-09 10:53 ` Nicolas Goaziou 2014-01-18 20:40 ` Rasmus 2014-01-21 17:48 ` Nicolas Goaziou 2014-01-07 12:55 ` puzzling org-mime-htmlize Joseph Vidal-Rosset 2014-01-07 13:37 ` Nick Dokos 2014-01-07 13:49 ` Joseph Vidal-Rosset 2014-01-08 7:28 ` Fwd: " Joseph Vidal-Rosset 2014-01-08 12:13 ` Nick Dokos 2014-01-08 12:56 ` Joseph Vidal-Rosset 2014-01-08 15:29 ` Nick Dokos 2014-01-08 15:43 ` Josiah Schwab 2014-01-08 17:42 ` Joseph Vidal-Rosset 2014-01-08 17:46 ` Bastien 2014-01-08 17:55 ` Joseph Vidal-Rosset 2014-01-08 23:41 ` Bastien 2014-01-09 9:03 ` Joseph Vidal-Rosset 2014-01-08 18:52 ` Nick Dokos 2014-01-08 18:50 ` Joseph Vidal-Rosset 2014-01-08 18:56 ` Joseph Vidal-Rosset 2014-01-08 19:23 ` Nick Dokos 2014-01-08 20:19 ` Joseph Vidal-Rosset 2014-01-08 20:36 ` Joseph Vidal-Rosset
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).