emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Yuchen Guo <Guoyuc@students.uni-marburg.de>
Cc: emacs-orgmode@gnu.org, "Rudolf Adamkovič" <salutis@me.com>, rms@gnu.org
Subject: Re: Faulty SVG width in default HTML export style
Date: Mon, 04 Apr 2022 13:20:51 +0800	[thread overview]
Message-ID: <87bkxhpgp8.fsf@localhost> (raw)
In-Reply-To: <87v8vpwika.fsf@students.uni-marburg.de>

Yuchen Guo <Guoyuc@students.uni-marburg.de> writes:

> Maybe I'm getting confused here, but as of the latest commit
> (cbe3f2d697a973a41a412b826ab9435d5523f3d0):
>
> - in ox-html.el, `org-html-with-latex' is defined as
>   `org-export-with-latex', with the comment that:
>
>   `mathjax', t:  Do MathJax preprocessing and arrange for MathJax.js to
>                  be loaded.
>
> - in ox.el, `org-export-with-latex' is defined as `t'.
>
> Therefore, MathJax is the default export option for math snippets in
> HTML exports.

My fault. You are right. I missed that `org-export-with-latex' is a
variable, not a symbol. If you think that we need to change the default,
feel free to open a new thread proposing an alternative.

>> 2. We use MathJax script from
>> https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js It is
>> licenced under Apache 2.0, which is GPL-compatible according to
>> https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses
>
> Yes.  But it is still problematic because:
>
> - The license is not declared in the script and therefore not compatible
>   with LibreJS.

The license is declared in the script. You can see it by following the
script url. It is right on top.

The other question is why LibreJS does not recognise the license.
Maybe LibreJS can fix it on LibreJS side or maybe we can indicate that
MathJax is GPL-compatible on the html page itself
(https://www.gnu.org/software/librejs/manual/html_node/Setting-Your-JavaScript-Free.html)
For the latter, patches are welcome.

> - It is not trivial to `control your computing', as in `modifying the
>   script and run your modified copy instead.'

I am not sure what is the problem here. Apache licence does not restrict
modifications and you can use your modified MathJax source by
customising org-html-mathjax-options.

Best,
Ihor



  reply	other threads:[~2022-04-04  5:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03  8:11 Faulty SVG width in default HTML export style Yuchen Guo
2022-03-28 12:36 ` Bastien
2022-03-28 19:41 ` Rudolf Adamkovič
2022-03-29 14:48   ` Yuchen Guo
2022-04-03 16:34     ` Rudolf Adamkovič
2022-04-04  2:57       ` Ihor Radchenko
2022-04-04  4:38         ` Yuchen Guo
2022-04-04  5:20           ` Ihor Radchenko [this message]
2022-04-04  7:24             ` Ethical problems with MathJax as default - Was: Faulty SVG width Yuchen Guo
2022-04-04  8:00               ` Ihor Radchenko
2022-04-06  4:12                 ` Richard Stallman
2022-04-06  4:12               ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkxhpgp8.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=Guoyuc@students.uni-marburg.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=rms@gnu.org \
    --cc=salutis@me.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).