emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] org-manual.org: Update links to MathJax docs
Date: Sun, 3 Oct 2021 23:17:46 +0700	[thread overview]
Message-ID: <sjcl3b$gsr$1@ciao.gmane.io> (raw)
In-Reply-To: <sjc754$csp$1@ciao.gmane.io>

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

On 03/10/2021 19:19, Max Nikulin wrote:
> 
> https://orgmode.org/manual/Math-formatting-in-HTML-export.html
> 
>> (131)
>>
>> Please note that exported formulas are part of an HTML document, and
>> that signs such as ‘<’, ‘>’, or ‘&’ have special meanings. See MathJax
>> TeX and LaTeX support.
> 
> The link is broken however.
> 
> http://docs.mathjax.org/en/latest/input/tex/html.html#html-special-characters 
> 
>> Usually, it is sufficient simply to put spaces around these symbols to
>> cause the browser to avoid them, so
>>
>> ... when $x < y$ we have ...
> 
> Though I am a bit surprised that Org did not replace characters to &lt; 
> and &gt; during export. Perhaps, it is possible to define a filter.

Let's fix at least the link. Old one gives 404 error.

P.S. Curiously outside of math snippets "<>" are properly exported to 
"&lt;&gt;"


[-- Attachment #2: 0001-org-manual.org-Update-links-to-MathJax-docs.patch --]
[-- Type: text/x-patch, Size: 1628 bytes --]

From be815b1476b5119db6c83363e1c7b2034b692ca6 Mon Sep 17 00:00:00 2001
From: Max Nikulin <manikulin@gmail.com>
Date: Sun, 3 Oct 2021 23:12:11 +0700
Subject: [PATCH] org-manual.org: Update links to MathJax docs

* doc/org-manual.org (Footnotes): Fix links to particular sections in
MathJax manual.

Scheme is not changed to https: since the site prefers http:

    curl -I https://docs.mathjax.org/
    HTTP/2 302
    date: Sun, 03 Oct 2021 16:04:15 GMT
    location: http://docs.mathjax.org/en/latest/
---
 doc/org-manual.org | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index b25da7889..52306caa6 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -22121,9 +22121,9 @@ semantic relevance.
 
 [fn:130] Please note that exported formulas are part of an HTML
 document, and that signs such as =<=, =>=, or =&= have special
-meanings.  See [[http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents][MathJax TeX and LaTeX support]].
+meanings.  See [[http://docs.mathjax.org/en/latest/input/tex/html.html#tex-and-latex-in-html-documents][MathJax TeX and LaTeX in HTML documents]].
 
-[fn:131] See [[http://docs.mathjax.org/en/latest/tex.html#tex-extensions][TeX and LaTeX extensions]] in the [[http://docs.mathjax.org][MathJax manual]] to learn
+[fn:131] See [[http://docs.mathjax.org/en/latest/input/tex/extensions.html#tex-and-latex-extensions][TeX and LaTeX extensions]] in the [[http://docs.mathjax.org][MathJax manual]] to learn
 about extensions.
 
 [fn:132] If the classes on TODO keywords and tags lead to conflicts,
-- 
2.25.1


  parent reply	other threads:[~2021-10-03 16:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-03 11:04 Inequalities in math blocks Rudolf Adamkovič
2021-10-03 12:19 ` Max Nikulin
2021-10-03 13:12   ` Timothy
2021-10-05  7:55     ` Rudolf Adamkovič
2021-10-05  7:58       ` Timothy
2021-10-05 12:19         ` Eric S Fraga
2021-10-05 12:00       ` Max Nikulin
2021-10-05 12:50         ` Rudolf Adamkovič
2021-10-03 13:14   ` Rudolf Adamkovič
2021-10-12  1:11     ` Nick Dokos
2021-10-12 12:02       ` Max Nikulin
2021-10-03 16:17   ` Max Nikulin [this message]
2022-08-21  5:53     ` [PATCH] org-manual.org: Update links to MathJax docs Ihor Radchenko
2022-08-21  6:20       ` Max Nikulin
2022-08-22  2:39         ` Ihor Radchenko
2022-08-22 14:52           ` Max Nikulin
2022-08-23  2:32             ` Update Woof! version at updates.orgmode.org? (was: [PATCH] org-manual.org: Update links to MathJax docs) Ihor Radchenko
2022-08-23 15:02               ` Update Woof! version at updates.orgmode.org? Max Nikulin
2022-09-01  9:07                 ` Bastien
2022-09-01  9:02               ` Bastien
2021-10-06  7:39 ` Inequalities in math blocks Rudolf Adamkovič
2021-10-07 11:30   ` Greg Minshall
2021-10-07 11:33     ` Timothy
2021-10-07 12:13       ` Greg Minshall
2021-10-07 12:53     ` Rudolf Adamkovič
2021-10-07 13:05       ` Timothy
2021-10-07 15:05         ` Max Nikulin
2021-10-07 19:48           ` Rudolf Adamkovič
2022-11-05 13:06           ` Max Nikulin
2022-11-06  3:05             ` [BUG] Escaping "<" and ">" inside math blocks when exporting to HTML/MathJax (was: Inequalities in math blocks) Ihor Radchenko
2021-10-07 19:25         ` Inequalities in math blocks Rudolf Adamkovič
2021-10-08 12:37       ` Greg Minshall

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='sjcl3b$gsr$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).