[O] Mathjax AND imagemagick when it is necessary ?

2019-06-25 Thread Joseph Vidal-Rosset
Hello the list, The html export with Mathjax works and the results are nice. But sometimes, with some LaTeX macros, imagemagick is needed. Unfortunately, there seems to be a choice: export either with Mathjax or the imagemagick option. But maybe I'm wrong. Would it be possible to get the option i

[O] MathJax font confusion

2019-03-05 Thread Lawrence Bottorff
I'm trying to get odd behavior in an org-mode HTML export cleared up. (See this .) I've got this table { font-family: monospace; /* font-family:'eulermedium_18'; */ font-size: 1.05em; margin-left:5%; margin-right:auto; margin-top:0.5em;

Re: [O] mathjax macro in org-mode

2018-10-15 Thread Jeremie Juste
Jeremie Juste writes: Hello, looking deeper into the docs I saw that we could modify the org-html-mathjax-template in the following way to add the macro. (setq (org-html-mathjax-template " MathJax.Hub.Config({ displayAlign: \"%ALIGN\", displayIndent: \"%INDENT\",

[O] mathjax macro in org-mode

2018-10-14 Thread Jeremie Juste
Hello, I was wondering how to set up mathjax macro in org-mode. For instance would it be possible to use #+HTML_MATHJAX: to include the following macro? Macros: { R: '{\\mathbb{R}}', bold: ['{\\bf #1}',1] } So far my attempts have been unsuccessful. Best regards, Jeremi

Re: [O] MathJax beyond org-html-mathjax-options?

2017-11-03 Thread Rasmus
Lawrence Bottorff writes: > Bottom line: we can't expand org-html-mathjax-options to add in MathJax's > cancel.js, etc. I did not say that. With the current version, you could do it yourself by adding (extensions "ext1.js, ..., extn.js") to org-html-mathjax-options and changing org-html-mathjax

Re: [O] MathJax beyond org-html-mathjax-options?

2017-11-03 Thread Lawrence Bottorff
Bottom line: we can't expand org-html-mathjax-options to add in MathJax's cancel.js, etc. Yes, your first "quick-and-dirty" worked just fine. Q: How did you know how to format #+html: \(\require{cancel}\) ? Also, how does the org world know that we're talking about loading MathJax's cancel.js? As y

Re: [O] MathJax beyond org-html-mathjax-options?

2017-11-02 Thread Rasmus
Lawrence Bottorff writes: > I'm trying to get a typical Latex strikethrough with MathJax in an HTML > export, i.e., \cancel{thing} puts line through "thing". This > tells me how. But I > don't know how to include this MathJax markup in an org fi

[O] MathJax beyond org-html-mathjax-options?

2017-10-31 Thread Lawrence Bottorff
I'm trying to get a typical Latex strikethrough with MathJax in an HTML export, i.e., \cancel{thing} puts line through "thing". This tells me how. But I don't know how to include this MathJax markup in an org file for HTML export. If I forego Math

Re: [O] mathjax

2017-06-12 Thread Colin Baxter
Dear Kaushal and Adam > "Adam" == Adam Aviv writes: Adam> Another change in moving to cloudflair was that it was https Adam> link rather than a http. It could be the case that you have Adam> mixed content, https with http as well. Does it still not Adam> render when you chang

Re: [O] mathjax

2017-06-12 Thread Kaushal Modi
On Mon, Jun 12, 2017 at 11:20 AM Colin Baxter wrote: > I have mathjax working now. I had inserted a path to cdnjs.cloudflare > local to the file, which I had thought mistakenly was identical to the > global > setting. However, one was https and the other http. As always, the devil > is in the det

Re: [O] mathjax

2017-06-12 Thread Adam Aviv
Another change in moving to cloudflair was that it was https link rather than a http. It could be the case that you have mixed content, https with http as well. Does it still not render when you change to https? On Sun, Jun 11, 2017 at 10:03 AM, Colin Baxter wrote: > Dear Kaushal, > > > "K

Re: [O] mathjax

2017-06-11 Thread Colin Baxter
Dear Kaushal, > "Kaushal" == Kaushal Modi writes: Kaushal> So all the org-mode updates on Org Elpa or Melpa since then Kaushal> have that in effect, and even the releases starting with Kaushal> version 9.0.6. Kaushal> - What's your org version? - What do you see when you do

Re: [O] mathjax

2017-06-11 Thread Kaushal Modi
On Sun, Jun 11, 2017, 5:14 AM Colin Baxter wrote: > Hello, > > Mathjax exports to html no longer works for me. I tried the alternative > CDN providers: > > https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?... > https://cdn.rawgit.com/mathjax/MathJax/2.7.1/MathJax.js > > but they've

[O] mathjax

2017-06-11 Thread Colin Baxter
Hello, Mathjax exports to html no longer works for me. I tried the alternative CDN providers: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?... https://cdn.rawgit.com/mathjax/MathJax/2.7.1/MathJax.js but they've shut down. There seems to be nothing helpful in either ORG-NEWS,

Re: [O] Mathjax CDN to shutdown April 30th 2017

2017-04-16 Thread Nicolas Goaziou
Hello, Adam Aviv writes: > I've included both changes, to doc and the the html export in the attached > patch, now with properly commit message including the TINYCHANGE. Applied. Thank you. Regards, -- Nicolas Goaziou0x80A93738

Re: [O] Mathjax CDN to shutdown April 30th 2017

2017-04-15 Thread Adam Aviv
On Sat, Apr 15, 2017 at 12:22 PM, Nicolas Goaziou wrote: > > Is there a plan to move the default org-mode mathjax header link over to > > this by 30 April? It's a one line change in ox-htm.el for mathjax > options. > > I've attached that patch for convenience. However, after a bit of > > greppin

Re: [O] Mathjax CDN to shutdown April 30th 2017

2017-04-15 Thread Nicolas Goaziou
Hello, Adonay Felipe Nogueira writes: > I would personally try to avoid CloudFlare, because it currently forces > the site visitor to run non-(free/libre) software (automatically through > JavaScript). > > And even if it's prooven to be free/libre, it currently doesn't tell > this to the user/vi

Re: [O] Mathjax CDN to shutdown April 30th 2017

2017-04-15 Thread Nicolas Goaziou
Hello, Adam Aviv writes: > I saw this blogpost recently about cdn.mathjax.org will be shutdown on > April 30th 2017. > > https://www.mathjax.org/cdn-shutting-down/ > > There's a replacement to use cloudflair hosting instead > > https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?...

Re: [O] Mathjax CDN to shutdown April 30th 2017

2017-04-12 Thread Adonay Felipe Nogueira
I would personally try to avoid CloudFlare, because it currently forces the site visitor to run non-(free/libre) software (automatically through JavaScript). And even if it's prooven to be free/libre, it currently doesn't tell this to the user/visitor in a clear way (next to the place where the sc

[O] Mathjax CDN to shutdown April 30th 2017

2017-04-12 Thread Adam Aviv
Hi all, I saw this blogpost recently about cdn.mathjax.org will be shutdown on April 30th 2017. https://www.mathjax.org/cdn-shutting-down/ There's a replacement to use cloudflair hosting instead https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?... Is there a plan to move the def

Re: [O] mathjax vs. imagemagick

2014-08-04 Thread Joseph Vidal-Rosset
Many thanks for this help Nicolas. I do not succeed to adapt your example to my file. I am afraid that it is too complicated for me. I meet always difficulties with html export, and now it is a failure of bibtex2html... Thanks again Best regards Jo. 2014-08-04 13:32 GMT+02:00 Nicolas Berthie

Re: [O] mathjax vs. imagemagick

2014-08-04 Thread Nicolas Berthier
You wrote: > Hello, > > In order to convert a tikzpicture into html webpage, one needs > #+OPTIONS: tex:imagemagick > and it means that the other equations are no more converted via > Mathjax. > > Is there a mean to combine the use of imagemagick only for > tikzpicture, and keeping the use of M

[O] mathjax vs. imagemagick

2014-08-03 Thread Joseph Vidal-Rosset
Hello, In order to convert a tikzpicture into html webpage, one needs #+OPTIONS: tex:imagemagick and it means that the other equations are no more converted via Mathjax. Is there a mean to combine the use of imagemagick only for tikzpicture, and keeping the use of Mathjax to read the other equati

Re: [O] Mathjax vs. problems with imagemagick

2014-07-28 Thread Sebastien Vauban
Nick Dokos wrote: > My org-latex-pdf-process setting is > > (setq org-latex-pdf-process '("texi2dvi --shell-escape --pdf %f")) > > and I'm experimenting with > > (setq org-latex-pdf-process '("latexmk --shell-escape -pdf -xelatex %f")) FWIW, I do have: (setq org-latex-pdf-process

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Joseph Vidal-Rosset
2014-07-11 20:05 GMT+02:00 Nick Dokos : > My org-latex-pdf-process setting is > > (setq org-latex-pdf-process '("texi2dvi --shell-escape --pdf %f")) > > and I'm experimenting with > > (setq org-latex-pdf-process '("latexmk --shell-escape -pdf -xelatex %f")) > I am going to test this code, an

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Nick Dokos
Joseph Vidal-Rosset writes: > > I guess that I have to put in  my .bashrc a command to say that I always > > want to use latex with -shell-escape option  , but I am not sure that it > > is the best solution. > > > > -shell-escape is a security risk, allowing arbitrary prog

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Joseph Vidal-Rosset
2014-07-11 17:59 GMT+02:00 Nick Dokos : > And you are sure that it is named > "latex15065_PG_37f10648c57a40194a74eaabbaa5c1678a5d2046.png" ? > The existing file might be a remnant from a previous run with a slightly > different name (uuid readability is not the best :-) ) > > :) I am pretty sure,

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Nick Dokos
Joseph Vidal-Rosset writes: > Le ven. 11 juil. 2014 à 02:59:23 , Nick Dokos a > envoyé ce message: > >> >> Can you please post an example org file and the tex file that's produced >> that gives you such bad images? > > Dear Nick, > > I sent an email three days ago to tell you that I've got

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Joseph Vidal-Rosset
Le ven. 11 juil. 2014 à 02:59:23 , Nick Dokos a envoyé ce message: > > Can you please post an example org file and the tex file that's produced > that gives you such bad images? Dear Nick, I sent an email three days ago to tell you that I've got the solution. I said: " I have put again

Re: [O] Mathjax vs. problems with imagemagick

2014-07-10 Thread Nick Dokos
Joseph Vidal-Rosset writes: > Hello Nick, hello everybody > > Before using your suggestion of debugging, I have made another test to > convert formulas made with different latex packages into png images for > a html file. > > At the beginning of my org file: > > All formulas used with the equatio

Re: [O] Mathjax vs. problems with imagemagick

2014-07-10 Thread Joseph Vidal-Rosset
#+OPTIONS: latex:t #+LATEX_HEADER: \usepackage{bussproofs} Hello Nick, hello everybody Before using your suggestion of debugging, I have made another test to convert formulas made with different latex packages into png images for a html file. At the beginning of my org file: #+LATEX_HEADER

Re: [O] Mathjax vs. problems with imagemagick

2014-07-09 Thread Joseph Vidal-Rosset
Hello Nick, hello everybody, I have finally got the solution. I have put again in my init.el the code from the page http://orgmode.org/worg/org-tutorials/org-latex-preview.html , i.e. (setq org-latex-listings 'minted) (require 'ox-latex) (add-to-list 'org-latex-packages-alist '("" "minted"))

Re: [O] Mathjax vs. problems with imagemagick

2014-07-08 Thread Joseph Vidal-Rosset
2014-07-08 15:01 GMT+02:00 Joseph Vidal-Rosset < joseph.vidal.ros...@gmail.com>: > That's strange because it works well with LaTeX export and even with > latex-preview-image and org-htmlize. This image of implication > elimination rule in my gnus-message should be nice: > > [image: \begin{prooftre

Re: [O] Mathjax vs. problems with imagemagick

2014-07-06 Thread Nick Dokos
Joseph Vidal-Rosset writes: > To convert equations from *.org  into *.html, Mathjax is certainly the > best solution but unfortunately, this solution does not work as soons > as one need to use some texlive package convenient to produce easily > proofs in specific format (for example if one uses

Re: [O] Mathjax vs. problems with imagemagick

2014-07-06 Thread Joseph Vidal-Rosset
Thanks for your reply. Do you mean that #+OPTIONS: tex:imagemagick must be mentioned first? In my opinion something is wrong in my setup and it is difficult for me to see what's wrong. Even a minima-init.el file is not helpful... Best wishes, Jo. 2014-07-06 10:39 GMT+02:00 briangpowell . :

Re: [O] Mathjax vs. problems with imagemagick

2014-07-06 Thread briangpowell .
* PNG is "lossless" format--if you can, make it the first file you create rather than last. ** If you create a JPG a "lossy" format then you could lose some of the beauty (like your example). * ImageMagick has many switches you can throw--suggest you look deeper into it in the freely available ma

[O] Mathjax vs. problems with imagemagick

2014-07-06 Thread Joseph Vidal-Rosset
Hello everybody, To convert equations from *.org into *.html, Mathjax is certainly the best solution but unfortunately, this solution does not work as soons as one need to use some texlive package convenient to produce easily proofs in specific format (for example if one uses bussproofs.sty of fi

[O] MathJax SVG

2014-06-27 Thread John Tait
I'm been trying this kind of thing, since org-export-html-mathjax-options doesnt have anything to configure. I don't think this looks very right though. #+LATEX_HEADER: \usepackage{amsmath} #+MATHJAX: align:"left" mathml:t path:"C:\Users\JohnT\Desktop\mj\MathJax.js" #+BEGIN_HTML

Re: [O] MathJax SVG

2014-06-27 Thread Nick Dokos
John Tait writes: > Hi > > I'd like to use org-mode and MathJax to produce maths in SVG format.  > > MathJax's CSS maths is wonderful but I need SVG for a specific purpose > (printing). > > If I have a simple file like below, can I configure MathJax to render SVG? > Haven't tried but does http

[O] MathJax SVG

2014-06-27 Thread John Tait
Hi I'd like to use org-mode and MathJax to produce maths in SVG format. MathJax's CSS maths is wonderful but I need SVG for a specific purpose (printing). If I have a simple file like below, can I configure MathJax to render SVG? Thanks John #+TITLE: Maths test #+LATEX_HEADER: \usepackage{

[O] Mathjax export taking into account custom macros

2011-09-08 Thread Christian Straßer
Hello, there is an asymmetry between the html-export of latex-formulas by means of dvipng on the one hand and by means of mathjax on the other hand. The asymmetry concerns the handling of information provided by the #+LaTeX_HEADER: parameter. The parameter is taken into account when exporting by m