www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 0906dea8f129b8acf81d3e4be2f68b64afe148a2
parent 07eb553f8d4988beb1b89e45e74c2d0dbcc83c9d
Author: Peter Krautzberger <p.krautzberger@gmail.com>
Date:   Wed,  2 Sep 2015 15:42:24 +0200

update html files in /test: update meta tags; improve sample-dynamic2.html to include asciimath notation

Diffstat:
Mtest/examples.html | 3+++
Mtest/index-images.html | 1+
Mtest/index.html | 1+
Mtest/localization.html | 4+++-
Mtest/sample-all-at-once.html | 1+
Mtest/sample-asciimath.html | 1+
Mtest/sample-autoload.html | 1+
Mtest/sample-dynamic-2.html | 16++++++++++++----
Mtest/sample-dynamic-steps.html | 1+
Mtest/sample-dynamic.html | 1+
Mtest/sample-eqnum.html | 1+
Mtest/sample-eqrefs.html | 1+
Mtest/sample-loader-config.html | 1+
Mtest/sample-loader.html | 1+
Mtest/sample-macros.html | 1+
Mtest/sample-mediawiki-texvc.html | 2++
Mtest/sample-mml.html | 1+
Mtest/sample-signals.html | 1+
Mtest/sample-tex.html | 1+
Mtest/sample.html | 1+
20 files changed, 36 insertions(+), 5 deletions(-)

diff --git a/test/examples.html b/test/examples.html @@ -3,6 +3,9 @@ <head> <title>MathJax Example Page</title> <!-- Copyright (c) 2012-2015 The MathJax Consortium --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> + <style> li {margin-top: .2em} </style> diff --git a/test/index-images.html b/test/index-images.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2009-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/x-mathjax-config"> // diff --git a/test/index.html b/test/index.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2009-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/x-mathjax-config"> // diff --git a/test/localization.html b/test/localization.html @@ -3,7 +3,9 @@ <head> <title>Localization</title> <!-- Copyright (c) 2013-2015 The MathJax Consortium --> -<meta charset="utf-8"/> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> + <script type="text/javascript" src="../unpacked/MathJax.js?config=TeX-MML-AM_HTMLorMML-full.js"> var _M_ = 'MISSING TRANSLATION'; </script> diff --git a/test/sample-all-at-once.html b/test/sample-all-at-once.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2012-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- | diff --git a/test/sample-asciimath.html b/test/sample-asciimath.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2012-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="../MathJax.js?config=AM_HTMLorMML-full"></script> diff --git a/test/sample-autoload.html b/test/sample-autoload.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2012-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- | diff --git a/test/sample-dynamic-2.html b/test/sample-dynamic-2.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2012-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ @@ -12,7 +13,7 @@ tex2jax: { inlineMath: [['$','$'],['\\(','\\)']] } }); </script> -<script type="text/javascript" src="../MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> +<script type="text/javascript" src="../MathJax.js?config=TeX-MML-AM_HTMLorMML"></script> <script> var Preview = { @@ -105,12 +106,19 @@ Preview.callback.autoReset = true; // make sure it can run more than once </head> <body> -Type text in the box below:<br/> +<p> Type text (mixed with MathML, TeX or asciimath) in the box below for a live preview.</p> <textarea id="MathInput" cols="60" rows="10" onkeyup="Preview.Update()" style="margin-top:5px"> </textarea> -<br/><br/> -Preview is shown here: +<p>Configured delimiters: +<ul> +<li>TeX, inline mode: <code>\(...\)</code> or <code>$...$</code></li> +<li>TeX, display mode: <code>\[...\]</code> or <code> $$...$$</code></li> +<li>Asciimath: <code>`...`</code>.</li> +</ul> +</p> + +<p>Preview is shown here:</p> <div id="MathPreview" style="border:1px solid; padding: 3px; width:50%; margin-top:5px"></div> <div id="MathBuffer" style="border:1px solid; padding: 3px; width:50%; margin-top:5px; visibility:hidden; position:absolute; top:0; left: 0"></div> diff --git a/test/sample-dynamic-steps.html b/test/sample-dynamic-steps.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2011-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/x-mathjax-config"> // diff --git a/test/sample-dynamic.html b/test/sample-dynamic.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2010-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="../MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> diff --git a/test/sample-eqnum.html b/test/sample-eqnum.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2012-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "AMS"} } }); diff --git a/test/sample-eqrefs.html b/test/sample-eqrefs.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2012-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "all"} } }); diff --git a/test/sample-loader-config.html b/test/sample-loader-config.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2012-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript"> // diff --git a/test/sample-loader.html b/test/sample-loader.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2012-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript"> // diff --git a/test/sample-macros.html b/test/sample-macros.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2012-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- | diff --git a/test/sample-mediawiki-texvc.html b/test/sample-mediawiki-texvc.html @@ -4,6 +4,8 @@ <title>texvc extension</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <script type="text/x-mathjax-config"> MathJax.Hub.Config({ TeX: { extensions: ["mediawiki-texvc.js"] }, diff --git a/test/sample-mml.html b/test/sample-mml.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2010-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="../MathJax.js?config=MML_HTMLorMML-full"></script> diff --git a/test/sample-signals.html b/test/sample-signals.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2010-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- | This example shows how to use MathJax's signal mechanism to find out diff --git a/test/sample-tex.html b/test/sample-tex.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2010-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ diff --git a/test/sample.html b/test/sample.html @@ -5,6 +5,7 @@ <!-- Copyright (c) 2009-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/x-mathjax-config"> MathJax.Hub.Config({