summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MANUAL.txt8
-rw-r--r--man/pandoc.18
-rw-r--r--pandoc.hs2
3 files changed, 9 insertions, 9 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index f78c410b3..03b09dfba 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -962,7 +962,7 @@ Math rendering in HTML
: Render TeX formulas using an external script that converts TeX
formulas to images. The formula will be concatenated with the URL
- provided. If *URL* is not specified, the Google Chart API will be used.
+ provided. If *URL* is not specified, the CodeCogs will be used.
Note: the `--webtex` option will affect Markdown output
as well as HTML.
@@ -2715,7 +2715,7 @@ Docx
FictionBook2
~ If the `--webtex` option is used, formulas are rendered as images
- using Google Charts or other compatible web service, downloaded
+ using CodeCogss or other compatible web service, downloaded
and embedded in the e-book. Otherwise, they will appear verbatim.
HTML, Slidy, DZSlides, S5, EPUB
@@ -2758,8 +2758,8 @@ HTML, Slidy, DZSlides, S5, EPUB
6. If the `--webtex` option is used, TeX formulas will be converted
to `<img>` tags that link to an external script that converts
formulas to images. The formula will be URL-encoded and concatenated
- with the URL provided. If no URL is specified, the Google Chart
- API will be used (`http://chart.apis.google.com/chart?cht=tx&chl=`).
+ with the URL provided. If no URL is specified, the CodeCogs
+ will be used (`https://latex.codecogs.com/png.latex?`).
7. If the `--mathjax` option is used, TeX math will be displayed
between `\(...\)` (for inline math) or `\[...\]` (for display
diff --git a/man/pandoc.1 b/man/pandoc.1
index 81531e2b1..de844fff6 100644
--- a/man/pandoc.1
+++ b/man/pandoc.1
@@ -1092,7 +1092,7 @@ If \f[I]URL\f[] is not specified, it is assumed that the script is at
Render TeX formulas using an external script that converts TeX formulas
to images.
The formula will be concatenated with the URL provided.
-If \f[I]URL\f[] is not specified, the Google Chart API will be used.
+If \f[I]URL\f[] is not specified, the CodeCogs will be used.
Note: the \f[C]\-\-webtex\f[] option will affect Markdown output as well
as HTML.
.RS
@@ -3376,7 +3376,7 @@ It will be rendered using OMML math markup.
.TP
.B FictionBook2
If the \f[C]\-\-webtex\f[] option is used, formulas are rendered as
-images using Google Charts or other compatible web service, downloaded
+images using CodeCogs or other compatible web service, downloaded
and embedded in the e\-book.
Otherwise, they will appear verbatim.
.RS
@@ -3433,8 +3433,8 @@ If the \f[C]\-\-webtex\f[] option is used, TeX formulas will be
converted to \f[C]<img>\f[] tags that link to an external script that
converts formulas to images.
The formula will be URL\-encoded and concatenated with the URL provided.
-If no URL is specified, the Google Chart API will be used
-(\f[C]http://chart.apis.google.com/chart?cht=tx&chl=\f[]).
+If no URL is specified, the CodeCogs will be used
+(\f[C]https://latex.codecogs.com/png.latex?\f[]).
.IP "7." 3
If the \f[C]\-\-mathjax\f[] option is used, TeX math will be displayed
between \f[C]\\(...\\)\f[] (for inline math) or \f[C]\\[...\\]\f[] (for
diff --git a/pandoc.hs b/pandoc.hs
index acd633edd..9b05e3ea7 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -823,7 +823,7 @@ options =
, Option "" ["webtex"]
(OptArg
(\arg opt -> do
- let url' = fromMaybe "http://chart.apis.google.com/chart?cht=tx&chl=" arg
+ let url' = fromMaybe "https://latex.codecogs.com/png.latex?" arg
return opt { optHTMLMathMethod = WebTeX url' })
"URL")
"" -- "Use web service for HTML math"