diff --git a/.gitignore b/.gitignore index 3253ba6e..bd43e951 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ coverage pkg .DS_Store +.bundle +Gemfile.lock diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..6b66fd47 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +rvm: + - 1.8.7 + - 1.9.2 + - rbx-2.0 +notifications: + disabled: true diff --git a/Gemfile b/Gemfile new file mode 100644 index 00000000..fe867854 --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +source "http://rubygems.org" + +gemspec +gem "rake", "~> 0.9.2" diff --git a/HISTORY.md b/HISTORY.md index 49e82830..5aa6ec97 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,4 +1,60 @@ -# HEAD +# git + +* Minor + * Add a way to configure the `#id_prefix` property of Sanitization + objects. +* Bug Fixes + * Include the language of the code snippet when making a uniquely + identifiable sha of a code snippet while rendering a page. + +# 1.3.1 / 2011-07-21 + +* Major Enhancements + * Allow prefixed ID attributes in headers to support internal linking + (#146). + * Markdown pages are rendered through Redcarpet by default (#176). +* Minor Enhancements + * Remove Edit button on Preview pages (#164). + * Simplify Wiki#inspect and Page#inspect. +* Bug Fixes + * Fixed broken preview functionality (#157). + * Fixed sidebar/footer rendering problems related to whitespace (#145). + +# 1.3.0 / 2011-04-25 + +* Major Enhancements + * Listing of all Pages + * Support for running Gollum under a separate branch. +* Minor Enhancements + * Fix a security issue with rendering Mathjax. + +# 1.2.0 / 2011-03-11 + +* Major Enhancements + * Major HTML/CSS/JS overhaul. + * Add Sidebars (similar to Footers). + * Add commit reverts. +* Minor Enhancements + * Optimization in source code highlighting, resulting in a huge + decrease in rendering time. + * Security fixes related to source code highlighting. + +* Major Enhancements + * Add Page sidebars, similar to Page footers. + * Add the ability to revert commits to the wiki. + * Add MediaWiki support. +* Minor Enhancements + * Add `:sanitization` and `:history_sanitization` options for customizing + how `Sanitize.clean` modifies formatted wiki content. + * Add `--config` option for the command line, to specify a ruby file that is + run during startup. + * Provide access to a parsed Nokogiri::DocumentFragment during markup + rendering for added customization. +* Bug Fixes + * Use `@wiki.page_class` in Gollum::Markup where appropriate (#63). + * Fix parsing of Org mode file links (#87). + +# 1.1.0 / 2010-10-28 * Major Enhancements * Optimize page write/update/delete to use Grit::Index::read_tree instead @@ -10,7 +66,6 @@ * Support a `:gollum_path` Sinatra setting for `Precious::App` * Add Wiki#size to efficiently count pages without loading them. * Add the correct content type when serving files from the frontend. - * Wiki#pages come back sorted by Page#title. * Add --host option and default it to 127.0.0.1. * Allow anchors in page links, such as `[[Abc#header]]`. * All pages retrieved with a SHA add `rel="nofollow"` to all @@ -35,4 +90,4 @@ # 1.0.0 / 2010-08-12 -* Open Source Birthday! \ No newline at end of file +* Open Source Birthday! diff --git a/Home.md b/Home.md new file mode 100644 index 00000000..6edf0edb --- /dev/null +++ b/Home.md @@ -0,0 +1,3 @@ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vulputate tincidunt sollicitudin. Quisque sit amet leo sed nunc eleifend rhoncus in consectetur leo. Vivamus posuere semper convallis. Duis malesuada lacus sed erat lobortis tincidunt mattis ligula consectetur. Sed aliquam vulputate eros at euismod. Aenean egestas lorem ligula, quis faucibus turpis. Curabitur a eros in ipsum gravida ornare. Sed elementum enim vel mi scelerisque dapibus. Nulla id libero ligula, quis tempus sem. Morbi nec felis tortor, ac cursus risus. Mauris elementum tortor id lacus eleifend non lobortis tellus pharetra. Etiam posuere cursus vestibulum. $x \lt y$ + +Morbi tincidunt dolor vel massa dictum volutpat. Vestibulum quis nibh metus, id tincidunt nisl. Vivamus eget sem ac risus eleifend rhoncus at eu nisl. Nunc elit massa, vulputate ac gravida eget, condimentum quis justo. Integer scelerisque, libero vel consequat ultricies, eros libero sagittis libero, pellentesque bibendum quam massa ut orci. Maecenas sit amet urna eget quam aliquam posuere. Nulla facilisi. Duis imperdiet augue sit amet metus ornare et hendrerit dui feugiat. Aenean a lacus neque. Sed eu enim tincidunt dolor pharetra porttitor. Vestibulum ut felis dui, rutrum iaculis orci. Duis eu bibendum tortor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse mollis sagittis purus sit amet sollicitudin. Phasellus vel interdum erat. \ No newline at end of file diff --git a/README.md b/README.md index 9dc3a0ea..f574942f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Gollum wikis are simply Git repositories that adhere to a specific format. Gollum pages may be written in a variety of formats and can be edited in a number of ways depending on your needs. You can edit your wiki locally: -* With your favorite text editor or IDE. +* With your favorite text editor or IDE (changes will be visible after committing). * With the built-in web interface. * With the Gollum Ruby API. @@ -23,6 +23,11 @@ The best way to install Gollum is with RubyGems: $ [sudo] gem install gollum +If you're installing from source, you can use [Bundler][bundler] to pick up all the +gems: + + $ bundle install # ([more info](http://gembundler.com/bundle_install.html)) + In order to use the various formats that Gollum supports, you will need to separately install the necessary dependencies for each format. You only need to install the dependencies for the formats that you plan to use. @@ -35,7 +40,9 @@ to install the dependencies for the formats that you plan to use. * [RDoc](http://rdoc.sourceforge.net/) * [ReStructuredText](http://docutils.sourceforge.net/rst.html) -- `easy_install docutils` * [Textile](http://www.textism.com/tools/textile/) -- `gem install RedCloth` +* [MediaWiki](http://www.mediawiki.org/wiki/Help:Formatting) -- `gem install wikicloth` +[bundler]: http://gembundler.com/ ## RUNNING @@ -74,6 +81,7 @@ current list of formats and allowed extensions is: * RDoc: .rdoc * ReStructuredText: .rest.txt, .rst.txt, .rest, .rst * Textile: .textile +* MediaWiki: .mediawiki, .wiki Gollum detects the page file format via the extension, so files must have one of the supported extensions in order to be converted. @@ -90,13 +98,19 @@ The special page file `Home.ext` (where the extension is one of the supported formats) will be used as the entrance page to your wiki. If it is missing, an automatically generated table of contents will be shown instead. +## SIDEBAR FILES + +Sidebar files allow you to add a simple sidebar to your wiki. Sidebar files +are named `_Sidebar.ext` where the extension is one of the supported formats. +Sidebars affect all pages in their directory and any subdirectories that do not +have a sidebar file of their own. ## FOOTER FILES Footer files allow you to add a simple footer to your wiki. Footer files must be named `_Footer.ext` where the extension is one of the supported formats. -Footers affect all pages in their directory and any subdirectories that do not -have a footer file of their own. +Like sidebars, footers affect all pages in their directory and any +subdirectories that do not have a footer file of their own. ## HTML SANITIZATION @@ -124,6 +138,9 @@ the link text displayed on the page. If the tag is an embedded image, the first thing in the tag will be a path to an image file. Use this trick to easily remember which order things should appear in tags. +Some formats, such as MediaWiki, support the opposite syntax: + + [[Page Title|Link]] ## PAGE LINKS @@ -210,7 +227,7 @@ the pipe. ## IMAGES To display images that are contained in the Gollum repository you should use -the Gollum Image Tag. This will display the actual image on the page. +the Gollum Image Tag. This will display the actual image on the page. [[gollum.png]] @@ -268,8 +285,8 @@ This is useful for writing about the link syntax in your wiki pages. ## SYNTAX HIGHLIGHTING In page files you can get automatic syntax highlighting for a wide range of -languages (courtesy of [Pygments](http://pygments.org/)) by using the -following syntax: +languages (courtesy of [Pygments](http://pygments.org/) - must install +separately) by using the following syntax: ```ruby def foo @@ -301,10 +318,7 @@ and `\]`. For example: Inline equations are delimited by `\(` and `\)`. These equations will appear inline with regular text. For example: - The Pythagorean theorum is \( a^2 + b^2 = c^2 \). - -Gollum uses [MathJax](http://www.mathjax.org/) to convert the TeX syntax into -output suitable for display in web browsers. + The Pythagorean theorem is \( a^2 + b^2 = c^2 \). ## SEQUENCE DIAGRAMS @@ -427,7 +441,20 @@ To delete a page and commit the change: wiki.delete_page(page, commit) +### RACK +You can also run gollum with any rack-compatible server by placing this config.ru +file inside your wiki repository. This allows you to utilize any Rack middleware +like Rack::Auth, OmniAuth, etc. + + #!/usr/bin/env ruby + require 'rubygems' + require 'gollum/frontend/app' + + gollum_path = File.expand_path(File.dirname(__FILE__)) # CHANGE THIS TO POINT TO YOUR OWN WIKI REPO + Precious::App.set(:default_markup, :markdown) # set your favorite markup language + run Precious::App + ## CONTRIBUTE If you'd like to hack on Gollum, start by forking my repo on GitHub: @@ -445,4 +472,4 @@ your changes merged back into core is as follows: 1. Do not change the version number, I will do that on my end 1. If necessary, rebase your commits into logical chunks, without errors 1. Push the branch up to GitHub -1. Send me (mojombo) a pull request for your branch +1. Send a pull request to the github/gollum project. diff --git a/Rakefile b/Rakefile index ca153db9..59f8a5e8 100644 --- a/Rakefile +++ b/Rakefile @@ -60,14 +60,6 @@ task :coverage do sh "open coverage/index.html" end -require 'rake/rdoctask' -Rake::RDocTask.new do |rdoc| - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "#{name} #{version}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') -end - desc "Open an irb session preloaded with this library" task :console do sh "irb -rubygems -r ./lib/#{name}.rb" diff --git a/bin/gollum b/bin/gollum index 86ac7622..e45deff7 100755 --- a/bin/gollum +++ b/bin/gollum @@ -18,7 +18,9 @@ require 'rubygems' require 'gollum' exec = {} -options = { 'port' => 4567, 'bind' => '127.0.0.1' } +options = { 'port' => 4567, 'bind' => '0.0.0.0' } +wiki_options = {} + opts = OptionParser.new do |opts| opts.banner = help @@ -35,9 +37,21 @@ opts = OptionParser.new do |opts| exit 0 end + opts.on("--config [CONFIG]", "Path to additional configuration file") do |config| + options['config'] = config + end + opts.on("--irb", "Start an irb process with gollum loaded for the current wiki.") do options['irb'] = true end + + opts.on("--page-file-dir [PATH]", "Specify the sub directory for all page files (default: repository root).") do |path| + wiki_options[:page_file_dir] = path + end + + opts.on("--ref [REF]", "Specify the repository ref to use (default: master).") do |ref| + wiki_options[:ref] = ref + end end # Read command line options into `options` hash @@ -63,13 +77,13 @@ if options['irb'] ARGV.replace(args) @__initialized = true end - + ws = WorkSpace.new(binding) irb = Irb.new(ws) - + @CONF[:IRB_RC].call(irb.context) if @CONF[:IRB_RC] @CONF[:MAIN_CONTEXT] = irb.context - + catch(:IRB_EXIT) do irb.eval_input end @@ -77,10 +91,10 @@ if options['irb'] end begin - wiki = Gollum::Wiki.new(gollum_path) + wiki = Gollum::Wiki.new(gollum_path, wiki_options) if !wiki.exist? then raise Grit::InvalidGitRepositoryError end puts "Loaded Gollum wiki at #{File.expand_path(gollum_path).inspect}." - puts + puts puts %( page = wiki.page('page-name')) puts %( # => ) puts @@ -99,5 +113,14 @@ if options['irb'] else require 'gollum/frontend/app' Precious::App.set(:gollum_path, gollum_path) + Precious::App.set(:wiki_options, wiki_options) + + if cfg = options['config'] + # If the path begins with a '/' it will be considered an absolute path, + # otherwise it will be relative to the CWD + cfg = File.join(Dir.getwd, cfg) unless cfg.slice(0) == File::SEPARATOR + require cfg + end + Precious::App.run!(options) end diff --git a/gollum.gemspec b/gollum.gemspec index 901e91f6..036d241e 100644 --- a/gollum.gemspec +++ b/gollum.gemspec @@ -4,8 +4,8 @@ Gem::Specification.new do |s| s.rubygems_version = '1.3.5' s.name = 'gollum' - s.version = '1.0.1' - s.date = '2010-08-12' + s.version = '1.3.2' + s.date = '2012-04-10' s.rubyforge_project = 'gollum' s.summary = "A simple, Git-powered wiki." @@ -18,28 +18,33 @@ Gem::Specification.new do |s| s.require_paths = %w[lib] s.executables = ["gollum"] - s.default_executable = 'gollum' s.rdoc_options = ["--charset=UTF-8"] s.extra_rdoc_files = %w[README.md LICENSE] - s.add_dependency('grit', "~> 2.3") - s.add_dependency('github-markup', [">= 0.4.0", "< 1.0.0"]) - s.add_dependency('albino', "~> 1.0") + s.add_dependency('grit', "~> 2.4.1") + s.add_dependency('github-markup', [">= 0.7.0", "< 1.0.0"]) + s.add_dependency('pygments.rb', "~> 0.2.0") + s.add_dependency('posix-spawn', "~> 0.3.0") s.add_dependency('sinatra', "~> 1.0") s.add_dependency('mustache', [">= 0.11.2", "< 1.0.0"]) - s.add_dependency('sanitize', "~> 1.1") + s.add_dependency('sanitize', "~> 2.0.0") s.add_dependency('nokogiri', "~> 1.4") + s.add_dependency('redcarpet') s.add_development_dependency('RedCloth') s.add_development_dependency('mocha') s.add_development_dependency('org-ruby') - s.add_development_dependency('rdiscount') s.add_development_dependency('shoulda') + s.add_development_dependency('rack-test') + s.add_development_dependency('wikicloth', '~> 0.6.3') + s.add_development_dependency('rake', '~> 0.9.2') # = MANIFEST = s.files = %w[ + Gemfile HISTORY.md + Home.md LICENSE README.md Rakefile @@ -47,436 +52,83 @@ Gem::Specification.new do |s| docs/sanitization.md gollum.gemspec lib/gollum.rb - lib/gollum/albino.rb + lib/gollum/blob_entry.rb + lib/gollum/committer.rb lib/gollum/file.rb lib/gollum/frontend/app.rb - lib/gollum/frontend/public/css/editbar.css + lib/gollum/frontend/public/css/dialog.css + lib/gollum/frontend/public/css/editor.css lib/gollum/frontend/public/css/gollum.css - lib/gollum/frontend/public/css/screen.css - lib/gollum/frontend/public/css/syntax.css - lib/gollum/frontend/public/images/buttons.png - lib/gollum/frontend/public/images/editbar-buttons.png - lib/gollum/frontend/public/images/example.png - lib/gollum/frontend/public/images/twiddle-down.png - lib/gollum/frontend/public/images/twiddle-right.png - lib/gollum/frontend/public/images/txt.png - lib/gollum/frontend/public/javascript/MathJax/COPYING.txt - lib/gollum/frontend/public/javascript/MathJax/MathJax.js - lib/gollum/frontend/public/javascript/MathJax/README.txt - lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js - lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js - lib/gollum/frontend/public/javascript/MathJax/config/local/local.js - lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js - lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js - lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js - lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js - lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js - lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js - lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js - lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js - lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js - lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js - lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js - lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js - lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js - lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/blank.gif - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js - lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js - lib/gollum/frontend/public/javascript/MathJax/test/index-images.html - lib/gollum/frontend/public/javascript/MathJax/test/index.html - lib/gollum/frontend/public/javascript/MathJax/test/sample.html + lib/gollum/frontend/public/css/ie7.css + lib/gollum/frontend/public/css/template.css + lib/gollum/frontend/public/images/icon-sprite.png + lib/gollum/frontend/public/javascript/editor/gollum.editor.js + lib/gollum/frontend/public/javascript/editor/langs/asciidoc.js + lib/gollum/frontend/public/javascript/editor/langs/creole.js + lib/gollum/frontend/public/javascript/editor/langs/markdown.js + lib/gollum/frontend/public/javascript/editor/langs/org.js + lib/gollum/frontend/public/javascript/editor/langs/pod.js + lib/gollum/frontend/public/javascript/editor/langs/rdoc.js + lib/gollum/frontend/public/javascript/editor/langs/textile.js + lib/gollum/frontend/public/javascript/gollum.dialog.js lib/gollum/frontend/public/javascript/gollum.js - lib/gollum/frontend/public/javascript/jquery-1.4.2.min.js - lib/gollum/frontend/public/javascript/jquery.previewable_comment_form.js - lib/gollum/frontend/public/javascript/jquery.tabs.js - lib/gollum/frontend/public/javascript/jquery.text_selection-1.0.0.min.js + lib/gollum/frontend/public/javascript/gollum.placeholder.js + lib/gollum/frontend/public/javascript/jquery.color.js + lib/gollum/frontend/public/javascript/jquery.js lib/gollum/frontend/templates/compare.mustache lib/gollum/frontend/templates/create.mustache lib/gollum/frontend/templates/edit.mustache - lib/gollum/frontend/templates/editbar.mustache + lib/gollum/frontend/templates/editor.mustache + lib/gollum/frontend/templates/error.mustache lib/gollum/frontend/templates/history.mustache lib/gollum/frontend/templates/layout.mustache lib/gollum/frontend/templates/page.mustache + lib/gollum/frontend/templates/pages.mustache lib/gollum/frontend/templates/search.mustache + lib/gollum/frontend/templates/searchbar.mustache lib/gollum/frontend/views/compare.rb lib/gollum/frontend/views/create.rb lib/gollum/frontend/views/edit.rb lib/gollum/frontend/views/editable.rb + lib/gollum/frontend/views/error.rb lib/gollum/frontend/views/history.rb lib/gollum/frontend/views/layout.rb lib/gollum/frontend/views/page.rb + lib/gollum/frontend/views/pages.rb lib/gollum/frontend/views/search.rb + lib/gollum/git_access.rb lib/gollum/markup.rb lib/gollum/page.rb lib/gollum/pagination.rb + lib/gollum/sanitization.rb + lib/gollum/tex.rb lib/gollum/wiki.rb templates/formatting.html + test/examples/empty.git/HEAD + test/examples/empty.git/config + test/examples/empty.git/description + test/examples/empty.git/hooks/applypatch-msg.sample + test/examples/empty.git/hooks/commit-msg.sample + test/examples/empty.git/hooks/post-commit.sample + test/examples/empty.git/hooks/post-receive.sample + test/examples/empty.git/hooks/post-update.sample + test/examples/empty.git/hooks/pre-applypatch.sample + test/examples/empty.git/hooks/pre-commit.sample + test/examples/empty.git/hooks/pre-rebase.sample + test/examples/empty.git/hooks/prepare-commit-msg.sample + test/examples/empty.git/hooks/update.sample + test/examples/empty.git/info/exclude + test/examples/empty.git/objects/info/.gitkeep + test/examples/empty.git/objects/pack/.gitkeep + test/examples/empty.git/refs/heads/.gitkeep + test/examples/lotr.git/COMMIT_EDITMSG test/examples/lotr.git/HEAD test/examples/lotr.git/config test/examples/lotr.git/description - test/examples/lotr.git/hooks/applypatch-msg.sample - test/examples/lotr.git/hooks/commit-msg.sample - test/examples/lotr.git/hooks/post-commit.sample - test/examples/lotr.git/hooks/post-receive.sample - test/examples/lotr.git/hooks/post-update.sample - test/examples/lotr.git/hooks/pre-applypatch.sample - test/examples/lotr.git/hooks/pre-commit.sample - test/examples/lotr.git/hooks/pre-rebase.sample - test/examples/lotr.git/hooks/prepare-commit-msg.sample - test/examples/lotr.git/hooks/update.sample + test/examples/lotr.git/index test/examples/lotr.git/info/exclude - test/examples/lotr.git/info/refs + test/examples/lotr.git/logs/HEAD + test/examples/lotr.git/logs/refs/heads/master test/examples/lotr.git/objects/06/131480411710c92a82fe2d1e76932c70feb2e5 test/examples/lotr.git/objects/0a/de1e2916346d4c1f2fb63b863fd3c16808fe44 test/examples/lotr.git/objects/0e/d8cbe0a25235bd867e65193c7d837c66b328ef @@ -485,9 +137,12 @@ Gem::Specification.new do |s| test/examples/lotr.git/objects/5d/cac289a8603188d2c5caf481dcba2985126aaa test/examples/lotr.git/objects/60/f12f4254f58801b9ee7db7bca5fa8aeefaa56b test/examples/lotr.git/objects/71/4323c104239440a5c66ab12a67ed07a83c404f + test/examples/lotr.git/objects/84/0ec5b1ba1320e8ec443f28f99566f615d5af10 test/examples/lotr.git/objects/93/6b83ee0dd8837adb82511e40d5e4ebe59bb675 test/examples/lotr.git/objects/94/523d7ae48aeba575099dd12926420d8fd0425d test/examples/lotr.git/objects/96/97dc65e095658bbd1b8e8678e08881e86d32f1 + test/examples/lotr.git/objects/a3/1ca2a7c352c92531a8b99815d15843b259e814 + test/examples/lotr.git/objects/a8/ad3c09dd842a3517085bfadd37718856dee813 test/examples/lotr.git/objects/aa/b61fe89d56f8614c0a8151da34f939dcedfa68 test/examples/lotr.git/objects/c3/b43e9f08966b088e7a0192e436b7a884542e05 test/examples/lotr.git/objects/dc/596d6b2dd89ab05c66f4abd7d5eb706bc17f19 @@ -498,10 +153,61 @@ Gem::Specification.new do |s| test/examples/lotr.git/objects/pack/pack-dcbeaf3f6ff6c5eb08ea2b0a2d83626e8763546b.pack test/examples/lotr.git/packed-refs test/examples/lotr.git/refs/heads/master + test/examples/lotr.git/refs/remotes/origin/HEAD + test/examples/page_file_dir.git/COMMIT_EDITMSG + test/examples/page_file_dir.git/HEAD + test/examples/page_file_dir.git/config + test/examples/page_file_dir.git/description + test/examples/page_file_dir.git/index + test/examples/page_file_dir.git/info/exclude + test/examples/page_file_dir.git/logs/HEAD + test/examples/page_file_dir.git/logs/refs/heads/master + test/examples/page_file_dir.git/objects/0c/7d27db1f575263efdcab3dc650f4502a2dbcbf + test/examples/page_file_dir.git/objects/22/b404803c966dd92865614d86ff22ca12e50c1e + test/examples/page_file_dir.git/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99 + test/examples/page_file_dir.git/objects/57/16ca5987cbf97d6bb54920bea6adde242d87e6 + test/examples/page_file_dir.git/objects/5b/43e14e0a15fb6f08feab1773d1c0991e9f71e2 + test/examples/page_file_dir.git/refs/heads/master + test/examples/revert.git/COMMIT_EDITMSG + test/examples/revert.git/HEAD + test/examples/revert.git/config + test/examples/revert.git/description + test/examples/revert.git/index + test/examples/revert.git/info/exclude + test/examples/revert.git/logs/HEAD + test/examples/revert.git/logs/refs/heads/master + test/examples/revert.git/objects/20/2ced67cea93c7b6bd2928aa1daef8d1d55a20d + test/examples/revert.git/objects/41/76394bfa11222363c66ce7e84b5f154095b6d9 + test/examples/revert.git/objects/6a/69f92020f5df77af6e8813ff1232493383b708 + test/examples/revert.git/objects/b4/785957bc986dc39c629de9fac9df46972c00fc + test/examples/revert.git/objects/f4/03b791119f8232b7cb0ba455c624ac6435f433 + test/examples/revert.git/objects/info/packs + test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.idx + test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.pack + test/examples/revert.git/packed-refs + test/examples/revert.git/refs/heads/master + test/examples/revert.git/refs/remotes/origin/HEAD + test/examples/yubiwa.git/HEAD + test/examples/yubiwa.git/config + test/examples/yubiwa.git/description + test/examples/yubiwa.git/info/exclude + test/examples/yubiwa.git/objects/10/fa2ddc4e3b4009d8a453aace10bd6148c1ad00 + test/examples/yubiwa.git/objects/52/4b82874327ea7cbf730389964ba7cb3de966de + test/examples/yubiwa.git/objects/58/3fc201cb457fb3f1480f3e1e5999b119633835 + test/examples/yubiwa.git/objects/87/bc1dd46ab3d3874d4e898d45dd512cc20a7cc8 + test/examples/yubiwa.git/objects/89/64ed1b4e21aa90e831763bbce9034bfda81b70 + test/examples/yubiwa.git/objects/9f/f6dd0660da5fba2d3374adb2b84fa653bb538b + test/examples/yubiwa.git/objects/ac/e97abf2b177815a1972d7db22f229f58c83309 + test/examples/yubiwa.git/objects/b1/f443863a4816628807fbf86141ebef055dda34 + test/examples/yubiwa.git/refs/heads/master test/helper.rb + test/test_app.rb + test/test_committer.rb test/test_file.rb + test/test_git_access.rb test/test_markup.rb test/test_page.rb + test/test_page_revert.rb test/test_wiki.rb ] # = MANIFEST = diff --git a/lib/gollum.rb b/lib/gollum.rb index 8f8e251e..1971ac2c 100644 --- a/lib/gollum.rb +++ b/lib/gollum.rb @@ -7,66 +7,24 @@ require 'grit' require 'github/markup' require 'sanitize' -# ruby 1.8 compatibility -require 'gollum/ruby1.8' - # internal -require 'gollum/pagination' -require 'gollum/blob_entry' -require 'gollum/wiki' -require 'gollum/page' -require 'gollum/file' -require 'gollum/markup' -require 'gollum/albino' -require 'gollum/websequencediagram' +require File.expand_path('../gollum/git_access', __FILE__) +require File.expand_path('../gollum/committer', __FILE__) +require File.expand_path('../gollum/pagination', __FILE__) +require File.expand_path('../gollum/blob_entry', __FILE__) +require File.expand_path('../gollum/wiki', __FILE__) +require File.expand_path('../gollum/page', __FILE__) +require File.expand_path('../gollum/file', __FILE__) +require File.expand_path('../gollum/markup', __FILE__) +require File.expand_path('../gollum/sanitization', __FILE__) +require File.expand_path('../gollum/tex', __FILE__) +require File.expand_path('../gollum/websequencediagram', __FILE__) module Gollum - VERSION = '1.0.1' - - SANITIZATION_OPTIONS = { - :elements => [ - 'a', 'abbr', 'acronym', 'address', 'area', 'b', 'big', - 'blockquote', 'br', 'button', 'caption', 'center', 'cite', - 'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir', - 'div', 'dl', 'dt', 'em', 'fieldset', 'font', 'form', 'h1', - 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'input', - 'ins', 'kbd', 'label', 'legend', 'li', 'map', 'menu', - 'ol', 'optgroup', 'option', 'p', 'pre', 'q', 's', 'samp', - 'select', 'small', 'span', 'strike', 'strong', 'sub', - 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', - 'thead', 'tr', 'tt', 'u', 'ul', 'var' - ], - :attributes => { - :all => ['abbr', 'accept', 'accept-charset', - 'accesskey', 'action', 'align', 'alt', 'axis', - 'border', 'cellpadding', 'cellspacing', 'char', - 'charoff', 'charset', 'checked', 'cite', - 'class', 'clear', 'cols', 'colspan', 'color', - 'compact', 'coords', 'datetime', 'dir', - 'disabled', 'enctype', 'for', 'frame', - 'headers', 'height', 'href', 'hreflang', - 'hspace', 'id', 'ismap', 'label', 'lang', - 'longdesc', 'maxlength', 'media', 'method', - 'multiple', 'name', 'nohref', 'noshade', - 'nowrap', 'prompt', 'readonly', 'rel', 'rev', - 'rows', 'rowspan', 'rules', 'scope', - 'selected', 'shape', 'size', 'span', 'src', - 'start', 'summary', 'tabindex', 'target', - 'title', 'type', 'usemap', 'valign', 'value', - 'vspace', 'width'] - }, - :protocols => { - 'a' => {'href' => ['http', 'https', 'mailto', :relative]}, - 'img' => {'href' => ['http', 'https', :relative]} - } - } - HISTORY_SANITIZATION_OPTIONS = SANITIZATION_OPTIONS.merge( - :add_attributes => { - 'a' => {'rel' => 'nofollow'} - } - ) + VERSION = '1.3.2' class Error < StandardError; end + class DuplicatePageError < Error attr_accessor :dir attr_accessor :existing_path diff --git a/lib/gollum/albino.rb b/lib/gollum/albino.rb deleted file mode 100644 index c3a18a27..00000000 --- a/lib/gollum/albino.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'albino' - -class Gollum::Albino < Albino - def self.bin - Albino.bin - end - - def bin - Albino.bin - end - - def colorize(options = {}) - html = super.to_s - html.sub!(%r{\Z}, "\n") - html - end -end \ No newline at end of file diff --git a/lib/gollum/blob_entry.rb b/lib/gollum/blob_entry.rb index b224fc4a..535f16c7 100644 --- a/lib/gollum/blob_entry.rb +++ b/lib/gollum/blob_entry.rb @@ -3,21 +3,25 @@ module Gollum # Gets the String SHA for this blob. attr_reader :sha - # Gets the String full path for this blob. + # Gets the full path String for this blob. attr_reader :path - def initialize(sha, path) + # Gets the Fixnum size of this blob. + attr_reader :size + + def initialize(sha, path, size = nil) @sha = sha @path = path - @dir = @name = @blob = nil + @size = size + @dir = @name = @blob = nil end - # Gets the normalized directory path for this blob. + # Gets the normalized directory path String for this blob. def dir @dir ||= self.class.normalize_dir(::File.dirname(@path)) end - # Gets the String file base name for this blob. + # Gets the file base name String for this blob. def name @name ||= ::File.basename(@path) end @@ -28,7 +32,8 @@ module Gollum # # Returns an unbaked Grit::Blob instance. def blob(repo) - @blob ||= Grit::Blob.create(repo, :id => @sha, :name => @name) + @blob ||= Grit::Blob.create(repo, + :id => @sha, :name => name, :size => @size) end # Gets a Page instance for this blob. @@ -48,19 +53,21 @@ module Gollum end # Normalizes a given directory name for searching through tree paths. - # Ensures that a directory begins with a slash, or + # Ensures that a directory begins with a slash, or # # normalize_dir("") # => "" # normalize_dir(".") # => "" # normalize_dir("foo") # => "/foo" # normalize_dir("/foo/") # => "/foo" # normalize_dir("/") # => "" + # normalize_dir("c:/") # => "" # # dir - String directory name. # - # Returns a normalized String directory name, or nil if no directory + # Returns a normalized String directory name, or nil if no directory # is given. def self.normalize_dir(dir) + return '' if dir =~ /^.:\/$/ if dir dir = ::File.expand_path(dir, '/') dir = '' if dir == '/' diff --git a/lib/gollum/committer.rb b/lib/gollum/committer.rb new file mode 100644 index 00000000..f100685c --- /dev/null +++ b/lib/gollum/committer.rb @@ -0,0 +1,218 @@ +module Gollum + # Responsible for handling the commit process for a Wiki. It sets up the + # Git index, provides methods for modifying the tree, and stores callbacks + # to be fired after the commit has been made. This is specifically + # designed to handle multiple updated pages in a single commit. + class Committer + # Gets the instance of the Gollum::Wiki that is being updated. + attr_reader :wiki + + # Gets a Hash of commit options. + attr_reader :options + + # Initializes the Committer. + # + # wiki - The Gollum::Wiki instance that is being updated. + # options - The commit Hash details: + # :message - The String commit message. + # :name - The String author full name. + # :email - The String email address. + # :parent - Optional Grit::Commit parent to this update. + # :tree - Optional String SHA of the tree to create the + # index from. + # :committer - Optional Gollum::Committer instance. If provided, + # assume that this operation is part of batch of + # updates and the commit happens later. + # + # Returns the Committer instance. + def initialize(wiki, options = {}) + @wiki = wiki + @options = options + @callbacks = [] + end + + # Public: References the Git index for this commit. + # + # Returns a Grit::Index. + def index + @index ||= begin + idx = @wiki.repo.index + if tree = options[:tree] + idx.read_tree(tree) + elsif parent = parents.first + idx.read_tree(parent.tree.id) + end + idx + end + end + + # Public: The committer for this commit. + # + # Returns a Grit::Actor. + def actor + @actor ||= begin + @options[:name] = @wiki.default_committer_name if @options[:name].to_s.empty? + @options[:email] = @wiki.default_committer_email if @options[:email].to_s.empty? + Grit::Actor.new(@options[:name], @options[:email]) + end + end + + # Public: The parent commits to this pending commit. + # + # Returns an array of Grit::Commit instances. + def parents + @parents ||= begin + arr = [@options[:parent] || @wiki.repo.commit(@wiki.ref)] + arr.flatten! + arr.compact! + arr + end + end + + # Adds a page to the given Index. + # + # dir - The String subdirectory of the Gollum::Page without any + # prefix or suffix slashes (e.g. "foo/bar"). + # name - The String Gollum::Page filename_stripped. + # format - The Symbol Gollum::Page format. + # data - The String wiki data to store in the tree map. + # allow_same_ext - A Boolean determining if the tree map allows the same + # filename with the same extension. + # + # Raises Gollum::DuplicatePageError if a matching filename already exists. + # This way, pages are not inadvertently overwritten. + # + # Returns nothing (modifies the Index in place). + def add_to_index(dir, name, format, data, allow_same_ext = false) + path = @wiki.page_file_name(name, format) + + dir = '/' if dir.strip.empty? + + fullpath = ::File.join(*[@wiki.page_file_dir, dir, path].compact) + fullpath = fullpath[1..-1] if fullpath =~ /^\// + + if index.current_tree && tree = index.current_tree / dir + downpath = path.downcase.sub(/\.\w+$/, '') + + tree.blobs.each do |blob| + next if page_path_scheduled_for_deletion?(index.tree, fullpath) + file = blob.name.downcase.sub(/\.\w+$/, '') + file_ext = ::File.extname(blob.name).sub(/^\./, '') + if downpath == file && !(allow_same_ext && file_ext == ext) + raise DuplicatePageError.new(dir, blob.name, path) + end + end + end + + index.add(fullpath, @wiki.normalize(data)) + end + + # Update the given file in the repository's working directory if there + # is a working directory present. + # + # dir - The String directory in which the file lives. + # name - The String name of the page or the stripped filename + # (should be pre-canonicalized if required). + # format - The Symbol format of the page. + # + # Returns nothing. + def update_working_dir(dir, name, format) + unless @wiki.repo.bare + if @wiki.page_file_dir + dir = dir.size.zero? ? @wiki.page_file_dir : ::File.join(dir, @wiki.page_file_dir) + end + + path = + if dir == '' + @wiki.page_file_name(name, format) + else + ::File.join(dir, @wiki.page_file_name(name, format)) + end + + Dir.chdir(::File.join(@wiki.repo.path, '..')) do + if file_path_scheduled_for_deletion?(index.tree, path) + @wiki.repo.git.rm({'f' => true}, '--', path) + else + @wiki.repo.git.checkout({}, 'HEAD', '--', path) + end + end + end + end + + # Writes the commit to Git and runs the after_commit callbacks. + # + # Returns the String SHA1 of the new commit. + def commit + sha1 = index.commit(@options[:message], parents, actor, nil, @wiki.ref) + @callbacks.each do |cb| + cb.call(self, sha1) + end + sha1 + end + + # Adds a callback to be fired after a commit. + # + # block - A block that expects this Committer instance and the created + # commit's SHA1 as the arguments. + # + # Returns nothing. + def after_commit(&block) + @callbacks << block + end + + # Determine if a given page (regardless of format) is scheduled to be + # deleted in the next commit for the given Index. + # + # map - The Hash map: + # key - The String directory or filename. + # val - The Hash submap or the String contents of the file. + # path - The String path of the page file. This may include the format + # extension in which case it will be ignored. + # + # Returns the Boolean response. + def page_path_scheduled_for_deletion?(map, path) + parts = path.split('/') + if parts.size == 1 + deletions = map.keys.select { |k| !map[k] } + downfile = parts.first.downcase.sub(/\.\w+$/, '') + deletions.any? { |d| d.downcase.sub(/\.\w+$/, '') == downfile } + else + part = parts.shift + if rest = map[part] + page_path_scheduled_for_deletion?(rest, parts.join('/')) + else + false + end + end + end + + # Determine if a given file is scheduled to be deleted in the next commit + # for the given Index. + # + # map - The Hash map: + # key - The String directory or filename. + # val - The Hash submap or the String contents of the file. + # path - The String path of the file including extension. + # + # Returns the Boolean response. + def file_path_scheduled_for_deletion?(map, path) + parts = path.split('/') + if parts.size == 1 + deletions = map.keys.select { |k| !map[k] } + deletions.any? { |d| d == parts.first } + else + part = parts.shift + if rest = map[part] + file_path_scheduled_for_deletion?(rest, parts.join('/')) + else + false + end + end + end + + # Proxies methods t + def method_missing(name, *args) + index.send(name, *args) + end + end +end diff --git a/lib/gollum/file.rb b/lib/gollum/file.rb index 8e7c33d3..acea37a6 100644 --- a/lib/gollum/file.rb +++ b/lib/gollum/file.rb @@ -53,11 +53,10 @@ module Gollum def find(name, version) checked = name.downcase map = @wiki.tree_map_for(version) - sha = @wiki.ref_map[version] || version if entry = map.detect { |entry| entry.path.downcase == checked } @path = name - @blob = Grit::Blob.create(@wiki.repo, :id => entry.sha, :name => entry.name) - @version = Grit::Commit.create(@wiki.repo, :id => sha) + @blob = entry.blob(@wiki.repo) + @version = version.is_a?(Grit::Commit) ? version : @wiki.commit_for(version) self end end diff --git a/lib/gollum/frontend/app.rb b/lib/gollum/frontend/app.rb index b91e23d0..6f8db2c2 100644 --- a/lib/gollum/frontend/app.rb +++ b/lib/gollum/frontend/app.rb @@ -13,10 +13,10 @@ module Precious dir = File.dirname(File.expand_path(__FILE__)) # We want to serve public assets for now - - set :public, "#{dir}/public" - set :static, true - + set :public_folder, "#{dir}/public" + set :static, true + set :default_markup, :markdown + set :mustache, { # Tell mustache where the Views constant lives :namespace => Precious, @@ -30,10 +30,12 @@ module Precious # Sinatra error handling configure :development, :staging do - set :raise_errors, false - set :show_exceptions, true - set :dump_errors, true - set :clean_trace, false + enable :show_exceptions, :dump_errors + disable :raise_errors, :clean_trace + end + + configure :test do + enable :logging, :raise_errors, :dump_errors end get '/' do @@ -42,7 +44,7 @@ module Precious get '/edit/*' do @name = params[:splat].first - wiki = Gollum::Wiki.new(settings.gollum_path) + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) if page = wiki.page(@name) @page = page @content = page.raw_data @@ -53,42 +55,68 @@ module Precious end post '/edit/*' do - name = params[:splat].first - wiki = Gollum::Wiki.new(settings.gollum_path) - page = wiki.page(name) - format = params[:format].intern - name = params[:rename] if params[:rename] + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) + page = wiki.page(params[:splat].first) + name = params[:rename] || page.name + committer = Gollum::Committer.new(wiki, commit_message) + commit = {:committer => committer} - wiki.update_page(page, name, format, params[:content], commit_message) + update_wiki_page(wiki, page, params[:content], commit, name, + params[:format]) + update_wiki_page(wiki, page.footer, params[:footer], commit) if params[:footer] + update_wiki_page(wiki, page.sidebar, params[:sidebar], commit) if params[:sidebar] + committer.commit redirect "/#{CGI.escape(Gollum::Page.cname(name))}" end - post '/create/*' do + post '/create' do name = params[:page] - wiki = Gollum::Wiki.new(settings.gollum_path) + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) format = params[:format].intern begin wiki.write_page(name, format, params[:content], commit_message) - redirect "/#{CGI.escape(name)}" + redirect "/#{CGI.escape(Gollum::Page.cname(name))}" rescue Gollum::DuplicatePageError => e @message = "Duplicate page: #{e.message}" mustache :error end end + post '/revert/:page/*' do + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) + @name = params[:page] + @page = wiki.page(@name) + shas = params[:splat].first.split("/") + sha1 = shas.shift + sha2 = shas.shift + + if wiki.revert_page(@page, sha1, sha2, commit_message) + redirect "/#{CGI.escape(@name)}" + else + sha2, sha1 = sha1, "#{sha1}^" if !sha2 + @versions = [sha1, sha2] + diffs = wiki.repo.diff(@versions.first, @versions.last, @page.path) + @diff = diffs.first + @message = "The patch does not apply." + mustache :compare + end + end + post '/preview' do - format = params['wiki_format'] - data = params['text'] - wiki = Gollum::Wiki.new(settings.gollum_path) - wiki.preview_page("Preview", data, format).formatted_data + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) + @name = "Preview" + @page = wiki.preview_page(@name, params[:content], params[:format]) + @content = @page.formatted_data + @editable = false + mustache :page end get '/history/:name' do @name = params[:name] - wiki = Gollum::Wiki.new(settings.gollum_path) + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) @page = wiki.page(@name) @page_num = [params[:page].to_i, 1].max @versions = @page.versions :page => @page_num @@ -110,20 +138,31 @@ module Precious get '/compare/:name/:version_list' do @name = params[:name] @versions = params[:version_list].split(/\.{2,3}/) - wiki = Gollum::Wiki.new(settings.gollum_path) + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) @page = wiki.page(@name) diffs = wiki.repo.diff(@versions.first, @versions.last, @page.path) @diff = diffs.first mustache :compare end + get '/_tex.png' do + content_type 'image/png' + formula = Base64.decode64(params[:data]) + Gollum::Tex.render_formula(formula) + end + + get %r{^/(javascript|css|images)} do + halt 404 + end + get %r{/(.+?)/([0-9a-f]{40})} do name = params[:captures][0] - wiki = Gollum::Wiki.new(settings.gollum_path) + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) if page = wiki.page(name, params[:captures][1]) @page = page @name = name @content = page.formatted_data + @editable = true mustache :page else halt 404 @@ -132,21 +171,30 @@ module Precious get '/search' do @query = params[:q] - wiki = Gollum::Wiki.new(settings.gollum_path) + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) @results = wiki.search @query + @name = @query mustache :search end + get '/pages' do + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) + @results = wiki.pages + @ref = wiki.ref + mustache :pages + end + get '/*' do show_page_or_file(params[:splat].first) end def show_page_or_file(name) - wiki = Gollum::Wiki.new(settings.gollum_path) + wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) if page = wiki.page(name) @page = page @name = name @content = page.formatted_data + @editable = true mustache :page elsif file = wiki.file(name) content_type file.mime_type @@ -157,6 +205,15 @@ module Precious end end + def update_wiki_page(wiki, page, content, commit_message, name = nil, format = nil) + return if !page || + ((!content || page.raw_data == content) && page.format == format) + name ||= page.name + format = (format || page.format).to_sym + content ||= page.raw_data + wiki.update_page(page, name, format, content.to_s, commit_message) + end + def commit_message { :message => params[:message] } end diff --git a/lib/gollum/frontend/public/css/dialog.css b/lib/gollum/frontend/public/css/dialog.css new file mode 100755 index 00000000..99a3ecb9 --- /dev/null +++ b/lib/gollum/frontend/public/css/dialog.css @@ -0,0 +1,141 @@ +/* @control dialog */ + +#gollum-dialog-dialog { + display: block; + overflow: visible; + position: absolute; + top: 50%; + left: 50%; +} + +#gollum-dialog-dialog.active { + display: block; +} + +#gollum-dialog-dialog-inner { + margin: 0 0 0 -225px; + position: relative; + width: 450px; + + border: 7px solid #999; + border: 7px solid rgba(0, 0, 0, 0.3); + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; +} + +#gollum-dialog-dialog-bg { + background-color: #fff; + overflow: hidden; + padding: 1em; + + background: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#ffffff)); + background: -moz-linear-gradient(top, #f7f7f7, #ffffff); +} + +#gollum-dialog-dialog-inner h4 { + border-bottom: 1px solid #ddd; + color: #000; + font-size: 1.8em; + line-height: normal; + font-weight: bold; + margin: 0 0 0.75em 0; + padding: 0 0 0.3em 0; +} + +#gollum-dialog-dialog-body { + font-size: 1.2em; + line-height: 1.6em; +} + +#gollum-dialog-dialog-body fieldset { + display: block; + border: 0; + margin: 0; + overflow: hidden; + padding: 0; +} + +#gollum-dialog-dialog-body fieldset .field { + margin: 0 0 1.5em 0; + padding: 0; +} + + #gollum-dialog-dialog-body fieldset .field label { + color: #000; + display: block; + font-size: 1.2em; + font-weight: bold; + line-height: 1.6em; + margin: 0; + padding: 0; + min-width: 80px; + } + + #gollum-dialog-dialog-body fieldset .field input[type="text"] { + border: 1px solid #ddd; + display: block; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-size: 1.2em; + line-height: 1.6em; + margin: 0.3em 0 0 0; + padding: 0.3em 0.5em; + width: 96.5%; + } + + #gollum-dialog-dialog-body fieldset .field input.code { + font-family: 'Monaco', 'Courier New', Courier, monospace; + } + +#gollum-dialog-dialog-body fieldset .field:last-child { + margin: 0 0 1em 0; +} + +#gollum-dialog-dialog-buttons { + border-top: 1px solid #ddd; + overflow: hidden; + margin: 1.5em 0 0 0; + padding: 1em 0 0 0; +} + +#gollum-dialog-dialog a.minibutton { + float: right; + margin-right: 0.5em; + width: auto; +} + +#gollum-dialog-dialog a.minibutton, +#gollum-dialog-dialog a.minibutton:visited { + background-color: #f7f7f7; + border: 1px solid #d4d4d4; + color: #333; + cursor: pointer; + display: block; + font-size: 1.2em; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-weight: bold; + margin: 0 0 0 0.8em; + padding: 0.4em 1em; + + text-shadow: 0 1px 0 #fff; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec'); + background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec)); + background: -moz-linear-gradient(top, #f4f4f4, #ececec); + + border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +#gollum-dialog-dialog a.minibutton:hover { + background: #3072b3; + border-color: #518cc6 #518cc6 #2a65a0; + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); + text-decoration: none; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3'); + background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)); + background: -moz-linear-gradient(top, #599bdc, #3072b3); +} \ No newline at end of file diff --git a/lib/gollum/frontend/public/css/editbar.css b/lib/gollum/frontend/public/css/editbar.css deleted file mode 100644 index a3ecfae5..00000000 --- a/lib/gollum/frontend/public/css/editbar.css +++ /dev/null @@ -1,194 +0,0 @@ -#editbar { - border-left: 1px solid #888; - border-top: 1px solid #888; - border-right: 1px solid #888; - overflow: hidden; - font-family: sans-serif; - font-size: 13px; -} - - #editbar .inner { - width: 100%; - padding: 0; - margin: 0; - border: none; - } - - #editbar .current { - display: block !important; - } - - #editbar .menu { - overflow: hidden; - background: white; - background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#EBF1FF)); - background: -moz-linear-gradient(top, #fff, #EBF1FF); - } - - #editbar .group { - float: left; - height: 26px; - margin: 3px; - padding-right: 6px; - } - - #editbar .group-right { - float: right; - } - - #editbar .group-right .tab.format { - margin-top: 4px; - } - - #editbar .group-separator { - border-right: 1px solid #ddd; - } - - #editbar .button { - width: 22px; - height: 22px; - background: #e7ecfb url(/images/editbar-buttons.png); - border: 1px solid #ddd; - text-indent: -100px; - cursor: pointer; - overflow: hidden; - padding: 1px; - display: block; - float: left; - margin: 0 2px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - -khtml-border-radius: 2px; - border-radius: 2px; - background-repeat: no-repeat; - } - - #editbar .button:hover { - background-color: #d9dde7; - border-color: #aaa; - } - - #editbar .bold { - background-position: -97px 4px; - } - - #editbar .italic { - background-position: -147px 4px; - } - - #editbar .link { - background-position: -197px 4px; - } - - #editbar .image { - background-position: -247px 4px; - } - - #editbar .ul { - background-position: 3px 4px; - } - - #editbar .ol { - background-position: -47px 4px; - } - - #editbar .tab { - float: left; - display: block; - } - - #editbar .tab a { - cursor: pointer; - display: inline-block; - float: left; - height: 26px; - padding-left: 18px; - padding-right: 12px; - line-height: 26px; - text-decoration: none; - background-image: url(/images/twiddle-right.png); - background-position: 0 50%; - background-repeat: no-repeat; - color: blue; - } - - #editbar .tab a.open { - background-image: url(/images/twiddle-down.png); - color: #333; - } - - #editbar .tab a.open:hover { - text-decoration: none; - } - - #editbar .tab a:hover { - text-decoration: underline; - } - - #editbar .sections { - clear: both; - float: left; - width: 100%; - overflow: visible; - border-top: 1px solid #888; - height: 185px; - background-color: #E0EEF7; - display: none; - } - - #editbar .sections .toc { - float: left; - width: 20%; - overflow: auto; - } - - #editbar .sections .toc div { - cursor: pointer; - padding: 4px 4px 4px 6px; - background-color: #E0EEF7; - color: blue; - } - - #editbar .sections .toc div.current { - cursor: default; - background-color: white; - color: #333; - } - - #editbar .sections .pages { - overflow: auto; - background-color: white; - float: right; - width: 80%; - height: 185px; - } - - #editbar .sections .page { - display: none; - } - - #editbar .sections .pages th { - color: #999; - font-weight: bold; - padding: 5px; - text-align: left; - } - - #editbar .sections .pages td { - color: black; - padding: 5px; - border-top: 1px solid #eee; - } - - #editbar .sections .pages span.invisible { - color: #bbb; - padding-left: 1px; - } - - #editbar .sections .pages .shortcodes th { - text-align: center; - } - - #editbar .sections .pages .shortcodes ul { - list-style-type: none; - } \ No newline at end of file diff --git a/lib/gollum/frontend/public/css/editor.css b/lib/gollum/frontend/public/css/editor.css new file mode 100755 index 00000000..d0464362 --- /dev/null +++ b/lib/gollum/frontend/public/css/editor.css @@ -0,0 +1,537 @@ +/* + editor.css + Wiki editor formatting +*/ + +a { + -moz-outline: none !important; +} + +.jaws { + /* JAWS should see it, but you can't */ + display: block; + height: 1px; + left: -5000px; + overflow: hidden; + position: absolute; + top: -5000px; + width: 1px; +} + +#gollum-editor { + border: 1px solid #e4e4e4; + background: #f9f9f9; + margin: 1em 0 5em; + overflow: hidden; + padding: 1em 1em 0.4em; + + border-radius: 1em; + -moz-border-radius: 1em; + -webkit-border-radius: 1em; +} + +.ie #gollum-editor { + padding-bottom: 1em; +} + +#gollum-editor form fieldset { + border: 0; + margin: 0; + padding: 0; + width: 100%; +} + +#gollum-editor .singleline { + display: block; + margin: 0 0 0.7em 0; + overflow: hidden; +} + +#gollum-editor .singleline input { + background: #fff; + border: 1px solid #ddd; + color: #000; + font-size: 1.3em; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + line-height: 1.8em; + margin: 1em 0 0.4em; + padding: 0.5em; + width: 98%; +} + +#gollum-editor .singleline input.ph { + color: #999; +} + +#gollum-editor-title-field input#gollum-editor-page-title { + font-weight: bold; + margin-top: 0; +} + +#gollum-editor-title-field.active { + border-bottom: 1px solid #ddd; + display: block; + margin: 0 0 0.3em 0; + padding: 0 0 0.5em 0; +} + +#gollum-editor-title-field input#gollum-editor-page-title.ph { + color: #000; +} + +/* @control editor-view-tab */ +#gollum-editor #gollum-editor-type-switcher { + display: none; +} + +/* @control function-bar */ +#gollum-editor #gollum-editor-function-bar { + border-bottom: 1px solid #ddd; + overflow: hidden; + padding: 0; +} + + +#gollum-editor-title-field + #gollum-editor-function-bar { + margin-top: 0.6em; +} + +#gollum-editor #gollum-editor-function-bar #gollum-editor-function-buttons { + display: none; +} + +#gollum-editor #gollum-editor-function-bar.active #gollum-editor-function-buttons { + display: block; + float: left; + overflow: hidden; + padding: 0 0 1.1em 0; +} + +#gollum-editor #gollum-editor-function-bar a.function-button { + background: #f7f7f7; + border: 1px solid #ddd; + color: #333; + display: block; + float: left; + height: 25px; + overflow: hidden; + margin: 0.2em 0.5em 0 0; + /* text-indent: -5000px; */ + text-shadow: 0 1px 0 #fff; + width: 25px; + + border-radius: 0.3em; + -moz-border-radius: 0.3em; + -webkit-border-radius: 0.3em; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec'); + background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec)); + background: -moz-linear-gradient(top, #f4f4f4, #ececec); +} + +#gollum-editor #gollum-editor-function-bar a.function-button:hover { + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); + text-decoration: none; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3'); + background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)); + background: -moz-linear-gradient(top, #599bdc, #3072b3); +} + +#gollum-editor #gollum-editor-function-bar a span { + background-image: url(../images/icon-sprite.png); + background-repeat: no-repeat; + display: block; + height: 25px; + overflow: hidden; + text-indent: -5000px; + width: 25px; +} + +a#function-bold span { background-position: 0 0; } +a#function-italic span { background-position: -27px 0; } +a#function-underline span { background-position: -54px 0; } +a#function-code span { background-position: -82px 0; } +a#function-ul span { background-position: -109px 0; } +a#function-ol span { background-position: -136px 0; } +a#function-blockquote span { background-position: -163px 0; } +a#function-hr span { background-position: -190px 0; } +a#function-h1 span { background-position: -217px 0; } +a#function-h2 span { background-position: -244px 0; } +a#function-h3 span { background-position: -271px 0; } +a#function-link span { background-position: -298px 0; } +a#function-image span { background-position: -324px 0; } +a#function-help span { background-position: -405px 0; } + +a#function-bold:hover span { background-position: 0 -28px; } +a#function-italic:hover span { background-position: -27px -28px; } +a#function-underline:hover span { background-position: -54px -28px; } +a#function-code:hover span { background-position: -82px -28px; } +a#function-ul:hover span { background-position: -109px -28px; } +a#function-ol:hover span { background-position: -136px -28px; } +a#function-blockquote:hover span { background-position: -163px -28px; } +a#function-hr:hover span { background-position: -190px -28px; } +a#function-h1:hover span { background-position: -217px -28px; } +a#function-h2:hover span { background-position: -244px -28px; } +a#function-h3:hover span { background-position: -271px -28px; } +a#function-link:hover span { background-position: -298px -28px; } +a#function-image:hover span { background-position: -324px -28px; } +a#function-help:hover span { background-position: -405px -28px; } + + +#gollum-editor #gollum-editor-function-bar a.disabled { + display: none; +} + +#gollum-editor #gollum-editor-function-bar span.function-divider { + display: block; + float: left; + width: 0.5em; +} + +#gollum-editor #gollum-editor-function-bar #gollum-editor-format-selector { + overflow: hidden; + padding: 0 0 1.1em 0; +} + +#gollum-editor #gollum-editor-function-bar + #gollum-editor-format-selector select { + background-color: #f9f9f9; + border: 1px solid transparent; + + float: right; + font-size: 1.1em; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-weight: bold; + line-height: 1.6em; + padding: 0.5em 0.7em; + margin-bottom: 0; + + + border-radius: 0.5em; + -moz-border-radius: 0.5em; + -webkit-border-radius: 0.5em; + -moz-outline: none; +} + +#gollum-editor #gollum-editor-function-bar + #gollum-editor-format-selector select:hover { + background-color: #fff; + border: 1px solid #ddd; + -moz-outline: none; +} + +#gollum-editor #gollum-editor-function-bar + #gollum-editor-format-selector label { + color: #999; + float: right; + font-size: 1.1em; + font-weight: bold; + line-height: 1.6em; + padding: 0.6em 0.5em 0 0; +} + +#gollum-editor #gollum-editor-function-bar + #gollum-editor-format-selector label:after { + content: ':'; +} + + +/* @section form-fields */ + +#gollum-editor textarea#gollum-editor-body { + background: #fff; + border: 1px solid #ddd; + font-size: 1.3em; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + line-height: 1.8em; + margin: 1em 0 0.4em; + padding: 0.5em; /* I don't really like mixing pct & em here… */ + width: 98%; + height: 20em; +} + +#gollum-editor input#gollum-editor-submit { + background-color: #f7f7f7; + border: 1px solid #d4d4d4; + color: #333; + cursor: pointer; + display: block; + float: left; + font-size: 1.2em; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-weight: bold; + margin: 0; + padding: 0.4em 1em; + + text-shadow: 0 1px 0 #fff; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec'); + background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec)); + background: -moz-linear-gradient(top, #f4f4f4, #ececec); + + border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +.webkit #gollum-editor input#gollum-editor-submit { + padding: 0.5em 1em 0.45em; +} + +.ie #gollum-editor input#gollum-editor-submit { + padding: 0.4em 1em 0.5em; +} + +#gollum-editor input#gollum-editor-submit:hover { + background: #3072b3; + border-color: #518cc6 #518cc6 #2a65a0; + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); + text-decoration: none; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3'); + background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)); + background: -moz-linear-gradient(top, #599bdc, #3072b3); +} + +#gollum-editor .collapsed, +#gollum-editor .expanded { + border-bottom: 1px solid #ddd; + display: block; + overflow: hidden; + padding: 1em 0 0.5em; +} + +#gollum-editor #gollum-editor-body + .collapsed, +#gollum-editor #gollum-editor-body + .expanded { + border-top: 1px solid #ddd; + margin-top: 0.7em; +} + +#gollum-editor .collapsed a.button, +#gollum-editor .expanded a.button { + background: #f7f7f7; + border: 1px solid #ddd; + color: #333; + display: block; + float: left; + height: 25px; + overflow: hidden; + margin: 0.2em 0.5em 0.75em 0; + text-shadow: 0 1px 0 #fff; + width: 25px; + + border-radius: 0.3em; + -moz-border-radius: 0.3em; + -webkit-border-radius: 0.3em; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec'); + background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec)); + background: -moz-linear-gradient(top, #f4f4f4, #ececec); +} + +#gollum-editor .collapsed h4, +#gollum-editor .expanded h4 { + font-size: 1.6em; + float: left; + margin: 0; + padding: 0.4em 0 0 0.3em; + text-shadow: 0 -1px 0 #fff; +} + +#gollum-editor .collapsed a.button:hover, +#gollum-editor .expanded h4 a.button:hover { + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); + text-decoration: none; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3'); + background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)); + background: -moz-linear-gradient(top, #599bdc, #3072b3); +} + +#gollum-editor .collapsed a span, +#gollum-editor .expanded a span { + background-image: url(../images/icon-sprite.png); + background-position: -351px -1px; + background-repeat: no-repeat; + display: block; + height: 25px; + overflow: hidden; + text-indent: -5000px; + width: 25px; +} + +#gollum-editor .collapsed a:hover span { + background-position: -351px -28px; +} + +#gollum-editor .expanded a span { + background-position: -378px 0; +} + +#gollum-editor .expanded a:hover span { + background-position: -378px -28px; +} + +#gollum-editor .collapsed textarea { + display: none; +} + +#gollum-editor .expanded textarea { + background-color: #fff; + border: 1px solid #ddd; + clear: both; + display: block; + font-size: 1.3em; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + height: 7em; + line-height: 1.8em; + margin: 0.7em 0; + padding: 0.5em; + width: 98%; +} + +/* @control minibutton */ + +#gollum-editor a.minibutton, +#gollum-editor a.minibutton:visited { + background-color: #f7f7f7; + border: 1px solid #d4d4d4; + color: #333; + cursor: pointer; + display: block; + font-size: 1.2em; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-weight: bold; + line-height: 1.2em; + margin: 0 0 0 0.8em; + padding: 0.5em 1em; + + text-shadow: 0 1px 0 #fff; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec'); + background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec)); + background: -moz-linear-gradient(top, #f4f4f4, #ececec); + + border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +#gollum-editor a.minibutton:hover { + background: #3072b3; + border-color: #518cc6 #518cc6 #2a65a0; + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); + text-decoration: none; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3'); + background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)); + background: -moz-linear-gradient(top, #599bdc, #3072b3); +} + + +#gollum-editor #gollum-editor-preview { + float: left; + font-weight: normal; + padding: left; +} + + +/* @section help */ +#gollum-editor-help { + margin: 0; + overflow: hidden; + padding: 0; + border: 1px solid #ddd; + border-width: 0 1px 1px 1px; +} + + #gollum-editor-help-parent, + #gollum-editor-help-list { + display: block; + float: left; + height: 17em; + list-style-type: none; + overflow: auto; + margin: 0; + padding: 1em 0; + width: 18%; + } + + #gollum-editor-help-parent { + border-right: 1px solid #eee; + } + + #gollum-editor-help-list { + background: #fafafa; + border-right: 1px solid #eee; + } + + #gollum-editor-help-parent li, + #gollum-editor-help-list li { + font-size: 1.2em; + line-height: 1.6em; + margin: 0; + padding: 0; + } + + #gollum-editor-help-parent li a, + #gollum-editor-help-list li a { + border: 1px solid transparent; + border-width: 1px 0; + display: block; + font-weight: bold; + height: 100%; + width: auto; + padding: 0.2em 1em; + text-shadow: 0 -1px 0 #fff; + } + + #gollum-editor-help-parent li a:hover, + #gollum-editor-help-list li a:hover { + background: #fff; + border-color: #f0f0f0; + text-decoration: none; + + box-shadow: none; + } + + #gollum-editor-help-parent li a.selected, + #gollum-editor-help-list li a.selected { + border: 1px solid #eee; + border-bottom-color: #e7e7e7; + border-width: 1px 0; + background: #fff; + color: #000; + + box-shadow: 0 1px 2px #f0f0f0; + } + + #gollum-editor-help-wrapper { + background: #fff; + overflow: auto; + height: 17em; + padding: 1em; + } + + #gollum-editor-help-content { + font-size: 1.2em; + margin: 0 1em 0 0.5em; + padding: 0; + line-height: 1.8em; + } + + #gollum-editor-help-content p { + margin: 0 0 1em 0; + padding: 0; + } + +/* IE */ +.ie #gollum-editor .singleline input { + padding-top: 0.25em; + padding-bottom: 0.75em; +} diff --git a/lib/gollum/frontend/public/css/gollum.css b/lib/gollum/frontend/public/css/gollum.css old mode 100644 new mode 100755 index e594530e..eee5554e --- a/lib/gollum/frontend/public/css/gollum.css +++ b/lib/gollum/frontend/public/css/gollum.css @@ -1,55 +1,660 @@ -a.absent { - color: #a00; +#wiki-wrapper #template blockquote { + margin: 1em 0; + border-left: 4px solid #ddd; + padding-left: .8em; + color: #555; } -/* Images */ +/* + gollum.css + A basic stylesheet for Gollum +*/ -.frame { +/* @section core */ +body, html { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 10px; margin: 0; - display: inline-block; + padding: 0; } -.frame img { - display: block; +#wiki-wrapper { + margin: 0 auto; + overflow: visible; + width: 80%; } -.frame > span { - display: block; - border: 1px solid #aaa; - padding: 4px; +a:link { + color: #4183c4; + text-decoration: none; } -.frame span span { +a:hover, a:visited { + color: #4183c4; + text-decoration: underline; +} + + +/* @section head */ +#head { + margin: 4.5em 0 0.5em; + padding: 0.5em 0; + overflow: hidden; +} + + #head h1 { + display: none; + } + + #head ul.actions { + float: right; + } + +/* @section content */ +#wiki-content { + height: 1%; + overflow: visible; +} + + #wiki-content .wrap { + height: 1%; + overflow: auto; + } + + /* @section comments */ + #wiki-body #inline-comment { + display: none; /* todo */ + } + + /* @section body */ + #wiki-body { + display: block; + float: left; + margin-right: 3%; + width: 100%; + } + + .has-rightbar #wiki-body { + width: 68%; + } + + /* @section rightbar */ + #wiki-rightbar { + background-color: #f7f7f7; + border: 1px solid #ddd; + font-size: 13px; + float: right; + padding: 7px; + width: 25%; + + border-radius: 0.5em; + -moz-border-radius: 0.5em; + -webkit-border-radius: 0.5em; + } + + #wiki-rightbar p { + margin: 13px 0 0; + } + + #wiki-rightbar > p:first-child { + margin-top: 0; + } + + #wiki-rightbar p.parent { + border-bottom: 1px solid #bbb; + font-weight: bold; + margin: 0 0 0.5em 0; + padding: 0 0 0.5em 0; + text-shadow: 0 1px 0 #fff; + } + + /* Back arrow */ + #wiki-rightbar p.parent:before { + color: #666; + content: "← "; + } + + #wiki-rightbar h3 { + font-size: 1.2em; + color: #333; + margin: 1.2em 0 0; + padding: 0; + text-shadow: 0 1px 0 #fff; + } + + #wiki-rightbar ul { + margin: 0.5em 0 1em; + padding: 0; + } + + #wiki-rightbar ul li { + color: #bbb; + margin: 0 0 0 1em; + padding: 0; + line-height: 1.75em; + list-style-position: inside; + list-style-type: round; + } + + #wiki-rightbar #nav ul li a { + font-weight: bold; + text-shadow: 0 1px 0 #fff; + } + + /* @section footer */ + #wiki-footer { + clear: both; + margin: 2em 0 5em; + } + + .has-rightbar #wiki-footer { + width: 70%; + } + + #wiki-footer #footer-content { + background-color: #f7f7f7; + border: 1px solid #ddd; + font-size: 1.2em; + line-height: 1.5em; + margin-top: 1.5em; + padding: 1em; + + border-radius: 0.5em; + -moz-border-radius: 0.5em; + -webkit-border-radius: 0.5em; + } + + #wiki-footer #footer-content h3 { + font-size: 1.2em; + color: #333; + margin: 0; + padding: 0 0 0.2em; + text-shadow: 0 1px 0 #fff; + } + + #wiki-footer #footer-content p { + margin: 0.5em 0 0; + padding: 0; + } + + #wiki-footer #footer-content ul.links { + margin: 0.5em 0 0; + overflow: hidden; + padding: 0; + } + + #wiki-footer #footer-content ul.links li { + color: #999; + float: left; + list-style-position: inside; + list-style-type: square; + padding: 0; + margin-left: 0.75em; + } + + #wiki-footer #footer-content ul.links li a { + font-weight: bold; + text-shadow: 0 1px 0 #fff; + } + + #wiki-footer #footer-content ul.links li:first-child { + list-style-type: none; + margin: 0; + } + + .ff #wiki-footer #footer-content ul.links li:first-child { + margin: 0 -0.75em 0 0; + } + + /* @section page-footer */ + .page #footer { + margin: 1em 0 7em; + } + + #footer p#last-edit { + font-size: .9em; + line-height: 1.6em; + color: #999; + margin: 0.9em 0; + } + + #footer p#last-edit span.username { + font-weight: bold; + } + + +/* @section history */ +.history h1 { + color: #999; + font-weight: normal; +} + + .history h1 strong { + color: #000; + font-weight: bold; + } + +#wiki-history { + margin-top: 3em; +} + + #wiki-history fieldset { + border: 0; + margin: 2em 0; + padding: 0; + } + + #wiki-history table, #wiki-history tbody { + border-collapse: collapse; + padding: 0; + margin: 0; + width: 100%; + } + + #wiki-history table tr { + padding: 0; + margin: 0; + } + + #wiki-history table tr { + background-color: #ebf2f6; + } + + #wiki-history table tr td { + border: 1px solid #c0dce9; + font-size: 1.2em; + line-height: 1.6em; + margin: 0; + padding: 0.3em 0.7em; + } + + #wiki-history table tr td.checkbox { + min-width: 2em; + padding: 0.3em; + } + + #wiki-history table tr td.checkbox input { + cursor: pointer; + display: block; + padding-right: 0; + padding-top: 0.4em; + margin-right: -0.2em; + } + + #wiki-history table tr:nth-child(2n), + #wiki-history table tr.alt-row { + background-color: #f3f7fa; + } + + #wiki-history table tr.selected { + background-color: #ffffea !important; + z-index: 100; + } + + #wiki-history table tr td.commit-name { + border-left: 0; + } + + #wiki-history table tr td.commit-name span.time-elapsed { + color: #999; + } + + #wiki-history table tr td.author { + width: 20%; + } + + #wiki-history table tr td.author a { + color: #000; + font-weight: bold; + } + + #wiki-history table tr td.author a span.username { + display: block; + padding-top: 3px; + } + + #wiki-history table tr td img { + background-color: #fff; + border: 1px solid #999; + display: block; + float: left; + height: 18px; + overflow: hidden; + margin: 0 0.5em 0 0; + width: 18px; + padding: 2px; + } + + #wiki-history table tr td.commit-name a { + font-size: 0.9em; + font-family: 'Monaco', 'Andale Mono', Consolas, 'Courier New', monospace; + padding: 0 0.2em; + } + +.history #wiki-history ul.actions li, +.history #footer ul.actions li { + margin: 0 0.6em 0 0; +} + + +/* @section edit */ +.edit h1 { + color: #999; + font-weight: normal; +} + + .edit h1 strong { + color: #000; + font-weight: bold; + } + + +/* @section search */ +.results h1 { + color: #999; + font-weight: normal; +} + + .results h1 strong { + color: #000; + font-weight: bold; + } + + .results #results { + border-bottom: 1px solid #ccc; + margin-bottom: 2em; + padding-bottom: 2em; + } + + .results #results ul { + margin: 2em 0 0 0; + padding: 0; + } + + .results #results ul li { + font-size: 1.2em; + line-height: 1.6em; + list-style-position: outside; + padding: 0.2em 0; + } + + .results #results ul li span.count { + color: #999; + } + + .results p#no-results { + font-size: 1.2em; + line-height: 1.6em; + margin-top: 2em; + } + + .results #footer ul.actions li { + margin: 0 1em 0 0; + } + + +/* @section compare */ +.compare h1 { + color: #999; + font-weight: normal; +} + + .compare h1 strong { + color: #000; + font-weight: bold; + } + + .compare #compare-content { + margin-top: 3em; + } + + .compare .data { + border: 1px solid #ddd; + margin-top: 1em; + overflow: auto; + } + + .compare .data pre { + margin: 0; + padding: 0; + } + + .compare .data pre div { + padding: 0 0 0 1em; + } + + .compare .data tr td { + font-family: "Consolas", "Monaco", "Andale Mono", "Courier New", monospace; + font-size: 1.2em; + line-height: 1.8em; + margin: 0; + padding: 0; + } + + .compare .data td.line_numbers { + background: #f7f7f7; + border-right: 1px solid #999; + color: #999; + padding: 0 0 0 0.5em; + } + +.compare #compare-content ul.actions li, +.compare #footer ul.actions li { + margin-left: 0; + margin-right: 0.6em; +} + + + +/* @control syntax */ +.highlight { background: #ffffff; } +.highlight .c { color: #999988; font-style: italic } +.highlight .err { color: #a61717; background-color: #e3d2d2 } +.highlight .k { font-weight: bold } +.highlight .o { font-weight: bold } +.highlight .cm { color: #999988; font-style: italic } +.highlight .cp { color: #999999; font-weight: bold } +.highlight .c1 { color: #999988; font-style: italic } +.highlight .cs { color: #999999; font-weight: bold; font-style: italic } +.highlight .gd { color: #000000; background-color: #ffdddd } +.highlight .gd .x { color: #000000; background-color: #ffaaaa } +.highlight .ge { font-style: italic } +.highlight .gr { color: #aa0000 } +.highlight .gh { color: #999999 } +.highlight .gi { color: #000000; background-color: #ddffdd } +.highlight .gi .x { color: #000000; background-color: #aaffaa } +.highlight .gc { color: #999; background-color: #EAF2F5 } +.highlight .go { color: #888888 } +.highlight .gp { color: #555555 } +.highlight .gs { font-weight: bold } +.highlight .gu { color: #aaaaaa } +.highlight .gt { color: #aa0000 } + + +/* @control minibutton */ +ul.actions { + display: block; + list-style-type: none; + overflow: hidden; + padding: 0; +} + + ul.actions li { + float: left; + font-size: 1.2em; + margin-left: 0.6em; + } + +.minibutton a { + background-color: #f7f7f7; + border: 1px solid #d4d4d4; + color: #333; display: block; - font-size: 10pt; + font-weight: bold; margin: 0; - padding: 4px 0 2px 0; - text-align: center; - line-height: 10pt; - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + padding: 0.4em 1em; + height: 1.4em; + + text-shadow: 0 1px 0 #fff; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec'); + background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec)); + background: -moz-linear-gradient(top, #f4f4f4, #ececec); + + border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; } -.float-left { - float: left; - padding: .5em 1em .25em 0; +#search-submit { + background-color: #f7f7f7; + border: 1px solid #d4d4d4; + color: #333; + display: block; + font-weight: bold; + margin: 0; + padding: 0.4em 1em; + + text-shadow: 0 1px 0 #fff; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec'); + background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec)); + background: -moz-linear-gradient(top, #f4f4f4, #ececec); + + border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; } -.float-right { +.minibutton a:hover, +#search-submit:hover { + background: #3072b3; + border-color: #518cc6 #518cc6 #2a65a0; + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); + text-decoration: none; + + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3'); + background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)); + background: -moz-linear-gradient(top, #599bdc, #3072b3); +} + +.minibutton a:visited { + text-decoration: none; +} + + +/* @special error */ +#wiki-wrapper.error { + height: 1px; + position: absolute; + overflow: visible; + top: 50%; + width: 100%; +} + +#error { + background-color: #f9f9f9; + border: 1px solid #e4e4e4; + left: 50%; + overflow: hidden; + padding: 2%; + margin: -10% 0 0 -35%; + position: absolute; + width: 70%; + + border-radius: 0.5em; + -moz-border-radius: 0.5em; + -webkit-border-radius: 0.5em; +} + +#error h1 { + font-size: 3em; + line-height: normal; + margin: 0; + padding: 0; +} + +#error p { + font-size: 1.2em; + line-height: 1.6em; + margin: 1em 0 0.5em; + padding: 0; +} + + +/* @control searchbar */ +#head #searchbar { float: right; - padding: .5em 0 .25em 1em; + margin: 0; + padding: 0; + overflow: hidden; } -.align-left { - display: block; - text-align: left; -} + #head #searchbar #searchbar-fauxtext { + background: #fff; + border: 1px solid #d4d4d4; + overflow: hidden; + + border-radius: 0.3em; + -moz-border-radius: 0.3em; + -webkit-border-radius: 0.3em; + } -.align-center { - display: block; - text-align: center; -} + #head #searchbar #searchbar-fauxtext input#search-query { + border: none; + color: #000; + float: left; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-size: 1.2em; + height: 1.8em; + + -webkit-focus-ring: none; + } -.align-right { - display: block; - text-align: right; -} \ No newline at end of file + .ff #head #searchbar #searchbar-fauxtext input#search-query { + padding: 0.2em 0 0.2em 0.5em; + } + + .ie #head #searchbar #searchbar-fauxtext input#search-query { + padding: 0.4em 0 0 0.5em; + } + + #head #searchbar #searchbar-fauxtext input#search-query.ph { + color: #999; + } + + #head #searchbar #searchbar-fauxtext #search-submit { + border: 0; + border-left: 1px solid #d4d4d4; + cursor: pointer; + margin: 0 !important; + padding: 0; + float: right; + font-size: 1.2em; + + border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + -webkit-border-radius: 0 3px 3px 0; + } + + #head #searchbar #searchbar-fauxtext #search-submit span { + background-image: url(/images/icon-sprite.png); + background-position: -431px 4px; + background-repeat: no-repeat; + display: block; + height: 2em; + overflow: hidden; + text-indent: -5000px; + width: 28px; + } + + .ff #head #searchbar #searchbar-fauxtext #search-submit span, + .ie #head #searchbar #searchbar-fauxtext #search-submit span { + height: 2.2em; + } + + #head #searchbar #searchbar-fauxtext #search-submit:hover span { + background-position: -431px -23px; + padding: 0; + } diff --git a/lib/gollum/frontend/public/css/ie7.css b/lib/gollum/frontend/public/css/ie7.css new file mode 100755 index 00000000..31bf7e49 --- /dev/null +++ b/lib/gollum/frontend/public/css/ie7.css @@ -0,0 +1,69 @@ +/* IE7-specific styles */ + +.ie #head #searchbar #searchbar-fauxtext input#search-query { + border: 0; + float: left; + padding: 0.4em 0 0 0.5em; +} + +.ie #head #searchbar #searchbar-fauxtext #search-submit span { + height: 2.25em; +} + +#head #searchbar, +#head ul.actions { + margin: 1em 0 0 0; +} + +ul.actions { + margin-left: 0; +} + +.compare #footer ul.actions { + margin-top: 1em; +} + +.compare div.data { + overflow: auto; +} + +.history #version-form { + margin: -0.5em 0 -0.5em !important; +} + +#gollum-editor { + padding-bottom: 0; +} + +#gollum-editor-help-parent li a, +#gollum-editor-help-list li a { + height: auto; +} + +#gollum-editor #gollum-editor-format-selector { + margin-top: 6px; +} + +#gollum-editor .singleline input { + padding-top: 0.25em; +} + +#gollum-editor .collapsed { + padding-bottom: 1.1em; +} + +#gollum-editor #gollum-editor-submit { + padding: 0.5em 1em 0.3em !important; +} + +#gollum-editor #gollum-editor-preview { + line-height: 1.3em; +} + +#gollum-editor form { + margin: 0; +} + +#gollum-editor #gollum-editor-format-selector label { + padding-top: 0.1em !important; +} \ No newline at end of file diff --git a/lib/gollum/frontend/public/css/screen.css b/lib/gollum/frontend/public/css/screen.css deleted file mode 100644 index faa22a4c..00000000 --- a/lib/gollum/frontend/public/css/screen.css +++ /dev/null @@ -1,726 +0,0 @@ -/****************************************************************************/ -/* Base -/****************************************************************************/ - -* { - margin: 0; - padding: 0; -} - -html, body { - height: 100%; - color: black; -} - -body { - background-color: white; - font: 13.34px helvetica, arial, freesans, clean, sans-serif; - *font-size: small; -} - -table { - font-size: inherit; - font: 100%; -} - -select, input[type=text], input[type=password], input[type=image], textarea { - font: 99% helvetica, arial, freesans, sans-serif; -} -select, option { - padding: 0 .25em; -} -optgroup { - margin-top: .5em; -} - -input.text { - padding: 1px 0; -} -pre, code { - font: 12px Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; -} - -body * { - line-height: 1.4em; -} - -p{ margin:1em 0; } - -img { - border: 0; -} - -abbr { - border-bottom: none; -} - -.clearfix:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} -* html .clearfix {height: 1%;} -.clearfix {display:inline-block;} -.clearfix {display: block;} - -/* always show vertical scroll bar to prevent page jitter */ -html {overflow-y: scroll;} - -.site { - margin: 2em auto 0 auto; - width: 920px; - padding: 0 15px; -} - -/****************************************************************************/ -/* Guides -/****************************************************************************/ - -#guides { - -} - - /* index */ - - #guides .index { - - } - - #guides h1 { - margin-bottom: .5em; - } - - #guides .index ul { - list-style-type: none; - font-size: 120%; - } - - #guides .index ul li { - padding-left: 1.5em; - background: white url(/images/modules/guides/book.png) no-repeat; - } - - #guides .index .new { - margin-top: 1em; - border-top: 1px solid #ccc; - padding-top: .5em; - } - - #guides .index .new ul li { - background: white url(/images/modules/guides/book_add.png) no-repeat; - } - - #guides .index .new ul li a { - color: #c00; - } - - #guides .write .delete_page { - float: right; - } - - /* guide */ - - #guides .guide { - overflow: hidden; - } - - /* main */ - - #guides .guide .main { - width: 100%; - } - - /* sidebar */ - - #guides .guide .sidebar { - float: right; - width: 15em; - border-left: 4px solid #e6e6e6; - margin: 2.1em 0 0 0; - padding-left: 1em; - } - - #guides .guide .sidebar h3 { - margin: 0 0 .5em 0; - } - - #guides .guide .sidebar ul { - list-style-type: none; - margin: 0; - color: #888; - - } - - #guides .guide .sidebar ul li { - padding-left: 12px; - background: white url(/images/modules/guides/sidebar/bullet_blue.png) -4px 0 no-repeat; - margin: .2em 0; - } - - /* admin */ - - #guides .admin { - clear: both; - margin-top: 3em; - border-top: 4px solid #e6e6e6; - padding-top: .3em; - overflow: hidden; - } - - /* write */ - - #guides .write { - - } - - #guides .write label { - font-size: 110%; - color: #666; - display: block; - margin: 1em 0; - } - - #guides .write input.text { - padding: 5px; - border: 1px solid #888; - width: 40em; - } - - #guides .write textarea { - width: 100%; - height: 25em; - border: none; - } - - #guides .write label span.title { - color: black; - font-weight: bold; - } - - #guides .write .actions input { - margin-right: 1em; - } - - #guides .write #preview_bucket { - border: 1px solid #888; - background-color: white; - padding: 5px; - } - -/****************************************************************************/ -/* Wiki -/****************************************************************************/ - -.wikistyle h1, .wikistyle h2, .wikistyle h3, .wikistyle h4, .wikistyle h5, .wikistyle h6 { - border: 0 !important; -} - -.wikistyle h1 { - font-size: 170% !important; - border-top: 4px solid #aaa !important; - padding-top: .5em !important; - margin-top: 1.5em !important; -} - -.wikistyle h2 { - font-size: 150% !important; - margin-top: 1.5em !important; - border-top: 4px solid #e0e0e0 !important; - padding-top: .5em !important; -} - -.wikistyle h3 { - margin-top: 1em !important; -} - -.wikistyle p { - margin: 1em 0 !important; - line-height: 1.5em !important; -} - -.wikistyle ul { - margin: 1em 0 1em 2em !important; -} - -.wikistyle ol { - margin: 1em 0 1em 2em !important; -} - -.wikistyle ul ul, -.wikistyle ul ol, -.wikistyle ol ol, -.wikistyle ol ul { - margin-top: 0 !important; - margin-bottom: 0 !important; -} - -.wikistyle blockquote { - margin: 1em 0 !important; - border-left: 5px solid #ddd !important; - padding-left: .6em !important; - color: #555 !important; -} - -.wikistyle dt { - font-weight: bold !important; - margin-left: 1em !important; -} - -.wikistyle dd { - margin-left: 2em !important; - margin-bottom: 1em !important; -} - -.wikistyle table { - margin: 1em 0 !important; -} - - .wikistyle table th { - border-bottom: 1px solid #bbb !important; - padding: .2em 1em !important; - } - - .wikistyle table td { - border-bottom: 1px solid #ddd !important; - padding: .2em 1em !important; - } - -.wikistyle pre { - margin: 1em 0 !important; - font-size: 90% !important; - background-color: #f8f8ff !important; - border: 1px solid #dedede !important; - padding: .5em !important; - line-height: 1.5em !important; - color: #444 !important; - overflow: auto !important; -} - - .wikistyle pre code { - padding: 0 !important; - font-size: 100% !important; - background-color: #f8f8ff !important; - border: none !important; - } - -.wikistyle code { - font-size: 90% !important; - background-color: #f8f8ff !important; - color: #444 !important; - padding: 0 .2em !important; - border: 1px solid #dedede !important; -} - -/* console */ - -.wikistyle pre.console { - margin: 1em 0 !important; - font-size: 90% !important; - background-color: black !important; - padding: .5em !important; - line-height: 1.5em !important; - color: white !important; -} - - .wikistyle pre.console code { - padding: 0 !important; - font-size: 100% !important; - background-color: black !important; - border: none !important; - color: white !important; - } - - .wikistyle pre.console span { - color: #888 !important; - } - - .wikistyle pre.console span.command { - color: yellow !important; - } - -/* Wiki form */ - -.wiki-form .inner { - margin: 0; - padding: 0 0 0 5px; - background: #fff; - border: solid 1px #888; - line-height: 0; -} - -.wiki-form input[type=text] { - width: 100%; -} - -label.wiki-label { - padding: 1em 5px; -} - -/* Special markup considerations */ - -.wikistyle.gollum.footer { - border-top: 4px solid #f0f0f0; - margin-top: 2em; -} - -.wikistyle.gollum > h1:first-child { - display: none; -} - -/* asciidoc */ - -.wikistyle.gollum.asciidoc > div#header > h1:first-child { - display: none; -} - -.wikistyle.gollum.asciidoc .ulist p, -.wikistyle.gollum.asciidoc .olist p { - margin: 0 !important; -} - -.wikistyle.gollum.asciidoc .loweralpha { - list-style-type: lower-alpha; -} - -.wikistyle.gollum.asciidoc .lowerroman { - list-style-type: lower-roman; -} - -.wikistyle.gollum.asciidoc .upperalpha { - list-style-type: upper-alpha; -} - -.wikistyle.gollum.asciidoc .upperroman { - list-style-type: upper-roman; -} - -/* org */ - -.wikistyle.gollum.org > p.title:first-child { - display: none; -} - -.wikistyle.gollum.org p:first-child + h1 { - border-top: none !important; -} - -/* pod */ - -.wikistyle.gollum.pod > a.dummyTopAnchor:first-child + h1 { - display: none; -} - -.wikistyle.gollum.pod h1 a { - text-decoration: none; - color: inherit; -} - -/* rest */ - -.wikistyle.gollum.rest > div.document > div.section > h1:first-child { - display: none; -} - -/****************************************************************************/ -/* Comment Form -/****************************************************************************/ - -.comment-form-error{ - margin:-15px 0 15px 0; - font-weight:bold; - color:#aa0000; -} - -.comment-form{ - margin:-10px 0 10px 0; - padding:5px; - background:#eee; - -webkit-border-radius:5px; - -moz-border-radius:5px; -} - -.comment-form textarea{ - margin:0; - padding: 5px 0; - width:100%; - height:100px; -} - -.comment-form p.help{ - margin:3px 0 0 0; - float:right; - font-size:11px; - color:#666; -} - -.comment-form ul.tabs{ - margin:0 0 5px 0; -} - -.comment-form ul.tabs li{ - list-style-type:none; - margin:0; - display:inline-block; -} - -.comment-form ul.tabs a{ - display:inline-block; - padding:2px 8px; - font-size:11px; - font-weight:bold; - text-decoration:none; - color:#666; - border:1px solid transparent; - -webkit-border-radius:10px; - -moz-border-radius:10px; -} - -.comment-form ul.tabs a.selected{ - color:#333; - background:#fff; - border-color:#bbb; - border-right-color: #ddd; - border-bottom-color: #ddd; -} - -.comment-form .comment{ - margin:5px 0 0 0; -} - -/****************************************************************************/ -/* History -/****************************************************************************/ - -table.commits { - width: 100%; - border-left: 1px solid #ccc; - border-right: 1px solid #ccc; - border-top: 1px solid #ccc; - margin-bottom: 2em; -} - - table.commits tr td { - background-color: #eaf2f5; - } - - table.commits tr.selected td { - background-color: #FEFFE6; - } - - table.commits th { - font-weight: normal; - border-bottom: 1px solid #ccc; - padding: .3em .6em; - background-color: #eee; - font-size: 95%; - text-align:left; - } - - table.commits td { - border-bottom: 1px solid #ccc; - padding: .3em .6em; - } - - table.commits td.sha, - table.commits td.message { - font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; - font-size: 80%; - } - - table.commits td.checkbox { - width: 3%; - } - - table.commits td.sha { - width: 6%; - } - - table.commits td.human { - font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; - font-size: 80%; - width: 4%; - color: #888; - } - - table.commits td.author { - width: 15%; - font-weight: bold; - } - - table.commits td.author img { - vertical-align: middle; - border: 1px solid #ccc; - padding: 1px; - background-color: white; - } - - table.commits td.message a { - color: black; - } - - table.commits td.message a:hover { - text-decoration: underline; - } - - table.commits td.date { - width: 12%; - text-align: right; - } - -/****************************************************************************/ -/* Files -/****************************************************************************/ - -#files { - -} - - #files .file { - border: 1px solid #ccc; - margin-bottom: 1em; - } - - #files .file .syntax{ - border:none; - padding:0; - } - - #files .file .meta { - padding:0 5px; - height:33px; - line-height:33px; - font-size:12px; - color:#333; - background:url(/images/modules/commit/file_head.gif) 0 0 repeat-x #eee; - text-shadow:1px 1px 0 rgba(255, 255, 255, 0.5); - border-bottom: 1px solid #ccc; - overflow: hidden; - } - - #files .file .meta .info { - float: left; - height:33px; - line-height:33px; - font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; - } - - #files .file .meta .info span{ - padding-left:9px; - margin-left:5px; - background:url(/images/modules/commit/action_separator.png) 0 50% no-repeat; - } - - #files .file .meta .info span:first-child, #files .file .meta .info .icon + span{ - background:transparent; - margin-left:0; - padding-left:0; - } - - #files .file .meta .info span.icon{ - float:left; - margin:5px 5px 0 0; - padding:3px; - background:#f7f7f7; - border:1px solid #ccc; - border-right-color:#e5e5e5; - border-bottom-color:#e5e5e5; - -webkit-border-radius:3px; - -moz-border-radius:3px; - border-radius:3px; - line-height: 1em; - } - - #files .file .meta .actions { - float: right; - height:33px; - line-height:33px; - } - - #files .file .meta .actions li{ - list-style-type:none; - float:left; - margin:0 0 0 7px; - height:33px; - line-height:33px; - padding-left:9px; - font-size:11px; - background:url(/images/modules/commit/action_separator.png) 0 50% no-repeat; - } - - #files .file .meta .actions li:first-child{ - background:transparent; - margin-left:0; - padding-left:0; - } - - #files .file .meta .actions li a{ - font-weight:bold; - } - - #files .file .meta .actions li code{ - font-size:11px; - } - - #files .file .meta .actions li label input{ - position:relative; - top:1px; - } - - #files .file .data { - font-size: 80%; - overflow: auto; - background-color: #f8f8ff; - } - - #files .file .data.empty { - font-size: 90%; - padding:5px 10px; - color:#777; - } - - #files .image { - padding: 1.2em; - text-align: center; - } - - #files .image img { - max-width: 60em; - } - - #files .file .data pre, #files .file .line-data, #files .file .line-number { - font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace; - font-size: 115%; - } - - #files .file .data .highlight { - padding: 1em 0; - } - - #files .file .data .highlight div { - padding-left: 1em; - } - - #files .file .data .line_numbers { - background-color: #ececec; - color: #aaa; - padding: 1em .5em; - border-right: 1px solid #ddd; - text-align: right; - } - - #files .file .data td.line_numbers{ - padding:0 0.5em; - font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace; - font-size: 115%; - -moz-user-select:none; - -khtml-user-select:none; - user-select:none; - } - - #files .file .data .line_numbers span, - #files .file .data .line_numbers a { - color: #aaa; - cursor: pointer; - } \ No newline at end of file diff --git a/lib/gollum/frontend/public/css/syntax.css b/lib/gollum/frontend/public/css/syntax.css deleted file mode 100644 index d84c0612..00000000 --- a/lib/gollum/frontend/public/css/syntax.css +++ /dev/null @@ -1,61 +0,0 @@ -.highlight { background: #ffffff; } -.highlight .c { color: #999988; font-style: italic } /* Comment */ -.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ -.highlight .k { font-weight: bold } /* Keyword */ -.highlight .o { font-weight: bold } /* Operator */ -.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */ -.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */ -.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ -.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */ -.highlight .ge { font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #aa0000 } /* Generic.Error */ -.highlight .gh { color: #999999 } /* Generic.Heading */ -.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ -.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */ -.highlight .gc { color: #999; background-color: #EAF2F5 } -.highlight .go { color: #888888 } /* Generic.Output */ -.highlight .gp { color: #555555 } /* Generic.Prompt */ -.highlight .gs { font-weight: bold } /* Generic.Strong */ -.highlight .gu { color: #aaaaaa } /* Generic.Subheading */ -.highlight .gt { color: #aa0000 } /* Generic.Traceback */ -.highlight .kc { font-weight: bold } /* Keyword.Constant */ -.highlight .kd { font-weight: bold } /* Keyword.Declaration */ -.highlight .kp { font-weight: bold } /* Keyword.Pseudo */ -.highlight .kr { font-weight: bold } /* Keyword.Reserved */ -.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */ -.highlight .m { color: #009999 } /* Literal.Number */ -.highlight .s { color: #d14 } /* Literal.String */ -.highlight .na { color: #008080 } /* Name.Attribute */ -.highlight .nb { color: #0086B3 } /* Name.Builtin */ -.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */ -.highlight .no { color: #008080 } /* Name.Constant */ -.highlight .ni { color: #800080 } /* Name.Entity */ -.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */ -.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */ -.highlight .nn { color: #555555 } /* Name.Namespace */ -.highlight .nt { color: #000080 } /* Name.Tag */ -.highlight .nv { color: #008080 } /* Name.Variable */ -.highlight .ow { font-weight: bold } /* Operator.Word */ -.highlight .w { color: #bbbbbb } /* Text.Whitespace */ -.highlight .mf { color: #009999 } /* Literal.Number.Float */ -.highlight .mh { color: #009999 } /* Literal.Number.Hex */ -.highlight .mi { color: #009999 } /* Literal.Number.Integer */ -.highlight .mo { color: #009999 } /* Literal.Number.Oct */ -.highlight .sb { color: #d14 } /* Literal.String.Backtick */ -.highlight .sc { color: #d14 } /* Literal.String.Char */ -.highlight .sd { color: #d14 } /* Literal.String.Doc */ -.highlight .s2 { color: #d14 } /* Literal.String.Double */ -.highlight .se { color: #d14 } /* Literal.String.Escape */ -.highlight .sh { color: #d14 } /* Literal.String.Heredoc */ -.highlight .si { color: #d14 } /* Literal.String.Interpol */ -.highlight .sx { color: #d14 } /* Literal.String.Other */ -.highlight .sr { color: #009926 } /* Literal.String.Regex */ -.highlight .s1 { color: #d14 } /* Literal.String.Single */ -.highlight .ss { color: #990073 } /* Literal.String.Symbol */ -.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #008080 } /* Name.Variable.Class */ -.highlight .vg { color: #008080 } /* Name.Variable.Global */ -.highlight .vi { color: #008080 } /* Name.Variable.Instance */ -.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ diff --git a/lib/gollum/frontend/public/css/template.css b/lib/gollum/frontend/public/css/template.css new file mode 100644 index 00000000..b02e367d --- /dev/null +++ b/lib/gollum/frontend/public/css/template.css @@ -0,0 +1,381 @@ +/* + Gollum v3 Template +*/ + +/* margin & padding reset*/ +* { + margin: 0; + padding: 0; +} + + +html, body { + color: black; +} + +body { + font: 13.34px helvetica,arial,freesans,clean,sans-serif; + line-height: 1.4; +} + +img { + border: 0; +} + +#template { + font-size: 14px; + line-height: 1.4; + margin-bottom: 40px; +} + +/* Link Colors */ +a.absent { + color: #c00; +} + +/* Primary Body Copy */ +#template p { + margin: 1em 0; + padding: 0; +} + + /* ReST first graf in nested list */ + #template * li p.first { + display: inline-block; + } + +/* Headings */ +#template h1, #template h2, #template h3, +#template h4, #template h5, #template h6 { + margin: 0; + padding: 0; +} + +#template h1 { + border-bottom: 1px solid #ccc; + font-size: 33px; /* was 32, GH is 33px */ + line-height: normal; + padding: .08em 0 0 0; + margin: 0; +} + +#template h2 { + font-size: 22px; + line-height: normal; + margin: 22px 0 0; + padding: 7px 0 0; +} + +#template h3 { + font-size: 16px; + line-height: 26px; + padding: 26px 0 0; +} + +#template h4 { + font-size: 14px; + line-height: 26px; + padding: 18px 0 4px; + font-weight: bold; + text-transform: uppercase; +} + +#template h5 { + font-size: 13px; + line-height: 26px; + margin-bottom: -19px; + padding: 14px 0 0; + font-weight: bold; + text-transform: uppercase; +} + +#template h6 { + color: #666; + font-size: 14px; + line-height: 26px; + margin-bottom: -19px; + padding: 18px 0 0; + font-weight: normal; + font-variant: italic; +} + +#template hr { + background-color: #ccc; + color: #ccc; + border: 2px solid #ccc; + margin: 20px 0; + padding: 0; +} + + /* Border Reset for headers with horizontal rules */ + #template > h2:first-child, + #template > h1:first-child { + margin: 12px 0 0; + padding: 10px 0 0; + } + + +/* Lists, Blockquotes & Such */ +#template ul, +#template ol { + margin-top: 1.5em; + margin-left: 2.6em; +} + + /* Nested Lists */ + #template ul li, + #template ol li, + #template ul li ul, + #template ol li ol, + #template ul li ol, + #template ol li ul, + #template ul ul, + #template ol ol { + padding: 0; + margin: .5em 0; + } + +#template dl { + margin: 0; + padding: 20px 0 0; +} + + #template dl dt { + font-size: 14px; + font-weight: bold; + line-height: normal; + margin: 0; + padding: 20px 0 0; + } + + #template dl dt:first-child { + padding: 0; + } + + #template dl dd { + font-size: 13px; + margin: 0; + padding: 3px 0 0; + } + +/* Tables */ +#template table { + border-collapse: collapse; + margin: 20px 0 0; + padding: 0; +} + +#template table * tr { + border-top: 1px solid #ccc; + background-color: #fff; + margin: 0; + padding: 0; +} + + #template table * tr:nth-child(2n) { + background-color: #f8f8f8; + } + + #template table * tr th, + #template table * tr td { + border: 1px solid #ccc; + text-align: left; + margin: 0; + padding: 6px 13px; + } + +/* Images & Stuff */ +#template img { + max-width: 100%; +} + +/* Gollum Image Tags */ + +/* Framed */ +#template span.frame { + display: block; + overflow: hidden; +} + + #template span.frame > span { + border: 1px solid #ddd; + display: block; + float: left; + overflow: hidden; + margin: 13px 0 0; + padding: 7px; + width: auto; + } + + #template span.frame span img { + display: block; + float: left; + } + + #template span.frame span span { + clear: both; + color: #333; + display: block; + padding: 5px 0 0; + } + +#template span.align-center { + display: block; + overflow: hidden; + clear: both; +} + + #template span.align-center > span { + display: block; + overflow: hidden; + margin: 13px auto 0; + text-align: center; + } + + #template span.align-center span img { + margin: 0 auto; + text-align: center; + } + +#template span.align-right { + display: block; + overflow: hidden; + clear: both; +} + + #template span.align-right > span { + display: block; + overflow: hidden; + margin: 13px 0 0; + text-align: right; + } + + #template span.align-right span img { + margin: 0; + text-align: right; + } + +#template span.float-left { + display: block; + margin-right: 13px; + overflow: hidden; + float: left; +} + + #template span.float-left span { + margin: 13px 0 0; + } + +#template span.float-right { + display: block; + margin-left: 13px; + overflow: hidden; + float: right; +} + + #template span.float-right > span { + display: block; + overflow: hidden; + margin: 13px auto 0; + text-align: right; + } + + +/* Code */ +#template code, #template tt { + background-color: #f8f8f8; + border: 1px solid #dedede; + font-size: 13px; + padding: 0; + + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +#template .highlight pre, #template pre { + background-color: #f8f8f8; + border: 1px solid #ccc; + font-size: 13px; + line-height: 19px; + overflow: auto; + padding: 6px 10px; + + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +pre, code { + font: 12px 'Bitstream Vera Sans Mono','Courier',monospace +} + +#template pre code, #template pre tt { + background-color: transparent; + border: none; +} + +/* + Highlight rules from pull req 191 + https://github.com/eboto/gollum/commit/5df09477abf4a04c82c7fcaa2bd7ee2a85e7ec82 +*/ +#template .highlight { background:#fff; } +#template .highlight .c { color:#998;font-style:italic; } +#template .highlight .err { color:#a61717;background-color:#e3d2d2; } +#template .highlight .k { font-weight:bold; } +#template .highlight .o { font-weight:bold; } +#template .highlight .cm { color:#998;font-style:italic; } +#template .highlight .cp { color:#999;font-weight:bold; } +#template .highlight .c1 { color:#998;font-style:italic; } +#template .highlight .cs { color:#999;font-weight:bold;font-style:italic; } +#template .highlight .gd { color:#000;background-color:#fdd; } +#template .highlight .gd .x { color:#000;background-color:#faa; } +#template .highlight .ge { font-style:italic; } +#template .highlight .gr { color:#a00; } +#template .highlight .gh { color:#999; } +#template .highlight .gi { color:#000;background-color:#dfd; } +#template .highlight .gi .x { color:#000;background-color:#afa; } +#template .highlight .go { color:#888; } +#template .highlight .gp { color:#555; } +#template .highlight .gs { font-weight:bold; } +#template .highlight .gu { color:#800080;font-weight:bold; } +#template .highlight .gt { color:#a00; } +#template .highlight .kc { font-weight:bold; } +#template .highlight .kd { font-weight:bold; } +#template .highlight .kp { font-weight:bold; } +#template .highlight .kr { font-weight:bold; } +#template .highlight .kt { color:#458;font-weight:bold; } +#template .highlight .m { color:#099; } +#template .highlight .s { color:#d14; } +#template .highlight .na { color:#008080; } +#template .highlight .nb { color:#0086B3; } +#template .highlight .nc { color:#458;font-weight:bold; } +#template .highlight .no { color:#008080; } +#template .highlight .ni { color:#800080; } +#template .highlight .ne { color:#900;font-weight:bold; } +#template .highlight .nf { color:#900;font-weight:bold; } +#template .highlight .nn { color:#555; } +#template .highlight .nt { color:#000080; } +#template .highlight .nv { color:#008080; } +#template .highlight .ow { font-weight:bold; } +#template .highlight .w { color:#bbb; } +#template .highlight .mf { color:#099; } +#template .highlight .mh { color:#099; } +#template .highlight .mi { color:#099; } +#template .highlight .mo { color:#099; } +#template .highlight .sb { color:#d14; } +#template .highlight .sc { color:#d14; } +#template .highlight .sd { color:#d14; } +#template .highlight .s2 { color:#d14; } +#template .highlight .se { color:#d14; } +#template .highlight .sh { color:#d14; } +#template .highlight .si { color:#d14; } +#template .highlight .sx { color:#d14; } +#template .highlight .sr { color:#009926; } +#template .highlight .s1 { color:#d14; } +#template .highlight .ss { color:#990073; } +#template .highlight .bp { color:#999; } +#template .highlight .vc { color:#008080; } +#template .highlight .vg { color:#008080; } +#template .highlight .vi { color:#008080; } +#template .highlight .il { color:#099; } diff --git a/lib/gollum/frontend/public/images/buttons.png b/lib/gollum/frontend/public/images/buttons.png deleted file mode 100644 index 60544992..00000000 Binary files a/lib/gollum/frontend/public/images/buttons.png and /dev/null differ diff --git a/lib/gollum/frontend/public/images/editbar-buttons.png b/lib/gollum/frontend/public/images/editbar-buttons.png deleted file mode 100644 index 9ff45c4d..00000000 Binary files a/lib/gollum/frontend/public/images/editbar-buttons.png and /dev/null differ diff --git a/lib/gollum/frontend/public/images/example.png b/lib/gollum/frontend/public/images/example.png deleted file mode 100644 index a3853683..00000000 Binary files a/lib/gollum/frontend/public/images/example.png and /dev/null differ diff --git a/lib/gollum/frontend/public/images/icon-sprite.png b/lib/gollum/frontend/public/images/icon-sprite.png new file mode 100644 index 00000000..83e8c6fd Binary files /dev/null and b/lib/gollum/frontend/public/images/icon-sprite.png differ diff --git a/lib/gollum/frontend/public/images/twiddle-down.png b/lib/gollum/frontend/public/images/twiddle-down.png deleted file mode 100644 index bf2d4fb4..00000000 Binary files a/lib/gollum/frontend/public/images/twiddle-down.png and /dev/null differ diff --git a/lib/gollum/frontend/public/images/twiddle-right.png b/lib/gollum/frontend/public/images/twiddle-right.png deleted file mode 100644 index c27c9636..00000000 Binary files a/lib/gollum/frontend/public/images/twiddle-right.png and /dev/null differ diff --git a/lib/gollum/frontend/public/images/txt.png b/lib/gollum/frontend/public/images/txt.png deleted file mode 100644 index f3638cb4..00000000 Binary files a/lib/gollum/frontend/public/images/txt.png and /dev/null differ diff --git a/lib/gollum/frontend/public/javascript/MathJax/COPYING.txt b/lib/gollum/frontend/public/javascript/MathJax/COPYING.txt deleted file mode 100644 index d6456956..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/COPYING.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/lib/gollum/frontend/public/javascript/MathJax/MathJax.js b/lib/gollum/frontend/public/javascript/MathJax/MathJax.js deleted file mode 100644 index 3ff9c987..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/MathJax.js +++ /dev/null @@ -1,1704 +0,0 @@ -/************************************************************* - * - * MathJax.js - * - * The main support code for the MathJax Hub, including the - * Ajax, CallBack, Messaging, and Object-Oriented Programming - * libraries, as well as the base Jax classes, and startup - * processing code. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -if (document.getElementById && document.childNodes && document.createElement) { - -if (!window.MathJax) {window.MathJax= {}} -MathJax.version = "0.9.8"; - -/**********************************************************/ - -(function (BASENAME) { - var BASE = window[BASENAME]; - if (!BASE) {BASE = window[BASENAME] = {}} - - var PROTO = []; // a static object used to indicate when a prototype is being created - var OBJECT = function (def) { - var obj = def.constructor; if (!obj) {obj = new Function("")} - for (var id in def) {if (id !== 'constructor' && def.hasOwnProperty(id)) {obj[id] = def[id]}} - return obj; - }; - var CONSTRUCTOR = function () { - return new Function ("return arguments.callee.Init.call(this,arguments)"); - }; - // - // Test for Safari 2.x bug (can't replace prototype for result of new Function()). - // (We don't use this version for everyone since it is a closure and we don't need that). - // - var BUGTEST = CONSTRUCTOR(); BUGTEST.prototype = {bug_test: 1}; - if (!BUGTEST.prototype.bug_test) { - CONSTRUCTOR = function () { - return function () {return arguments.callee.Init.call(this,arguments)}; - }; - }; - - BASE.Object = OBJECT({ - constructor: CONSTRUCTOR(), - - Subclass: function (def,classdef) { - var obj = CONSTRUCTOR(); - obj.SUPER = this; obj.Init = this.Init; - obj.Subclass = this.Subclass; obj.Augment = this.Augment; - obj.protoFunction = this.protoFunction; - obj.can = this.can; obj.has = this.has; obj.isa = this.isa; - obj.prototype = new this(PROTO); - obj.prototype.constructor = obj; // the real constructor - obj.Augment(def,classdef); - return obj; - }, - - Init: function (args) { - var obj = this; - if (args.length !== 1 || args[0] !== PROTO) { - if (!(obj instanceof args.callee)) {obj = new args.callee(PROTO)} - obj.Init.apply(obj,args); - } - return obj; - }, - - Augment: function (def,classdef) { - var id; - if (def != null) { - for (id in def) {if (def.hasOwnProperty(id)) {this.protoFunction(id,def[id])}} - // MSIE doesn't list toString even if it is not native so handle it separately - if (def.toString !== this.prototype.toString && def.toString !== {}.toString) - {this.protoFunction('toString',def.toString)} - } - if (classdef != null) { - for (id in classdef) {if (classdef.hasOwnProperty(id)) {this[id] = classdef[id]}} - } - }, - - protoFunction: function (id,def) { - this.prototype[id] = def; - if (def instanceof Function) {def.SUPER = this.SUPER.prototype} - }, - - prototype: { - Init: function () {}, - SUPER: function (fn) {return fn.callee.SUPER}, - can: function (method) {return typeof(this[method]) === "function"}, - has: function (property) {return typeof(this[property]) !== "undefined"}, - isa: function (obj) {return (obj instanceof Object) && (this instanceof obj)} - }, - - can: function (method) {return this.prototype.can.call(this,method)}, - has: function (property) {return this.prototype.has.call(this,property)}, - isa: function (obj) { - var constructor = this; - while (constructor) { - if (constructor === obj) {return true} else {constructor = constructor.SUPER} - } - return false; - }, - - - SimpleSUPER: OBJECT({ - constructor: function (def) {return this.SimpleSUPER.define(def)}, - - define: function (src) { - var dst = {}; - if (src != null) { - for (var id in def) {if (def.hasOwnProperty(id)) {this.protoFunction(id,def[id])}} - // MSIE doesn't list toString even if it is not native so handle it separately - if (def.toString !== this.prototype.toString && def.toString !== {}.toString) - {this.protoFunction('toString',def.toString)} - } - return dst; - }, - - wrap: function (id,f) { - if (typeof(f) === 'function' && f.toString().match(/\.\s*SUPER\s*\(/)) { - var fn = new Function(this.wrapper); - fn.label = id; fn.original = f; f = fn; - fn.toString = this.stringify; - } - return f; - }, - - wrapper: function () { - var fn = arguments.callee; - this.SUPER = fn.SUPER[fn.label]; - try {var result = fn.original.apply(this,arguments)} - catch (err) {delete this.SUPER; throw err} - delete this.SUPER; - return result; - }.toString().replace(/^\s*function \(\)\s*\{\s*/i,"").replace(/\s*\}\s*$/i,""), - - toString: function () { - return this.original.toString.apply(this.original,arguments); - } - }) - }); - -})("MathJax"); - -/**********************************************************/ - -/* - * Create a callback function from various forms of data: - * - * MathJax.CallBack(fn) -- callback to a function - * - * MathJax.CallBack([fn]) -- callback to function - * MathJax.CallBack([fn,data...]) - * -- callback to function with given data as arguments - * MathJax.CallBack([object,fn]) - * -- call fn with object as "this" - * MathJax.CallBack([object,fn,data...]) - * -- call fn with object as "this" and data as arguments - * MathJax.CallBack(["method",object]) - * -- call method of object wth object as "this" - * MathJax.CallBack(["method",object,data...]) - * -- as above, but with data as arguments to method - * - * MathJax.CallBack({hook: fn, data: [...], object: this}) - * -- give function, data, and object to act as "this" explicitly - * - * MathJax.CallBack("code") -- callback that compiles and executes a string - * - * MathJax.CallBack([...],i) - * -- use slice of array starting at i and interpret - * result as above. (Used for passing "arguments" array - * and trimming initial arguments, if any.) - */ - -/* - * MathJax.CallBack.After([...],cb1,cb2,...) - * -- make a callback that isn't called until all the other - * ones are called first. I.e., wait for a union of - * callbacks to occur before making the given callback. - */ - -/* - * MathJax.CallBack.Queue([callback,...]) - * -- make a synchronized queue of commands that process - * sequentially, waiting for those that return uncalled - * callbacks. - */ - -/* - * MathJax.CallBack.Signal(name) - * -- finds or creates a names signal, to which listeners - * can be attached and are signaled by messages posted - * to the signal. Responses can be asynchronous. - */ - -(function (BASENAME) { - var BASE = window[BASENAME]; - if (!BASE) {BASE = window[BASENAME] = {}} - // - // Create a callback from an associative array - // - var CALLBACK = function (data) { - var cb = new Function("return arguments.callee.execute.apply(arguments.callee,arguments)"); - for (var id in CALLBACK.prototype) { - if (CALLBACK.prototype.hasOwnProperty(id)) { - if (typeof(data[id]) !== 'undefined') {cb[id] = data[id]} - else {cb[id] = CALLBACK.prototype[id]} - } - } - cb.toString = CALLBACK.prototype.toString; - return cb; - }; - CALLBACK.prototype = { - isCallback: true, - hook: function () {}, - data: [], - object: window, - execute: function () { - if (!this.called || this.autoReset) { - this.called = !this.autoReset; - return this.hook.apply(this.object,this.data.concat([].slice.call(arguments,0))); - } - }, - reset: function () {delete this.called}, - toString: function () {return this.hook.toString.apply(this.hook,arguments)} - }; - var ISCALLBACK = function (f) { - return (f instanceof Function && f.isCallback); - } - // - // Evaluate a string in global context - // - var EVAL = function (code) {return eval.call(window,code)} - EVAL("var __TeSt_VaR__ = 1"); // check if it works in global context - if (window.__TeSt_VaR__) {delete window.__TeSt_VaR__} else { - if (window.execScript) { - // IE - EVAL = function (code) { - BASE.__code = code; - code = "try {"+BASENAME+".__result = eval("+BASENAME+".__code)} catch(err) {"+BASENAME+".__result = err}"; - window.execScript(code); - var result = BASE.__result; delete BASE.__result; delete BASE.__code; - if (result instanceof Error) {throw result} - return result; - } - } else { - // Safari2 - EVAL = function (code) { - BASE.__code = code; - code = "try {"+BASENAME+".__result = eval("+BASENAME+".__code)} catch(err) {"+BASENAME+".__result = err}"; - var head = (document.getElementsByTagName("head"))[0]; if (!head) {head = document.body} - var script = document.createElement("script"); - script.appendChild(document.createTextNode(code)); - head.appendChild(script); head.removeChild(script); - var result = BASE.__result; delete BASE.__result; delete BASE.__code; - if (result instanceof Error) {throw result} - return result; - } - } - } - // - // Create a callback from various types of data - // - var USING = function (args,i) { - if (arguments.length > 1) { - if (arguments.length === 2 && !(arguments[0] instanceof Function) && - arguments[0] instanceof Object && typeof arguments[1] === 'number') - {args = [].slice.call(args,i)} - else {args = [].slice.call(arguments,0)} - } - if (args instanceof Array && args.length === 1) {args = args[0]} - if (args instanceof Function) { - if (args.execute === CALLBACK.prototype.execute) {return args} - return CALLBACK({hook: args}); - } else if (args instanceof Array) { - if (typeof(args[0]) === 'string' && args[1] instanceof Object && - args[1][args[0]] instanceof Function) { - return CALLBACK({hook: args[1][args[0]], object: args[1], data: args.slice(2)}); - } else if (args[0] instanceof Function) { - return CALLBACK({hook: args[0], data: args.slice(1)}); - } else if (args[1] instanceof Function) { - return CALLBACK({hook: args[1], object: args[0], data: args.slice(2)}); - } - } else if (typeof(args) === 'string') { - return CALLBACK({hook: EVAL, data: [args]}); - } else if (args instanceof Object) { - return CALLBACK(args); - } else if (typeof(args) === 'undefined') { - return CALLBACK({}); - } - throw Error("Can't make callback from given data"); - }; - - // - // Wait for a given time to elapse and then perform the callback - // - var DELAY = function (time,callback) { - callback = USING(callback); - callback.timeout = setTimeout(callback,time); - return callback; - }; - - // - // Callback used by AFTER, QUEUE, and SIGNAL to check if calls have completed - // - var WAITFOR = function (callback,signal) { - callback = USING(callback); - if (!callback.called) {WAITSIGNAL(callback,signal); signal.pending++} - }; - var WAITEXECUTE = function () { - var signals = this.signal; delete this.signal; - this.execute = this.oldExecute; delete this.oldExecute; - var result = this.execute.apply(this,arguments); - if (ISCALLBACK(result) && !result.called) {WAITSIGNAL(result,signals)} else { - for (var i = 0, m = signals.length; i < m; i++) { - signals[i].pending--; - if (signals[i].pending <= 0) {var result = signals[i].call()} - } - } - }; - var WAITSIGNAL = function (callback,signals) { - if (!(signals instanceof Array)) {signals = [signals]} - if (!callback.signal) { - callback.oldExecute = callback.execute; - callback.execute = WAITEXECUTE; - callback.signal = signals; - } else if (signals.length === 1) {callback.signal.push(signals[0])} - else {callback.signal = callback.signal.concat(signals)} - }; - - // - // Create a callback that is called when a collection of other callbacks have - // all been executed. If the callback gets calledimmediately (i.e., the - // others are all already called), check if it returns another callback - // and return that instead. - // - var AFTER = function (callback) { - callback = USING(callback); - callback.pending = 0; - for (var i = 1, m = arguments.length; i < m; i++) - {if (arguments[i]) {WAITFOR(arguments[i],callback)}} - if (callback.pending === 0) { - var result = callback(); - if (ISCALLBACK(result)) {callback = result} - } - return callback; - }; - - // - // Run an array of callbacks passing them the given data. - // If any return callbacks, return a callback that will be - // executed when they all have completed. - // - var HOOKS = function (hooks,data,reset) { - if (!hooks) {return null} - if (!(hooks instanceof Array)) {hooks = [hooks]} - if (!(data instanceof Array)) {data = (data == null ? [] : [data])} - var callbacks = [{}]; - for (var i = 0, m = hooks.length; i < m; i++) { - if (reset) {hooks[i].reset()} - var result = hooks[i].apply(window,data); - if (ISCALLBACK(result) && !result.called) {callbacks.push(result)} - } - if (callbacks.length === 1) {return null} - if (callbacks.length === 2) {return callbacks[1]} - return AFTER.apply({},callbacks); - }; - - // - // Command queue that performs commands in order, waiting when - // necessary for commands to complete asynchronousely - // - var QUEUE = BASE.Object.Subclass({ - // - // Create the queue and push any commands that are specified - // - Init: function () { - this.pending = 0; this.running = 0; - this.queue = []; - this.Push.apply(this,arguments); - }, - // - // Add commands to the queue and run them. Adding a callback object - // (rather than a callback specification) queues a wait for that callback. - // Return the final callback for synchronization purposes. - // - Push: function () { - var callback; - for (var i = 0, m = arguments.length; i < m; i++) { - callback = USING(arguments[i]); - if (callback === arguments[i] && !callback.called) - {callback = USING(["wait",this,callback])} - this.queue.push(callback); - } - if (!this.running && !this.pending) {this.Process()} - return callback; - }, - // - // Process the command queue if we aren't waiting on another command - // - Process: function (queue) { - while (!this.running && !this.pending && this.queue.length) { - var callback = this.queue[0]; - queue = this.queue.slice(1); this.queue = []; - this.Suspend(); var result = callback(); this.Resume(); - if (queue.length) {this.queue = queue.concat(this.queue)} - if (ISCALLBACK(result) && !result.called) {WAITFOR(result,this)} - } - }, - // - // Suspend/Resume command processing on this queue - // - Suspend: function () {this.running++}, - Resume: function () {if (this.running) {this.running--}}, - // - // Used by WAITFOR to restart the queue when an action completes - // - call: function () {this.Process.apply(this,arguments)}, - wait: function (callback) {return callback} - }); - - // - // Create a named signal that listeners can attach to, to be signaled by - // postings made to the signal. Posts are queued if they occur while one - // is already in process. - // - var SIGNAL = QUEUE.Subclass({ - Init: function (name) { - QUEUE.prototype.Init.call(this); - this.name = name; - this.posted = []; // the messages posted so far - this.listeners = []; // those with interest in this signal - }, - // - // Post a message to the signal listeners, with callback for when complete - // - Post: function (message,callback,forget) { - callback = USING(callback); - if (this.posting || this.pending) { - this.Push(["Post",this,message,callback,forget]); - } else { - this.callback = callback; callback.reset(); - if (!forget) {this.posted.push(message)} - this.Suspend(); this.posting = 1; - for (var i = 0, m = this.listeners.length; i < m; i++) { - this.listeners[i].reset(); - var result = (this.listeners[i])(message); - if (ISCALLBACK(result) && !result.called) {WAITFOR(result,this)} - } - this.Resume(); delete this.posting; - if (!this.pending) {this.call()} - } - return callback; - }, - // - // Clear the post history (so new listeners won't get old messages) - // - Clear: function (callback) { - callback = USING(callback); - if (this.posting || this.pending) { - callback = this.Push(["Clear",this,callback]); - } else { - this.posted = []; - callback(); - } - return callback; - }, - // - // Call the callback (all replies are in) and process the command queue - // - call: function () {this.callback(this); this.Process()}, - - // - // A listener calls this to register intrest in the signal (so it will be called - // when posts occur). If ignorePast is 1, it will not be sent the post history. - // - Interest: function (callback,ignorePast) { - callback = USING(callback); - this.listeners[this.listeners.length] = callback; - if (!ignorePast) { - for (var i = 0, m = this.posted.length; i < m; i++) { - callback.reset(); - var result = callback(this.posted[i]); - if (ISCALLBACK(result) && i === this.posted.length-1) {WAITFOR(result,this)} - } - } - return callback; - }, - // - // A listener calls this to remove itself from a signal - // - NoInterest: function (callback) { - for (var i = 0, m = this.listeners.length; i < m; i++) { - if (this.listeners[i] === callback) {this.listeners.splice(i,1); return} - } - }, - - // - // Hook a callback to a particular message on this signal - // - MessageHook: function (msg,callback) { - callback = USING(callback); - if (!this.hooks) {this.hooks = {}; this.Interest(["ExecuteHooks",this])} - if (!this.hooks[msg]) {this.hooks[msg] = []} - this.hooks[msg].push(callback); - for (var i = 0, m = this.posted.length; i < m; i++) - {if (this.posted[i] == msg) {callback.reset(); callback(this.posted[i])}} - return callback; - }, - // - // Execute the message hooks for the given message - // - ExecuteHooks: function (msg,more) { - var type = ((msg instanceof Array) ? msg[0] : msg); - return HOOKS(this.hooks[type],[msg],true); - } - - },{ - signals: {}, // the named signals - find: function (name) { - if (!SIGNAL.signals[name]) {SIGNAL.signals[name] = new SIGNAL(name)} - return SIGNAL.signals[name]; - } - }); - - // - // The main entry-points - // - BASE.CallBack = USING; - BASE.CallBack.Delay = DELAY; - BASE.CallBack.After = AFTER; - BASE.CallBack.Queue = QUEUE; - BASE.CallBack.Signal = SIGNAL.find; - BASE.CallBack.ExecuteHooks = HOOKS; -})("MathJax"); - -/**********************************************************/ - -(function (BASENAME) { - var BASE = window[BASENAME]; - if (!BASE) {BASE = window[BASENAME] = {}} - - var isSafari2 = (navigator.vendor === "Apple Computer, Inc." && - typeof navigator.vendorSub === "undefined"); - var sheets = 0; // used by Safari2 - - // - // Update sheets count and look up the head object - // - var HEAD = function (head) { - if (document.styleSheets && document.styleSheets.length > sheets) - {sheets = document.styleSheets.length} - if (!head) { - head = (document.getElementsByTagName("head"))[0]; - if (!head) {head = document.body} - } - return head; - }; - - // - // Remove scripts that are completed so they don't clutter up the HEAD. - // This runs via setTimeout since IE7 can't remove the script while it is running. - // - var SCRIPTS = []; // stores scripts to be removed after a delay - var REMOVESCRIPTS = function () { - for (var i = 0, m = SCRIPTS.length; i < m; i++) {BASE.Ajax.head.removeChild(SCRIPTS[i])} - SCRIPTS = []; - }; - - BASE.Ajax = { - loaded: {}, // files already loaded - loading: {}, // files currently in process of loading - loadHooks: {}, // hooks to call when files are loaded - timeout: 15*1000, // timeout for loading of files (15 seconds) - styleDelay: 1, // delay to use before styles are available - config: {root: ""}, // URL of root directory to load from - - STATUS: { - OK: 1, // file is loading or did load OK - ERROR: -1 // file timed out during load - }, - - rootPattern: new RegExp("^\\["+BASENAME+"\\]"), - - // - // Return a complete URL to a file (replacing the root pattern) - // - fileURL: function (file) {return file.replace(this.rootPattern,this.config.root)}, - - // - // Load a file if it hasn't been already. - // Make sure the file URL is "safe"? - // - Require: function (file,callback) { - callback = BASE.CallBack(callback); var type; - if (file instanceof Object) {for (var i in file) {}; type = i.toUpperCase(); file = file[i]} - else {type = file.split(/\./).pop().toUpperCase()} - file = this.fileURL(file); - // FIXME: check that URL is OK - if (this.loaded[file]) { - callback(this.loaded[file]); - } else { - var FILE = {}; FILE[type] = file; - this.Load(FILE,callback); - } - return callback; - }, - - // - // Load a file regardless of where it is and whether it has - // already been loaded. - // - Load: function (file,callback) { - callback = BASE.CallBack(callback); var type; - if (file instanceof Object) {for (var i in file) {}; type = i.toUpperCase(); file = file[i]} - else {type = file.split(/\./).pop().toUpperCase()} - file = this.fileURL(file); - if (this.loading[file]) { - this.loading[file].callbacks.push(callback); - } else { - this.head = HEAD(this.head); - if (this.loader[type]) {this.loader[type].call(this,file,callback)} - else {throw Error("Can't load files of type "+type)} - } - return callback; - }, - - // - // Register a load hook for a particular file (it will be called when - // loadComplete() is called for that file) - // - LoadHook: function (file,callback) { - callback = BASE.CallBack(callback); - if (file instanceof Object) {for (var i in file) {file = file[i]}} - file = this.fileURL(file); - if (this.loaded[file]) { - callback(this.loaded[file]); - } else { - if (!this.loadHooks[file]) {this.loadHooks[file] = []} - this.loadHooks[file].push(callback); - } - return callback; - }, - - // - // Code used to load the various types of files - // (JS for JavaScript, CSS for style sheets) - // - loader: { - // - // Create a SCRIPT tag to load the file - // - JS: function (file,callback) { - var script = document.createElement("script"); - var timeout = BASE.CallBack(["loadTimeout",this,file]); - this.loading[file] = { - callbacks: [callback], - message: BASE.Message.File(file), - timeout: setTimeout(timeout,this.timeout), - status: this.STATUS.OK, - script: script - }; - script.onerror = timeout; // doesn't work in IE and no apparent substitute - script.type = "text/javascript"; - script.src = file; - this.head.appendChild(script); - }, - // - // Create a LINK tag to load the style sheet - // - CSS: function (file,callback) { - var link = document.createElement("link"); - link.rel = "stylesheet"; link.type = "text/css"; link.href = file; - this.loading[file] = { - callbacks: [callback], - message: BASE.Message.File(file), - status: this.STATUS.OK - }; - this.head.appendChild(link); - this.timer.create.call(this,[this.timer.file,file],link); - } - }, - - // - // Timing code for checking when style sheets are available. - // - timer: { - // - // Create the timing callback and start the timing loop. - // We use a delay because some browsers need it to allow the styles - // to be processed. - // - create: function (callback,node) { - var check; callback = BASE.CallBack(callback); - if (node.nodeName === "STYLE" && node.styleSheet && - typeof(node.styleSheet.cssText) !== 'undefined') { - callback(this.STATUS.OK); // MSIE processes style immediately, but doesn't set its styleSheet! - } else if (window.chrome && typeof(window.sessionStorage) !== "undefined" && - node.nodeName === "STYLE") { - callback(this.STATUS.OK); // Same for Chrome 5 (beta), Grrr. - } else if (isSafari2) { - this.timer.start(this,[this.timer.checkSafari2,sheets++,callback],this.styleDelay); - } else { - this.timer.start(this,[this.timer.checkLength,node,callback],this.styleDelay); - } - return callback; - }, - // - // Start the timer for the given callback checker - // - start: function (AJAX,check,delay) { - check = BASE.CallBack(check); - check.execute = this.execute; check.time = this.time; - check.STATUS = AJAX.STATUS; check.timeout = AJAX.timeout; - check.delay = check.total = 0; - setTimeout(check,delay); - }, - // - // Increment the time total, increase the delay - // and test if we are past the timeout time. - // - time: function (callback) { - this.total += this.delay; - this.delay = Math.floor(this.delay * 1.05 + 5); - if (this.total >= this.timeout) {callback(this.STATUS.ERROR); return 1} - return 0; - }, - // - // For JS file loads, call the proper routine according to status - // - file: function (file,status) { - if (status < 0) {BASE.Ajax.loadTimeout(file)} else {BASE.Ajax.loadComplete(file)} - }, - // - // Call the hook with the required data - // - execute: function () {this.hook.call(this.object,this,this.data[0],this.data[1])}, - // - // Safari2 doesn't set the link's stylesheet, so we need to look in the - // document.styleSheets array for the new sheet when it is created - // - checkSafari2: function (check,length,callback) { - if (check.time(callback)) return; - if (document.styleSheets.length > length && - document.styleSheets[length].cssRules && - document.styleSheets[length].cssRules.length) - {callback(check.STATUS.OK)} else {setTimeout(check,check.delay)} - }, - // - // Look for the stylesheets rules and check when they are defined - // and no longer of length zero. (This assumes there actually ARE - // some rules in the stylesheet.) - // - checkLength: function (check,node,callback) { - if (check.time(callback)) return; - var isStyle = 0; var sheet = (node.sheet || node.styleSheet); - try {if ((sheet.cssRules||sheet.rules||[]).length > 0) {isStyle = 1}} catch(err) { - if (err.message.match(/protected variable|restricted URI/)) {isStyle = 1} - else if (err.message.match(/Security error/)) { - // Firefox3 gives "Security error" for missing files, so - // can't distinguish that from OK files on remote servers. - // or OK files in different directory from local files. - isStyle = 1; // just say it is OK (can't really tell) - } - } - if (isStyle) { - // Opera 9.6 requires this setTimeout - setTimeout(BASE.CallBack([callback,check.STATUS.OK]),0); - } else { - setTimeout(check,check.delay); - } - } - }, - - // - // JavaScript code must call this when they are completely initialized - // (this allows them to perform asynchronous actions before indicating - // that they are complete). - // - loadComplete: function (file) { - file = this.fileURL(file); - var loading = this.loading[file]; - if (loading) { - BASE.Message.Clear(loading.message); - clearTimeout(loading.timeout); - if (loading.script) { - if (SCRIPTS.length === 0) {setTimeout(REMOVESCRIPTS,0)} - SCRIPTS.push(loading.script); - } - this.loaded[file] = loading.status; delete this.loading[file]; - if (this.loadHooks[file]) { - BASE.CallBack.Queue( - [BASE.CallBack.ExecuteHooks,this.loadHooks[file],loading.status], - [BASE.CallBack.ExecuteHooks,loading.callbacks,loading.status] - ); - } else { - BASE.CallBack.ExecuteHooks(loading.callbacks,loading.status); - } - } - }, - - // - // If a file fails to load within the timeout period (or the onerror handler - // is called), this routine runs to signal the error condition. - // - loadTimeout: function (file) { - if (this.loading[file].timeout) {clearTimeout(this.loading[file].timeout)} - this.loading[file].status = this.STATUS.ERROR; - this.loadError(file); - this.loadComplete(file); - }, - - // - // The default error hook for file load failures - // - loadError: function (file) {BASE.Message.Set("File failed to load: "+file,null,2000)}, - - // - // Defines a style sheet from a hash of style declarations (key:value pairs - // where the key is the style selector and the value is a hash of CSS attributes - // and values). - // - Styles: function (styles,callback) { - var styleString = this.StyleString(styles); - if (styleString === "") { - callback = BASE.CallBack(callback); - callback(); - } else { - var style = document.createElement("style"); style.type = "text/css"; - this.head = HEAD(this.head); - this.head.appendChild(style); - if (style.styleSheet && typeof(style.styleSheet.cssText) !== 'undefined') { - style.styleSheet.cssText = styleString; - } else { - style.appendChild(document.createTextNode(styleString)); - } - callback = this.timer.create.call(this,callback,style); - } - return callback; - }, - - // - // Create a stylesheet string from a style declaration object - // - StyleString: function (styles) { - if (typeof(styles) === 'string') {return styles} - var string = "", id; - for (id in styles) {if (styles.hasOwnProperty(id)) { - if (typeof styles[id] === 'string') { - string += id + " {"+styles[id]+"}\n"; - } else if (styles[id] instanceof Array) { - for (var i = 0; i < styles[id].length; i++) { - var style = {}; style[id] = styles[id][i]; - string += this.StyleString(style); - } - } else if (id.substr(0,6) === '@media') { - string += id + " {"+this.StyleString(styles[id])+"}\n"; - } else if (styles[id] != null) { - var style = []; - for (var name in styles[id]) { - if (styles[id][name] != null) - {style[style.length] = name + ': ' + styles[id][name]} - } - string += id +" {"+style.join('; ')+"}\n"; - } - }} - return string; - } - }; - -})("MathJax"); - -/**********************************************************/ - -MathJax.Message = { - log: [{}], current: null, - textNodeBug: (navigator.vendor === "Apple Computer, Inc." && - typeof navigator.vendorSub === "undefined") || - (window.hasOwnProperty && window.hasOwnProperty("konqueror")), // Konqueror displays some gibberish with text.nodeValue = "..." - - styles: { - "#MathJax_Message": { - position: "fixed", left: "1px", bottom: "2px", - 'background-color': "#E6E6E6", border: "1px solid #959595", - margin: "0px", padding: "2px 8px", - 'z-index': "102", color: "black", 'font-size': "80%", - width: "auto", 'white-space': "nowrap" - }, - - "#MathJax_MSIE_Frame": { - position: "absolute", - top:0, left: 0, width: "0px", 'z-index': 101, - border: "0px", margin: "0px", padding: "0px" - } - }, - - browsers: { - MSIE: function (browser) { - MathJax.Hub.config.styles["#MathJax_Message"].position = "absolute"; - MathJax.Message.quirks = (document.compatMode === "BackCompat"); - }, - Chrome: function (browser) { - MathJax.Hub.config.styles["#MathJax_Message"].bottom = "1.5em"; - MathJax.Hub.config.styles["#MathJax_Message"].left = "1em"; - } - }, - - Init: function() { - if (!document.body) {return false} - if (!this.div) { - var frame = document.body; - if (MathJax.Hub.Browser.isMSIE) { - frame = this.frame = this.addDiv(document.body); - frame.style.position = "absolute"; - frame.style.border = frame.style.margin = frame.style.padding = "0px"; - frame.style.zIndex = "101"; frame.style.height = "0px"; - frame = this.addDiv(frame); - frame.id = "MathJax_MSIE_Frame"; - window.attachEvent("onscroll",this.MoveFrame); - window.attachEvent("onresize",this.MoveFrame); - this.MoveFrame(); - } - this.div = this.addDiv(frame); - this.div.id = "MathJax_Message"; this.div.style.display = "none"; - this.text = this.div.appendChild(document.createTextNode("")); - } - return true; - }, - - addDiv: function (parent) { - var div = document.createElement("div"); - if (parent.firstChild) {parent.insertBefore(div,parent.firstChild)} - else {parent.appendChild(div)} - return div; - }, - - MoveFrame: function () { - var body = (MathJax.Message.quirks ? document.body : document.documentElement); - var frame = MathJax.Message.frame; - frame.style.left = body.scrollLeft + 'px'; - frame.style.top = body.scrollTop + 'px'; - frame.style.width = body.clientWidth + 'px'; - frame = frame.firstChild; - frame.style.height = body.clientHeight + 'px'; - }, - - Set: function (text,n,clearDelay) { - if (this.timer) {clearTimeout(this.timer); delete this.timeout} - if (n == null) {n = this.log.length; this.log[n] = {}} - this.log[n].text = text; - if (typeof(this.log[n].next) === "undefined") { - this.log[n].next = this.current; - if (this.current != null) {this.log[this.current].prev = n} - this.current = n; - } - if (this.current === n) { - if (this.Init()) { - if (this.textNodeBug) {this.div.innerHTML = text} else {this.text.nodeValue = text} - this.div.style.display = ""; - if (this.status) {window.status = ""; delete this.status} - } else { - window.status = text; - this.status = true; - } - } - if (clearDelay) {setTimeout(MathJax.CallBack(["Clear",this,n]),clearDelay)} - return n; - }, - - Clear: function (n,delay) { - if (this.log[n].prev != null) {this.log[this.log[n].prev].next = this.log[n].next} - if (this.log[n].next != null) {this.log[this.log[n].next].prev = this.log[n].prev} - if (this.current === n) { - this.current = this.log[n].next; - if (this.text) { - if (this.current == null) { - if (this.timer) {clearTimeout(this.timer)} - this.timer = setTimeout(MathJax.CallBack(["Remove",this]),(delay||600)); - } else if (this.textNodeBug) {this.div.innerHTML = this.log[this.current].text} - else {this.text.nodeValue = this.log[this.current].text} - if (this.status) {window.status = ""; delete this.status} - } else if (this.status) { - window.status = (this.current == null ? "" : this.log[this.current].text); - } - } - delete this.log[n].next; delete this.log[n].prev; - }, - - Remove: function () { - // FIXME: do a fade out or something else interesting? - this.text.nodeValue = ""; - this.div.style.display = "none"; - }, - - File: function (file) { - var root = MathJax.Ajax.config.root; - if (file.substr(0,root.length) === root) {file = "[MathJax]"+file.substr(root.length)} - return this.Set("Loading "+file); - }, - - Log: function () { - var strings = []; - for (var i = 1, m = this.log.length; i < m; i++) {strings[i] = this.log[i].text} - return strings.join("\n"); - } - -}; - -/**********************************************************/ - -MathJax.Hub = { - config: { - root: "", - config: [], // list of configuration files to load - styleSheets: [], // list of CSS files to load - styles: MathJax.Message.styles, // styles to generate in-line - jax: [], // list of input and output jax to load - extensions: [], // list of extensions to load - browser: {}, // browser-specific files to load (by browser name) - preJax: null, // pattern to remove from before math script tag - postJax: null, // pattern to remove from after math script tag - preRemoveClass: 'MathJax_Preview', // class of objects to remove preceeding math script - showProcessingMessages: true, // display "Processing math: nn%" messages or not - delayStartupUntil: "none", // set to "onload" to delay setup until the onload handler runs - // or to a CallBack to wait for before continuing with the startup - skipStartupTypeset: false, // set to true to skip PreProcess and Process during startup - - preProcessors: [], // list of callbacks for preprocessing (initialized by extensions) - inputJax: {}, // mime-type mapped to input jax (by registration) - outputJax: {} // mime-type mapped to output jax list (by registration) - }, - - processUpdateTime: 500, // time between screen updates when processing math (milliseconds) - - signal: MathJax.CallBack.Signal("Hub"), // Signal used for Hub events - - Config: function (def) { - this.Insert(this.config,def); - if (this.config.Augment) {this.Augment(this.config.Augment)} - }, - - Register: { - PreProcessor: function (callback) {MathJax.Hub.config.preProcessors.push(MathJax.CallBack(callback))}, - BrowserHook: function (browser,callback) { - var browsers = MathJax.Hub.Startup.browsers; - if (!browsers[browser]) {browsers[browser] = []} - if (!(browsers[browser] instanceof Array)) {browsers[browser] = [browsers[browser]]} - browsers[browser].push(callback); - }, - MessageHook: function () {return MathJax.Hub.signal.MessageHook.apply(MathJax.Hub.signal,arguments)}, - StartupHook: function () {return MathJax.Hub.Startup.signal.MessageHook.apply(MathJax.Hub.Startup.signal,arguments)}, - LoadHook: function () {return MathJax.Ajax.LoadHook.apply(MathJax.Ajax,arguments)} - }, - - getAllJax: function (element) { - var jax = [], scripts = this.elementScripts(element); - for (var i = 0, m = scripts.length; i < m; i++) { - if (scripts[i].MathJax && scripts[i].MathJax.elementJax) - {jax.push(scripts[i].MathJax.elementJax)} - } - return jax; - }, - - getJaxByType: function (type,element) { - var jax = [], scripts = this.elementScripts(element); - for (var i = 0, m = scripts.length; i < m; i++) { - if (scripts[i].MathJax && scripts[i].MathJax.elementJax && - scripts[i].MathJax.elementJax.mimeType === type) - {jax.push(scripts[i].MathJax.elementJax)} - } - return jax; - }, - - getJaxByInputType: function (type,element) { - var jax = [], scripts = this.elementScripts(element); - for (var i = 0, m = scripts.length; i < m; i++) { - if (scripts[i].MathJax && scripts[i].MathJax.elementJax && - scripts[i].type && scripts[i].type.replace(/ *;(.|\s)*/,"") === type) - {jax.push(scripts[i].MathJax.elementJax)} - } - return jax; - }, - - getJaxFor: function (element) { - if (typeof(element) === 'string') {element = document.getElementById(element)} - if (element.MathJax) {return element.MathJax.elementJax} - // FIXME: also check for results of outputJax - return null; - }, - - isJax: function (element) { - if (typeof(element) === 'string') {element = document.getElementById(element)} - if (element.tagName != null && element.tagName.toLowerCase() === 'script') { - if (element.MathJax) - {return (element.MathJax.state === MathJax.ElementJax.STATE.PROCESSED ? 1 : -1)} - if (element.type && this.config.inputJax[element.type.replace(/ *;(.|\s)*/,"")]) {return -1} - } - // FIXME: check for results of outputJax - return 0; - }, - - Typeset: function (element,callback) { - if (!MathJax.isReady) return null; - var ec = this.elementCallBack(element,callback); - return MathJax.CallBack.Queue( - ["PreProcess",this,ec.element], - ["Process",this,ec.element] - ).Push(ec.callback); - }, - - PreProcess: function (element,callback) { - var ec = this.elementCallBack(element,callback); - return MathJax.CallBack.Queue( - ["Post",this.signal,"Begin PreProcess"], - ["ExecuteHooks",MathJax.CallBack, - (arguments.callee.disabled ? [] : this.config.preProcessors), ec.element, true], - ["Post",this.signal,"End PreProcess"] - ).Push(ec.callback); - }, - - Process: function (element,callback) {return this.takeAction("Process",element,callback)}, - Update: function (element,callback) {return this.takeAction("Update",element,callback)}, - Reprocess: function (element,callback) {return this.takeAction("Reprocess",element,callback)}, - - takeAction: function (action,element,callback) { - var ec = this.elementCallBack(element,callback); - var scripts = []; // filled in by prepareScripts - return MathJax.CallBack.Queue( - ["Clear",this.signal], - ["Post",this.signal,["Begin "+action,ec.element]], - ["prepareScripts",this,action,ec.element,scripts], - ["processScripts",this,scripts], - ["Post",this.signal,["End "+action,ec.element]] - ).Push(ec.callback); - }, - - scriptAction: { - Process: function (script) {}, - Update: function (script) { - var jax = script.MathJax.elementJax; - if (jax && jax.originalText !== - (script.text == ""? script.innerHTML : script.text)) {jax.Remove()} - }, - Reprocess: function (script) { - if (script.MathJax.elementJax) {script.MathJax.elementJax.Remove()} - } - }, - - prepareScripts: function (action,element,math) { - if (arguments.callee.disabled) return; - var scripts = this.elementScripts(element); - var STATE = MathJax.ElementJax.STATE; - for (var i = 0, m = scripts.length; i < m; i++) { - var script = scripts[i]; - if (script.type && this.config.inputJax[script.type.replace(/ *;(.|\n)*/,"")]) { - if (script.MathJax && script.MathJax.state === STATE.PROCESSED) - {this.scriptAction[action](script)} - if (!script.MathJax) {script.MathJax = {state: STATE.PENDING}} - if (script.MathJax.state !== STATE.PROCESSED) {math.push(script)} - } - } - }, - - checkScriptSiblings: function (script) { - if (script.MathJax && script.MathJax.checked) return; - var config = this.config; - var pre = script.previousSibling; - if (pre && pre.nodeName == "#text") { - var preJax,postJax; - var post = script.nextSibling; - if (post && post.nodeName != "#text") {post = null} - if (config.preJax) {preJax = pre.nodeValue.match(config.preJax+"$")} - if (config.postJax && post) {postJax = post.nodeValue.match("^"+config.postJax)} - if (preJax && (!config.postJax || postJax)) { - pre.nodeValue = pre.nodeValue.replace - (config.preJax+"$",(preJax.length > 1? preJax[1] : "")); - pre = null; - } - if (postJax && (!config.preJax || preJax)) { - post.nodeValue = post.nodeValue.replace - ("^"+config.postJax,(postJax.length > 1? postJax[1] : "")); - } - if (pre && !pre.nodeValue.match(/\S/)) {pre = pre.previousSibling} - } - if (config.preRemoveClass && pre && pre.className == config.preRemoveClass) { - try {pre.innerHTML = ""} catch (err) {} - pre.style.display = "none"; - } - if (script.MathJax) {script.MathJax.checked = 1} - }, - - processScripts: function (scripts,start,n) { - if (arguments.callee.disabled) {return null} - var result, STATE = MathJax.ElementJax.STATE; - var inputJax = this.config.inputJax, outputJax = this.config.outputJax; - try { - if (!start) {start = new Date().getTime()} - var i = 0, script; - while (i < scripts.length) { - script = scripts[i]; if (!script) continue; - var type = script.type.replace(/ *;(.|\s)*/,""); - if (!script.MathJax || script.MathJax.state === STATE.PROCESSED) continue; - if (!script.MathJax.elementJax || script.MathJax.state === STATE.UPDATE) { - this.checkScriptSiblings(script); - result = inputJax[type].Translate(script); - if (result instanceof Function) { - if (result.called) continue; // go back and call Translate() again - this.RestartAfter(result); - } - result.Attach(script,inputJax[type]); - } - var jax = script.MathJax.elementJax; - if (!outputJax[jax.mimeType]) { - script.MathJax.state = STATE.UPDATE; - throw Error("No output jax registered for "+jax.mimeType); - } - jax.outputJax = outputJax[jax.mimeType][0]; - result = jax.outputJax.Translate(script); - if (result instanceof Function) { - script.MathJax.state = STATE.UPDATE; - if (result.called) continue; // go back and call Translate() again - this.RestartAfter(result); - } - script.MathJax.state = STATE.PROCESSED; - this.signal.Post(["New Math",jax.inputID]); // FIXME: wait for this? (i.e., restart if returns uncalled callback) - i++; - if (new Date().getTime() - start > this.processUpdateTime && i < scripts.length) - {start = 0; this.RestartAfter(MathJax.CallBack.Delay(1))} - } - } catch (err) { - if (!err.restart) {throw err} - if (!n) {n = 0}; var m = Math.floor((n+i)/(n+scripts.length)*100); n += i; - if (this.config.showProcessingMessages) {MathJax.Message.Set("Processing math: "+m+"%",0)} - return MathJax.CallBack.After(["processScripts",this,scripts.slice(i),start,n],err.restart); - } - if ((n || scripts.length) && this.config.showProcessingMessages) { - MathJax.Message.Set("Processing Math: 100%",0); - MathJax.Message.Clear(0); - } - return null; - }, - - RestartAfter: function (callback) { - throw this.Insert(Error("restart"),{restart: MathJax.CallBack(callback)}); - }, - - elementCallBack: function (element,callback) { - if (callback == null && (element instanceof Array || element instanceof Function)) - {callback = element; element = document.body} - else if (element == null) {element = document.body} - else if (typeof(element) === 'string') {element = document.getElementById(element)} - if (!element) {throw Error("No such element")} - if (!callback) {callback = {}} - return {element: element, callback: callback}; - }, - - elementScripts: function (element) { - if (typeof(element) === 'string') {element = document.getElementById(element)} - if (element == null) {element = document.body} - if (element.tagName != null && element.tagName.toLowerCase() === "script") {return [element]} - return element.getElementsByTagName("script"); - }, - - Insert: function (dst,src) { - for (var id in src) {if (src.hasOwnProperty(id)) { - // allow for concatenation of arrays? - if (typeof src[id] === 'object' && !(src[id] instanceof Array) && - (typeof dst[id] === 'object' || typeof dst[id] === 'function')) { - this.Insert(dst[id],src[id]); - } else { - dst[id] = src[id]; - } - }} - return dst; - } -}; - -// -// Storage area for preprocessors and extensions -// (should these be classes?) -// -MathJax.PreProcessor = {}; -MathJax.Extension = {}; - -// -// Hub Startup code -// -MathJax.Hub.Startup = { - script: "", // the startup script from the SCRIPT call that loads MathJax.js - queue: MathJax.CallBack.Queue(), // Queue used for startup actions - signal: MathJax.CallBack.Signal("Startup"), // Signal used for startup events - - // - // Load the configuration files - // - Config: function () { - this.queue.Push(["Post",this.signal,"Begin Config"]); - if (this.script.match(/\S/)) {this.queue.Push(this.script+';1')} - else {this.queue.Push(["Require",MathJax.Ajax,this.URL("config","MathJax.js")])} - if (MathJax.userConfig) - {this.queue.Push(function () {try {MathJax.userConfig()} catch(e) {}})} - return this.queue.Push( - [function (config,onload) { - if (config.delayStartupUntil.isCallback) {return config.delayStartupUntil} - if (config.delayStartupUntil === "onload") {return onload} - return function () {}; - }, MathJax.Hub.config, this.onload], - ["loadArray",this,MathJax.Hub.config.config,"config"], - ["Post",this.signal,"End Config"] - ); - }, - // - // Setup stylesheets and extra styles - // - Styles: function () { - return this.queue.Push( - ["Post",this.signal,"Begin Styles"], - ["loadArray",this,MathJax.Hub.config.styleSheets,"config"], - ["Styles",MathJax.Ajax,MathJax.Hub.config.styles], - ["Post",this.signal,"End Styles"] - ); - }, - // - // Load the input and output jax - // - Jax: function () { - return this.queue.Push( - ["Post",this.signal,"Begin Jax"], - ["loadArray",this,MathJax.Hub.config.jax,"jax","config.js"], - ["Post",this.signal,"End Jax"] - ); - }, - // - // Load the extensions - // - Extensions: function () { - return this.queue.Push( - ["Post",this.signal,"Begin Extensions"], - ["loadArray",this,MathJax.Hub.config.extensions,"extensions"], - ["Post",this.signal,"End Extensions"] - ); - }, - - // - // Setup the onload callback - // - onLoad: function (when) { - var onload = this.onload = - MathJax.CallBack(function () {MathJax.Hub.Startup.signal.Post("onLoad")}); - if (window.addEventListener) {window.addEventListener("load",onload,false)} - else if (window.attachEvent) {window.attachEvent("onload",onload)} - else {window.onload = onload} - return onload; - }, - - // - // Load any browser-specific config files - // then call any registered browser hooks - // - Browser: function () { - this.queue.Push(["Post",this.signal,"Begin Browser"]); - var browser = MathJax.Hub.config.browser[MathJax.Hub.Browser]; - this.queue.Push(["loadArray",this,browser,"config/browsers"]); - var hooks = this.browsers[MathJax.Hub.Browser]; - if (!(hooks instanceof Array)) {hooks = [hooks]} - this.queue.Push.apply(this.queue,hooks); - return this.queue.Push(["Post",this.signal,"End Browser"]); - }, - - // - // Code to initialize browsers - // - browsers: { - MSIE: function (browser) {}, - Firefox: function (browser) {}, - Safari: function (browser) {}, - Opera: function (browser) {}, - Chrome: function (browser) {} - }, - - // - // Perform the initial typesetting (or skip if configuration says to) - // - Typeset: function (element,callback) { - if (MathJax.Hub.config.skipStartupTypeset) {return function () {}} - return this.queue.Push( - ["Post",this.signal,"Begin Typeset"], - ["Typeset",MathJax.Hub,element,callback], - ["Post",this.signal,"End Typeset"] - ); - }, - - // - // Create a URL in the MathJax hierarchy - // - URL: function (dir,name) { - if (!name.match(/^([a-z]+:\/\/|\[|\/)/)) {name = "[MathJax]/"+dir+"/"+name} - return name; - }, - - // - // Load an array of files, waiting for all of them - // to be loaded before going on - // - loadArray: function (files,dir,name) { - if (files) { - if (!(files instanceof Array)) {files = [files]} - if (files.length) { - var queue = MathJax.CallBack.Queue(), callback = {}, file; - for (var i = 0, m = files.length; i < m; i++) { - file = this.URL(dir,files[i]); - if (name) {file += "/" + name} - queue.Push(MathJax.Ajax.Require(file,callback)); -// queue.Push(["Require",MathJax.Ajax,file,callback]); - } - return queue.Push({}); // wait for everything to finish - } - } - return null; - } - -}; - - -/**********************************************************/ - -(function (BASENAME) { - var BASE = window[BASENAME]; - var HUB = BASE.Hub, AJAX = BASE.Ajax, CALLBACK = BASE.CallBack; - - var JAX = MathJax.Object.Subclass({ - require: null, // array of files to load before jax.js is complete - Init: function (def) {this.config = {}; HUB.Insert(this,def)}, - Augment: function (def) {HUB.Insert(this,def)}, - Translate: function (element) { - this.Translate = this.noTranslate; - return AJAX.Require(this.directory+"/jax.js"); - }, - noTranslate: function (element) { - throw Error(this.directory+"/jax.js failed to redefine the Translate() method"); - }, - Register: function (mimetype) {}, - Config: function () { - HUB.Insert(this.config,(HUB.config[this.name]||{})); - if (this.config.Augment) {this.Augment(this.config.Augment)} - }, - Startup: function () {}, - loadComplete: function (file) { - if (file === "jax.js") { - var queue = CALLBACK.Queue(); - queue.Push(["Post",HUB.Startup.signal,this.name+" Jax Config"]); - queue.Push(["Config",this]); - queue.Push(["Post",HUB.Startup.signal,this.name+" Jax Require"]); - if (this.require) { - var require = this.require; if (!(require instanceof Array)) {require = [require]} - for (var i = 0, m = require.length; i < m; i++) {queue.Push(AJAX.Require(require[i]))} - queue.Push(["loadArray",MathJax.Hub.Startup,this.config.require,"config"]); - } - queue.Push(["Post",HUB.Startup.signal,this.name+" Jax Startup"]); - queue.Push(["Startup",this]); - queue.Push(["Post",HUB.Startup.signal,this.name+" Jax Ready"]); - return queue.Push(["loadComplete",AJAX,this.directory+"/"+file]); - } else { - return AJAX.loadComplete(this.directory+"/"+file); - } - } - },{ - name: "unknown", - version: 1.0, - directory: "["+BASENAME+"]/jax", - extensionDir: "["+BASENAME+"]/extensions" - }); - - /***********************************/ - - BASE.InputJax = JAX.Subclass({ - Register: function (mimetype) { - if (!BASE.Hub.config.inputJax) {HUB.config.inputJax = {}} - HUB.config.inputJax[mimetype] = this; - } - },{ - version: 1.0, - directory: JAX.directory+"/input", - extensionDir: JAX.extensionDir - }); - - /***********************************/ - - BASE.OutputJax = JAX.Subclass({ - Register: function (mimetype) { - if (!HUB.config.outputJax) {HUB.config.outputJax = {}} - if (!HUB.config.outputJax[mimetype]) {HUB.config.outputJax[mimetype] = []} - HUB.config.outputJax[mimetype].push(this); - }, - Remove: function (jax) {} - },{ - version: 1.0, - directory: JAX.directory+"/output", - extensionDir: JAX.extensionDir, - fontDir: "["+BASENAME+"]/fonts" - }); - - /***********************************/ - - BASE.ElementJax = JAX.Subclass({ - inputJax: null, - outputJax: null, - inputID: null, - originalText: "", - mimeType: "", - - Text: function (text,callback) { - this.outputJax.Remove(this); - var script = this.SourceElement(); - if (script.firstChild) { - if (script.firstChild.nodeName !== "#text") {script.text = text} - else {script.firstChild.nodeValue = text} - } else {try {script.innerHTML = text} catch(err) {script.text = text}} - script.MathJax.state = this.STATE.UPDATE; - HUB.Update(script,callback); - }, - Reprocess: function (callback) { - var script = this.SourceElement(); - script.MathJax.state = this.STATE.UPDATE; - HUB.Reprocess(script,callback); - }, - Remove: function () { - this.outputJax.Remove(this); - HUB.signal.Post(["Remove Math",this.inputID]); // wait for this to finish? - this.Detach(); - }, - - SourceElement: function () {return document.getElementById(this.inputID)}, - - Attach: function (script,inputJax) { - var jax = script.MathJax.elementJax; - if (script.MathJax.state === this.STATE.UPDATE) { - jax.Clone(this); - } else { - jax = script.MathJax.elementJax = this; - if (script.id) {this.inputID = script.id} - else {script.id = this.inputID = BASE.ElementJax.GetID(); this.newID = 1} - } - jax.originalText = (script.text == "" ? script.innerHTML : script.text); - jax.inputJax = inputJax; - }, - Detach: function () { - var script = this.SourceElement(); if (!script) return; - try {delete script.MathJax} catch(err) {script.MathJax = null} - if (this.newID) {script.id = ""} - }, - Clone: function (jax) { - for (var id in this) { - if (!this.hasOwnProperty(id)) continue; - if (typeof(jax[id]) === 'undefined' && id !== 'newID') {delete this[id]} - } - for (var id in jax) { - if (!this.hasOwnProperty(id)) continue; - if (typeof(this[id]) === 'undefined' || (this[id] !== jax[id] && id !== 'inputID')) - {this[id] = jax[id]} - } - } - },{ - version: 1.0, - directory: JAX.directory+"/element", - extensionDir: JAX.extensionDir, - ID: 0, // jax counter (for IDs) - STATE: { - PENDING: 1, // script is identified as math but not yet processed - PROCESSED: 2, // script has been processed - UPDATE: 3 // elementJax should be updated - }, - - GetID: function () {this.ID++; return "MathJax-Element-"+this.ID}, - Subclass: function () { - var obj = JAX.Subclass.apply(this,arguments); - obj.loadComplete = this.prototype.loadComplete; - return obj; - } - }); - BASE.ElementJax.prototype.STATE = BASE.ElementJax.STATE; - -})("MathJax"); - -/**********************************************************/ - -(function (BASENAME) { - var BASE = window[BASENAME]; - if (!BASE) {BASE = window[BASENAME] = {}} - - var HUB = BASE.Hub; var STARTUP = HUB.Startup; var CONFIG = HUB.config; - var HEAD = document.getElementsByTagName("head")[0]; - if (!HEAD) {HEAD = document.childNodes[0]}; - var scripts = (document.documentElement || document).getElementsByTagName("script"); - var namePattern = new RegExp("(^|/)"+BASENAME+"\\.js$"); - for (var i = scripts.length-1; i >= 0; i--) { - if (scripts[i].src.match(namePattern)) { - STARTUP.script = scripts[i].innerHTML; - CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*$/,''); - break; - } - } - BASE.Ajax.config = CONFIG; - - var BROWSERS = { - isMac: (navigator.platform.substr(0,3) === "Mac"), - isPC: (navigator.platform.substr(0,3) === "Win"), - isMSIE: (document.all != null && !window.opera), - isFirefox: (document.ATTRIBUTE_NODE != null && window.directories != null), - isSafari: (navigator.vendor != null && navigator.vendor.match(/Apple/) != null && !navigator.omniWebString), - isOpera: (window.opera != null && window.opera.version != null), - isChrome: (navigator.vendor != null && navigator.vendor.match(/Google/) != null), - isKonqueror: (window.hasOwnProperty && window.hasOwnProperty("konqueror")), - versionAtLeast: function (v) { - var bv = (this.version).split('.'); v = (new String(v)).split('.'); - for (var i = 0, m = v.length; i < m; i++) - {if (bv[i] != v[i]) {return parseInt(bv[i]||"0") >= parseInt(v[i])}} - return true; - }, - Select: function (choices) { - var browser = choices[HUB.Browser]; - if (browser) {return browser(HUB.Browser)} - return null; - } - }; - - var AGENT = navigator.userAgent - .replace(/^Mozilla\/(\d+\.)+\d+ /,"") // remove initial Mozilla, which is never right - .replace(/[a-z][-a-z0-9._: ]+\/\d+[^ ]*-[^ ]*\.([a-z][a-z])?\d+ /i,"") // remove linux version - .replace(/Gentoo |Ubuntu\/(\d+\.)*\d+ (\([^)]*\) )?/,""); // special case for these - - HUB.Browser = HUB.Insert(HUB.Insert(new String("Unknown"),{version: "0.0"}),BROWSERS); - for (var browser in BROWSERS) {if (BROWSERS.hasOwnProperty(browser)) { - if (BROWSERS[browser] && browser.substr(0,2) === "is") { - browser = browser.slice(2); - if (browser === "Mac" || browser === "PC") continue; - HUB.Browser = HUB.Insert(new String(browser),BROWSERS); - var VERSION = new RegExp( - ".*(Version)/((?:\\d+\\.)+\\d+)|" + // for Safari and Opera10 - ".*("+browser+")"+(browser == "MSIE" ? " " : "/")+"((?:\\d+\\.)*\\d+)|"+ // for one of the main browser - "(?:^|\\(| )([a-z][-a-z0-9._: ]+)/((?:\\d+\\.)+\\d+)"); // for unrecognized browser - var MATCH = VERSION.exec(AGENT) || ["","","","unknown","0.0"]; - HUB.Browser.name = (MATCH[1] == "Version" ? browser : (MATCH[3] || MATCH[5])); - HUB.Browser.version = MATCH[2] || MATCH[4] || MATCH[6]; - break; - } - }}; - - // - // Initial browser-specific info (e.g., touch up version or name) - // - HUB.Browser.Select({ - Safari: function (browser) { - var v = parseInt((String(browser.version).split("."))[0]); - if (v >= 526) {browser.version = "4.0"} - else if (v >= 525) {browser.version = "3.1"} - else if (v > 500) {browser.version = "3.0"} - else if (v > 400) {browser.version = "2.0"} - else if (v > 85) {browser.version = "1.0"} - }, - Firefox: function (browser) { - if (browser.version === "0.0" && navigator.product === "Gecko" && navigator.productSub) { - var date = navigator.productSub.substr(0,8); - if (date >= "20090630") {browser.version = "3.5"} - else if (date >= "20080617") {browser.version = "3.0"} - else if (date >= "20061024") {browser.version = "2.0"} - } - }, - Opera: function (browser) {browser.verion = opera.version()} - }); - HUB.Browser.Select(MathJax.Message.browsers); - - BASE.CallBack.Queue( - ["Post",STARTUP.signal,"Begin"], - ["Config",STARTUP], - ["Styles",STARTUP], - ["Jax",STARTUP], - ["Extensions",STARTUP], - STARTUP.onLoad(), - ["Browser",STARTUP], - function () {MathJax.isReady = true}, // indicates that MathJax is ready to process math - ["Typeset",STARTUP], - ["Post",STARTUP.signal,"End"] - ); - -})("MathJax"); - -} - -/**********************************************************/ diff --git a/lib/gollum/frontend/public/javascript/MathJax/README.txt b/lib/gollum/frontend/public/javascript/MathJax/README.txt deleted file mode 100644 index 2ee90b96..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/README.txt +++ /dev/null @@ -1,480 +0,0 @@ -OVERVIEW: - -MathJax (TM) is an open source, Ajax-based math display solution designed -with a goal of consolidating advances in many web technologies in a -single definitive math-on-the-web platform supporting all major -browsers. - -Some of the main features of MathJax include: - - o High-quality display of LaTeX and MathML math notation in HTML pages - - o Supported in most browsers with no plug-ins, extra fonts, or special - setup for the reader - - o Easy for authors, flexible for publishers, extensible for developers - - o Supports math accessibility, cut and paste interoperability and other - advanced functionality - - o Powerful API for integration with other web applications - -See http://www.mathjax.org/ for additional details. - - -INSTALLATION: - -MathJax can be used on a web server to support mathematics in your -public web pages, or it can be used locally from your hard disk for -your private pages. To use MathJax in either way, you will need to -obtain a copy of MathJax (see below) and its font package. These two -are separate pieces because the fonts are not likely to change often, -while the main code will be updated fairly regularly. - -Obtaining MathJax from SourceForge via SVN: - -The easiest way to obtain MathJax and keep it up-to-date is to use the -subversion program (svn) to check it out from the MathJax project at -SourceForge.net. The page - - http://sourceforge.net/projects/mathjax/develop - -lists the command you need to use to obtain a copy of MathJax via svn. -Once you have checked out a version of MathJax, you will find that it -includes a file called "fonts.zip" in the top-level directory. You -will need to unpack that file in order to complete the installation of -MathJax. It will create a fonts directory that contains the web fonts -and images fonts used by MathJax to support users who do not have math -fonts installed on their computers. Once you have checked out -MathJax, you will need to move the MathJax directory to your web -server in a location that is convenient for your use. - -Obtaining MathJax from SourceForge as an archive file: - -You can obtain MathJax from the MathJax project at SourceForge via -the link - - http://sourceforge.net/projects/mathjax/files/ - -where you will need to download a copy of the MathJax ZIP file (for -the current version) and the MathJax-webfonts ZIP file. Unpack the -MathJax ZIP file first, and then unpack the MathJax-webfonts ZIP file -into that. That should produce a fonts directory in the MathJax -folder (and MathJax/fonts should contain an HTML-CSS directory). The -fonts directory contains web fonts and image fonts used by MathJax to -support users who do not have math fonts installed on their -computers. Once you have unpacked both archives, you can move the -MathJax directory to your web server in a location that is convenient -for your use. - - -TESTING MATHJAX: - -Once you have MathJax installed, you can use the files in the -MathJax/test directory to test that your installation is working -properly. You can also use it to test if your version of MathJax -needs updating. If you have checked out MathJax using subversion -(svn), you can simply use "svn status" to see if your installation -needs to be updated, and "svn update" to get any updates. - - -USING MATHJAX IN A WEB PAGE: - -To use MathJax in a web page, you need to load MathJax.js near the top of -the document (preferably in the document HEAD). A SCRIPT tag like - - - -will do it if you have MathJax at the top level of your web server. -When called in this form, MathJax can be configured through the file -MathJax/config/MathJax.js, which contains the parameters that control -MathJax. There are comments in this file that explain what each of -the parameters does, so look there for details. - -Alternatively, you can configure MathJax in-line within your web page -(avoiding an extra file transfer). To do that, place the -configuration information within the SCRIPT tag itself, as in the -following example: - - - -which loads the tex2jax preprocessor and an extension that causes TeX -errors to show the original TeX code rather than an error message, -specifies the input and output jax (input format is TeX and output -format is HTML/CSS), configures the tex2jax preprocessor to allow -dollar signs to delimit inline-math as well as \(...\), and forces the -HTML/CSS output to use the MathJax TeX fonts (in particular, the STIX -fonts won't be used.) - -If you configure MathJax in this fashion, the MathJax/config/MathJax.js -file is not loaded, and your in-line configuration is used instead. -Note that you can include any of the parameters from the -config/MathJax.js file (and in fact any arbitrary JavaScript as well). - -With the default configuration, MathJax runs the tex2jax preprocessor -to look for TeX-style mathematics delimiters as a means of identifying -the mathematics on the page. This uses \(...\) to mark in-line -mathematics and \[...\] or $$...$$ for displayed mathematics. LaTeX -environments can also mark mathematics, as in -\begin{equation}...\end{equation}. Once the preprocessor runs, -MathJax will typeset the mathematics on the page. - -Note that there can not be HTML tags within the math delimiters (other -than
) as TeX-formatted math does not include HTML tags. Also, -since the mathematics is initially given as text on the page, you need -to be careful that your mathematics doesn't look like HTML tags to the -browser (which parses the page before MathJax gets to see it). In -particular, that means that you have to be careful about things like -less-than and greater-than signs (<,>), and ampersands (&), which have -special meaning to the browsers. For example, - - ... when $x using TeX-like syntax: - - ... when $x \lt y$ we have ... - -Keep in mind that the browser interprets your text before MathJax -does. - - -MATHJAX WITH NO PREPROCESSOR: - -The usual way to use MathJax is with the tex2jax preprocessor, but if -you are generating web pages via some other preprocessor of your own, -you may wish to bypass the tex2math preprocessing and mark the -mathematics in your page directly. This avoids an extra file -transfer, the time involed in running the tex2jax preprocessor, and -the issues involving less-than, greater-than, and ampersand discussed -in the section above. - -When MathJax processes a page, it looks for mathematics stored in -special SCRIPT tags. These are - - - -for in-line math, and - - - -for displayed math, where the contents of the SCRIPT tags are TeX or -LaTeX mathematics. Since SCRIPT tags can include less-than, -greater-than, and ampersand characters, this neatly avoids the problem -that these cause when you use the tex2jax preprocessor. - -Unfortunately, this method introduces a problem of its own, due to a -bug in Internet Explorer. The problem is that IE incorrectly removes -blank spaces from the page in order to avoid what it considers to be -multiple spaces in a row. In particular, if there is a space both -before and after a tag that IE thinks does not insert content into the -page, it removes one of the two blanks. Because SCRIPT tags don't -get displayed, IE will remove one of the spaces, so - - ... when we have ... - -will become "...whenx < y we have..." in the output, with no space -between the "when" and the "x". Because the space is removed before -MathJax runs, MathJax has no way to recover the missing space, as it -simply is no longer part of the page as far as IE is concerned. - -MathJax provides two different mechanisms to avoid this problem. One -is to add a prefix or postfix for the mathematics tags, which is text -that you insert before or after the tag that MathJax will remove when -it processes the tag. Patterns for the prefix and postfix are given -in the "preJax" and "postJax" parameters of the MathJax.Hub.Config() -command (see the MathJax/config/MathJax.js file for more details). -For example, setting - - preJax: "@@" - -would mean that - - ... when @@ we have ... - -would produce ".. when x < y we have ..." properly typeset. (One need -not use both a preJax and postJax, as one is enough, but both are -provided so that you can use either or both in combination.) Note, -however, that the "@@" in this example will be displayed as part of -the page until MathJax processes the mathematics and replaces the -preJax with the typeset mathematics. This may cause visual confusion -that disturbs your readers. It might be better to use something like -"[math]" as the text for the preJax, since this may make more sense to -your readers. Because the pre- and postJax are regular expression -patterns (not litteral strings), you will need to handle this -carefully because [ and ] have special meaning in regular expressions. -Use - - preJax: "\\[math\\]" - -to make preJax be "\[math\]" (the double backslashes are to quote the -backslash as part of the JavaScript string, and the resulting \[ and -\] quote these characters in the resulting regular expression so they -are treated as literal characters rather than having their special -meansings in regular expressions). - -The other approach is to use a "MathJax preview" before the SCRIPT -tag. This is a means by which you can supply an alternative form for -the mathematics to be displayed prior to when MathJax runs. You -could use a simple HTML version (if the mathematics is simple enough), -or an IMG tag, or just the raw TeX code, for example. Note that the -mathematics between the SCRIPT tags is NOT displayed (since it is a -script, not text), so the preview can be used to show the TeX code up -until the mathematics is typeset. (The tex2jax preprocessor does that -automatically, for example). To make a preview, include a SPAN with -CLASS="MathJax_Preview" as the element just before the math SCRIPT -tag, e.g., - - ... when x < y we have ... - -This circumvents the Internet Explorer space-removal bug, while at the -same time giving your readers a preview of the mathematics until -MathJax has been able to typeset it. - -You can use CSS styles to make it easier to distinguish the preview -from the rest of the text. For example: - - - -would cause the preview mathematics to be shown in red, with a border -and 2px of padding between the border and the preview text. - - -MATHJAX WITH MATHML: - -In addition to the TeX input processor, MathJax includes a MathML input -processor, so that you can specify your mathematics using MathML rather -than TeX, if you wish. (The input and output processors are called "jax".) -As with the TeX input jax, there is a pre-processor that looks for MathML -in your web page (XHTML or HTML) and converts it to the form needed by -MathJax. The preprocessor is called "mml2jax.js", and the associated input -jax is "input/MathML". You can request these in your -MathJax/config/MathJax.js file, or in line, as in the following example: - - - -When it is used, the mml2jax preprocessor will scan your page for -tags and insert them into the ... and
...
tags with -class="math", then you need to do a little more work for MathJax. These -need to be replaced by and tags. See also the section -MATHJAX WITHOUT A PREPROCESSOR above for some caveats concerning an -Internet Explorer bug that you will need to be aware of. - -If you are using a preprocessor of your own to write your HTML files, it -should be a simple matter of changing over the inserted tags to the ones -that MathJax needs. If you have existing HTML pages, however, and don't -want to (or can't) reprocess them, then you may want to use the jsMath2jax -preprocessor, which will first convert the span and div tags to script tags -before running MathJax. To do so, include "jsMath2jax.js" in your -extensions array, as in the following example: - - - -You should remove all the jsMath calls, like jsMath.Process(), or script -tags that load jsMath extensions. Only the single script tag that loads -MathJax should be needed. - -If you have created pages with dynamic mathematics that is processed by -jsMath on the fly, that is handled somewhat differently with MathJax. -MathJax has a richer API for dealing with mathematics on the page, but the -documentation is not yet ready. There have been discussions in the MathJax -on-line forums that deal with this topic, so your best bet right now is to -read them. - - -COMMUNITY: - -The main MathJax website is www.mathjax.org, and it includes announcements -and other important information. MathJax also has a SourceForge site at -http://sourceforge.net/projects/mathjax/ that includes the download site -for the MathJax distribution, the bug-tracker for reporting bugs, and -several user forums for asking questions and getting assistance: - - Bug tracker: http://sourceforge.net/tracker/?group_id=261188&atid=1240827 - MathJax Help: http://sourceforge.net/projects/mathjax/forums/forum/948701 - Open Discussion: http://sourceforge.net/projects/mathjax/forums/forum/948700 - -Before reporting a bug, please check that it has not already been reported. -Also, please use the bug tracker for reporting bugs rather than the help -forum. diff --git a/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js b/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js deleted file mode 100644 index 1f073d55..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js +++ /dev/null @@ -1,63 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/MMLorHTML.js - * - * Chooses between the NativeMML and HTML-CSS output jax depending - * on the capabilities of the browser and configuration settings - * of the page. - * - * This file should be added to the config array when configuring - * MathJax. Note that if you include this, you should NOT include - * an output jax in the jax array (it will be added for you by - * this file). - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (HUB) { - var CONFIG = MathJax.Hub.Insert({prefer: "HTML"},(MathJax.Hub.config.MMLorHTML||{})); - - var MINBROWSERVERSION = { - Firefox: 3.0, - Opera: 9.52, - MSIE: 6.0, - Chrome: 0.3, - Safari: 2.0, - Konqueror: 4.0 - }; - - var canUseHTML = (HUB.Browser.version === "0.0" || - HUB.Browser.versionAtLeast(MINBROWSERVERSION[HUB.Browser]||0.0)); - - var MathPlayer; try {new ActiveXObject("MathPlayer.Factory.1"); MathPlayer = true} catch(err) {MathPlayer = false}; - - var canUseMML = (HUB.Browser.isFirefox && HUB.Browser.versionAtLeast("1.5")) || - (HUB.Browser.isMSIE && MathPlayer) || - (HUB.Browser.isOpera && HUB.Browser.versionAtLeast("9.52")); - if (canUseHTML || canUseMML) { - if (canUseMML && (CONFIG.prefer === "MML" || !canUseHTML)) - {HUB.config.jax.push("output/NativeMML")} else {HUB.config.jax.push("output/HTML-CSS")} - } else { - HUB.PreProcess.disabled = true; - HUB.prepareScripts.disabled = true; - MathJax.Message.Set("Your browser does not support MathJax",null,4000); - HUB.Startup.signal.Post("MathJax not supported"); - } - -})(MathJax.Hub); - -MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js b/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js deleted file mode 100644 index fb1408c9..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js +++ /dev/null @@ -1,351 +0,0 @@ -/************************************************************* - * - * MathJax/config/MathJax.js - * - * This configuration file is loaded when there is no explicit - * configuration script in the - // - // would display "[math]" in place of the math until MathJax is able to typeset it. - // - preRemoveClass: "MathJax_Preview", - - // - // This value controls whether the "Processing Math: nn%" message are displayed - // in the lower left-hand corner. Set to "false" to prevent those messages (though - // file loading and other messages will still be shown). - // - showProcessingMessages: true, - - // - // Normally MathJax will perform its starup commands (loading of - // configuration, styles, jax, and so on) as soon as it can. If you - // expect to be doing additional configuration on the page, however, you - // may want to have it wait until the page's onload hander is called. If so, - // set this to "onload". - // - delayStartupUntil: "none", - - // - // Normally MathJax will typeset the mathematics on the page as soon as - // the page is loaded. If you want to delay that process, in which case - // you will need to call MathJax.Hub.Typeset() yourself by hand, set - // this value to true. - // - skipStartupTypeset: false, - - //============================================================================ - // - // These parameters control the tex2jax preprocessor (when you have included - // "tex2jax.js" in the extensions list above). - // - tex2jax: { - - // - // The Id of the element to be processed (defaults to full document) - // - element: null, - - // - // The delimiters that surround in-line math expressions. The first in each - // pair is the initial delimiter and the second is the terminal delimiter. - // Comment out any that you don't want, but be sure there is no extra - // comma at the end of the last item in the list -- some browsers won't - // be able to handle that. - // - inlineMath: [ -// ['$','$'], // uncomment this for standard TeX math delimiters - ['\\(','\\)'] - ], - - // - // The delimiters that surround displayed math expressions. The first in each - // pair is the initial delimiter and the second is the terminal delimiter. - // Comment out any that you don't want, but be sure there is no extra - // comma at the end of the last item in the list -- some browsers won't - // be able to handle that. - // - displayMath: [ - ['$$','$$'], - ['\\[','\\]'] - ], - - // - // Set to "true" to allow \$ to produce a dollar without starting in-line - // math mode. If you uncomment the ['$','$'] line above, you should change - // this to true so that you can insert plain dollar signs into your documents - // - processEscapes: false, - - // - // Controls whether tex2jax processes LaTeX environments outside of math - // mode. Set to "false" to prevent processing of environments except within - // math mode. - // - processEnvironments: true, - - // - // Controls whether tex2jax inserts MathJax_Preview spans so that the TeX - // code is visible until it is processed by MathJax. Set to "false" to prevent - // the previews from being inserted (the math will simply disappear until it is - // typeset). - // - previewTeX: true - - }, - - //============================================================================ - // - // These parameters control the jsMath2jax preprocessor (when you have included - // "jsMath2jax.js" in the extensions list above). - // - jsMath2jax: { - // - // Controls whether jsMath2tex inserts MathJax_Preview elements so that - // the TeX code is visible until it is processed by MathJax. Set to "false" - // to prevent previews from being inserted (the math will simply disappear - // until it is typeset). - // - previewTeX: true - }, - - //============================================================================ - // - // These parameters control the TeX input jax. - // - TeX: { - - // - // This specifies the side on which \tag{} macros will place the tags. - // Set to "left" to place on the left-hand side. - // - TagSide: "right", - - // - // This is the amound of indentation (from right or left) for the tags. - // - TagIndent: ".8em", - - // - // This is the width to use for the multline environment - // - MultLineWidth: "85%" - }, - - //============================================================================ - // - // These parameters control the MathML inupt jax. - // - MathML: { - // - // This specifies whether to use TeX spacing or MathML spacing when the - // HTML-CSS output jax is used. - // - useMathMLspacing: false - }, - - //============================================================================ - // - // These parameters control the HTML-CSS output jax. - // - "HTML-CSS": { - - // - // This controls the global scaling of mathematics as compared to the - // surrounding text. Values between 100 and 133 are usually good choices. - // - scale: 100, - - // - // This is a list of the fonts available to MathJax in the - // MathJax/Fonts/HTML-CSS directory. If you don't want MathJax - // to use one of these fonts (when available on the user's computer), - // remove it from the list. Use an empty list to force the use of - // web fonts (or image fonts). - // - availableFonts: ["STIX","TeX"], - - // - // This is the preferred font to use when more than one of those - // listed above is available. - // - preferredFont: "TeX", - - // - // This is the web-based font to use when none of the fonts listed - // above are available on the user's computer. Note that currently - // only the TeX font is available in a web-based form. Set this to - // - // webFont: null, - // - // if you want to prevent the use of web-based fonts. - // - webFont: "TeX", - - // - // This is the font to use for image fallback mode (when none of the - // fonts listed above are available and the browser doesn't support - // web-fonts via the @font-face CSS directive). Note that currently - // only the TeX font is available as an image font. Set this to - // - // imageFont: null, - // - // if you want to prevent the use of image fonts (e.g., you have not - // installed the image fonts on your server). In this case, only - // browsers that support web-based fonts will be able to view your pages - // without having the fonts installed on the client computer. The browsers - // that support web-based fonts include: IE6 and later, Chrome, Safari3.1 - // and above, Firefox3.5 and later, and Opera10 and later. Note that - // Firefox3.0 is NOT on this list, so without image fonts, FF3.0 users - // will be required to to download and install either the STIX fonts or the - // MathJax TeX fonts. - // - imageFont: "TeX", - - // - // This allows you to define or modify the styles used to display - // various math elements created by MathJax. - // - // Example: - // styles: { - // ".MathJax_Display": { - // "text-align": "left", // left aligned displayed math - // "margin-left": "3em", // with 3em indentation - // }, - // ".MathJax_Preview": { - // "font-size": "80%", // preview uses a smaller font - // color: "red" // and is in red - // } - // } - // - styles: {} - }, - - //============================================================================ - // - // These parameters control the MMLorHTML configuration file. - // NOTE: if you add MMLorHTML.js to the config array above, - // you must REMOVE the output jax from the jax array. - // - MMLorHTML: { - // - // The output jax that is to be preferred when both are possible - // (set to "MML" for native MathML, "HTML" for MathJax's HTML-CSS output jax). - // - prefer: "HTML" - } -}); - -MathJax.Ajax.loadComplete("[MathJax]/config/MathJax.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/config/local/local.js b/lib/gollum/frontend/public/javascript/MathJax/config/local/local.js deleted file mode 100644 index 7bf733cb..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/config/local/local.js +++ /dev/null @@ -1,37 +0,0 @@ -/************************************************************* - * - * MathJax/config/local/local.js - * - * Include changes and configuration local to your installation - * in this file. For example, common macros can be defined here - * (see below). To use this file, add "local/local.js" to the - * config array in MathJax.js or your MathJax.Hub.Config() call. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { - var TEX = MathJax.InputJax.TeX; - - // place macros here. E.g.: - // TEX.Macro("R","{\\bf R}"); - // TEX.Macro("op","\\mathop{\\rm #1}",1); // a macro with 1 parameter - -}); - -MathJax.Ajax.loadComplete("[MathJax]/config/local/local.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js deleted file mode 100644 index 27df4df8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js +++ /dev/null @@ -1,376 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/TeX/AMSmath.js - * - * Implements AMS math environments and macros. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { - var MML = MathJax.ElementJax.mml; - var TEX = MathJax.InputJax.TeX; - var TEXDEF = TEX.Definitions; - var STACKITEM = TEX.Stack.Item; - - var COLS = function (W) {return W.join("em ") + "em"}; - - MathJax.Hub.Insert(TEXDEF,{ - macros: { - mathring: ['Accent','2DA'], // or 0x30A - - nobreakspace: 'Tilde', - negmedspace: ['Spacer',MML.LENGTH.NEGATIVEMEDIUMMATHSPACE], - negthickspace: ['Spacer',MML.LENGTH.NEGATIVETHICKMATHSPACE], - - intI: ['Macro','\\mathchoice{\\!}{}{}{}\\!\\!\\int'], -// iint: ['MultiIntegral','\\int\\intI'], // now in core TeX input jax -// iiint: ['MultiIntegral','\\int\\intI\\intI'], // now in core TeX input jax - iiiint: ['MultiIntegral','\\int\\intI\\intI\\intI'], - idotsint: ['MultiIntegral','\\int\\cdots\\int'], - - dddot: ['Macro','\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}}',1], - ddddot: ['Macro','\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}\\mathord{.}}',1], - - sideset: ['Macro','\\mathop{\\mathop{\\rlap{\\phantom{#3}}}\\nolimits#1\\!\\mathop{#3}\\nolimits#2}',3], - - boxed: ['Macro','\\fbox{$\\displaystyle{#1}$}',1], - - tag: 'HandleTag', - notag: 'HandleNoTag', - - substack: ['Macro','\\begin{subarray}{c}#1\\end{subarray}',1], - - injlim: ['Macro','\\mathop{\\rm inj\\,lim}'], - projlim: ['Macro','\\mathop{\\rm proj\\,lim}'], - varliminf: ['Macro','\\mathop{\\underline{\\rm lim}}'], - varlimsup: ['Macro','\\mathop{\\overline{\\rm lim}}'], - varinjlim: ['Macro','\\mathop{\\underrightarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}'], - varprojlim: ['Macro','\\mathop{\\underleftarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}'], - - DeclareMathOperator: 'HandleDeclareOp', - operatorname: 'HandleOperatorName', - - genfrac: 'Genfrac', - frac: ['Genfrac',"","","",""], - tfrac: ['Genfrac',"","","",1], - dfrac: ['Genfrac',"","","",0], - binom: ['Genfrac',"(",")","0em",""], - tbinom: ['Genfrac',"(",")","0em",1], - dbinom: ['Genfrac',"(",")","0em",0], - - cfrac: 'CFrac', - - shoveleft: ['HandleShove',MML.ALIGN.LEFT], - shoveright: ['HandleShove',MML.ALIGN.RIGHT], - - xrightarrow: ['xArrow',0x2192,5,6], - xleftarrow: ['xArrow',0x2190,7,3] - }, - - environment: { - align: ['AMSarray',null,true,true, 'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])], - 'align*': ['AMSarray',null,false,true, 'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])], - multline: ['Multline',null,true], - 'multline*': ['Multline',null,false], - split: ['AMSarray',null,false,false,'rl',COLS([5/18])], - gather: ['AMSarray',null,true,true, 'c'], - 'gather*': ['AMSarray',null,false,true, 'c'], - - alignat: ['AlignAt',null,true,true], - 'alignat*': ['AlignAt',null,false,true], - alignedat: ['AlignAt',null,false,false], - - aligned: ['Array',null,null,null,'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18]),".5em",'D'], - gathered: ['Array',null,null,null,'c',null,".5em",'D'], - - subarray: ['Array',null,null,null,null,COLS([0,0,0,0]),"0.1em",'S',1], - smallmatrix: ['Array',null,null,null,'c',COLS([1/3]),".2em",'S',1] - }, - - delimiter: { - '\\lvert': ['2223',{texClass:MML.TEXCLASS.OPEN}], - '\\rvert': ['2223',{texClass:MML.TEXCLASS.CLOSE}], - '\\lVert': ['2225',{texClass:MML.TEXCLASS.OPEN}], - '\\rVert': ['2225',{texClass:MML.TEXCLASS.CLOSE}] - } - }); - - - TEX.Parse.Augment({ - - /* - * Add the tag to the environment to be added to the table row later - */ - HandleTag: function (name) { - var arg = this.trimSpaces(this.GetArgument(name)); - if (arg === "*") {arg = this.GetArgument(name)} else {arg = "("+arg+")"} - if (this.stack.global.notag) - {TEX.Error(name+" not allowed in "+this.stack.global.notag+" environment")} - if (this.stack.global.tag) {TEX.Error("Multiple "+name)} - this.stack.global.tag = MML.mtd.apply(MML,this.InternalMath(arg)); - }, - HandleNoTag: function (name) { - if (this.stack.global.tag) {delete this.stack.global.tag} - }, - - /* - * Handle \DeclareMathOperator - */ - HandleDeclareOp: function (name) { - var limits = ""; - var cs = this.trimSpaces(this.GetArgument(name)); - if (cs == "*") { - limits = "\\limits"; - cs = this.trimSpaces(this.GetArgument(name)); - } - if (cs.charAt(0) == "\\") {cs = cs.substr(1)} - var op = this.GetArgument(name); - op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}'); - TEX.Definitions.macros[cs] = ['Macro','\\mathop{\\rm '+op+'}'+limits]; - }, - - HandleOperatorName: function (name) { - var limits = "\\nolimits"; - var op = this.trimSpaces(this.GetArgument(name)); - if (op == "*") { - limits = "\\limits"; - op = this.trimSpaces(this.GetArgument(name)); - } - op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}'); - this.string = '\\mathop{\\rm '+op+'}'+limits+" "+this.string.slice(this.i); - this.i = 0; - }, - - /* - * Record presence of \shoveleft and \shoveright - */ - HandleShove: function (name,shove) { - var top = this.stack.Top(); - if (top.type !== "multline" || top.data.length) {TEX.Error(name+" must come at the beginning of the line")} - top.data.shove = shove; - }, - - /* - * Handle \cfrac - */ - CFrac: function (name) { - var lr = this.trimSpaces(this.GetBrackets(name)), - num = this.GetArgument(name), - den = this.GetArgument(name); - var frac = MML.mfrac(TEX.Parse('\\strut\\textstyle{'+num+'}',this.stack.env).mml(), - TEX.Parse('\\strut\\textstyle{'+den+'}',this.stack.env).mml()); - lr = ({l:MML.ALIGN.LEFT, r:MML.ALIGN.RIGHT,"":""})[lr]; - if (lr == null) {TEX.Error("Illegal alignment specified in "+name)} - if (lr) {frac.numalign = frac.denomalign = lr} - this.Push(frac); - }, - - /* - * Implement AMS generalized fraction - */ - Genfrac: function (name,left,right,thick,style) { - if (left == null) {left = this.GetDelimiterArg(name)} else {left = this.convertDelimiter(left)} - if (right == null) {right = this.GetDelimiterArg(name)} else {right = this.convertDelimiter(right)} - if (thick == null) {thick = this.GetArgument(name)} - if (style == null) {style = this.trimSpaces(this.GetArgument(name))} - var num = this.ParseArg(name); - var den = this.ParseArg(name); - var frac = MML.mfrac(num,den); - if (thick !== "") {frac.linethickness = thick} - if (left || right) {frac = MML.mfenced(frac).With({open: left, close: right})} - if (style !== "") { - var STYLE = (["D","T","S","SS"])[style]; - if (STYLE == null) {TEX.Error("Bad math style for "+name)} - frac = MML.mstyle(frac); - if (STYLE === "D") {frac.displaystyle = true; frac.scriptlevel = 0} - else {frac.displaystyle = false; frac.scriptlevel = style - 1} - } - - this.Push(frac); - }, - - /* - * Implements multline environment (mostly handled through STACKITEM below) - */ - Multline: function (begin,numbered) { - this.Push(begin); - return STACKITEM.multline().With({ - arraydef: { - displaystyle: true, - rowspacing: ".5em", - width: TEX.config.MultLineWidth, columnwidth:"100%", - side: TEX.config.TagSide, - minlabelspacing: TEX.config.TagIndent - } - }); - }, - - /* - * Handle AMS aligned environments - */ - AMSarray: function (begin,numbered,taggable,align,spacing) { - this.Push(begin); - align = align.replace(/[^clr]/g,'').split('').join(' '); - align = align.replace(/l/g,'left').replace(/r/g,'right').replace(/c/g,'center'); - return STACKITEM.AMSarray(begin.name,numbered,taggable,this.stack).With({ - arraydef: { - displaystyle: true, - rowspacing: ".5em", - columnalign: align, - columnspacing: (spacing||"1em"), - rowspacing: "3pt", - side: TEX.config.TagSide, - minlabelspacing: TEX.config.TagIndent - } - }); - }, - - AlignAt: function (begin,numbered,taggable) { - var n = this.GetArgument("\\begin{"+begin.name+"}"); - if (n.match(/[^0-9]/)) {TEX.Error("Argument to \\begin{"+begin.name+"} must me a positive integer")} - align = ""; spacing = []; - while (n > 0) {align += "rl"; spacing.push("0em 0em"); n--} - spacing = spacing.join(" "); - if (taggable) {return this.AMSarray(begin,numbered,taggable,align,spacing)} - return this.Array(begin,null,null,align,spacing,".5em",'D'); - }, - - /* - * Handle multiple integrals (make a mathop if followed by limits) - */ - MultiIntegral: function (name,integral) { - var next = this.GetNext(); - if (next === "\\") { - var i = this.i; next = this.GetArgument(name); this.i = i; - if (next === "\\limits") { - if (name === "\\idotsint") {integral = "\\!\\!\\mathop{\\,\\,"+integral+"}"} - else {integral = "\\!\\!\\!\\mathop{\\,\\,\\,"+integral+"}"} - } - } - this.string = integral + " " + this.string.slice(this.i); - this.i = 0; - }, - - xArrow: function (name,chr,l,r) { - var def = {width: "+"+(l+r)+"mu", lspace: l+"mu"}; - var bot = this.GetBrackets(name), - top = this.ParseArg(name); - var arrow = MML.mo(MML.chars(String.fromCharCode(chr))).With({ - stretchy: true, texClass: MML.TEXCLASS.REL - }); - var mml = MML.munderover(arrow); - mml.SetData(mml.over,MML.mpadded(top).With(def).With({voffset:".15em"})); - if (bot) { - bot = TEX.Parse(bot,this.stack.env).mml() - mml.SetData(mml.under,MML.mpadded(bot).With(def).With({voffset:"-.24em"})); - } - this.Push(mml); - }, - - /* - * Get a delimiter or empty argument - */ - GetDelimiterArg: function (name) { - var c = this.trimSpaces(this.GetArgument(name)); - if (c == "") {return null} - if (!TEXDEF.delimiter[c]) {TEX.Error("Missing or unrecognized delimiter for "+name)} - return this.convertDelimiter(c); - } - }); - - /* - * Implement multline environment via a STACKITEM - */ - STACKITEM.multline = STACKITEM.array.Subclass({ - type: "multline", - EndEntry: function () { - var mtd = MML.mtd.apply(MML,this.data); - if (this.data.shove) {mtd.columnalign = this.data.shove} - this.row.push(mtd); - this.data = []; - }, - EndRow: function () { - if (this.row.length != 1) {TEX.Error("multline rows must have exactly one column")} - this.table.push(this.row); this.row = []; - }, - EndTable: function () { - this.SUPER(arguments).EndTable.call(this); - if (this.table.length) { - var m = this.table.length-1, i; - if (!this.table[0][0].columnalign) {this.table[0][0].columnalign = MML.ALIGN.LEFT} - if (!this.table[m][0].columnalign) {this.table[m][0].columnalign = MML.ALIGN.RIGHT} - var mtr = MML.mtr; - if (this.global.tag) { - this.table[0] = [this.global.tag].concat(this.table[0]); - delete this.global.tag; mtr = MML.mlabeledtr; - } - this.table[0] = mtr.apply(MML,this.table[0]); - for (i = 1, m = this.table.length; i < m; i++) - {this.table[i] = MML.mtr.apply(MML,this.table[i])} - } - } - }); - - STACKITEM.AMSarray = STACKITEM.array.Subclass({ - type: "AMSarray", - Init: function (name,numbered,taggable,stack) { - this.SUPER(arguments).Init.apply(this); - this.numbered = numbered; - this.save_notag = stack.global.notag; - stack.global.notag = (taggable ? null : name); - }, - EndRow: function () { - var mtr = MML.mtr; - if (this.global.tag) { - this.row = [this.global.tag].concat(this.row); - mtr = MML.mlabeledtr; - delete this.global.tag; - } - this.table.push(mtr.apply(MML,this.row)); this.row = []; - }, - EndTable: function () { - this.SUPER(arguments).EndTable.call(this); - this.global.notag = this.save_notag; - } - }); - - // - // Look for \tag on a formula and make an mtable to include it - // - STACKITEM.start.Augment({ - oldCheckItem: STACKITEM.start.prototype.checkItem, - checkItem: function (item) { - if (item.type === "stop") { - var mml = this.mmlData(); - if (this.global.tag) { - mml = MML.mtable(MML.mlabeledtr(this.global.tag,MML.mtd(mml))); - mml.side = TEX.config.TagSide; - mml.minlabelspacing = TEX.config.TagIndent; - delete this.global.tag; - } - return STACKITEM.mml(mml); - } - return this.SUPER(arguments).checkItem.call(this,item); - } - }); - - MathJax.Hub.Startup.signal.Post("TeX AMSmath Ready"); - -}); - -MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSmath.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js deleted file mode 100644 index 307f7cab..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js +++ /dev/null @@ -1,385 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/TeX/AMSsymbols.js - * - * Implements macros for accessing the AMS symbol fonts. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { - var MML = MathJax.ElementJax.mml; - - MathJax.Hub.Insert(MathJax.InputJax.TeX.Definitions,{ - - mathchar0mi: { - // Lowercase Greek letters - digamma: '03DD', - varkappa: '03F0', - - // Uppercase Greek letters - varGamma: ['0393',{mathvariant: MML.VARIANT.ITALIC}], - varDelta: ['0394',{mathvariant: MML.VARIANT.ITALIC}], - varTheta: ['0398',{mathvariant: MML.VARIANT.ITALIC}], - varLambda: ['039B',{mathvariant: MML.VARIANT.ITALIC}], - varXi: ['039E',{mathvariant: MML.VARIANT.ITALIC}], - varPi: ['03A0',{mathvariant: MML.VARIANT.ITALIC}], - varSigma: ['03A3',{mathvariant: MML.VARIANT.ITALIC}], - varUpsilon: ['03A5',{mathvariant: MML.VARIANT.ITALIC}], - varPhi: ['03A6',{mathvariant: MML.VARIANT.ITALIC}], - varPsi: ['03A8',{mathvariant: MML.VARIANT.ITALIC}], - varOmega: ['03A9',{mathvariant: MML.VARIANT.ITALIC}], - - // Hebrew letters - beth: '2136', - gimel: '2137', - daleth: '2138', - - // Miscellaneous symbols -// hbar: '0127', // in MathJax_Main - backprime: ['2035',{variantForm: true}], - hslash: ['210F',{variantForm: true}], - varnothing: ['2205',{variantForm: true}], - blacktriangle: '25B2', - triangledown: '25BD', - blacktriangledown: '25BC', - square: '25A1', - Box: '25A1', - blacksquare: '25A0', - lozenge: '25CA', - Diamond: '25CA', - blacklozenge: '29EB', - circledS: ['24C8',{mathvariant: MML.VARIANT.NORMAL}], - bigstar: '2605', -// angle: '2220', // in MathJax_Main - sphericalangle: '2222', - measuredangle: '2221', - nexists: '2204', - complement: '2201', - mho: '2127', - eth: ['00F0',{mathvariant: MML.VARIANT.NORMAL}], - Finv: '2132', - diagup: '2571', - Game: '2141', - diagdown: '2572', - Bbbk: ['006B',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], - - yen: '00A5', - circledR: '00AE', - checkmark: '2713', - maltese: '2720' - }, - - mathchar0mo: { - // Binary operators - dotplus: '2214', - ltimes: '22C9', - smallsetminus: ['2216',{variantForm: true}], - rtimes: '22CA', - Cap: '22D2', - doublecap: '22D2', - leftthreetimes: '22CB', - Cup: '22D3', - doublecup: '22D3', - rightthreetimes: '22CC', - barwedge: '22BC', - curlywedge: '22CF', - veebar: '22BB', - curlyvee: '22CE', - doublebarwedge: '2A5E', - boxminus: '229F', - circleddash: '229D', - boxtimes: '22A0', - circledast: '229B', - boxdot: '22A1', - circledcirc: '229A', - boxplus: '229E', - centerdot: '22C5', - divideontimes: '22C7', - intercal: '22BA', - - // Binary relations - leqq: '2266', - geqq: '2267', - leqslant: '2A7D', - geqslant: '2A7E', - eqslantless: '2A95', - eqslantgtr: '2A96', - lesssim: '2272', - gtrsim: '2273', - lessapprox: '2A85', - gtrapprox: '2A86', - approxeq: '224A', - lessdot: '22D6', - gtrdot: '22D7', - lll: '22D8', - llless: '22D8', - ggg: '22D9', - gggtr: '22D9', - lessgtr: '2276', - gtrless: '2277', - lesseqgtr: '22DA', - gtreqless: '22DB', - lesseqqgtr: '2A8B', - gtreqqless: '2A8C', - doteqdot: '2251', - Doteq: '2251', - eqcirc: '2256', - risingdotseq: '2253', - circeq: '2257', - fallingdotseq: '2252', - triangleq: '225C', - backsim: '223D', - thicksim: ['223C',{variantForm: true}], - backsimeq: '22CD', - thickapprox: '2248', - subseteqq: '2AC5', - supseteqq: '2AC6', - Subset: '22D0', - Supset: '22D1', - sqsubset: '228F', - sqsupset: '2290', - preccurlyeq: '227C', - succcurlyeq: '227D', - curlyeqprec: '22DE', - curlyeqsucc: '22DF', - precsim: '227E', - succsim: '227F', - precapprox: '2AB7', - succapprox: '2AB8', - vartriangleleft: '22B2', - lhd: '22B2', - vartriangleright: '22B3', - rhd: '22B3', - trianglelefteq: '22B4', - unlhd: '22B4', - trianglerighteq: '22B5', - unrhd: '22B5', - vDash: '22A8', - Vdash: '22A9', - Vvdash: '22AA', - smallsmile: '2323', - shortmid: ['2223',{variantForm: true}], - smallfrown: '2322', - shortparallel: ['2225',{variantForm: true}], - bumpeq: '224F', - between: '226C', - Bumpeq: '224E', - pitchfork: '22D4', - varpropto: '221D', - backepsilon: '220D', - blacktriangleleft: '25C0', - blacktriangleright: '25B6', - therefore: '2234', - because: '2235', - eqsim: '2242', - vartriangle: ['25B3',{variantForm: true}], - Join: '22C8', - - // Negated relations - nless: '226E', - ngtr: '226F', - nleq: '2270', - ngeq: '2271', - nleqslant: ['2A87',{variantForm: true}], - ngeqslant: ['2A88',{variantForm: true}], - nleqq: ['2270',{variantForm: true}], - ngeqq: ['2271',{variantForm: true}], - lneq: '2A87', - gneq: '2A88', - lneqq: '2268', - gneqq: '2269', - lvertneqq: ['2268',{variantForm: true}], - gvertneqq: ['2269',{variantForm: true}], - lnsim: '22E6', - gnsim: '22E7', - lnapprox: '2A89', - gnapprox: '2A8A', - nprec: '2280', - nsucc: '2281', - npreceq: ['22E0',{variantForm: true}], - nsucceq: ['22E1',{variantForm: true}], - precneqq: '2AB5', - succneqq: '2AB6', - precnsim: '22E8', - succnsim: '22E9', - precnapprox: '2AB9', - succnapprox: '2ABA', - nsim: '2241', - ncong: '2246', - nshortmid: ['2224',{variantForm: true}], - nshortparallel: ['2226',{variantForm: true}], - nmid: '2224', - nparallel: '2226', - nvdash: '22AC', - nvDash: '22AD', - nVdash: '22AE', - nVDash: '22AF', - ntriangleleft: '22EA', - ntriangleright: '22EB', - ntrianglelefteq: '22EC', - ntrianglerighteq: '22ED', - nsubseteq: '2288', - nsupseteq: '2289', - nsubseteqq: ['2288',{variantForm: true}], - nsupseteqq: ['2289',{variantForm: true}], - subsetneq: '228A', - supsetneq: '228B', - varsubsetneq: ['228A',{variantForm: true}], - varsupsetneq: ['228B',{variantForm: true}], - subsetneqq: '2ACB', - supsetneqq: '2ACC', - varsubsetneqq: ['2ACB',{variantForm: true}], - varsupsetneqq: ['2ACC',{variantForm: true}], - - - // Arrows - leftleftarrows: '21C7', - rightrightarrows: '21C9', - leftrightarrows: '21C6', - rightleftarrows: '21C4', - Lleftarrow: '21DA', - Rrightarrow: '21DB', - twoheadleftarrow: '219E', - twoheadrightarrow: '21A0', - leftarrowtail: '21A2', - rightarrowtail: '21A3', - looparrowleft: '21AB', - looparrowright: '21AC', - leftrightharpoons: '21CB', - rightleftharpoons: ['21CC',{variantForm: true}], - curvearrowleft: '21B6', - curvearrowright: '21B7', - circlearrowleft: '21BA', - circlearrowright: '21BB', - Lsh: '21B0', - Rsh: '21B1', - upuparrows: '21C8', - downdownarrows: '21CA', - upharpoonleft: '21BF', - upharpoonright: '21BE', - downharpoonleft: '21C3', - restriction: '21BE', - multimap: '22B8', - downharpoonright: '21C2', - leftrightsquigarrow: '21AD', - rightsquigarrow: '21DD', - leadsto: '21DD', - dashrightarrow: '21E2', - dashleftarrow: '21E0', - - // Negated arrows - nleftarrow: '219A', - nrightarrow: '219B', - nLeftarrow: '21CD', - nRightarrow: '21CF', - nleftrightarrow: '21AE', - nLeftrightarrow: '21CE' - }, - - delimiter: { - // corners - "\\ulcorner": '250C', - "\\urcorner": '2510', - "\\llcorner": '2514', - "\\lrcorner": '2518' - }, - - macros: { - implies: ['Macro','\\;\\Longrightarrow\\;'], - impliedby: ['Macro','\\;\\Longleftarrow\\;'] - } - - }); - - var REL = MML.mo.OPTYPES.REL; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - infix: { - '\u2322': REL, // smallfrown - '\u2323': REL, // smallsmile - '\u25B3': REL, // vartriangle - '\uE006': REL, // nshortmid - '\uE007': REL, // nshortparallel - '\uE00C': REL, // lvertneqq - '\uE00D': REL, // gvertneqq - '\uE00E': REL, // ngeqq - '\uE00F': REL, // ngeqslant - '\uE010': REL, // nleqslant - '\uE011': REL, // nleqq - '\uE016': REL, // nsubseteqq - '\uE017': REL, // varsubsetneqq - '\uE018': REL, // nsupseteqq - '\uE019': REL, // varsupsetneqq - '\uE01A': REL, // varsubsetneq - '\uE01B': REL, // varsupsetneq - '\uE04B': REL, // npreceq - '\uE04F': REL // nsucceq - } - } - }); - - if (MathJax.Hub.Browser.isMSIE) { - MathJax.InputJax.TeX.Definitions.mathchar0mi.digamma = ['03DC',{variantForm: true}]; - MathJax.InputJax.TeX.Definitions.mathchar0mi.varkappa = ['03F0',{variantForm: true}]; - } -}); - -MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { - var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; - var TEXDEF = MathJax.InputJax.TeX.Definitions; - var VARIANT = HTMLCSS.FONTDATA.VARIANT; - if (HTMLCSS.fontInUse === "TeX") { - VARIANT["-TeX-variant"] = { - fonts: ["MathJax_AMS","MathJax_Main","MathJax_Size1"], - remap: {0x2268: 0xE00C, 0x2269: 0xE00D, 0x2270: 0xE011, 0x2271: 0xE00E, - 0x2A87: 0xE010, 0x2A88: 0xE00F, 0x2224: 0xE006, 0x2226: 0xE007, - 0x2288: 0xE016, 0x2289: 0xE018, 0x228A: 0xE01A, 0x228B: 0xE01B, - 0x2ACB: 0xE017, 0x2ACC: 0xE019, 0x03DC: 0xE008, 0x03F0: 0xE009} - }; - if (HTMLCSS.msieIE6) { - MathJax.Hub.Insert(VARIANT["-TeX-variant"].remap,{ - 0x2190:[0xE2C1,"-WinIE6"], 0x2192:[0xE2C0,"-WinIE6"], - 0x2223:[0xE2C2,"-WinIE6"], 0x2225:[0xE2C3,"-WinIE6"], - 0x223C:[0xE2C4,"-WinIE6"], 0x25B3:[0xE2D3,"-WinIE6"] - }); - } - } - if (HTMLCSS.fontInUse === "STIX") { - TEXDEF.mathchar0mi.varnothing = '2205'; - TEXDEF.mathchar0mi.hslash = '210F'; - TEXDEF.mathchar0mi.blacktriangle = '25B4'; - TEXDEF.mathchar0mi.blacktriangledown = '25BE'; - TEXDEF.mathchar0mi.square = '25FB'; - TEXDEF.mathchar0mi.blacksquare = '25FC'; - TEXDEF.mathchar0mi.vartriangle = ['25B3',{mathsize:"71%"}]; - TEXDEF.mathchar0mi.triangledown = ['25BD',{mathsize:"71%"}]; - TEXDEF.mathchar0mo.blacktriangleleft = '25C2'; - TEXDEF.mathchar0mo.blacktriangleright = '25B8'; - TEXDEF.mathchar0mo.smallsetminus = '2216'; - MathJax.Hub.Insert(VARIANT["-STIX-variant"],{ - remap: {0x2A87: 0xE010, 0x2A88: 0xE00F, 0x2270: 0xE011, 0x2271: 0xE00E, - 0x22E0: 0xE04B, 0x22E1: 0xE04F, 0x2288: 0xE016, 0x2289: 0xE018} - }); - } - - MathJax.Hub.Startup.signal.Post("TeX AMSsymbols Ready"); - -}); - - -MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js deleted file mode 100644 index 54e271d0..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js +++ /dev/null @@ -1,43 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/TeX/autobold.js - * - * Adds \boldsymbol around mathematics that appears in a section - * of an HTML page that is in bold. - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { - var TEX = MathJax.InputJax.TeX; - var oldPrefilter = TEX.prefilterMath; - - TEX.prefilterMath = function (math,displaystyle,script) { - var span = script.parentNode.insertBefore(document.createElement("span"),script); - span.visibility = "hidden"; - span.style.fontFamily = "Times, serif"; - span.appendChild(document.createTextNode("ABCXYZabcxyz")); - var W = span.offsetWidth; - span.style.fontWeight = "bold"; - if (span.offsetWidth == W) {math = "\\bf {"+math+"}"} - span.parentNode.removeChild(span); - return oldPrefilter.call(TEX,math,displaystyle,script); - }; - - MathJax.Hub.Startup.signal.Post("TeX autobold Ready"); - -}); - -MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/autobold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js deleted file mode 100644 index 5b9d312e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js +++ /dev/null @@ -1,109 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/TeX/boldsymbol.js - * - * Implements the \boldsymbol{...} command to make bold - * versions of all math characters (not just variables). - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { - var MML = MathJax.ElementJax.mml; - var TEX = MathJax.InputJax.TeX; - var TEXDEF = TEX.Definitions; - - var BOLDVARIANT = {}; - BOLDVARIANT[MML.VARIANT.NORMAL] = MML.VARIANT.BOLD; - BOLDVARIANT[MML.VARIANT.ITALIC] = MML.VARIANT.BOLDITALIC; - BOLDVARIANT[MML.VARIANT.FRAKTUR] = MML.VARIANT.BOLDFRAKTUR; - BOLDVARIANT[MML.VARIANT.SCRIPT] = MML.VARIANT.BOLDSCRIPT; - BOLDVARIANT[MML.VARIANT.SANSSERIF] = MML.VARIANT.BOLDSANSSERIF; - BOLDVARIANT["-tex-caligraphic"] = "-tex-caligraphic-bold"; - BOLDVARIANT["-tex-oldstyle"] = "-tex-oldstyle-bold"; - - TEXDEF.macros.boldsymbol = 'Boldsymbol'; - - TEX.Parse.Augment({ - mmlToken: function (token) { - if (this.stack.env.boldsymbol) { - var variant = token.Get("mathvariant"); - if (variant == null) {token.mathvariant = MML.VARIANT.BOLD} - else {token.mathvariant = (BOLDVARIANT[variant]||variant)} - } - return token; - }, - - Boldsymbol: function (name) { - var boldsymbol = this.stack.env.boldsymbol, - font = this.stack.env.font; - this.stack.env.boldsymbol = true; - this.stack.env.font = null; - var mml = this.ParseArg(name); - this.stack.env.font = font; - this.stack.env.boldsymbol = boldsymbol; - this.Push(mml); - } - }); - -}); - -MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { - var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; - var TEX = MathJax.InputJax.TeX; - var FONTS = HTMLCSS.FONTDATA.FONTS; - var VARIANT = HTMLCSS.FONTDATA.VARIANT; - - if (HTMLCSS.fontInUse === "TeX") { - FONTS["MathJax_Caligraphic-bold"] = "Caligraphic/Bold/Main.js"; - - VARIANT["-tex-caligraphic-bold"] = - {fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"], - offsetA: 0x41, variantA: "bold-italic"}; - VARIANT["-tex-oldstyle-bold"] = - {fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"]}; - - if (HTMLCSS.msieCheckGreek && HTMLCSS.Font.testFont({ - family:"MathJax_Greek", weight:"bold", style:"italic", testString: HTMLCSS.msieCheckGreek - })) { - VARIANT["bold-italic"].offsetG = 0x391; VARIANT["bold-italic"].variantG = "-Greek-Bold-Italic"; - VARIANT["-Greek-Bold-Italic"] = {fonts:["MathJax_Greek-bold-italic"]}; - FONTS["MathJax_Greek-bold-italic"] = "Greek/BoldItalic/Main.js"; - } - - if (MathJax.Hub.Browser.isChrome && !MathJax.Hub.Browser.versionAtLeast("5.0")) { - VARIANT["-tex-caligraphic-bold"].remap = {0x54: [0xE2F0,"-WinChrome"]}; - } - - } else if (HTMLCSS.fontInUse === "STIX") { - VARIANT["-tex-caligraphic-bold"] = { - fonts:["STIXGeneral-bold-italic","STIXNonUnicode-bold-italic","STIXNonUnicode","STIXGeneral","STIXSizeOneSym"], - offsetA: 0xE247, noLowerCase: 1 - }; - VARIANT["-tex-oldstyle-bold"] = { - fonts:["STIXGeneral-bold","STIXNonUnicode-bold","STIXGeneral","STIXSizeOneSym"], offsetN: 0xE263, - remap: {0xE264: 0xE267, 0xE265: 0xE26B, 0xE266: 0xE26F, 0xE267: 0xE273, - 0xE268: 0xE277, 0xE269: 0xE27B, 0xE26A: 0xE27F, 0xE26B: 0xE283, - 0xE26C: 0xE287} - }; - } - - MathJax.Hub.Startup.signal.Post("TeX boldsymbol Ready"); - -}); - -MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/boldsymbol.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js deleted file mode 100644 index 1f3d76fa..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js +++ /dev/null @@ -1,65 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/TeX/mathchoice.js - * - * Implements the \mathchoice macro (rarely used) - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { - var MML = MathJax.ElementJax.mml; - var TEX = MathJax.InputJax.TeX; - var TEXDEF = TEX.Definitions; - - TEXDEF.macros.mathchoice = 'MathChoice'; - - TEX.Parse.Augment({ - - MathChoice: function (name) { - var D = this.ParseArg(name), - T = this.ParseArg(name), - S = this.ParseArg(name), - SS = this.ParseArg(name); - this.Push(MML.TeXmathchoice(D,T,S,SS)); - } - - }); - - MML.TeXmathchoice = MML.mbase.Subclass({ - type: "TeXmathchoice", - choice: function () { - var values = this.getValues("displaystyle","scriptlevel"); - if (values.scriptlevel > 0) {return Math.min(3,values.scriptlevel + 1)} - return (values.displaystyle ? 0 : 1); - }, - setTeXclass: function (prev) {return this.Core().setTeXclass(prev)}, - isSpacelike: function () {return this.Core().isSpacelike()}, - isEmbellished: function () {return this.Core().isEmbellished()}, - Core: function () {return this.data[this.choice()]}, - toHTML: function (span) { - span = this.HTMLcreateSpan(span); - span.bbox = this.Core().toHTML(span).bbox; - return span; - } - }); - - MathJax.Hub.Startup.signal.Post("TeX mathchoice Ready"); - -}); - -MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/mathchoice.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js deleted file mode 100644 index 177385e6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js +++ /dev/null @@ -1,185 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/TeX/newcommand.js - * - * Implements the \newcommand, \newenvironment and \def - * macros, and is loaded automatically when needed. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { - var TEX = MathJax.InputJax.TeX; - var TEXDEF = TEX.Definitions; - - MathJax.Hub.Insert(TEXDEF,{ - macros: { - newcommand: 'NewCommand', - newenvironment: 'NewEnvironment', - def: 'MacroDef' - } - }) - - TEX.Parse.Augment({ - - /* - * Implement \newcommand{\name}[n]{...} - */ - NewCommand: function (name) { - var cs = this.trimSpaces(this.GetArgument(name)), - n = this.trimSpaces(this.GetBrackets(name)), - def = this.GetArgument(name); - if (n === '') {n = null} - if (cs.charAt(0) === "\\") {cs = cs.substr(1)} - if (!cs.match(/^(.|[a-z]+)$/i)) {TEX.Error("Illegal control sequence name for "+name)} - if (n != null && !n.match(/^[0-9]+$/)) {TEX.Error("Illegal number of parameters specified in "+name)} - TEXDEF.macros[cs] = ['Macro',def,n]; - }, - - /* - * Implement \newenvironment{name}[n]{begincmd}{endcmd} - */ - NewEnvironment: function (name) { - var env = this.trimSpaces(this.GetArgument(name)), - n = this.trimSpaces(this.GetBrackets(name)), - bdef = this.GetArgument(name), - edef = this.GetArgument(name); - if (n === '') {n = null} - if (n != null && !n.match(/^[0-9]+$/)) {TEX.Error("Illegal number of parameters specified in "+name)} - TEXDEF.environment[env] = ['BeginEnv','EndEnv',bdef,edef,n]; - }, - - /* - * Implement \def command - */ - MacroDef: function (name) { - var cs = this.GetCSname(name), - params = this.GetTemplate(name,"\\"+cs), - def = this.GetArgument(name); - if (!(params instanceof Array)) {TEXDEF.macros[cs] = ['Macro',def,params]} - else {TEXDEF.macros[cs] = ['MacroWithTemplate',def,params[0],params[1]]} - }, - - /* - * Get a CS name or give an error - */ - GetCSname: function (cmd) { - var c = this.GetNext(); - if (c !== "\\") {TEX.Error("\\ must be followed by a control sequence")} - var cs = this.trimSpaces(this.GetArgument(cmd)); - return cs.substr(1); - }, - - /* - * Get a \def parameter template - */ - GetTemplate: function (cmd,cs) { - var c, params = [], n = 0; - c = this.GetNext(); var i = this.i; - while (this.i < this.string.length) { - c = this.GetNext(); - if (c === '#') { - if (i !== this.i) {params[n] = this.string.substr(i,this.i-i)} - c = this.string.charAt(++this.i); - if (!c.match(/^[1-9]$/)) {TEX.Error("Illegal use of # in template for "+cs)} - if (parseInt(c) != ++n) {TEX.Error("Parameters for "+cs+" must be numbered sequentially")} - i = this.i+1; - } else if (c === '{') { - if (i !== this.i) {params[n] = this.string.substr(i,this.i-i)} - if (params.length > 0) {return [n,params]} else {return n} - } - this.i++; - } - TEX.Error("Missing replacement string for definition of "+cmd); - }, - - /* - * Process a macro with a parameter template - */ - MacroWithTemplate: function (name,text,n,params) { - if (n) { - var args = [], c = this.GetNext(); - if (params[0] && !this.MatchParam(params[0])) - {TEX.Error("Use of "+name+" doesn't match its definition")} - for (var i = 0; i < n; i++) {args.push(this.GetParameter(name,params[i+1]))} - text = this.SubstituteArgs(args,text); - } - this.string = this.AddArgs(text,this.string.slice(this.i)); - this.i = 0; - }, - - /* - * Process a user-defined environment - */ - BeginEnv: function (begin,bdef,edef,n) { - if (n) { - var args = []; - for (var i = 0; i < n; i++) {args.push(this.GetArgument("\\begin{"+name+"}"))} - bdef = this.SubstituteArgs(args,bdef); - edef = this.SubstituteArgs(args,edef); - } - begin.edef = edef; - this.string = this.AddArgs(bdef,this.string.slice(this.i)); this.i = 0; - return begin; - }, - EndEnv: function (begin,row) { - this.string = this.AddArgs(begin.edef,this.string.slice(this.i)); this.i = 0 - return row; - }, - - /* - * Find a single parameter delimited by a trailing template - */ - GetParameter: function (name,param) { - if (param == null) {return this.GetArgument(name)} - var i = this.i, j = 0, hasBraces = 0; - while (this.i < this.string.length) { - if (this.string.charAt(this.i) === '{') { - if (this.i === i) {hasBraces = 1} - this.GetArgument(name); j = this.i - i; - } else if (this.MatchParam(param)) { - if (hasBraces) {i++; j -= 2} - return this.string.substr(i,j); - } else { - this.i++; j++; hasBraces = 0; - } - } - TEX.Error("Runaway argument for "+name+"?"); - }, - - /* - * Check if a template is at the current location. - * (The match must be exact, with no spacing differences. TeX is - * a little more forgiving than this about spaces after macro names) - */ - MatchParam: function (param) { - if (this.string.substr(this.i,param.length) !== param) {return 0} - this.i += param.length; - return 1; - } - - }); - - TEX.Environment = function (name) { - TEXDEF.environment[name] = ['BeginEnv','EndEnv'].concat([].slice.call(arguments,1)); - } - - MathJax.Hub.Startup.signal.Post("TeX newcommand Ready"); - -}); - -MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/newcommand.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js deleted file mode 100644 index c40cb0ea..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js +++ /dev/null @@ -1,169 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/TeX/noErrors.js - * - * Prevents the TeX error messages from being displayed and shows the - * original TeX code instead. You can configure whether the dollar signs - * are shown or not for in-line math, and whether to put all the TeX on - * one line or use multiple-lines. - * - * To configure this extension, use - * - * MathJax.Hub.Configure({ - * TeX: { - * noErrors: { - * inlineDelimiters: ["",""], // or ["$","$"] or ["\\(","\\)"] - * multiLine: true, // false for TeX on all one line - * style: { - * "font-family": "serif", - * "font-size": "80%", - * "color": "black", - * "border": "1px solid" - * // add any additional CSS styles that you want - * // (be sure there is no extra comma at the end of the last item) - * } - * } - * } - * }); - * - * Display-style math is always shown in multi-line format, and without - * delimiters, as it will already be set off in its own centered - * paragraph, like standard display mathematics. - * - * The default settings place the invalid TeX in a multi-line box with a - * black border. If you want it to look as though the TeX is just part of - * the paragraph, use - * - * MathJax.Hub.Configure({ - * TeX: { - * noErrors: { - * inlineDelimiters: ["$","$"], // or ["",""] or ["\\(","\\)"] - * multiLine: false, - * style: { - * "font-size": "normal", - * "border": "" - * } - * } - * } - * }); - * - * You may also wish to set the font family, as the default is "serif" - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function () { - - // - // The configuration defaults, augmented by the user settings - // - MathJax.Extension["TeX/noErrors"] = { - config: MathJax.Hub.Insert({ - multiLine: true, - inlineDelimiters: ["",""], // or use ["$","$"] or ["\\(","\\)"] - style: { - "font-family": "serif", - "font-size": "80%", - "color": "black", - "border": "1px solid" - } - },((MathJax.Hub.config.TeX||{}).noErrors||{})) - }; - - var CONFIG = MathJax.Extension["TeX/noErrors"].config; - var NBSP = String.fromCharCode(0xA0); - - MathJax.Hub.Config({ - TeX: { - Augment: { - // - // Make error messages be the original TeX code - // Mark them as errors and multi-line or not, and for - // multi-line TeX, make spaces non-breakable (to get formatting right) - // - formatError: function (err,math,displaystyle,script) { - var delim = CONFIG.inlineDelimiters; - var multiLine = (displaystyle || CONFIG.multiLine); - if (!displaystyle) {math = delim[0] + math + delim[1]} - if (multiLine) {math = math.replace(/ /g,NBSP)} else {math = math.replace(/\n/g," ")} - return MathJax.ElementJax.mml.merror(math).With({isError:true, multiLine: multiLine}); - } - } - }, - - "HTML-CSS": { - styles: { - ".MathJax .merror": MathJax.Hub.Insert({ - "font-style": null, - "background-color": null, - "vertical-align": (MathJax.Hub.Browser.isMSIE && CONFIG.multiLine ? "-2px" : "") - },CONFIG.style) - } - } - }); - -})(); - -MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { - var MML = MathJax.ElementJax.mml; - var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; - var CONFIG = MathJax.Extension["TeX/noErrors"].config; - - // - // Override math toHTML routine so that error messages - // don't have the clipping and other unneeded overhead - // - var math_toHTML = MML.math.prototype.toHTML; - MML.math.Augment({ - toHTML: function (span) { - if (this.data[0] && this.data[0].data[0] && this.data[0].data[0].isError) { - return this.data[0].data[0].toHTML(span); - } - return math_toHTML.call(this,span); - } - }); - - // - // Override merror toHTML routine so that it puts out the - // TeX code in an inlin-block with line breaks as in the original - // - MML.merror.Augment({ - toHTML: function (span) { - span = this.HTMLcreateSpan(span); - if (this.multiLine) {span.style.display = "inline-block"} - var text = this.data[0].data.join("").split(/\n/); - for (var i = 0, m = text.length; i < m; i++) { - HTMLCSS.addText(span,text[i]); - if (i !== m-1) {HTMLCSS.addElement(span,"br")} - } - var HD = HTMLCSS.getHD(span.parentNode), W = HTMLCSS.getW(span.parentNode); - if (m > 1) { - var H = (HD.h + HD.d)/2, x = HTMLCSS.TeX.x_height/2; - var scale = HTMLCSS.config.styles[".MathJax .merror"]["font-size"]; - if (scale && scale.match(/%/)) {x *= parseInt(scale)/100} - span.parentNode.style.verticalAlign = HTMLCSS.Em(HD.d+(x-H)); - HD.h = x + H; HD.d = H - x; - } - span.bbox = {h: HD.h, d: HD.d, w: W, lw: 0, rw: W}; - return span; - } - }); - - MathJax.Hub.Startup.signal.Post("TeX noErrors Ready"); -}); - -MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js deleted file mode 100644 index ef55644f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js +++ /dev/null @@ -1,131 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/TeX/unicode.js - * - * Implements the \unicode extension to TeX to allow arbitrary unicode - * code points to be entered into the TeX file. You can specify - * the height and depth of the character (the width is determined by - * the browser), and the default font from which to take the character. - * - * Examples: - * \unicode{65} % the character 'A' - * \unicode{x41} % the character 'A' - * \unicode[.55,0.05]{x22D6} % less-than with dot, with height .55 and depth 0.05 - * \unicode[.55,0.05][Geramond]{x22D6} % same taken from Geramond font - * \unicode[Garamond]{x22D6} % same, but with default height, depth of .8,.2 - * - * Once a size and font are provided for a given conde point, they need - * not be specified again in subsequent \unicode calls for that character. - * Note that a font list can be given, but Internet Explorer has a buggy - * implementation of font-family where it only looks in the first - * available font and if the glyph is not in that, it does not look at - * later fonts, but goes directly to the default font as set in the - * Internet-Options/Font panel. For this reason, the default font list is - * "STIXGeneral,'Arial Unicode MS'", so if the user has STIX fonts, the - * symbol will be taken from that (almost all the symbols are in - * STIXGeneral), otherwise Arial Unicode MS is tried. - * - * To configure the default font list, use - * - * MathJax.Hub.Configure({ - * TeX: { - * unicode: { - * fonts: "STIXGeneral,'Arial Unicode MS'" - * } - * } - * }); - * - * The result of \unicode will have TeX class ORD (e.g., it will act like a - * variable). Use \mathbin, \mathrel, etc, to specify a different class. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// -// The configuration defaults, augmented by the user settings -// -MathJax.Extension["TeX/unicode"] = { - unicode: {}, - config: MathJax.Hub.Insert({ - fonts: "STIXGeneral,'Arial Unicode MS'" - },((MathJax.Hub.config.TeX||{}).unicode||{})) -}; - -MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { - var TEX = MathJax.InputJax.TeX; - var MML = MathJax.ElementJax.mml; - var FONTS = MathJax.Extension["TeX/unicode"].config.fonts; - var UNICODE = MathJax.Extension["TeX/unicode"].unicode; - - // - // Add \unicode macro - // - TEX.Definitions.macros.unicode = 'Unicode'; - // - // Implementation of \unicode in parser - // - TEX.Parse.Augment({ - Unicode: function(name) { - var HD = this.GetBrackets(name), font; - if (HD) { - HD = HD.replace(/ /g,""); - if (HD.match(/^(\d+(\.\d*)?|\.\d+),(\d+(\.\d*)?|\.\d+)$/)) - {HD = HD.split(/,/); font = this.GetBrackets(name)} else {font = HD; HD = null} - } - var n = this.trimSpaces(this.GetArgument(name)), - N = parseInt(n.match(/^x/) ? "0"+n : n); - UNICODE[N] = [800,200,500,0,500,{isUnknown:true, isUnicode:true, font:FONTS}]; - if (HD) { - UNICODE[N][0] = Math.floor(HD[0]*1000); - UNICODE[N][1] = Math.floor(HD[1]*1000); - } - var variant = this.stack.env.font, def = {}; - if (font) { - def.fontfamily = font; - if (variant) { - if (variant.match(/bold/)) {def.fontweight = "bold"} - if (variant.match(/italic/)) {def.fontstyle = "italic"} - } - UNICODE[N][5].font = font+","+FONTS - } else if (variant) {def.mathvariant = variant} - this.Push(MML.mtext(MML.entity("#"+n)).With(def)); - } - }); - -}); - -MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { - var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; - var UNICODE = MathJax.Extension["TeX/unicode"].unicode; - - // - // Override lookupChar to add unicode character to font - // - var save_lookupChar = HTMLCSS.lookupChar; - HTMLCSS.Augment({ - lookupChar: function (variant,n) { - var font = save_lookupChar.call(this,variant,n); - if (font[n][5] && font[n][5].isUnknown && UNICODE[n]) {font[n] = UNICODE[n]} - return font; - } - }); - - MathJax.Hub.Startup.signal.Post("TeX unicode Ready"); - -}); - -MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/unicode.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js deleted file mode 100644 index fbaf436c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js +++ /dev/null @@ -1,53 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/TeX/verb.js - * - * Implements the \verb|...| command for including text verbatim - * (with no processing of macros or special characters). - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { - var MML = MathJax.ElementJax.mml; - var TEX = MathJax.InputJax.TeX; - var TEXDEF = TEX.Definitions; - - TEXDEF.macros.verb = 'Verb'; - - TEX.Parse.Augment({ - - /* - * Implement \verb|...| - */ - Verb: function (name) { - var c = this.GetNext(); var start = ++this.i; - if (c == "" ) {TEX.Error(name+" requires an argument")} - while (this.i < this.string.length && this.string.charAt(this.i) != c) {this.i++} - if (this.i == this.string.length) - {TEX.Error("Can't find closing delimiter for "+name)} - var text = this.string.slice(start,this.i); this.i++; - this.Push(MML.mtext(text).With({mathvariant:MML.VARIANT.MONOSPACE})); - } - - }); - - MathJax.Hub.Startup.signal.Post("TeX verb Ready"); - -}); - -MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/verb.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js deleted file mode 100644 index 110fc9bf..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js +++ /dev/null @@ -1,77 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/jsMath2jax.js - * - * Implements a jsMath to Jax preprocessor that locates jsMath-style - * ... and
...
tags - * and replaces them with SCRIPT tags for processing by MathJax. - * (Note: use the tex2jax preprocessor to convert TeX delimiters or - * custom delimiters to MathJax SCRIPT tags. This preprocessor is - * only for the SPAN and DIV form of jsMath delimiters). - * - * To use this preprocessor, include "jsMath2jax.js" in the extensions - * array in your config/MathJax.js file, or the MathJax.Hub.Config() call - * in your HTML document. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Extension.jsMath2jax = { - config: { - previewTeX: true, // Set to false to prevent preview strings from being inserted - }, - - PreProcess: function (element) { - if (!this.configured) { - MathJax.Hub.Insert(this.config,(MathJax.Hub.config.jsMath2jax||{})); - this.previewClass = MathJax.Hub.config.preRemoveClass; - this.configured = true; - } - if (typeof(element) === "string") {element = document.getElementById(element)} - if (!element) {element = this.config.element || document.body} - var span = element.getElementsByTagName("span"), i, m; - for (i = 0, m = span.length; i < m; i++) - {if (String(span[i].className).match(/\bmath\b/)) {this.ConvertMath(span[i],"")}} - var div = element.getElementsByTagName("div"); - for (i = 0, m = div.length; i < m; i++) - {if (String(div[i].className).match(/\bmath\b/)) {this.ConvertMath(div[i],"; mode=display")}} - }, - - ConvertMath: function (node,mode) { - var parent = node.parentNode, - script = this.CreateMathTag(mode,node.innerHTML); - if (node.nextSibling) {parent.insertBefore(script,node.nextSibling)} - else {parent.appendChild(script)} - if (this.config.previewTeX) { - node.className = String(node.className).replace(/\bmath\b/,this.previewClass); - } else { - parent.removeChild(node); - } - }, - - CreateMathTag: function (mode,tex) { - var script = document.createElement("script"); - script.type = "math/tex" + mode; - if (MathJax.Hub.Browser.isMSIE) {script.text = tex} - else {script.appendChild(document.createTextNode(tex))} - return script; - } - -}; - -MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.jsMath2jax]); -MathJax.Ajax.loadComplete("[MathJax]/extensions/jsMath2jax.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js deleted file mode 100644 index 48a7f0da..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js +++ /dev/null @@ -1,101 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/mml2jax.js - * - * Implements the MathML to Jax preprocessor that locates nodes - * within the text of a document and replaces them with SCRIPT tags - * for processing by MathJax. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Extension.mml2jax = { - config: { - element: null // The ID of the element to be processed - // (defaults to full document) - }, - MMLnamespace: "http://www.w3.org/1998/Math/MathML", - - PreProcess: function (element) { - if (!this.configured) { - MathJax.Hub.Insert(this.config,(MathJax.Hub.config.mml2jax||{})); - this.configured = true; - } - if (typeof(element) === "string") {element = document.getElementById(element)} - if (!element) {element = this.config.element || document.body} - var math = element.getElementsByTagName("math"); - if (math.length === 0 && element.getElementsByTagNameNS) - {math = element.getElementsByTagNameNS(this.MMLnamespace,"math")} - if (this.msieMathTagBug) { - for (var i = math.length-1; i >= 0; i--) { - if (math[i].nodeName === "MATH") {this.msieProcessMath(math[i])} - else {this.ProcessMath(math[i])} - } - } else { - for (var i = math.length-1; i >= 0; i--) {this.ProcessMath(math[i])} - } - }, - - ProcessMath: function (math) { - var parent = math.parentNode; - var script = document.createElement("script"); - script.type = "math/mml"; - parent.insertBefore(script,math); - if (this.msieScriptBug) { - var html = math.outerHTML; var prefix; - html = html.replace(/<\?import .*?>/,"").replace(/<(\/?)m:/g,"<$1").replace(/ /g," "); - script.text = html; - parent.removeChild(math); - } else { - script.appendChild(math); - } - }, - - msieProcessMath: function (math) { - var parent = math.parentNode; - var script = document.createElement("script"); - script.type = "math/mml"; - parent.insertBefore(script,math); - var mml = ""; - while (math && math.nodeName !== "/MATH") { - if (math.nodeName === "#text" || math.nodeName === "#comment") - {mml += math.nodeValue} else {mml += this.toLowerCase(math.outerHTML)} - var node = math; - math = math.nextSibling; - node.parentNode.removeChild(node); - } - script.text = mml + ""; - }, - toLowerCase: function (string) { - var parts = string.split(/"/); - for (var i = 0, m = parts.length; i < m; i += 2) {parts[i] = parts[i].toLowerCase()} - return parts.join('"'); - } - -}; - -MathJax.Hub.Browser.Select({ - MSIE: function (browser) { - MathJax.Hub.Insert(MathJax.Extension.mml2jax,{ - msieScriptBug: true, - msieMathTagBug: true - }) - } -}); - -MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax]); -MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js deleted file mode 100644 index 11114e3d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js +++ /dev/null @@ -1,242 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/tex2jax.js - * - * Implements the TeX to Jax preprocessor that locates TeX code - * within the text of a document and replaces it with SCRIPT tags - * for processing by MathJax. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Extension.tex2jax = { - config: { - element: null, // The ID of the element to be processed - // (defaults to full document) - - inlineMath: [ // The start/stop pairs for in-line math - ['$','$'], // (comment out any you don't want, or add your own, but - ['\\(','\\)'] // be sure that you don't have an extra comma at the end) - ], - - displayMath: [ // The start/stop pairs for display math - ['$$','$$'], // (comment out any you don't want, or add your own, but - ['\\[','\\]'] // be sure that you don't have an extra comma at the end) - ], - - processEscapes: 0, // set to 1 to allow \$ to produce a dollar without - // starting in-line math mode - - processEnvironments: 1, // set to 1 to process \begin{xxx}...\end{xxx} outside - // of math mode - - previewTeX: 1 // set to 0 to not insert MathJax_Preview spans - - }, - - PreProcess: function (element) { - if (!this.configured) { - MathJax.Hub.Insert(this.config,(MathJax.Hub.config.tex2jax||{})); - this.configured = true; - } - if (typeof(element) === "string") {element = document.getElementById(element)} - if (!element) {element = this.config.element || document.body} - this.createPatterns(); - this.scanElement(element,element.nextSibling); - }, - - createPatterns: function () { - var starts = [], i, m, config = this.config; - this.match = {}; - for (i = 0, m = config.inlineMath.length; i < m; i++) { - starts.push(this.patternQuote(config.inlineMath[i][0])); - this.match[config.inlineMath[i][0]] = { - mode: "", - end: config.inlineMath[i][1], - pattern: this.endPattern(config.inlineMath[i][1]) - }; - } - for (i = 0, m = config.displayMath.length; i < m; i++) { - starts.push(this.patternQuote(config.displayMath[i][0])); - this.match[config.displayMath[i][0]] = { - mode: "; mode=display", - end: config.displayMath[i][1], - pattern: this.endPattern(config.displayMath[i][1]) - }; - } - this.start = new RegExp( - starts.sort(this.sortLength).join("|") + - (config.processEnvironments ? "|\\\\begin\\{([^}]*)\\}" : "") + - (config.processEscapes ? "|\\\\*\\\\\\\$" : ""), "g" - ); - }, - - patternQuote: function (s) {return s.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,'\\$1')}, - - endPattern: function (end) { - return new RegExp(this.patternQuote(end)+"|\\\\.","g"); - }, - - sortLength: function (a,b) { - if (a.length !== b.length) {return b.length - a.length} - return (a == b ? 0 : (a < b ? -1 : 1)); - }, - - scanElement: function (element,stop,ignore) { - var cname, tname; - while (element && element != stop) { - if (element.nodeName.toLowerCase() === '#text') { - if (!ignore) {element = this.scanText(element)} - } else { - cname = (typeof(element.className) === "undefined" ? "" : element.className); - tname = (typeof(element.tagName) === "undefined" ? "" : element.tagName); - if (typeof(cname) !== "string") {cname = String(cname)} // jsxgraph uses non-string class names! - if (element.firstChild && !cname.match(/(^| )MathJax/) && - !tname.match(/^(script|noscript|style|textarea|pre|code)$/i)) { - ignore = (ignore || cname.match(/(^| )tex2jax_ignore( |$)/)) && - !cname.match(/(^| )tex2jax_process( |$)/); - this.scanElement(element.firstChild,stop,ignore); - } - } - if (element) {element = element.nextSibling} - } - }, - - scanText: function (element) { - if (element.nodeValue.replace(/\s+/,'') == '') {return element} - var match, prev; - this.search = {start: true}; - this.pattern = this.start; - while (element) { - this.pattern.lastIndex = 0; - while (element && element.nodeName.toLowerCase() === '#text' && - (match = this.pattern.exec(element.nodeValue))) { - if (this.search.start) {element = this.startMatch(match,element)} - else {element = this.endMatch(match,element)} - } - if (this.search.matched) {element = this.encloseMath(element)} - if (element) { - do {prev = element; element = element.nextSibling} - while (element && (element.nodeName.toLowerCase() === 'br' || - element.nodeName.toLowerCase() === '#comment')); - if (!element || element.nodeName !== '#text') {return prev} - } - } - return element; - }, - - startMatch: function (match,element) { - var delim = this.match[match[0]]; - if (delim != null) { // a start delimiter - this.search = { - end: delim.end, mode: delim.mode, - open: element, olen: match[0].length, opos: this.pattern.lastIndex - match[0].length - }; - this.switchPattern(delim.pattern); - } else if (match[0].substr(0,6) === "\\begin") { // \begin{...} - this.search = { - end: "\\end{"+match[1]+"}", mode: "; mode=display", - open: element, olen: 0, opos: this.pattern.lastIndex - match[0].length, - isBeginEnd: true - }; - this.switchPattern(this.endPattern(this.search.end)); - } else { // escaped dollar signs - var dollar = match[0].replace(/\\(.)/g,'$1'); - element.nodeValue = element.nodeValue.substr(0,match.index) + dollar + - element.nodeValue.substr(match.index + match[0].length); - this.pattern.lastIndex -= match[0].length - dollar.length; - } - return element; - }, - - endMatch: function (match,element) { - if (match[0] == this.search.end) { - this.search.close = element; - this.search.cpos = this.pattern.lastIndex; - this.search.clen = (this.search.isBeginEnd ? 0 : match[0].length); - this.search.matched = true; - element = this.encloseMath(element); - this.switchPattern(this.start); - } - return element; - }, - - switchPattern: function (pattern) { - pattern.lastIndex = this.pattern.lastIndex; - this.pattern = pattern; - this.search.start = (pattern === this.start); - }, - - encloseMath: function (element) { - var search = this.search, close = search.close, CLOSE; - if (search.cpos === close.length) {close = close.nextSibling} - else {close = close.splitText(search.cpos)} - if (!close) {CLOSE = close = search.close.parentNode.appendChild(document.createTextNode(""))} - if (element === search.close) {element = close} - search.close = close; - var math = search.open.splitText(search.opos); - while (math.nextSibling && math.nextSibling !== close) { - if (math.nextSibling.nodeValue !== null) { - if (math.nextSibling.nodeName === "#comment") { - math.nodeValue += math.nextSibling.nodeValue.replace(/^\[CDATA\[(.*)\]\]$/,"$1"); - } else { - math.nodeValue += math.nextSibling.nodeValue; - } - } else {math.nodeValue += ' '} - math.parentNode.removeChild(math.nextSibling); - } - var TeX = math.nodeValue.substr(search.olen,math.nodeValue.length-search.olen-search.clen); - math.parentNode.removeChild(math); - if (this.config.previewTeX) {this.createMathPreview(search.mode,TeX)} - math = this.createMathTag(search.mode,TeX); - this.search = {}; this.pattern.lastIndex = 0; - if (CLOSE) {CLOSE.parentNode.removeChild(CLOSE)} - return math; - }, - - insertNode: function (node) { - var search = this.search; - if (search.close && search.close.parentNode) { - search.close.parentNode.insertBefore(node,search.close); - } else if (search.open.nextSibling) { - search.open.parentNode.insertBefore(node,search.open.nextSibling); - } else { - search.open.parentNode.appendChild(node); - } - }, - - createMathPreview: function (mode,tex) { - var preview = document.createElement("span"); - preview.className = MathJax.Hub.config.preRemoveClass; - preview.appendChild(document.createTextNode(tex)); - this.insertNode(preview); - return preview; - }, - - createMathTag: function (mode,tex) { - var script = document.createElement("script"); - script.type = "math/tex" + mode; - if (MathJax.Hub.Browser.isMSIE) {script.text = tex} - else {script.appendChild(document.createTextNode(tex))} - this.insertNode(script); - return script; - } - -}; - -MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]); -MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js b/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js deleted file mode 100644 index 353687ba..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js +++ /dev/null @@ -1,140 +0,0 @@ -/************************************************************* - * - * MathJax/extensions/toMathML.js - * - * Implements a toMathML() method for the mml Element Jax that returns - * a MathML string from a given math expression. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function () { - var MML = MathJax.ElementJax.mml; - - MML.mbase.Augment({ - - toMathML: function (space) { - var inferred = (this.inferred && this.parent.inferRow); - if (space == null) {space = ""} - var tag = this.type, attr = this.MathMLattributes(); - if (tag === "mspace") {return space + "<"+tag+attr+" />"} - var data = []; var SPACE = (this.isToken ? "" : space+(inferred ? "" : " ")); - for (var i = 0, m = this.data.length; i < m; i++) { - if (this.data[i]) {data.push(this.data[i].toMathML(SPACE))} - else if (!this.isToken) {data.push(SPACE+"")} - } - if (this.isToken) {return space + "<"+tag+attr+">"+data.join("")+""} - if (inferred) {return data.join("\n")} - if (data.length === 0 || (data.length === 1 && data[0] === "")) - {return space + "<"+tag+attr+" />"} - return space + "<"+tag+attr+">\n"+data.join("\n")+"\n"+ space +""; - }, - - MathMLattributes: function () { - var attr = [], defaults = this.defaults; - var copy = this.copyAttributes, - skip = this.skipAttributes; - - if (this.type === "mstyle") {defaults = MML.math.prototype.defaults} - for (var id in defaults) {if (!skip[id] && defaults.hasOwnProperty(id)) { - var force = (id === "open" || id === "close"); - if (this[id] != null && (force || this[id] !== defaults[id])) { - var value = this[id]; delete this[id]; - if (force || this.Get(id) !== value) - {attr.push(id+'="'+this.quoteHTML(value)+'"')} - this[id] = value; - } - }} - for (var i = 0, m = copy.length; i < m; i++) { - if (this[copy[i]] != null) {attr.push(copy[i]+'="'+this.quoteHTML(this[copy[i]])+'"')} - } - if (attr.length) {return " "+attr.join(" ")} else {return ""} - }, - copyAttributes: [ - "fontfamily","fontsize","fontweight","fontstyle", - "color","background", - "id","class","href","style" - ], - skipAttributes: {texClass: 1, useHeight: 1, texprimestyle: 1}, - - quoteHTML: function (string) { - string = String(string).split(""); - for (var i = 0, m = string.length; i < m; i++) { - var n = string[i].charCodeAt(0); - if (n < 0x20 || n > 0x7E) { - string[i] = "&#x"+n.toString(16).toUpperCase()+";"; - } else { - var c = {'&':'&', '<':'<', '>':'>', '"':'"'}[string[i]]; - if (c) {string[i] = c} - } - } - return string.join(""); - } - }); - - MML.msubsup.Augment({ - toMathML: function (space) { - var tag = this.type; - if (this.data[this.sup] == null) {tag = "msub"} - if (this.data[this.sub] == null) {tag = "msup"} - var attr = this.MathMLattributes(); - delete this.data[0].inferred; - var data = []; - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {data.push(this.data[i].toMathML(space+" "))}} - return space + "<"+tag+attr+">\n" + data.join("\n") + "\n" + space + ""; - } - }); - - MML.munderover.Augment({ - toMathML: function (space) { - var tag = this.type; - if (this.data[this.under] == null) {tag = "mover"} - if (this.data[this.over] == null) {tag = "munder"} - var attr = this.MathMLattributes(); - delete this.data[0].inferred; - var data = []; - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {data.push(this.data[i].toMathML(space+" "))}} - return space + "<"+tag+attr+">\n" + data.join("\n") + "\n" + space + ""; - } - }); - - MML.TeXAtom.Augment({ - toMathML: function (space) { - // FIXME: Handle spacing using mpadded? - return space+"\n"+this.data[0].toMathML(space+" ")+"\n"+space+""; - } - }); - - MML.chars.Augment({ - toMathML: function (space) {return (space||"") + this.quoteHTML(this.toString())} - }); - - MML.entity.Augment({ - toMathML: function (space) {return (space||"") + "&"+this.data[0]+";"} - }); - - MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function () { - MML.TeXmathchoice.Augment({ - toMathML: function (space) {return this.Core().toMathML(space)} - }); - }); - -}); - -MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js deleted file mode 100644 index 67a56696..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js +++ /dev/null @@ -1,1474 +0,0 @@ -/************************************************************* - * - * MathJax/jax/element/mml/jax.js - * - * Implements the MML ElementJax that holds the internal represetation - * of the mathematics on the page. Various InputJax will produce this - * format, and the OutputJax will display it in various formats. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.ElementJax.mml = MathJax.ElementJax.Subclass({ - mimeType: "jax/mml" -},{ - name: "mml", - version: 1.0, - directory: MathJax.ElementJax.directory + "/mml", - extensionDir: MathJax.ElementJax.extensionDir + "/mml", - optableDir: MathJax.ElementJax.directory + "/mml/optable" -}); - -MathJax.ElementJax.mml.Augment({ - Init: function () { - if (arguments.length === 1 && arguments[0].type === "math") {this.root = arguments[0]} - else {this.root = MathJax.ElementJax.mml.math.apply(this,arguments)} - if (this.root.mode) { - if (!this.root.display && this.root.mode === "display") {this.root.display = "block"} - delete this.root.mode; - } - } -},{ - INHERIT: "_inherit_", - AUTO: "_auto_", - SIZE: { - INFINITY: "infinity", - SMALL: "small", - NORMAL: "normal", - BIG: "big" - }, - COLOR: { - TRANSPARENT: "transparent" - }, - VARIANT: { - NORMAL: "normal", - BOLD: "bold", - ITALIC: "italic", - BOLDITALIC: "bold-italic", - DOUBLESTRUCK: "double-struck", - FRAKTUR: "fraktur", - BOLDFRAKTUR: "bold-fraktur", - SCRIPT: "script", - BOLDSCRIPT: "bold-script", - SANSSERIF: "sans-serif", - BOLDSANSSERIF: "bold-sans-serif", - SANSSERIFITALIC: "sans-serif-italic", - SANSSERIFBOLDITALIC: "sans-serif-bold-italic", - MONOSPACE: "monospace", - INITIAL: "inital", - TAILED: "tailed", - LOOPED: "looped", - STRETCHED: "stretched", - CALIGRAPHIC: "-tex-caligraphic", - OLDSTYLE: "-tex-oldstyle" - }, - FORM: { - PREFIX: "prefix", - INFIX: "infix", - POSTFIX: "postfix" - }, - LINEBREAK: { - AUTO: "auto", - NEWLINE: "newline", - NOBREAK: "nobreak", - GOODBREAK: "goodbreak", - BADBREAK: "badbreak" - }, - LINEBREAKSTYLE: { - BEFORE: "before", - AFTER: "after", - DUPLICATE: "duplicate", - INFIXLINBREAKSTYLE: "infixlinebreakstyle" - }, - INDENTSTYLE: { - LEFT: "left", - CENTER: "center", - RIGHT: "right", - AUTO: "auto", - ID: "id", - INDENTSTYLE: "indentstyle" - }, - INDENTOFFSET: { - INDENTOFFSET: "indentoffset" - }, - LINETHICKNESS: { - THIN: "thin", - MEDIUM: "medium", - THICK: "thick" - }, - NOTATION: { - LONGDIV: "longdiv", - ACTUARIAL: "actuarial", - RADICAL: "radical", - BOX: "box", - ROUNDEDBOX: "roundedbox", - CIRCLE: "circle", - LEFT: "left", - RIGHT: "right", - TOP: "top", - BOTTOM: "bottom", - UPDIAGONALSTRIKE: "updiagonalstrike", - DOWNDIAGONALSTRIKE: "downdiagonalstrike", - VERTICALSTRIKE: "verticalstrike", - HORIZONTALSTRIKE: "horizontalstrike", - MADRUWB: "madruwb" - }, - ALIGN: { - TOP: "top", - BOTTOM: "bottom", - CENTER: "center", - BASELINE: "baseline", - AXIS: "axis", - LEFT: "left", - RIGHT: "right" - }, - LINES: { - NONE: "none", - SOLID: "solid", - DASHED: "dashed" - }, - SIDE: { - LEFT: "left", - RIGHT: "right", - LEFTOVERLAP: "leftoverlap", - RIGHTOVERLAP: "rightoverlap" - }, - WIDTH: { - AUTO: "auto", - FIT: "fit" - }, - ACTIONTYPE: { - TOGGLE: "toggle", - STATUSLINE: "statusline", - TOOLTIP: "tooltip", - INPUT: "input" - }, - LENGTH: { - VERYVERYTHINMATHSPACE: "veryverythinmathspace", - VERYTHINMATHSPACE: "verythinmathspace", - THINMATHSPACE: "thinmathspace", - MEDIUMMATHSPACE: "mediummathspace", - THICKMATHSPACE: "thickmathspace", - VERYTHICKMATHSPACE: "verythickmathspace", - VERYVERYTHICKMATHSPACE: "veryverythickmathspace", - NEGATIVEVERYVERYTHINMATHSPACE: "negativeveryverythinmathspace", - NEGATIVEVERYTHINMATHSPACE: "negativeverythinmathspace", - NEGATIVETHINMATHSPACE: "negativethinmathspace", - NEGATIVEMEDIUMMATHSPACE: "negativemediummathspace", - NEGATIVETHICKMATHSPACE: "negativethickmathspace", - NEGATIVEVERYTHICKMATHSPACE: "negativeverythickmathspace", - NEGATIVEVERYVERYTHICKMATHSPACE: "negativeveryverythickmathspace" - }, - OVERFLOW: { - LINBREAK: "linebreak", - SCROLL: "scroll", - ELIDE: "elide", - TRUNCATE: "truncate", - SCALE: "scale" - }, - UNIT: { - EM: "em", - EX: "ex", - PX: "px", - IN: "in", - CM: "cm", - MM: "mm", - PT: "pt", - PC: "pc" - }, - TEXCLASS: { - ORD: 0, - OP: 1, - BIN: 2, - REL: 3, - OPEN: 4, - CLOSE: 5, - PUNCT: 6, - INNER: 7, - VCENTER: 8, - NONE: -1 - }, - PLANE1: String.fromCharCode(0xD835) -}); - -(function (MML) { - var FALSE = false; var TRUE = true; - - MML.mbase = MathJax.Object.Subclass({ - type: "base", isToken: FALSE, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT - }, - noInherit: {}, - - Init: function () { - this.data = []; - if (this.inferRow && !(arguments.length === 1 && arguments[0].inferred)) - {this.Append(MML.mrow().With({inferred: TRUE}))} - this.Append.apply(this,arguments); - }, - With: function (def) { - for (var id in def) {if (def.hasOwnProperty(id)) {this[id] = def[id]}} - return this; - }, - Append: function () { - if (this.inferRow && this.data.length) { - this.data[0].Append.apply(this.data[0],arguments); - } else { - for (var i = 0, m = arguments.length; i < m; i++) - {this.SetData(this.data.length,arguments[i])} - } - }, - SetData: function (i,item) { - if (item != null) { - if (!(item instanceof MML.mbase)) - {item = (this.isToken ? MML.chars(item) : MML.mtext(item))} - item.parent = this; - item.setInherit(this.inheritFromMe ? this : this.inherit); - } - this.data[i] = item; - }, - Parent: function () { - var parent = this.parent; - while (parent && parent.inferred) {parent = parent.parent} - return parent; - }, - Get: function (name,nodefault) { - if (typeof(this[name]) !== "undefined") {return this[name]} - // FIXME: should cache these values and get from cache - // (clear cache when appended to a new object?) - var parent = this.Parent(); - if (parent && parent["adjustChild_"+name] != null) - {return (parent["adjustChild_"+name])(parent.childPosition(this))} - var obj = this.inherit; var root = obj; - while (obj) { - if (typeof(obj[name]) !== "undefined") { - var noInherit = obj.noInherit[this.type]; - if (!(noInherit && noInherit[name])) {return obj[name]} - } - root = obj; obj = obj.inherit; - } - if (!nodefault) { - if (this.defaults[name] === MML.AUTO) {return this.autoDefault(name)} - if (this.defaults[name] !== MML.INHERIT && this.defaults[name] != null) - {return this.defaults[name]} - if (root) {return root.defaults[name]} - } - return null; - }, - hasValue: function (name) {return (this.Get(name,true) != null)}, - getValues: function () { - var values = {}; - for (var i = 0, m = arguments.length; i < m; i++) - {values[arguments[i]] = this.Get(arguments[i])} - return values; - }, - adjustChild_scriptlevel: function (i) {return this.Get("scriptlevel")}, // always inherit from parent - adjustChild_displaystyle: function (i) {return this.Get("displaystyle")}, // always inherit from parent - adjustChild_texprimestyle: function (i) {return this.Get("texprimestyle")}, // always inherit from parent - childPosition: function (child) { - if (child.parent.inferred) {child = child.parent} - for (var i = 0, m = this.data.length; i < m; i++) {if (this.data[i] === child) {return i}} - return null; - }, - setInherit: function (obj) { - if (obj !== this.inherit && this.inherit == null) { - this.inherit = obj; - for (var i = 0, m = this.data.length; i < m; i++) { - if (this.data[i] && this.data[i].setInherit) {this.data[i].setInherit(obj)} - } - } - }, - setTeXclass: function (prev) { - this.getPrevClass(prev); - return (typeof(this.texClass) !== "undefined" ? this : prev); - }, - getPrevClass: function (prev) { - if (prev) { - this.prevClass = prev.Get("texClass"); - this.prevLevel = prev.Get("scriptlevel"); - } - }, - updateTeXclass: function (core) { - if (core) { - this.prevClass = core.prevClass; delete core.prevClass; - this.prevLevel = core.prevLevel; delete core.prevLevel; - this.texClass = core.Get("texClass"); - } - }, - texSpacing: function () { - var prev = (this.prevClass != null ? this.prevClass : MML.TEXCLASS.NONE); - var tex = (this.Get("texClass") || MML.TEXCLASS.ORD); - if (prev === MML.TEXCLASS.NONE || tex === MML.TEXCLASS.NONE) {return ""} - if (prev === MML.TEXCLASS.VCENTER) {prev = MML.TEXCLASS.ORD} - if (tex === MML.TEXCLASS.VCENTER) {tex = MML.TEXCLASS.ORD} - var space = this.TEXSPACE[prev][tex]; - if (this.prevLevel > 0 && this.Get("scriptlevel") > 0 && space >= 0) {return ""} - return this.TEXSPACELENGTH[Math.abs(space)]; - }, - TEXSPACELENGTH:[ - "", - MML.LENGTH.THINMATHSPACE, - MML.LENGTH.MEDIUMMATHSPACE, - MML.LENGTH.THICKMATHSPACE - ], - // See TeXBook Chapter 18 (p. 170) - TEXSPACE: [ - [ 0,-1, 2, 3, 0, 0, 0, 1], // ORD - [-1,-1, 0, 3, 0, 0, 0, 1], // OP - [ 2, 2, 0, 0, 2, 0, 0, 2], // BIN - [ 3, 3, 0, 0, 3, 0, 0, 3], // REL - [ 0, 0, 0, 0, 0, 0, 0, 0], // OPEN - [ 0,-1, 2, 3, 0, 0, 0, 1], // CLOSE - [ 1, 1, 0, 1, 1, 1, 1, 1], // PUNCT - [ 1,-1, 2, 3, 1, 0, 1, 1] // INNER - ], - autoDefault: function (name) {return ""}, - isSpacelike: function () {return FALSE}, - isEmbellished: function () {return FALSE}, - Core: function () {return this}, - CoreMO: function () {return this}, - array: function () {if (this.inferred) {return this.data} else {return [this]}}, - toString: function () {return this.type+"("+this.data.join(",")+")"} - },{ - childrenSpacelike: function () { - for (var i = 0; i < this.data.length; i++) { - if (!this.data[i].isSpacelike()) {return FALSE} - } - return TRUE; - }, - childEmbellished: function () { - if (this.data.length === 0) {return FALSE} - return this.data[0].isEmbellished(); - }, - childCore: function () {return this.data[0]}, - childCoreMO: function () {return this.data[0].CoreMO()}, - setChildTeXclass: function (prev) { - prev = this.data[0].setTeXclass(prev); - this.updateTeXclass(this.data[0]); - return prev; - }, - setBaseTeXclasses: function (prev) { - this.getPrevClass(prev); this.texClass = null; - if (this.isEmbellished()) { - prev = this.data[0].setTeXclass(prev); - this.updateTeXclass(this.Core()); - } else {this.data[0].setTeXclass(); prev = this} - for (var i = 1, m = this.data.length; i < m; i++) - {if (this.data[i]) {this.data[i].setTeXclass()}} - return prev; - }, - setSeparateTeXclasses: function (prev) { - this.getPrevClass(prev); - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {this.data[i].setTeXclass()}} - if (this.isEmbellished()) {this.updateTeXclass(this.Core())} - return this; - } - }); - - MML.mi = MML.mbase.Subclass({ - type: "mi", isToken: TRUE, - texClass: MML.TEXCLASS.ORD, - defaults: { - mathvariant: MML.AUTO, - mathsize: MML.INHERIT, - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT - }, - autoDefault: function (name) { - if (name === "mathvariant") { - var mi = (this.data[0]||"").toString(); - return (mi.length === 1 || (mi.length === 2 && mi.charCodeAt(0) === this.PLANE1) ? - MML.VARIANT.ITALIC : MML.VARIANT.NORMAL); - } - return ""; - } - }); - - MML.mn = MML.mbase.Subclass({ - type: "mn", isToken: TRUE, - texClass: MML.TEXCLASS.ORD, - defaults: { - mathvariant: MML.INHERIT, - mathsize: MML.INHERIT, - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT - } - }); - - MML.mo = MML.mbase.Subclass({ - type: "mo", isToken: TRUE, - defaults: { - mathvariant: MML.INHERIT, - mathsize: MML.INHERIT, - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - form: MML.AUTO, - fence: MML.AUTO, - separator: MML.AUTO, - lspace: MML.AUTO, - rspace: MML.AUTO, - stretchy: MML.AUTO, - symmetric: MML.AUTO, - maxsize: MML.AUTO, - minsize: MML.AUTO, - largeop: MML.AUTO, - movablelimits: MML.AUTO, - accent: MML.AUTO, - linebreak: MML.AUTO, - lineleading: MML.INHERIT, - linebreakstyle: MML.AUTO, - linebreakmultchar: MML.INHERIT, - indentstyle: MML.INHERIT, - indentoffset: MML.INHERIT, - indenttarget: MML.INHERIT, - indentstylefirst: MML.INHERIT, - indentoffsetfirst: MML.INHERIT, - indentstylelast: MML.INHERIT, - indentoffsetlast: MML.INHERIT, - texClass: MML.AUTO - }, - defaultDef: { - form: MML.FORM.INFIX, - fence: FALSE, - separator: FALSE, - lspace: MML.LENGTH.THICKMATHSPACE, - rspace: MML.LENGTH.THICKMATHSPACE, - stretchy: FALSE, - symmetric: TRUE, - maxsize: MML.SIZE.INFINITY, - minsize: '0em', //'1em', - largeop: FALSE, - movablelimits: FALSE, - accent: FALSE, - texClass: MML.TEXCLASS.REL // for MML, but TeX sets ORD explicitly - }, - SPACE_ATTR: {lspace: 0x01, rspace: 0x02, form: 0x04}, - useMMLspacing: 0x07, - autoDefault: function (name,nodefault) { - var def = this.def; - if (!def) { - if (name === "form") {this.useMMLspacing &= ~this.SPACE_ATTR.form; return this.getForm()} - var mo = this.data.join(""); - var forms = [this.Get("form"),MML.FORM.INFIX,MML.FORM.POSTFIX,MML.FORM.PREFIX]; - for (var i = 0, m = forms.length; i < m; i++) { - var data = this.OPTABLE[forms[i]][mo]; - if (data) {def = this.makeDef(data); break} - } - if (!def) {def = this.CheckRange(mo)} - if (!def && nodefault) {def = {}} else { - if (!def) {def = MathJax.Hub.Insert({},this.defaultDef)} - def.form = forms[0]; - this.def = def; - } - } - this.useMMLspacing &= ~(this.SPACE_ATTR[name] || 0); - if (def[name] != null) {return def[name]} - else if (!nodefault) {return this.defaultDef[name]} - return ""; - }, - CheckRange: function (mo) { - var n = mo.charCodeAt(0); - if (mo.charAt(0) === MML.PLANE1) {n = mo.charCodeAt(1) + 0x1D400 - 0xDC00} - for (var i = 0, m = this.RANGES.length; i < m && this.RANGES[i][0] <= n; i++) { - if (n <= this.RANGES[i][1]) { - if (this.RANGES[i][3]) { - var file = MML.optableDir+"/"+this.RANGES[i][3]+".js"; - this.RANGES[i][3] = null; - MathJax.Hub.RestartAfter(MathJax.Ajax.Require(file)); - } - var data = (["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER"])[this.RANGES[i][2]]; - data = this.OPTABLE.infix[mo] = MML.mo.OPTYPES[data === "BIN" ? "BIN3" : data]; - return this.makeDef(data); - } - } - return null; - }, - makeDef: function (data) { - if (data[2] == null) {data[2] = this.defaultDef.texClass} - if (!data[3]) {data[3] = {}} - var def = MathJax.Hub.Insert({},data[3]); - def.lspace = this.SPACE[data[0]]; def.rspace = this.SPACE[data[1]]; - def.texClass = data[2]; - return def; - }, - getForm: function () { - var i, core = this, parent = this.parent, Parent = this.Parent(); - while (Parent && Parent.isEmbellished()) - {core = parent; parent = Parent.parent; Parent = Parent.Parent()} - if (parent && parent.type === "mrow" && parent.NonSpaceLength() !== 1) { - if (parent.FirstNonSpace() === core) {return MML.FORM.PREFIX} - if (parent.LastNonSpace() === core) {return MML.FORM.POSTFIX} - } - return MML.FORM.INFIX; - }, - isEmbellished: function () {return TRUE}, - setTeXclass: function (prev) { - this.getValues("lspace","rspace"); // sets useMMLspacing - if (this.useMMLspacing) {this.texClass = MML.TEXCLASS.NONE; return this} - this.texClass = this.Get("texClass"); - if (prev) {this.prevClass = prev.texClass || MML.TEXCLASS.ORD; this.prevLevel = prev.Get("scriptlevel")} - else {this.prevClass = MML.TEXCLASS.NONE} - if (this.texClass === MML.TEXCLASS.BIN && - (this.prevClass === MML.TEXCLASS.NONE || - this.prevClass === MML.TEXCLASS.BIN || - this.prevClass === MML.TEXCLASS.OP || - this.prevClass === MML.TEXCLASS.REL || - this.prevClass === MML.TEXCLASS.OPEN || - this.prevClass === MML.TEXCLASS.PUNCT)) { - this.texClass = MML.TEXCLASS.ORD; - } else if (this.prevClass === MML.TEXCLASS.BIN && - (this.texClass === MML.TEXCLASS.REL || - this.texClass === MML.TEXCLASS.CLOSE || - this.texClass === MML.TEXCLASS.PUNCT)) { - prev.texClass = this.prevClass = MML.TEXCLASS.ORD; - } - return this; - } - }); - - MML.mtext = MML.mbase.Subclass({ - type: "mtext", isToken: TRUE, - texClass: MML.TEXCLASS.ORD, - defaults: { - mathvariant: MML.INHERIT, - mathsize: MML.INHERIT, - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT - } - }); - - MML.mspace = MML.mbase.Subclass({ - type: "mspace", isToken: TRUE, - isSpacelike: function () {return TRUE}, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - width: "0em", - height: "0ex", - depth: "0ex", - linebreak: MML.LINEBREAK.AUTO - } - }); - - MML.ms = MML.mbase.Subclass({ - type: "ms", isToken: TRUE, - texClass: MML.TEXCLASS.ORD, - defaults: { - mathvariant: MML.INHERIT, - mathsize: MML.INHERIT, - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - lquote: '"', - rquote: '"' - } - }); - - MML.mglyph = MML.mbase.Subclass({ - type: "mglyph", isToken: TRUE, - texClass: MML.TEXCLASS.ORD, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - alt: "", - src: "", - width: MML.AUTO, - height: MML.AUTO, - valign: "0em" - } - }); - - MML.mrow = MML.mbase.Subclass({ - type: "mrow", - isSpacelike: MML.mbase.childrenSpacelike, - inferred: FALSE, - isEmbellished: function () { - var isEmbellished = FALSE; - for (var i = 0, m = this.data.length; i < m; i++) { - if (this.data[i] == null) continue; - if (this.data[i].isEmbellished()) { - if (isEmbellished) {return FALSE} - isEmbellished = TRUE; this.core = i; - } else if (!this.data[i].isSpacelike()) {return FALSE} - } - return isEmbellished; - }, - NonSpaceLength: function () { - var n = 0; - for (var i = 0, m = this.data.length; i < m; i++) {if (!this.data[i].isSpacelike()) {n++}} - return n; - }, - FirstNonSpace: function () { - for (var i = 0, m = this.data.length; i < m; i++) - {if (!this.data[i].isSpacelike()) {return this.data[i]}} - return null; - }, - LastNonSpace: function () { - for (var i = this.data.length-1; i >= 0; i--) - {if (!this.data[i].isSpacelike()) {return this.data[i]}} - return null; - }, - Core: function () { - if (!(this.isEmbellished()) || typeof(this.core) === "undefined") {return this} - return this.data[this.core]; - }, - CoreMO: function () { - if (!(this.isEmbellished()) || typeof(this.core) === "undefined") {return this} - return this.data[this.core].CoreMO(); - }, - toString: function () { - if (this.inferred) {return '[' + this.data.join(',') + ']'} - return this.SUPER(arguments).toString.call(this); - }, - setTeXclass: function (prev) { - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {prev = this.data[i].setTeXclass(prev)}} - if (this.data[0]) {this.updateTeXclass(this.data[0])} - return prev; - } - }); - - MML.mfrac = MML.mbase.Subclass({ - type: "mfrac", num: 0, den: 1, - texClass: MML.TEXCLASS.INNER, - isEmbellished: MML.mbase.childEmbellished, - Core: MML.mbase.childCore, - CoreMO: MML.mbase.childCoreMO, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - linethickness: MML.LINETHICKNESS.MEDIUM, - numalign: MML.ALIGN.CENTER, - denomalign: MML.ALIGN.CENTER, - bevelled: FALSE - }, - adjustChild_displaystyle: function (n) {return FALSE}, - adjustChild_scriptlevel: function (n) { - var level = this.Get("scriptlevel"); - if (!this.Get("displaystyle") || level > 0) {level++} - return level; - }, - adjustChild_texprimestyle: function (n) { - if (n == this.den) {return true} - return this.Get("texprimestyle"); - }, - setTeXclass: MML.mbase.setSeparateTeXclasses - }); - - MML.msqrt = MML.mbase.Subclass({ - type: "msqrt", - inferRow: TRUE, - texClass: MML.TEXCLASS.ORD, - setTeXclass: MML.mbase.setSeparateTeXclasses, - adjustChild_texprimestyle: function (n) {return TRUE} - }); - - MML.mroot = MML.mbase.Subclass({ - type: "mroot", - texClass: MML.TEXCLASS.ORD, - adjustChild_displaystyle: function (n) { - if (n === 1) {return FALSE} - return this.Get("displaystyle"); - }, - adjustChild_scriptlevel: function (n) { - var level = this.Get("scriptlevel"); - if (n === 1) {level += 2} - return level; - }, - adjustChild_texprimestyle: function (n) { - if (n === 0) {return TRUE}; - return this.Get("texprimestyle"); - }, - setTeXclass: MML.mbase.setSeparateTeXclasses - }); - - MML.mstyle = MML.mbase.Subclass({ - type: "mstyle", - isSpacelike: MML.mbase.childrenSpacelike, - isEmbellished: MML.mbase.childEmbellished, - Core: MML.mbase.childCore, - CoreMO: MML.mbase.childCoreMO, - inferRow: TRUE, - defaults: { - scriptlevel: MML.INHERIT, - displaystyle: MML.INHERIT, - scriptsizemultiplier: Math.sqrt(1/2), - scriptminsize: "8pt", - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - infixlinebreakstyle: MML.LINEBREAKSTYLE.BEFORE, - decimalseparator: "." - }, - adjustChild_scriptlevel: function (n) { - var level = this.scriptlevel; - if (level == null) { - level = this.Get("scriptlevel"); - } else if (String(level).match(/^ *[-+]/)) { - delete this.scriptlevel; - var LEVEL = this.Get("scriptlevel"); - this.scriptlevel = level; - level = LEVEL + parseInt(level); - } - return level; - }, - inheritFromMe: TRUE, - noInherit: { - mpadded: {width: TRUE, height: TRUE, depth: TRUE, lspace: TRUE, voffset: TRUE}, - mtable: {width: TRUE, height: TRUE, depth: TRUE} - }, - setTeXclass: MML.mbase.setChildTeXclass - }); - - MML.merror = MML.mbase.Subclass({ - type: "merror", - inferRow: TRUE, - texClass: MML.TEXCLASS.ORD - }); - - MML.mpadded = MML.mbase.Subclass({ - type: "mpadded", - inferRow: TRUE, - isSpacelike: MML.mbase.childrenSpacelike, - isEmbellished: MML.mbase.childEmbellished, - Core: MML.mbase.childCore, - CoreMO: MML.mbase.childCoreMO, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - width: "", - height: "", - depth: "", - lspace: 0, - voffset: 0 - }, - setTeXclass: MML.mbase.setChildTeXclass - }); - - MML.mphantom = MML.mbase.Subclass({ - type: "mphantom", - texClass: MML.TEXCLASS.ORD, - inferRow: TRUE, - isSpacelike: MML.mbase.childrenSpacelike, - isEmbellished: MML.mbase.childEmbellished, - Core: MML.mbase.childCore, - CoreMO: MML.mbase.childCoreMO, - setTeXclass: MML.mbase.setChildTeXclass - }); - - MML.mfenced = MML.mbase.Subclass({ - type: "mfenced", - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - open: '(', - close: ')', - separators: ',' - }, - texClass: MML.TEXCLASS.OPEN, - setTeXclass: function (prev) { - this.getPrevClass(prev); - var values = this.getValues("open","close","separators"); - values.open = values.open.replace(/[ \t\n\r]/g,""); - values.close = values.close.replace(/[ \t\n\r]/g,""); - values.separators = values.separators.replace(/[ \t\n\r]/g,""); - // create a fake node for the open item - if (values.open !== "") { - this.SetData("open",MML.mo(values.open).With({stretchy:true, texClass:MML.TEXCLASS.OPEN})); - prev = this.data.open.setTeXclass(prev); - } - // get the separators - if (values.separators !== "") { - while (values.separators.length < this.data.length) - {values.separators += values.separators.charAt(values.separators.length-1)} - } - // handle the first item, if any - if (this.data[0]) {prev = this.data[0].setTeXclass(prev)} - // add fake nodes for separators and handle the following item - for (var i = 1, m = this.data.length; i < m; i++) { - if (this.data[i]) { - if (values.separators !== "") { - this.SetData("sep"+i,MML.mo(values.separators.charAt(i-1))); - prev = this.data["sep"+i].setTeXclass(prev); - } - prev = this.data[i].setTeXclass(prev); - } - } - // create fake node for the close item - if (values.close !== "") { - this.SetData("close",MML.mo(values.close).With({stretchy:true, texClass:MML.TEXCLASS.CLOSE})); - prev = this.data.close.setTeXclass(prev); - } - // get the data from the open item - this.updateTeXclass(this.data.open); - return prev; - } - }); - - MML.menclose = MML.mbase.Subclass({ - type: "menclose", - inferRow: TRUE, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - notation: MML.NOTATION.LONGDIV, - texClass: MML.TEXCLASS.ORD - }, - setTeXclass: MML.mbase.setSeparateTeXclasses - }); - - MML.msubsup = MML.mbase.Subclass({ - type: "msubsup", base: 0, sub: 1, sup: 2, - isEmbellished: MML.mbase.childEmbellished, - Core: MML.mbase.childCore, - CoreMO: MML.mbase.childCoreMO, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - subscriptshift: "", - superscriptshift: "", - texClass: MML.AUTO - }, - autoDefault: function (name) { - if (name === "texClass") - {return (this.isEmbellished() ? this.CoreMO().Get(name) : MML.TEXCLASS.ORD)} - return 0; - }, - adjustChild_displaystyle: function (n) { - if (n > 0) {return FALSE} - return this.Get("displaystyle"); - }, - adjustChild_scriptlevel: function (n) { - var level = this.Get("scriptlevel"); - if (n > 0) {level++} - return level; - }, - adjustChild_texprimestyle: function (n) { - if (n === this.sub) {return TRUE} - return this.Get("texprimestyle"); - }, - setTeXclass: MML.mbase.setBaseTeXclasses - }); - - MML.msub = MML.msubsup.Subclass({type: "msub"}); - MML.msup = MML.msubsup.Subclass({type: "msup", sub:2, sup:1}); - - MML.munderover = MML.mbase.Subclass({ - type: "munderover", - base: 0, under: 1, over: 2, sub: 1, sup: 2, - ACCENTS: ["", "accentunder", "accent"], - isEmbellished: MML.mbase.childEmbellished, - Core: MML.mbase.childCore, - CoreMO: MML.mbase.childCoreMO, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - accent: MML.AUTO, - accentunder: MML.AUTO, - align: MML.ALIGN.CENTER, - texClass: MML.AUTO, - subscriptshift: "", // when converted to msubsup by moveablelimits - superscriptshift: "" // when converted to msubsup by moveablelimits - }, - autoDefault: function (name) { - if (name === "texClass") - {return (this.isEmbellished() ? this.CoreMO().Get(name) : MML.TEXCLASS.ORD)} - if (name === "accent" && this.data[this.over]) {return this.data[this.over].CoreMO().Get("accent")} - if (name === "accentunder" && this.data[this.under]) {return this.data[this.under].CoreMO().Get("accent")} - return FALSE; - }, - adjustChild_displaystyle: function (n) { - if (n > 0) {return FALSE} - return this.Get("displaystyle"); - }, - adjustChild_scriptlevel: function (n) { - var level = this.Get("scriptlevel"); - if (n == this.under && !this.Get("accentunder")) {level++} - if (n == this.over && !this.Get("accent")) {level++} - return level; - }, - adjustChild_texprimestyle: function (n) { - if (n === this.base && this.data[this.over]) {return TRUE} - return this.Get("texprimestyle"); - }, - setTeXclass: MML.mbase.setBaseTeXclasses - }); - - MML.munder = MML.munderover.Subclass({type: "munder"}); - MML.mover = MML.munderover.Subclass({ - type: "mover", over: 1, under: 2, sup: 1, sub: 2, - ACCENTS: ["", "accent", "accentunder"] - }); - - MML.mmultiscripts = MML.mbase.Subclass({ - type: "mmultiscripts", - isEmbellished: MML.mbase.childEmbellished, - Core: MML.mbase.childCore, - CoreMO: MML.mbase.childCoreMO, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - subscriptshift: MML.AUTO, - superscriptshift: MML.AUTO, - texClass: MML.AUTO - }, - autoDefault: function (name) { - if (name === "texClass") - {return (this.isEmbellished() ? this.CoreMO().Get(name) : MML.TEXCLASS.ORD)} - // compute this from size of children - return 0; - }, - adjustChild_displaystyle: function (n) { - if (n > 0) {return FALSE} - return this.Get("displaystyle"); - }, - adjustChild_scriptlevel: function (n) { - var level = this.Get("scriptlevel"); - if (n > 0) {level++} - return level; - }, - adjustChild_texprimestyle: function (n) {return (n === this.base && this.data[this.over])}, - setTeXclass: MML.mbase.setSeparateTeXclasses - }); - - MML.mtable = MML.mbase.Subclass({ - type: "mtable", - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - align: MML.ALIGN.AXIS, - rowalign: MML.ALIGN.BASELINE, - columnalign: MML.ALIGN.CENTER, - groupalign: "{left}", - alignmentscope: TRUE, - columnwidth: MML.WIDTH.AUTO, - width: MML.WIDTH.AUTO, - rowspacing: "1ex", - columnspacing: ".8em", - rowlines: MML.LINES.NONE, - columnlines: MML.LINES.NONE, - frame: MML.LINES.NONE, - framespacing: "0.4em 0.5ex", - equalrows: FALSE, - equalcolumns: FALSE, - displaystyle: FALSE, - side: MML.SIDE.RIGHT, - minlabelspacing: "0.8em", - texClass: MML.TEXCLASS.ORD, - useHeight: 1 - }, - inheritFromMe: TRUE, - noInherit: { - mtable: { - align: TRUE, rowalign: TRUE, columnalign: TRUE, groupalign: TRUE, - alignmentscope: TRUE, columnwidth: TRUE, width: TRUE, rowspacing: TRUE, - columnspacing: TRUE, rowlines: TRUE, columnlines: TRUE, frame: TRUE, - framespacing: TRUE, equalrows: TRUE, equalcolumns: TRUE, - side: TRUE, minlabelspacing: TRUE, texClass: TRUE, useHeight: 1 - } - }, - setTeXclass: MML.mbase.setSeparateTeXclasses - }); - - MML.mtr = MML.mbase.Subclass({ - type: "mtr", - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - rowalign: MML.INHERIT, - columnalign: MML.INHERIT, - groupalign: MML.INHERIT - }, - inheritFromMe: TRUE, - noInherit: { - mrow: {rowalign: TRUE, columnalign: TRUE, groupalign: TRUE}, - mtable: {rowalign: TRUE, columnalign: TRUE, groupalign: TRUE} - }, - setTeXclass: MML.mbase.setSeparateTeXclasses - }); - - MML.mtd = MML.mbase.Subclass({ - type: "mtd", - inferRow: TRUE, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - rowspan: 1, - columnspan: 1, - rowalign: MML.INHERIT, - columnalign: MML.INHERIT, - groupalign: MML.INHERIT - }, - setTeXclass: MML.mbase.setSeparateTeXclasses - }); - - MML.maligngroup = MML.mbase.Subclass({ - type: "malign", - isSpacelike: function () {return TRUE}, - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - groupalign: MML.INHERIT - }, - inheritFromMe: TRUE, - noInherit: { - mrow: {groupalign: TRUE}, - mtable: {groupalign: TRUE} - } - }); - - MML.malignmark = MML.mbase.Subclass({ - type: "malignmark", - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - edge: MML.SIDE.LEFT - }, - isSpacelike: function () {return TRUE} - }); - - MML.mlabeledtr = MML.mtr.Subclass({ - type: "mlabeledtr" - }); - - MML.maction = MML.mbase.Subclass({ - type: "maction", - defaults: { - mathbackground: MML.INHERIT, - mathcolor: MML.INHERIT, - actiontype: MML.ACTIONTYPE.TOGGLE, - selection: 1 - }, - // FIXME: should base class on selection - setTeXclass: MML.mbase.setSeparateTeXclasses - }); - - MML.semantics = MML.mbase.Subclass({ - type: "semantics", - defaults: { - definitionURL: null, - encoding: null - }, - isEmbellished: MML.mbase.childEmbellished, - setTeXclass: MML.mbase.setChildTeXclass - }); - MML.annotation = MML.mbase.Subclass({ - type: "annotation", isToken: TRUE, - defaults: { - definitionURL: null, - encoding: null, - cd: "mathmlkeys", - name: "", - src: null - } - }); - MML["annotation-xml"] = MML.mbase.Subclass({ - type: "annotation-xml", - defaults: { - definitionURL: null, - encoding: null, - cd: "mathmlkeys", - name: "", - src: null - } - }); - - MML.math = MML.mstyle.Subclass({ - type: "math", - defaults: { - mathvariant: MML.VARIANT.NORMAL, - mathsize: MML.SIZE.NORMAL, - mathcolor: "", // should be "black", but allow it to inherit from surrounding text - mathbackground: MML.COLOR.TRANSPARENT, - scriptlevel: 0, - displaystyle: MML.AUTO, - display: "inline", - maxwidth: "", - overflow: MML.OVERFLOW.LINEBREAK, - altimg: "", - 'altimg-width': "", - 'altimg-height': "", - 'altimg-valign': "", - alttext: "", - cdgroup: "", - scriptsizemultiplier: Math.sqrt(1/2), - scriptminsize: "8px", // should be 8pt, but that's too big - infixlinebreakstyle: MML.LINEBREAKSTYLE.BEFORE, - decimalseparator: ".", - texprimestyle: FALSE // is it in TeX's C' style? - }, - autoDefault: function (name) { - if (name === "displaystyle") {return this.Get("display") === "block"} - return ""; - }, - setTeXclass: MML.mbase.setChildTeXclass - }); - - MML.chars = MML.mbase.Subclass({ - type: "chars", - Append: function () {this.data.push.apply(this.data,arguments)}, - value: function () {return this.data.join("")}, - toString: function () {return this.data.join("")} - }); - - MML.entity = MML.mbase.Subclass({ - type: "entity", - Append: function () {this.data.push.apply(this.data,arguments)}, - value: function () { - if (this.data[0].substr(0,2) === "#x") {return parseInt(this.data[0].substr(2),16)} - else if (this.data[0].substr(0,1) === "#") {return parseInt(this.data[0].substr(1))} - else {return 0} // FIXME: look up named entities from table - }, - toString: function () { - var n = this.value(); - if (n <= 0xFFFF) {return String.fromCharCode(n)} - return this.PLANE1 + String.fromCharCode(n-0x1D400+0xDC00); - } - }); - - MML.TeXAtom = MML.mbase.Subclass({ - type: "texatom", - inferRow: TRUE, - texClass: MML.TEXCLASS.ORD, - setTeXclass: function (prev) { - this.getPrevClass(prev); - this.data[0].setTeXclass(); - return this; - } - }); - - var TEXCLASS = MML.TEXCLASS; - - var MO = { - ORD: [0,0,TEXCLASS.ORD], - ORD11: [1,1,TEXCLASS.ORD], - ORD21: [2,1,TEXCLASS.ORD], - ORD02: [0,2,TEXCLASS.ORD], - ORD55: [5,5,TEXCLASS.ORD], - OP: [1,2,TEXCLASS.OP,{largeop: true, movablelimits: true, symmetric: true}], - OPFIXED: [1,2,TEXCLASS.OP,{largeop: true, movablelimits: true}], - INTEGRAL: [0,1,TEXCLASS.OP,{largeop: true, symmetric: true}], - INTEGRAL2: [1,2,TEXCLASS.OP,{largeop: true, symmetric: true}], - BIN3: [3,3,TEXCLASS.BIN], - BIN4: [4,4,TEXCLASS.BIN], - BIN01: [0,1,TEXCLASS.BIN], - TALLBIN: [4,4,TEXCLASS.BIN,{stretchy: true}], - BINOP: [4,4,TEXCLASS.BIN,{largeop: true, movablelimits: true}], - REL: [5,5,TEXCLASS.REL], - REL1: [1,1,TEXCLASS.REL,{stretchy: true}], - REL4: [4,4,TEXCLASS.REL], - WIDEREL: [5,5,TEXCLASS.REL,{stretchy: true}], - RELACCENT: [5,5,TEXCLASS.REL,{accent: true, stretchy: true}], - OPEN: [0,0,TEXCLASS.OPEN,{fence: true, stretchy: true, symmetric: true}], - CLOSE: [0,0,TEXCLASS.CLOSE,{fence: true, stretchy: true, symmetric: true}], - INNER: [0,0,TEXCLASS.INNER], - PUNCT: [0,3,TEXCLASS.PUNCT], - ACCENT: [0,0,TEXCLASS.ORD,{accent: true}], - WIDEACCENT: [0,0,TEXCLASS.ORD,{accent: true, stretchy: true}] - }; - - MML.mo.Augment({ - SPACE: [ - '0em', - '0.1111em', - '0.1667em', - '0.2222em', - '0.2667em', - '0.3333em' - ], - RANGES: [ - [0x20,0x7F,TEXCLASS.REL,"BasicLatin"], - [0xA0,0xFF,TEXCLASS.ORD,"Latin1Supplement"], - [0x100,0x17F,TEXCLASS.ORD], - [0x180,0x24F,TEXCLASS.ORD], - [0x2B0,0x2FF,TEXCLASS.ORD,"SpacingModLetters"], - [0x300,0x36F,TEXCLASS.ORD,"CombDiacritMarks"], - [0x370,0x3FF,TEXCLASS.ORD,"GreekAndCoptic"], - [0x1E00,0x1EFF,TEXCLASS.ORD], - [0x2000,0x206F,TEXCLASS.PUNCT,"GeneralPunctuation"], - [0x2070,0x209F,TEXCLASS.ORD], - [0x20A0,0x20CF,TEXCLASS.ORD], - [0x20D0,0x20FF,TEXCLASS.ORD,"CombDiactForSymbols"], - [0x2100,0x214F,TEXCLASS.ORD,"LetterlikeSymbols"], - [0x2150,0x218F,TEXCLASS.ORD], - [0x2190,0x21FF,TEXCLASS.REL,"Arrows"], - [0x2200,0x22FF,TEXCLASS.BIN,"MathOperators"], - [0x2300,0x23FF,TEXCLASS.ORD,"MiscTechnical"], - [0x2460,0x24FF,TEXCLASS.ORD], - [0x25A0,0x25FF,TEXCLASS.ORD,"GeometricShapes"], - [0x2700,0x27BF,TEXCLASS.ORD,"Dingbats"], - [0x27C0,0x27EF,TEXCLASS.ORD,"MiscMathSymbolsA"], - [0x2900,0x297F,TEXCLASS.REL,"SupplementalArrowsB"], - [0x2980,0x29FF,TEXCLASS.ORD,"MiscMathSymbolsB"], - [0x2A00,0x2AFF,TEXCLASS.BIN,"SuppMathOperators"], - [0x2B00,0x2BFF,TEXCLASS.ORD], - [0x1D400,0x1D7FF,TEXCLASS.ORD] - ], - OPTABLE: { - prefix: { - '\u2111': MO.ORD11, // black-letter capital i - '\u2113': MO.ORD11, // script small l - '\u211C': MO.ORD11, // black-letter capital r - '\u2200': MO.ORD21, // for all - '\u2202': MO.ORD21, // partial differential - '\u2203': MO.ORD21, // there exists - '\u2207': MO.ORD21, // nabla - '\u220F': MO.OP, // n-ary product - '\u2210': MO.OP, // n-ary coproduct - '\u2211': MO.OP, // n-ary summation - '\u2212': MO.BIN01, // minus sign - '\u2213': MO.BIN01, // minus-or-plus sign - '\u221A': [1,1,TEXCLASS.ORD,{stretchy: true}], // square root - '\u2220': MO.ORD, // angle - '\u222B': MO.INTEGRAL, // integral - '\u222E': MO.INTEGRAL, // contour integral - '\u22C0': MO.OP, // n-ary logical and - '\u22C1': MO.OP, // n-ary logical or - '\u22C2': MO.OP, // n-ary intersection - '\u22C3': MO.OP, // n-ary union - '\u2308': MO.OPEN, // left ceiling - '\u230A': MO.OPEN, // left floor - '\u27E8': MO.OPEN, // mathematical left angle bracket - '\u2A00': MO.OP, // n-ary circled dot operator - '\u2A01': MO.OP, // n-ary circled plus operator - '\u2A02': MO.OP, // n-ary circled times operator - '\u2A04': MO.OP, // n-ary union operator with plus - '\u2A06': MO.OP, // n-ary square union operator - '\u00AC': MO.ORD21, // not sign - '\u00B1': MO.BIN01, // plus-minus sign - '(': MO.OPEN, // left parenthesis - '+': MO.BIN01, // plus sign - '-': MO.BIN01, // hyphen-minus - '[': MO.OPEN, // left square bracket - '{': MO.OPEN, // left curly bracket - '|': MO.OPEN // vertical line - }, - postfix: { - '!': [1,0,TEXCLASS.CLOSE], // exclamation mark - '&': MO.ORD, // ampersand - '\u2032': MO.ORD02, // prime - '\u203E': MO.WIDEACCENT, // overline - '\u2309': MO.CLOSE, // right ceiling - '\u230B': MO.CLOSE, // right floor - '\u23DE': MO.WIDEACCENT, // top curly bracket - '\u23DF': MO.WIDEACCENT, // bottom curly bracket - '\u266D': MO.ORD02, // music flat sign - '\u266E': MO.ORD02, // music natural sign - '\u266F': MO.ORD02, // music sharp sign - '\u27E9': MO.CLOSE, // mathematical right angle bracket - '\u02C6': MO.WIDEACCENT, // modifier letter circumflex accent - '\u02C7': MO.WIDEACCENT, // caron - '\u02D8': MO.ACCENT, // breve - '\u02D9': MO.ACCENT, // dot above - '\u02DC': MO.WIDEACCENT, // small tilde - '\u0302': MO.ACCENT, // combining circumflex accent - '\u00A8': MO.ACCENT, // diaeresis - '\u00AF': MO.WIDEACCENT, // macron - ')': MO.CLOSE, // right parenthesis - ']': MO.CLOSE, // right square bracket - '^': MO.WIDEACCENT, // circumflex accent - '_': MO.WIDEACCENT, // low line - '`': MO.ACCENT, // grave accent - '|': MO.CLOSE, // vertical line - '}': MO.CLOSE, // right curly bracket - '~': MO.WIDEACCENT // tilde - }, - infix: { - '%': [3,3,TEXCLASS.ORD], // percent sign - '\u2022': MO.BIN4, // bullet - '\u2026': MO.INNER, // horizontal ellipsis - '\u2044': MO.TALLBIN, // fraction slash - '\u2061': MO.ORD, // function application - '\u2062': MO.ORD, // invisible times - '\u2063': [0,0,TEXCLASS.ORD,{separator: true}], // invisible separator - '\u2064': MO.ORD, // invisible plus - '\u2190': MO.RELACCENT, // leftwards arrow - '\u2191': MO.WIDEREL, // upwards arrow - '\u2192': MO.RELACCENT, // rightwards arrow - '\u2193': MO.WIDEREL, // downwards arrow - '\u2194': MO.RELACCENT, // left right arrow - '\u2195': MO.WIDEREL, // up down arrow - '\u2196': MO.WIDEREL, // north west arrow - '\u2197': MO.WIDEREL, // north east arrow - '\u2198': MO.WIDEREL, // south east arrow - '\u2199': MO.WIDEREL, // south west arrow - '\u21A6': MO.WIDEREL, // rightwards arrow from bar - '\u21A9': MO.WIDEREL, // leftwards arrow with hook - '\u21AA': MO.WIDEREL, // rightwards arrow with hook - '\u21BC': MO.RELACCENT, // leftwards harpoon with barb upwards - '\u21BD': MO.WIDEREL, // leftwards harpoon with barb downwards - '\u21C0': MO.RELACCENT, // rightwards harpoon with barb upwards - '\u21C1': MO.WIDEREL, // rightwards harpoon with barb downwards - '\u21CC': MO.WIDEREL, // rightwards harpoon over leftwards harpoon - '\u21D0': MO.WIDEREL, // leftwards double arrow - '\u21D1': MO.WIDEREL, // upwards double arrow - '\u21D2': MO.WIDEREL, // rightwards double arrow - '\u21D3': MO.WIDEREL, // downwards double arrow - '\u21D4': MO.WIDEREL, // left right double arrow - '\u21D5': MO.WIDEREL, // up down double arrow - '\u2208': MO.REL, // element of - '\u2209': MO.REL, // not an element of - '\u220B': MO.REL, // contains as member - '\u2212': MO.BIN4, // minus sign - '\u2213': MO.BIN4, // minus-or-plus sign - '\u2215': MO.TALLBIN, // division slash - '\u2216': MO.BIN4, // set minus - '\u2217': MO.BIN4, // asterisk operator - '\u2218': MO.BIN4, // ring operator - '\u2219': MO.BIN4, // bullet operator - '\u221D': MO.REL, // proportional to - '\u2223': MO.REL, // divides - '\u2225': MO.REL, // parallel to - '\u2227': MO.BIN4, // logical and - '\u2228': MO.BIN4, // logical or - '\u2229': MO.BIN4, // intersection - '\u222A': MO.BIN4, // union - '\u223C': MO.REL, // tilde operator - '\u2240': MO.BIN4, // wreath product - '\u2243': MO.REL, // asymptotically equal to - '\u2245': MO.REL, // approximately equal to - '\u2248': MO.REL, // almost equal to - '\u224D': MO.REL, // equivalent to - '\u2250': MO.REL, // approaches the limit - '\u2260': MO.REL, // not equal to - '\u2261': MO.REL, // identical to - '\u2264': MO.REL, // less-than or equal to - '\u2265': MO.REL, // greater-than or equal to - '\u226A': MO.REL, // much less-than - '\u226B': MO.REL, // much greater-than - '\u227A': MO.REL, // precedes - '\u227B': MO.REL, // succeeds - '\u2282': MO.REL, // subset of - '\u2283': MO.REL, // superset of - '\u2286': MO.REL, // subset of or equal to - '\u2287': MO.REL, // superset of or equal to - '\u228E': MO.BIN4, // multiset union - '\u2291': MO.REL, // square image of or equal to - '\u2292': MO.REL, // square original of or equal to - '\u2293': MO.BIN4, // square cap - '\u2294': MO.BIN4, // square cup - '\u2295': MO.BIN4, // circled plus - '\u2296': MO.BIN4, // circled minus - '\u2297': MO.BIN4, // circled times - '\u2298': MO.BIN4, // circled division slash - '\u2299': MO.BIN4, // circled dot operator - '\u22A2': MO.REL, // right tack - '\u22A3': MO.REL, // left tack - '\u22A4': MO.ORD55, // down tack - '\u22A5': MO.REL, // up tack - '\u22A8': MO.REL, // true - '\u22C4': MO.BIN4, // diamond operator - '\u22C5': MO.BIN4, // dot operator - '\u22C6': MO.BIN4, // star operator - '\u22C8': MO.REL, // bowtie - '\u22EE': MO.ORD55, // vertical ellipsis - '\u22EF': MO.INNER, // midline horizontal ellipsis - '\u22F1': [5,5,TEXCLASS.INNER], // down right diagonal ellipsis - '\u2500': [0,0,TEXCLASS.ORD,{stretchy: true}], // box drawings light horizontal - '\u25B3': MO.BIN4, // white up-pointing triangle - '\u25B5': MO.BIN4, // white up-pointing small triangle - '\u25B9': MO.BIN4, // white right-pointing small triangle - '\u25BD': MO.BIN4, // white down-pointing triangle - '\u25BF': MO.BIN4, // white down-pointing small triangle - '\u25C3': MO.BIN4, // white left-pointing small triangle - '\u2758': [4,4,TEXCLASS.REL,{fence: true, stretchy: true, symmetric: true}], // light vertical bar - '\u27F5': MO.REL1, // long leftwards arrow - '\u27F6': MO.REL1, // long rightwards arrow - '\u27F7': MO.REL1, // long left right arrow - '\u27F8': MO.REL1, // long leftwards double arrow - '\u27F9': MO.REL1, // long rightwards double arrow - '\u27FA': MO.REL1, // long left right double arrow - '\u2A2F': MO.BIN4, // vector or cross product - '\u2A3F': MO.BIN4, // amalgamation or coproduct - '\u2AAF': MO.REL, // precedes above single-line equals sign - '\u2AB0': MO.REL, // succeeds above single-line equals sign - '\u00B1': MO.BIN4, // plus-minus sign - '\u00B7': MO.BIN4, // middle dot - '\u00D7': MO.BIN4, // multiplication sign - '\u00F7': MO.BIN4, // division sign - '*': MO.BIN3, // asterisk - '+': MO.BIN4, // plus sign - ',': [0,3,TEXCLASS.PUNCT,{separator: true}], // comma - '-': MO.BIN4, // hyphen-minus - '.': [3,3,TEXCLASS.ORD], // full stop - '/': MO.ORD11, // solidus - ':': [1,2,TEXCLASS.REL], // colon - ';': [0,3,TEXCLASS.PUNCT,{separator: true}], // semicolon - '<': MO.REL, // less-than sign - '=': MO.REL, // equals sign - '>': MO.REL, // greater-than sign - '?': [1,1,TEXCLASS.CLOSE], // question mark - '\\': MO.ORD, // reverse solidus - '_': MO.ORD11, // low line - '|': [2,2,TEXCLASS.ORD,{fence: true, stretchy: true, symmetric: true}], // vertical line - '#': MO.ORD, // # - '$': MO.ORD, // $ - '\u002E': [0,3,TEXCLASS.PUNCT,{separator: true}], // \ldotp - '\u02B9': MO.ORD, // prime - '\u02C9': MO.ACCENT, // \bar - '\u02CA': MO.ACCENT, // \acute - '\u02CB': MO.ACCENT, // \grave - '\u0300': MO.ACCENT, // \grave - '\u0301': MO.ACCENT, // \acute - '\u0303': MO.WIDEACCENT, // \tilde - '\u0304': MO.ACCENT, // \bar - '\u0306': MO.ACCENT, // \breve - '\u0307': MO.ACCENT, // \dot - '\u0308': MO.ACCENT, // \ddot - '\u030C': MO.ACCENT, // \check - '\u0332': MO.WIDEACCENT, // horizontal line - '\u0338': MO.REL4, // \not - '\u2015': [0,0,TEXCLASS.ORD,{stretchy: true}], // horizontal line - '\u2017': [0,0,TEXCLASS.ORD,{stretchy: true}], // horizontal line - '\u2020': MO.BIN3, // \dagger - '\u2021': MO.BIN3, // \ddagger - '\u20D7': MO.ACCENT, // \vec - '\u2118': MO.ORD, // \wp - '\u2205': MO.ORD, // \emptyset - '\u221E': MO.ORD, // \infty - '\u2305': MO.BIN3, // barwedge - '\u2306': MO.BIN3, // doublebarwedge - '\u2322': MO.REL4, // \frown - '\u2323': MO.REL4, // \smile - '\u2329': MO.OPEN, // langle - '\u232A': MO.CLOSE, // rangle - '\u23AA': MO.ORD, // \bracevert - '\u23AF': [0,0,TEXCLASS.ORD,{stretchy: true}], // \underline - '\u23B0': MO.OPEN, // \lmoustache - '\u23B1': MO.CLOSE, // \rmoustache - '\u25EF': MO.BIN3, // \bigcirc - '\u2660': MO.ORD, // \spadesuit - '\u2661': MO.ORD, // \heartsuit - '\u2662': MO.ORD, // \diamondsuit - '\u2663': MO.ORD, // \clubsuit - '\u27EE': MO.OPEN, // \lgroup - '\u27EF': MO.CLOSE, // \rgroup - '\u27FC': MO.REL4, // \longmapsto - '\u3008': MO.OPEN, // langle - '\u3009': MO.CLOSE, // rangle - '\uFE37': MO.WIDEACCENT, // horizontal brace down - '\uFE38': MO.WIDEACCENT // horizontal brace up - } - } - },{ - OPTYPES: MO - }); - -})(MathJax.ElementJax.mml); - -MathJax.ElementJax.mml.loadComplete("jax.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js deleted file mode 100644 index c148da45..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js +++ /dev/null @@ -1,122 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/Arrows.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - infix: { - '\u219A': MO.REL, // leftwards arrow with stroke - '\u219B': MO.REL, // rightwards arrow with stroke - '\u219C': MO.WIDEREL, // leftwards wave arrow - '\u219D': MO.WIDEREL, // rightwards wave arrow - '\u219E': MO.WIDEREL, // leftwards two headed arrow - '\u219F': MO.WIDEREL, // upwards two headed arrow - '\u21A0': MO.WIDEREL, // rightwards two headed arrow - '\u21A1': MO.WIDEREL, // downwards two headed arrow - '\u21A2': MO.WIDEREL, // leftwards arrow with tail - '\u21A3': MO.WIDEREL, // rightwards arrow with tail - '\u21A4': MO.WIDEREL, // leftwards arrow from bar - '\u21A5': MO.WIDEREL, // upwards arrow from bar - '\u21A7': MO.WIDEREL, // downwards arrow from bar - '\u21A8': MO.WIDEREL, // up down arrow with base - '\u21AB': MO.WIDEREL, // leftwards arrow with loop - '\u21AC': MO.WIDEREL, // rightwards arrow with loop - '\u21AD': MO.WIDEREL, // left right wave arrow - '\u21AE': MO.REL, // left right arrow with stroke - '\u21AF': MO.WIDEREL, // downwards zigzag arrow - '\u21B0': MO.WIDEREL, // upwards arrow with tip leftwards - '\u21B1': MO.WIDEREL, // upwards arrow with tip rightwards - '\u21B2': MO.WIDEREL, // downwards arrow with tip leftwards - '\u21B3': MO.WIDEREL, // downwards arrow with tip rightwards - '\u21B4': MO.WIDEREL, // rightwards arrow with corner downwards - '\u21B5': MO.WIDEREL, // downwards arrow with corner leftwards - '\u21B6': MO.REL, // anticlockwise top semicircle arrow - '\u21B7': MO.REL, // clockwise top semicircle arrow - '\u21B8': MO.REL, // north west arrow to long bar - '\u21B9': MO.WIDEREL, // leftwards arrow to bar over rightwards arrow to bar - '\u21BA': MO.REL, // anticlockwise open circle arrow - '\u21BB': MO.REL, // clockwise open circle arrow - '\u21BE': MO.WIDEREL, // upwards harpoon with barb rightwards - '\u21BF': MO.WIDEREL, // upwards harpoon with barb leftwards - '\u21C2': MO.WIDEREL, // downwards harpoon with barb rightwards - '\u21C3': MO.WIDEREL, // downwards harpoon with barb leftwards - '\u21C4': MO.WIDEREL, // rightwards arrow over leftwards arrow - '\u21C5': MO.WIDEREL, // upwards arrow leftwards of downwards arrow - '\u21C6': MO.WIDEREL, // leftwards arrow over rightwards arrow - '\u21C7': MO.WIDEREL, // leftwards paired arrows - '\u21C8': MO.WIDEREL, // upwards paired arrows - '\u21C9': MO.WIDEREL, // rightwards paired arrows - '\u21CA': MO.WIDEREL, // downwards paired arrows - '\u21CB': MO.WIDEREL, // leftwards harpoon over rightwards harpoon - '\u21CD': MO.REL, // leftwards double arrow with stroke - '\u21CE': MO.REL, // left right double arrow with stroke - '\u21CF': MO.REL, // rightwards double arrow with stroke - '\u21D6': MO.WIDEREL, // north west double arrow - '\u21D7': MO.WIDEREL, // north east double arrow - '\u21D8': MO.WIDEREL, // south east double arrow - '\u21D9': MO.WIDEREL, // south west double arrow - '\u21DA': MO.WIDEREL, // leftwards triple arrow - '\u21DB': MO.WIDEREL, // rightwards triple arrow - '\u21DC': MO.WIDEREL, // leftwards squiggle arrow - '\u21DD': MO.WIDEREL, // rightwards squiggle arrow - '\u21DE': MO.REL, // upwards arrow with double stroke - '\u21DF': MO.REL, // downwards arrow with double stroke - '\u21E0': MO.WIDEREL, // leftwards dashed arrow - '\u21E1': MO.WIDEREL, // upwards dashed arrow - '\u21E2': MO.WIDEREL, // rightwards dashed arrow - '\u21E3': MO.WIDEREL, // downwards dashed arrow - '\u21E4': MO.WIDEREL, // leftwards arrow to bar - '\u21E5': MO.WIDEREL, // rightwards arrow to bar - '\u21E6': MO.WIDEREL, // leftwards white arrow - '\u21E7': MO.WIDEREL, // upwards white arrow - '\u21E8': MO.WIDEREL, // rightwards white arrow - '\u21E9': MO.WIDEREL, // downwards white arrow - '\u21EA': MO.WIDEREL, // upwards white arrow from bar - '\u21EB': MO.WIDEREL, // upwards white arrow on pedestal - '\u21EC': MO.WIDEREL, // upwards white arrow on pedestal with horizontal bar - '\u21ED': MO.WIDEREL, // upwards white arrow on pedestal with vertical bar - '\u21EE': MO.WIDEREL, // upwards white double arrow - '\u21EF': MO.WIDEREL, // upwards white double arrow on pedestal - '\u21F0': MO.WIDEREL, // rightwards white arrow from wall - '\u21F1': MO.REL, // north west arrow to corner - '\u21F2': MO.REL, // south east arrow to corner - '\u21F3': MO.WIDEREL, // up down white arrow - '\u21F4': MO.REL, // right arrow with small circle - '\u21F5': MO.WIDEREL, // downwards arrow leftwards of upwards arrow - '\u21F6': MO.WIDEREL, // three rightwards arrows - '\u21F7': MO.REL, // leftwards arrow with vertical stroke - '\u21F8': MO.REL, // rightwards arrow with vertical stroke - '\u21F9': MO.REL, // left right arrow with vertical stroke - '\u21FA': MO.REL, // leftwards arrow with double vertical stroke - '\u21FB': MO.REL, // rightwards arrow with double vertical stroke - '\u21FC': MO.REL, // left right arrow with double vertical stroke - '\u21FD': MO.WIDEREL, // leftwards open-headed arrow - '\u21FE': MO.WIDEREL, // rightwards open-headed arrow - '\u21FF': MO.WIDEREL // left right open-headed arrow - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/Arrows.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js deleted file mode 100644 index fd47f2b1..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js +++ /dev/null @@ -1,58 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/BasicLatin.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - postfix: { - '!!': [1,0,TEXCLASS.BIN], // multiple character operator: !! - '\'': MO.ACCENT, // apostrophe - '++': [0,0,TEXCLASS.BIN], // multiple character operator: ++ - '--': [0,0,TEXCLASS.BIN], // multiple character operator: -- - '..': [0,0,TEXCLASS.BIN], // multiple character operator: .. - '...': MO.ORD // multiple character operator: ... - }, - infix: { - '!=': MO.BIN4, // multiple character operator: != - '&&': MO.BIN4, // multiple character operator: && - '**': [1,1,TEXCLASS.BIN], // multiple character operator: ** - '*=': MO.BIN4, // multiple character operator: *= - '+=': MO.BIN4, // multiple character operator: += - '-=': MO.BIN4, // multiple character operator: -= - '->': MO.BIN4, // multiple character operator: -> - '//': MO.BIN4, // multiple character operator: // - '/=': MO.BIN4, // multiple character operator: /= - ':=': MO.BIN4, // multiple character operator: := - '<=': MO.BIN4, // multiple character operator: <= - '<>': [1,1,TEXCLASS.BIN], // multiple character operator: <> - '==': MO.BIN4, // multiple character operator: == - '>=': MO.BIN4, // multiple character operator: >= - '@': MO.ORD11, // commercial at - '||': MO.BIN3 // multiple character operator: || - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/BasicLatin.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js deleted file mode 100644 index a4675c47..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/CombDiacritMarks.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - postfix: { - '\u0311': MO.ACCENT // combining inverted breve - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/CombDiacritMarks.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js deleted file mode 100644 index 66bf3e6c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/CombDiactForSymbols.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - postfix: { - '\u20DB': MO.ACCENT // combining three dots above - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/CombDiactForSymbols.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js deleted file mode 100644 index 2e4d46d3..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/Dingbats.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - infix: { - '\u2713': MO.WIDEACCENT // check mark - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/Dingbats.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js deleted file mode 100644 index 636950cd..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js +++ /dev/null @@ -1,40 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/GeneralPunctuation.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - prefix: { - '\u2018': [0,0,TEXCLASS.OPEN,{fence: true}], // left single quotation mark - '\u201C': [0,0,TEXCLASS.OPEN,{fence: true}] // left double quotation mark - }, - postfix: { - '\u2019': [0,0,TEXCLASS.CLOSE,{fence: true}], // right single quotation mark - '\u201D': [0,0,TEXCLASS.CLOSE,{fence: true}] // right double quotation mark - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/GeneralPunctuation.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js deleted file mode 100644 index 4f373d02..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js +++ /dev/null @@ -1,66 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/GeometricShapes.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - infix: { - '\u25A0': MO.BIN3, // black square - '\u25A1': MO.BIN3, // white square - '\u25AA': MO.BIN3, // black small square - '\u25AB': MO.BIN3, // white small square - '\u25AD': MO.BIN3, // white rectangle - '\u25AE': MO.BIN3, // black vertical rectangle - '\u25AF': MO.BIN3, // white vertical rectangle - '\u25B0': MO.BIN3, // black parallelogram - '\u25B1': MO.BIN3, // white parallelogram - '\u25B2': MO.BIN4, // black up-pointing triangle - '\u25B4': MO.BIN4, // black up-pointing small triangle - '\u25B6': MO.BIN4, // black right-pointing triangle - '\u25B7': MO.BIN4, // white right-pointing triangle - '\u25B8': MO.BIN4, // black right-pointing small triangle - '\u25BC': MO.BIN4, // black down-pointing triangle - '\u25BE': MO.BIN4, // black down-pointing small triangle - '\u25C0': MO.BIN4, // black left-pointing triangle - '\u25C1': MO.BIN4, // white left-pointing triangle - '\u25C2': MO.BIN4, // black left-pointing small triangle - '\u25C4': MO.BIN4, // black left-pointing pointer - '\u25C5': MO.BIN4, // white left-pointing pointer - '\u25C6': MO.BIN4, // black diamond - '\u25C7': MO.BIN4, // white diamond - '\u25C8': MO.BIN4, // white diamond containing black small diamond - '\u25C9': MO.BIN4, // fisheye - '\u25CC': MO.BIN4, // dotted circle - '\u25CD': MO.BIN4, // circle with vertical fill - '\u25CE': MO.BIN4, // bullseye - '\u25CF': MO.BIN4, // black circle - '\u25D6': MO.BIN4, // left half black circle - '\u25D7': MO.BIN4, // right half black circle - '\u25E6': MO.BIN4 // white bullet - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/GeometricShapes.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js deleted file mode 100644 index 9c36401a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/GreekAndCoptic.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - prefix: { - '\u03C3': MO.ORD11 // greek small letter sigma - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/GreekAndCoptic.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js deleted file mode 100644 index 2f426e7e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js +++ /dev/null @@ -1,37 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/Latin1Supplement.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - postfix: { - '\u00B0': MO.ORD, // degree sign - '\u00B4': MO.ACCENT, // acute accent - '\u00B8': MO.ACCENT // cedilla - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/Latin1Supplement.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js deleted file mode 100644 index 36514ab6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +++ /dev/null @@ -1,39 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/LetterlikeSymbols.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - prefix: { - '\u2145': MO.ORD21, // double-struck italic capital d - '\u2146': [2,0,TEXCLASS.ORD], // double-struck italic small d - '\u2147': MO.ORD, // double-struck italic small e - '\u2148': MO.ORD, // double-struck italic small i - '\u2149': MO.ORD // double-struck italic small j - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/LetterlikeSymbols.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js deleted file mode 100644 index 9e4cf153..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js +++ /dev/null @@ -1,228 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/MathOperators.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - prefix: { - '\u2204': MO.ORD21, // there does not exist - '\u221B': MO.ORD11, // cube root - '\u221C': MO.ORD11, // fourth root - '\u2221': MO.ORD, // measured angle - '\u2222': MO.ORD, // spherical angle - '\u222C': MO.INTEGRAL, // double integral - '\u222D': MO.INTEGRAL, // triple integral - '\u222F': MO.INTEGRAL, // surface integral - '\u2230': MO.INTEGRAL, // volume integral - '\u2231': MO.INTEGRAL, // clockwise integral - '\u2232': MO.INTEGRAL, // clockwise contour integral - '\u2233': MO.INTEGRAL // anticlockwise contour integral - }, - infix: { - '\u2201': [1,2,TEXCLASS.ORD], // complement - '\u2206': MO.BIN3, // increment - '\u220A': MO.REL, // small element of - '\u220C': MO.REL, // does not contain as member - '\u220D': MO.REL, // small contains as member - '\u220E': MO.BIN3, // end of proof - '\u2214': MO.BIN4, // dot plus - '\u221F': MO.REL, // right angle - '\u2224': MO.REL, // does not divide - '\u2226': MO.REL, // not parallel to - '\u2234': MO.REL, // therefore - '\u2235': MO.REL, // because - '\u2236': MO.REL, // ratio - '\u2237': MO.REL, // proportion - '\u2238': MO.BIN4, // dot minus - '\u2239': MO.REL, // excess - '\u223A': MO.BIN4, // geometric proportion - '\u223B': MO.REL, // homothetic - '\u223D': MO.REL, // reversed tilde - '\u223D\u0331': MO.BIN3, // reversed tilde with underline - '\u223E': MO.REL, // inverted lazy s - '\u223F': MO.BIN3, // sine wave - '\u2241': MO.REL, // not tilde - '\u2242': MO.REL, // minus tilde - '\u2242\u0338': MO.BIN4, // minus tilde with slash - '\u2244': MO.REL, // not asymptotically equal to - '\u2246': MO.REL, // approximately but not actually equal to - '\u2247': MO.REL, // neither approximately nor actually equal to - '\u2249': MO.REL, // not almost equal to - '\u224A': MO.REL, // almost equal or equal to - '\u224B': MO.REL, // triple tilde - '\u224C': MO.REL, // all equal to - '\u224E': MO.REL, // geometrically equivalent to - '\u224E\u0338': MO.BIN4, // geometrically equivalent to with slash - '\u224F': MO.REL, // difference between - '\u224F\u0338': MO.BIN4, // difference between with slash - '\u2251': MO.REL, // geometrically equal to - '\u2252': MO.REL, // approximately equal to or the image of - '\u2253': MO.REL, // image of or approximately equal to - '\u2254': MO.REL, // colon equals - '\u2255': MO.REL, // equals colon - '\u2256': MO.REL, // ring in equal to - '\u2257': MO.REL, // ring equal to - '\u2258': MO.REL, // corresponds to - '\u2259': MO.REL, // estimates - '\u225A': MO.REL, // equiangular to - '\u225C': MO.REL, // delta equal to - '\u225D': MO.REL, // equal to by definition - '\u225E': MO.REL, // measured by - '\u225F': MO.REL, // questioned equal to - '\u2262': MO.REL, // not identical to - '\u2263': MO.REL, // strictly equivalent to - '\u2266': MO.REL, // less-than over equal to - '\u2266\u0338': MO.BIN4, // less-than over equal to with slash - '\u2267': MO.REL, // greater-than over equal to - '\u2268': MO.REL, // less-than but not equal to - '\u2269': MO.REL, // greater-than but not equal to - '\u226A\u0338': MO.BIN4, // much less than with slash - '\u226B\u0338': MO.BIN4, // much greater than with slash - '\u226C': MO.REL, // between - '\u226D': MO.REL, // not equivalent to - '\u226E': MO.REL, // not less-than - '\u226F': MO.REL, // not greater-than - '\u2270': MO.REL, // neither less-than nor equal to - '\u2271': MO.REL, // neither greater-than nor equal to - '\u2272': MO.REL, // less-than or equivalent to - '\u2273': MO.REL, // greater-than or equivalent to - '\u2274': MO.REL, // neither less-than nor equivalent to - '\u2275': MO.REL, // neither greater-than nor equivalent to - '\u2276': MO.REL, // less-than or greater-than - '\u2277': MO.REL, // greater-than or less-than - '\u2278': MO.REL, // neither less-than nor greater-than - '\u2279': MO.REL, // neither greater-than nor less-than - '\u227C': MO.REL, // precedes or equal to - '\u227D': MO.REL, // succeeds or equal to - '\u227E': MO.REL, // precedes or equivalent to - '\u227F': MO.REL, // succeeds or equivalent to - '\u227F\u0338': MO.BIN4, // succeeds or equivalent to with slash - '\u2280': MO.REL, // does not precede - '\u2281': MO.REL, // does not succeed - '\u2282\u20D2': MO.BIN4, // subset of with vertical line - '\u2283\u20D2': MO.BIN4, // superset of with vertical line - '\u2284': MO.REL, // not a subset of - '\u2285': MO.REL, // not a superset of - '\u2288': MO.REL, // neither a subset of nor equal to - '\u2289': MO.REL, // neither a superset of nor equal to - '\u228A': MO.REL, // subset of with not equal to - '\u228B': MO.REL, // superset of with not equal to - '\u228C': MO.BIN4, // multiset - '\u228D': MO.BIN4, // multiset multiplication - '\u228F': MO.REL, // square image of - '\u228F\u0338': MO.BIN4, // square image of with slash - '\u2290': MO.REL, // square original of - '\u2290\u0338': MO.BIN4, // square original of with slash - '\u229A': MO.BIN4, // circled ring operator - '\u229B': MO.BIN4, // circled asterisk operator - '\u229C': MO.BIN4, // circled equals - '\u229D': MO.BIN4, // circled dash - '\u229E': MO.BIN4, // squared plus - '\u229F': MO.BIN4, // squared minus - '\u22A0': MO.BIN4, // squared times - '\u22A1': MO.BIN4, // squared dot operator - '\u22A6': MO.REL, // assertion - '\u22A7': MO.REL, // models - '\u22A9': MO.REL, // forces - '\u22AA': MO.REL, // triple vertical bar right turnstile - '\u22AB': MO.REL, // double vertical bar double right turnstile - '\u22AC': MO.REL, // does not prove - '\u22AD': MO.REL, // not true - '\u22AE': MO.REL, // does not force - '\u22AF': MO.REL, // negated double vertical bar double right turnstile - '\u22B0': MO.REL, // precedes under relation - '\u22B1': MO.REL, // succeeds under relation - '\u22B2': MO.REL, // normal subgroup of - '\u22B3': MO.REL, // contains as normal subgroup - '\u22B4': MO.REL, // normal subgroup of or equal to - '\u22B5': MO.REL, // contains as normal subgroup or equal to - '\u22B6': MO.REL, // original of - '\u22B7': MO.REL, // image of - '\u22B8': MO.REL, // multimap - '\u22B9': MO.REL, // hermitian conjugate matrix - '\u22BA': MO.BIN4, // intercalate - '\u22BB': MO.BIN4, // xor - '\u22BC': MO.BIN4, // nand - '\u22BD': MO.BIN4, // nor - '\u22BE': MO.BIN3, // right angle with arc - '\u22BF': MO.BIN3, // right triangle - '\u22C7': MO.BIN4, // division times - '\u22C9': MO.BIN4, // left normal factor semidirect product - '\u22CA': MO.BIN4, // right normal factor semidirect product - '\u22CB': MO.BIN4, // left semidirect product - '\u22CC': MO.BIN4, // right semidirect product - '\u22CD': MO.REL, // reversed tilde equals - '\u22CE': MO.BIN4, // curly logical or - '\u22CF': MO.BIN4, // curly logical and - '\u22D0': MO.REL, // double subset - '\u22D1': MO.REL, // double superset - '\u22D2': MO.BIN4, // double intersection - '\u22D3': MO.BIN4, // double union - '\u22D4': MO.REL, // pitchfork - '\u22D5': MO.REL, // equal and parallel to - '\u22D6': MO.REL, // less-than with dot - '\u22D7': MO.REL, // greater-than with dot - '\u22D8': MO.REL, // very much less-than - '\u22D9': MO.REL, // very much greater-than - '\u22DA': MO.REL, // less-than equal to or greater-than - '\u22DB': MO.REL, // greater-than equal to or less-than - '\u22DC': MO.REL, // equal to or less-than - '\u22DD': MO.REL, // equal to or greater-than - '\u22DE': MO.REL, // equal to or precedes - '\u22DF': MO.REL, // equal to or succeeds - '\u22E0': MO.REL, // does not precede or equal - '\u22E1': MO.REL, // does not succeed or equal - '\u22E2': MO.REL, // not square image of or equal to - '\u22E3': MO.REL, // not square original of or equal to - '\u22E4': MO.REL, // square image of or not equal to - '\u22E5': MO.REL, // square original of or not equal to - '\u22E6': MO.REL, // less-than but not equivalent to - '\u22E7': MO.REL, // greater-than but not equivalent to - '\u22E8': MO.REL, // precedes but not equivalent to - '\u22E9': MO.REL, // succeeds but not equivalent to - '\u22EA': MO.REL, // not normal subgroup of - '\u22EB': MO.REL, // does not contain as normal subgroup - '\u22EC': MO.REL, // not normal subgroup of or equal to - '\u22ED': MO.REL, // does not contain as normal subgroup or equal - '\u22F0': MO.REL, // up right diagonal ellipsis - '\u22F2': MO.REL, // element of with long horizontal stroke - '\u22F3': MO.REL, // element of with vertical bar at end of horizontal stroke - '\u22F4': MO.REL, // small element of with vertical bar at end of horizontal stroke - '\u22F5': MO.REL, // element of with dot above - '\u22F6': MO.REL, // element of with overbar - '\u22F7': MO.REL, // small element of with overbar - '\u22F8': MO.REL, // element of with underbar - '\u22F9': MO.REL, // element of with two horizontal strokes - '\u22FA': MO.REL, // contains with long horizontal stroke - '\u22FB': MO.REL, // contains with vertical bar at end of horizontal stroke - '\u22FC': MO.REL, // small contains with vertical bar at end of horizontal stroke - '\u22FD': MO.REL, // contains with overbar - '\u22FE': MO.REL, // small contains with overbar - '\u22FF': MO.REL // z notation bag membership - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/MathOperators.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js deleted file mode 100644 index a8091a23..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/MiscMathSymbolsA.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - prefix: { - '\u27E6': MO.OPEN // mathematical left white square bracket - }, - postfix: { - '\u27E7': MO.CLOSE // mathematical right white square bracket - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/MiscMathSymbolsA.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js deleted file mode 100644 index 7c6453bb..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +++ /dev/null @@ -1,167 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/MiscMathSymbolsB.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - prefix: { - '\u2983': MO.OPEN, // left white curly bracket - '\u2985': MO.OPEN, // left white parenthesis - '\u2987': MO.OPEN, // z notation left image bracket - '\u2989': MO.OPEN, // z notation left binding bracket - '\u298B': MO.OPEN, // left square bracket with underbar - '\u298D': MO.OPEN, // left square bracket with tick in top corner - '\u298F': MO.OPEN, // left square bracket with tick in bottom corner - '\u2991': MO.OPEN, // left angle bracket with dot - '\u2993': MO.OPEN, // left arc less-than bracket - '\u2995': MO.OPEN, // double left arc greater-than bracket - '\u2997': MO.OPEN, // left black tortoise shell bracket - '\u29FC': MO.OPEN // left-pointing curved angle bracket - }, - postfix: { - '\u2984': MO.CLOSE, // right white curly bracket - '\u2986': MO.CLOSE, // right white parenthesis - '\u2988': MO.CLOSE, // z notation right image bracket - '\u298A': MO.CLOSE, // z notation right binding bracket - '\u298C': MO.CLOSE, // right square bracket with underbar - '\u298E': MO.CLOSE, // right square bracket with tick in bottom corner - '\u2990': MO.CLOSE, // right square bracket with tick in top corner - '\u2992': MO.CLOSE, // right angle bracket with dot - '\u2994': MO.CLOSE, // right arc greater-than bracket - '\u2996': MO.CLOSE, // double right arc less-than bracket - '\u2998': MO.CLOSE, // right black tortoise shell bracket - '\u29FD': MO.CLOSE // right-pointing curved angle bracket - }, - infix: { - '\u2980': MO.ORD, // triple vertical bar delimiter - '\u2981': MO.BIN3, // z notation spot - '\u2982': MO.BIN3, // z notation type colon - '\u2999': MO.BIN3, // dotted fence - '\u299A': MO.BIN3, // vertical zigzag line - '\u299B': MO.BIN3, // measured angle opening left - '\u299C': MO.BIN3, // right angle variant with square - '\u299D': MO.BIN3, // measured right angle with dot - '\u299E': MO.BIN3, // angle with s inside - '\u299F': MO.BIN3, // acute angle - '\u29A0': MO.BIN3, // spherical angle opening left - '\u29A1': MO.BIN3, // spherical angle opening up - '\u29A2': MO.BIN3, // turned angle - '\u29A3': MO.BIN3, // reversed angle - '\u29A4': MO.BIN3, // angle with underbar - '\u29A5': MO.BIN3, // reversed angle with underbar - '\u29A6': MO.BIN3, // oblique angle opening up - '\u29A7': MO.BIN3, // oblique angle opening down - '\u29A8': MO.BIN3, // measured angle with open arm ending in arrow pointing up and right - '\u29A9': MO.BIN3, // measured angle with open arm ending in arrow pointing up and left - '\u29AA': MO.BIN3, // measured angle with open arm ending in arrow pointing down and right - '\u29AB': MO.BIN3, // measured angle with open arm ending in arrow pointing down and left - '\u29AC': MO.BIN3, // measured angle with open arm ending in arrow pointing right and up - '\u29AD': MO.BIN3, // measured angle with open arm ending in arrow pointing left and up - '\u29AE': MO.BIN3, // measured angle with open arm ending in arrow pointing right and down - '\u29AF': MO.BIN3, // measured angle with open arm ending in arrow pointing left and down - '\u29B0': MO.BIN3, // reversed empty set - '\u29B1': MO.BIN3, // empty set with overbar - '\u29B2': MO.BIN3, // empty set with small circle above - '\u29B3': MO.BIN3, // empty set with right arrow above - '\u29B4': MO.BIN3, // empty set with left arrow above - '\u29B5': MO.BIN3, // circle with horizontal bar - '\u29B6': MO.BIN4, // circled vertical bar - '\u29B7': MO.BIN4, // circled parallel - '\u29B8': MO.BIN4, // circled reverse solidus - '\u29B9': MO.BIN4, // circled perpendicular - '\u29BA': MO.BIN4, // circle divided by horizontal bar and top half divided by vertical bar - '\u29BB': MO.BIN4, // circle with superimposed x - '\u29BC': MO.BIN4, // circled anticlockwise-rotated division sign - '\u29BD': MO.BIN4, // up arrow through circle - '\u29BE': MO.BIN4, // circled white bullet - '\u29BF': MO.BIN4, // circled bullet - '\u29C0': MO.REL, // circled less-than - '\u29C1': MO.REL, // circled greater-than - '\u29C2': MO.BIN3, // circle with small circle to the right - '\u29C3': MO.BIN3, // circle with two horizontal strokes to the right - '\u29C4': MO.BIN4, // squared rising diagonal slash - '\u29C5': MO.BIN4, // squared falling diagonal slash - '\u29C6': MO.BIN4, // squared asterisk - '\u29C7': MO.BIN4, // squared small circle - '\u29C8': MO.BIN4, // squared square - '\u29C9': MO.BIN3, // two joined squares - '\u29CA': MO.BIN3, // triangle with dot above - '\u29CB': MO.BIN3, // triangle with underbar - '\u29CC': MO.BIN3, // s in triangle - '\u29CD': MO.BIN3, // triangle with serifs at bottom - '\u29CE': MO.REL, // right triangle above left triangle - '\u29CF': MO.REL, // left triangle beside vertical bar - '\u29CF\u0338': MO.BIN4, // left triangle beside vertical bar with slash - '\u29D0': MO.REL, // vertical bar beside right triangle - '\u29D0\u0338': MO.BIN4, // vertical bar beside right triangle with slash - '\u29D1': MO.REL, // bowtie with left half black - '\u29D2': MO.REL, // bowtie with right half black - '\u29D3': MO.REL, // black bowtie - '\u29D4': MO.REL, // times with left half black - '\u29D5': MO.REL, // times with right half black - '\u29D6': MO.BIN4, // white hourglass - '\u29D7': MO.BIN4, // black hourglass - '\u29D8': MO.BIN3, // left wiggly fence - '\u29D9': MO.BIN3, // right wiggly fence - '\u29DB': MO.BIN3, // right double wiggly fence - '\u29DC': MO.BIN3, // incomplete infinity - '\u29DD': MO.BIN3, // tie over infinity - '\u29DE': MO.REL, // infinity negated with vertical bar - '\u29DF': MO.BIN3, // double-ended multimap - '\u29E0': MO.BIN3, // square with contoured outline - '\u29E1': MO.REL, // increases as - '\u29E2': MO.BIN4, // shuffle product - '\u29E3': MO.REL, // equals sign and slanted parallel - '\u29E4': MO.REL, // equals sign and slanted parallel with tilde above - '\u29E5': MO.REL, // identical to and slanted parallel - '\u29E6': MO.REL, // gleich stark - '\u29E7': MO.BIN3, // thermodynamic - '\u29E8': MO.BIN3, // down-pointing triangle with left half black - '\u29E9': MO.BIN3, // down-pointing triangle with right half black - '\u29EA': MO.BIN3, // black diamond with down arrow - '\u29EB': MO.BIN3, // black lozenge - '\u29EC': MO.BIN3, // white circle with down arrow - '\u29ED': MO.BIN3, // black circle with down arrow - '\u29EE': MO.BIN3, // error-barred white square - '\u29EF': MO.BIN3, // error-barred black square - '\u29F0': MO.BIN3, // error-barred white diamond - '\u29F1': MO.BIN3, // error-barred black diamond - '\u29F2': MO.BIN3, // error-barred white circle - '\u29F3': MO.BIN3, // error-barred black circle - '\u29F4': MO.REL, // rule-delayed - '\u29F5': MO.BIN4, // reverse solidus operator - '\u29F6': MO.BIN4, // solidus with overbar - '\u29F7': MO.BIN4, // reverse solidus with horizontal stroke - '\u29F8': MO.BIN3, // big solidus - '\u29F9': MO.BIN3, // big reverse solidus - '\u29FA': MO.BIN3, // double plus - '\u29FB': MO.BIN3, // triple plus - '\u29FE': MO.BIN4, // tiny - '\u29FF': MO.BIN4 // miny - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/MiscMathSymbolsB.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js deleted file mode 100644 index 85b1dbfe..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/MiscTechnical.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - postfix: { - '\u23B4': MO.WIDEACCENT, // top square bracket - '\u23B5': MO.WIDEACCENT, // bottom square bracket - '\u23DC': MO.WIDEACCENT, // top parenthesis - '\u23DD': MO.WIDEACCENT // bottom parenthesis - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/MiscTechnical.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js deleted file mode 100644 index 45687ea7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/SpacingModLetters.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - postfix: { - '\u02DA': MO.ACCENT, // ring above - '\u02DD': MO.ACCENT // double acute accent - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/SpacingModLetters.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js deleted file mode 100644 index eccb0d8d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js +++ /dev/null @@ -1,289 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/SuppMathOperators.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - prefix: { - '\u2A03': MO.OP, // n-ary union operator with dot - '\u2A05': MO.OP, // n-ary square intersection operator - '\u2A07': MO.OP, // two logical and operator - '\u2A08': MO.OP, // two logical or operator - '\u2A09': MO.OP, // n-ary times operator - '\u2A0A': MO.OP, // modulo two sum - '\u2A0B': MO.INTEGRAL2, // summation with integral - '\u2A0C': MO.INTEGRAL, // quadruple integral operator - '\u2A0D': MO.INTEGRAL2, // finite part integral - '\u2A0E': MO.INTEGRAL2, // integral with double stroke - '\u2A0F': MO.INTEGRAL2, // integral average with slash - '\u2A10': MO.OP, // circulation function - '\u2A11': MO.OP, // anticlockwise integration - '\u2A12': MO.OP, // line integration with rectangular path around pole - '\u2A13': MO.OP, // line integration with semicircular path around pole - '\u2A14': MO.OP, // line integration not including the pole - '\u2A15': MO.INTEGRAL2, // integral around a point operator - '\u2A16': MO.INTEGRAL2, // quaternion integral operator - '\u2A17': MO.INTEGRAL2, // integral with leftwards arrow with hook - '\u2A18': MO.INTEGRAL2, // integral with times sign - '\u2A19': MO.INTEGRAL2, // integral with intersection - '\u2A1A': MO.INTEGRAL2, // integral with union - '\u2A1B': MO.INTEGRAL2, // integral with overbar - '\u2A1C': MO.INTEGRAL2, // integral with underbar - '\u2AFC': MO.OP, // large triple vertical bar operator - '\u2AFF': MO.OP // n-ary white vertical bar - }, - infix: { - '\u2A1D': MO.BIN3, // join - '\u2A1E': MO.BIN3, // large left triangle operator - '\u2A1F': MO.BIN3, // z notation schema composition - '\u2A20': MO.BIN3, // z notation schema piping - '\u2A21': MO.BIN3, // z notation schema projection - '\u2A22': MO.BIN4, // plus sign with small circle above - '\u2A23': MO.BIN4, // plus sign with circumflex accent above - '\u2A24': MO.BIN4, // plus sign with tilde above - '\u2A25': MO.BIN4, // plus sign with dot below - '\u2A26': MO.BIN4, // plus sign with tilde below - '\u2A27': MO.BIN4, // plus sign with subscript two - '\u2A28': MO.BIN4, // plus sign with black triangle - '\u2A29': MO.BIN4, // minus sign with comma above - '\u2A2A': MO.BIN4, // minus sign with dot below - '\u2A2B': MO.BIN4, // minus sign with falling dots - '\u2A2C': MO.BIN4, // minus sign with rising dots - '\u2A2D': MO.BIN4, // plus sign in left half circle - '\u2A2E': MO.BIN4, // plus sign in right half circle - '\u2A30': MO.BIN4, // multiplication sign with dot above - '\u2A31': MO.BIN4, // multiplication sign with underbar - '\u2A32': MO.BIN4, // semidirect product with bottom closed - '\u2A33': MO.BIN4, // smash product - '\u2A34': MO.BIN4, // multiplication sign in left half circle - '\u2A35': MO.BIN4, // multiplication sign in right half circle - '\u2A36': MO.BIN4, // circled multiplication sign with circumflex accent - '\u2A37': MO.BIN4, // multiplication sign in double circle - '\u2A38': MO.BIN4, // circled division sign - '\u2A39': MO.BIN4, // plus sign in triangle - '\u2A3A': MO.BIN4, // minus sign in triangle - '\u2A3B': MO.BIN4, // multiplication sign in triangle - '\u2A3C': MO.BIN4, // interior product - '\u2A3D': MO.BIN4, // righthand interior product - '\u2A3E': MO.BIN4, // z notation relational composition - '\u2A40': MO.BIN4, // intersection with dot - '\u2A41': MO.BIN4, // union with minus sign - '\u2A42': MO.BIN4, // union with overbar - '\u2A43': MO.BIN4, // intersection with overbar - '\u2A44': MO.BIN4, // intersection with logical and - '\u2A45': MO.BIN4, // union with logical or - '\u2A46': MO.BIN4, // union above intersection - '\u2A47': MO.BIN4, // intersection above union - '\u2A48': MO.BIN4, // union above bar above intersection - '\u2A49': MO.BIN4, // intersection above bar above union - '\u2A4A': MO.BIN4, // union beside and joined with union - '\u2A4B': MO.BIN4, // intersection beside and joined with intersection - '\u2A4C': MO.BIN4, // closed union with serifs - '\u2A4D': MO.BIN4, // closed intersection with serifs - '\u2A4E': MO.BIN4, // double square intersection - '\u2A4F': MO.BIN4, // double square union - '\u2A50': MO.BIN4, // closed union with serifs and smash product - '\u2A51': MO.BIN4, // logical and with dot above - '\u2A52': MO.BIN4, // logical or with dot above - '\u2A53': MO.BIN4, // double logical and - '\u2A54': MO.BIN4, // double logical or - '\u2A55': MO.BIN4, // two intersecting logical and - '\u2A56': MO.BIN4, // two intersecting logical or - '\u2A57': MO.BIN4, // sloping large or - '\u2A58': MO.BIN4, // sloping large and - '\u2A59': MO.REL, // logical or overlapping logical and - '\u2A5A': MO.BIN4, // logical and with middle stem - '\u2A5B': MO.BIN4, // logical or with middle stem - '\u2A5C': MO.BIN4, // logical and with horizontal dash - '\u2A5D': MO.BIN4, // logical or with horizontal dash - '\u2A5E': MO.BIN4, // logical and with double overbar - '\u2A5F': MO.BIN4, // logical and with underbar - '\u2A60': MO.BIN4, // logical and with double underbar - '\u2A61': MO.BIN4, // small vee with underbar - '\u2A62': MO.BIN4, // logical or with double overbar - '\u2A63': MO.BIN4, // logical or with double underbar - '\u2A64': MO.BIN4, // z notation domain antirestriction - '\u2A65': MO.BIN4, // z notation range antirestriction - '\u2A66': MO.REL, // equals sign with dot below - '\u2A67': MO.REL, // identical with dot above - '\u2A68': MO.REL, // triple horizontal bar with double vertical stroke - '\u2A69': MO.REL, // triple horizontal bar with triple vertical stroke - '\u2A6A': MO.REL, // tilde operator with dot above - '\u2A6B': MO.REL, // tilde operator with rising dots - '\u2A6C': MO.REL, // similar minus similar - '\u2A6D': MO.REL, // congruent with dot above - '\u2A6E': MO.REL, // equals with asterisk - '\u2A6F': MO.REL, // almost equal to with circumflex accent - '\u2A70': MO.REL, // approximately equal or equal to - '\u2A71': MO.BIN4, // equals sign above plus sign - '\u2A72': MO.BIN4, // plus sign above equals sign - '\u2A73': MO.REL, // equals sign above tilde operator - '\u2A74': MO.REL, // double colon equal - '\u2A75': MO.REL, // two consecutive equals signs - '\u2A76': MO.REL, // three consecutive equals signs - '\u2A77': MO.REL, // equals sign with two dots above and two dots below - '\u2A78': MO.REL, // equivalent with four dots above - '\u2A79': MO.REL, // less-than with circle inside - '\u2A7A': MO.REL, // greater-than with circle inside - '\u2A7B': MO.REL, // less-than with question mark above - '\u2A7C': MO.REL, // greater-than with question mark above - '\u2A7D': MO.REL, // less-than or slanted equal to - '\u2A7D\u0338': MO.BIN4, // less-than or slanted equal to with slash - '\u2A7E': MO.REL, // greater-than or slanted equal to - '\u2A7E\u0338': MO.BIN4, // greater-than or slanted equal to with slash - '\u2A7F': MO.REL, // less-than or slanted equal to with dot inside - '\u2A80': MO.REL, // greater-than or slanted equal to with dot inside - '\u2A81': MO.REL, // less-than or slanted equal to with dot above - '\u2A82': MO.REL, // greater-than or slanted equal to with dot above - '\u2A83': MO.REL, // less-than or slanted equal to with dot above right - '\u2A84': MO.REL, // greater-than or slanted equal to with dot above left - '\u2A85': MO.REL, // less-than or approximate - '\u2A86': MO.REL, // greater-than or approximate - '\u2A87': MO.REL, // less-than and single-line not equal to - '\u2A88': MO.REL, // greater-than and single-line not equal to - '\u2A89': MO.REL, // less-than and not approximate - '\u2A8A': MO.REL, // greater-than and not approximate - '\u2A8B': MO.REL, // less-than above double-line equal above greater-than - '\u2A8C': MO.REL, // greater-than above double-line equal above less-than - '\u2A8D': MO.REL, // less-than above similar or equal - '\u2A8E': MO.REL, // greater-than above similar or equal - '\u2A8F': MO.REL, // less-than above similar above greater-than - '\u2A90': MO.REL, // greater-than above similar above less-than - '\u2A91': MO.REL, // less-than above greater-than above double-line equal - '\u2A92': MO.REL, // greater-than above less-than above double-line equal - '\u2A93': MO.REL, // less-than above slanted equal above greater-than above slanted equal - '\u2A94': MO.REL, // greater-than above slanted equal above less-than above slanted equal - '\u2A95': MO.REL, // slanted equal to or less-than - '\u2A96': MO.REL, // slanted equal to or greater-than - '\u2A97': MO.REL, // slanted equal to or less-than with dot inside - '\u2A98': MO.REL, // slanted equal to or greater-than with dot inside - '\u2A99': MO.REL, // double-line equal to or less-than - '\u2A9A': MO.REL, // double-line equal to or greater-than - '\u2A9B': MO.REL, // double-line slanted equal to or less-than - '\u2A9C': MO.REL, // double-line slanted equal to or greater-than - '\u2A9D': MO.REL, // similar or less-than - '\u2A9E': MO.REL, // similar or greater-than - '\u2A9F': MO.REL, // similar above less-than above equals sign - '\u2AA0': MO.REL, // similar above greater-than above equals sign - '\u2AA1': MO.REL, // double nested less-than - '\u2AA1\u0338': MO.BIN4, // double nested less-than with slash - '\u2AA2': MO.REL, // double nested greater-than - '\u2AA2\u0338': MO.BIN4, // double nested greater-than with slash - '\u2AA3': MO.REL, // double nested less-than with underbar - '\u2AA4': MO.REL, // greater-than overlapping less-than - '\u2AA5': MO.REL, // greater-than beside less-than - '\u2AA6': MO.REL, // less-than closed by curve - '\u2AA7': MO.REL, // greater-than closed by curve - '\u2AA8': MO.REL, // less-than closed by curve above slanted equal - '\u2AA9': MO.REL, // greater-than closed by curve above slanted equal - '\u2AAA': MO.REL, // smaller than - '\u2AAB': MO.REL, // larger than - '\u2AAC': MO.REL, // smaller than or equal to - '\u2AAD': MO.REL, // larger than or equal to - '\u2AAE': MO.REL, // equals sign with bumpy above - '\u2AAF\u0338': MO.BIN4, // precedes above single-line equals sign with slash - '\u2AB0\u0338': MO.BIN4, // succeeds above single-line equals sign with slash - '\u2AB1': MO.REL, // precedes above single-line not equal to - '\u2AB2': MO.REL, // succeeds above single-line not equal to - '\u2AB3': MO.REL, // precedes above equals sign - '\u2AB4': MO.REL, // succeeds above equals sign - '\u2AB5': MO.REL, // precedes above not equal to - '\u2AB6': MO.REL, // succeeds above not equal to - '\u2AB7': MO.REL, // precedes above almost equal to - '\u2AB8': MO.REL, // succeeds above almost equal to - '\u2AB9': MO.REL, // precedes above not almost equal to - '\u2ABA': MO.REL, // succeeds above not almost equal to - '\u2ABB': MO.REL, // double precedes - '\u2ABC': MO.REL, // double succeeds - '\u2ABD': MO.REL, // subset with dot - '\u2ABE': MO.REL, // superset with dot - '\u2ABF': MO.REL, // subset with plus sign below - '\u2AC0': MO.REL, // superset with plus sign below - '\u2AC1': MO.REL, // subset with multiplication sign below - '\u2AC2': MO.REL, // superset with multiplication sign below - '\u2AC3': MO.REL, // subset of or equal to with dot above - '\u2AC4': MO.REL, // superset of or equal to with dot above - '\u2AC5': MO.REL, // subset of above equals sign - '\u2AC6': MO.REL, // superset of above equals sign - '\u2AC7': MO.REL, // subset of above tilde operator - '\u2AC8': MO.REL, // superset of above tilde operator - '\u2AC9': MO.REL, // subset of above almost equal to - '\u2ACA': MO.REL, // superset of above almost equal to - '\u2ACB': MO.REL, // subset of above not equal to - '\u2ACC': MO.REL, // superset of above not equal to - '\u2ACD': MO.REL, // square left open box operator - '\u2ACE': MO.REL, // square right open box operator - '\u2ACF': MO.REL, // closed subset - '\u2AD0': MO.REL, // closed superset - '\u2AD1': MO.REL, // closed subset or equal to - '\u2AD2': MO.REL, // closed superset or equal to - '\u2AD3': MO.REL, // subset above superset - '\u2AD4': MO.REL, // superset above subset - '\u2AD5': MO.REL, // subset above subset - '\u2AD6': MO.REL, // superset above superset - '\u2AD7': MO.REL, // superset beside subset - '\u2AD8': MO.REL, // superset beside and joined by dash with subset - '\u2AD9': MO.REL, // element of opening downwards - '\u2ADA': MO.REL, // pitchfork with tee top - '\u2ADB': MO.REL, // transversal intersection - '\u2ADC': MO.REL, // forking - '\u2ADD': MO.REL, // nonforking - '\u2ADE': MO.REL, // short left tack - '\u2ADF': MO.REL, // short down tack - '\u2AE0': MO.REL, // short up tack - '\u2AE1': MO.REL, // perpendicular with s - '\u2AE2': MO.REL, // vertical bar triple right turnstile - '\u2AE3': MO.REL, // double vertical bar left turnstile - '\u2AE4': MO.REL, // vertical bar double left turnstile - '\u2AE5': MO.REL, // double vertical bar double left turnstile - '\u2AE6': MO.REL, // long dash from left member of double vertical - '\u2AE7': MO.REL, // short down tack with overbar - '\u2AE8': MO.REL, // short up tack with underbar - '\u2AE9': MO.REL, // short up tack above short down tack - '\u2AEA': MO.REL, // double down tack - '\u2AEB': MO.REL, // double up tack - '\u2AEC': MO.REL, // double stroke not sign - '\u2AED': MO.REL, // reversed double stroke not sign - '\u2AEE': MO.REL, // does not divide with reversed negation slash - '\u2AEF': MO.REL, // vertical line with circle above - '\u2AF0': MO.REL, // vertical line with circle below - '\u2AF1': MO.REL, // down tack with circle below - '\u2AF2': MO.REL, // parallel with horizontal stroke - '\u2AF3': MO.REL, // parallel with tilde operator - '\u2AF4': MO.BIN4, // triple vertical bar binary relation - '\u2AF5': MO.BIN4, // triple vertical bar with horizontal stroke - '\u2AF6': MO.BIN4, // triple colon operator - '\u2AF7': MO.REL, // triple nested less-than - '\u2AF8': MO.REL, // triple nested greater-than - '\u2AF9': MO.REL, // double-line slanted less-than or equal to - '\u2AFA': MO.REL, // double-line slanted greater-than or equal to - '\u2AFB': MO.BIN4, // triple solidus binary relation - '\u2AFD': MO.BIN4, // double solidus operator - '\u2AFE': MO.BIN3 // white vertical bar - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/SuppMathOperators.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js deleted file mode 100644 index 9ae961d9..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +++ /dev/null @@ -1,162 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/optable/SupplementalArrowsB.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MML) { - var MO = MML.mo.OPTYPES; - var TEXCLASS = MML.TEXCLASS; - - MathJax.Hub.Insert(MML.mo.prototype,{ - OPTABLE: { - infix: { - '\u2900': MO.REL, // rightwards two-headed arrow with vertical stroke - '\u2901': MO.REL, // rightwards two-headed arrow with double vertical stroke - '\u2902': MO.REL, // leftwards double arrow with vertical stroke - '\u2903': MO.REL, // rightwards double arrow with vertical stroke - '\u2904': MO.REL, // left right double arrow with vertical stroke - '\u2905': MO.REL, // rightwards two-headed arrow from bar - '\u2906': MO.REL, // leftwards double arrow from bar - '\u2907': MO.REL, // rightwards double arrow from bar - '\u2908': MO.REL, // downwards arrow with horizontal stroke - '\u2909': MO.REL, // upwards arrow with horizontal stroke - '\u290A': MO.WIDEREL, // upwards triple arrow - '\u290B': MO.WIDEREL, // downwards triple arrow - '\u290C': MO.WIDEREL, // leftwards double dash arrow - '\u290D': MO.WIDEREL, // rightwards double dash arrow - '\u290E': MO.WIDEREL, // leftwards triple dash arrow - '\u290F': MO.WIDEREL, // rightwards triple dash arrow - '\u2910': MO.WIDEREL, // rightwards two-headed triple dash arrow - '\u2911': MO.REL, // rightwards arrow with dotted stem - '\u2912': MO.WIDEREL, // upwards arrow to bar - '\u2913': MO.WIDEREL, // downwards arrow to bar - '\u2914': MO.REL, // rightwards arrow with tail with vertical stroke - '\u2915': MO.REL, // rightwards arrow with tail with double vertical stroke - '\u2916': MO.REL, // rightwards two-headed arrow with tail - '\u2917': MO.REL, // rightwards two-headed arrow with tail with vertical stroke - '\u2918': MO.REL, // rightwards two-headed arrow with tail with double vertical stroke - '\u2919': MO.REL, // leftwards arrow-tail - '\u291A': MO.REL, // rightwards arrow-tail - '\u291B': MO.REL, // leftwards double arrow-tail - '\u291C': MO.REL, // rightwards double arrow-tail - '\u291D': MO.REL, // leftwards arrow to black diamond - '\u291E': MO.REL, // rightwards arrow to black diamond - '\u291F': MO.REL, // leftwards arrow from bar to black diamond - '\u2920': MO.REL, // rightwards arrow from bar to black diamond - '\u2921': MO.WIDEREL, // north west and south east arrow - '\u2922': MO.WIDEREL, // north east and south west arrow - '\u2923': MO.REL, // north west arrow with hook - '\u2924': MO.REL, // north east arrow with hook - '\u2925': MO.REL, // south east arrow with hook - '\u2926': MO.REL, // south west arrow with hook - '\u2927': MO.REL, // north west arrow and north east arrow - '\u2928': MO.REL, // north east arrow and south east arrow - '\u2929': MO.REL, // south east arrow and south west arrow - '\u292A': MO.REL, // south west arrow and north west arrow - '\u292B': MO.REL, // rising diagonal crossing falling diagonal - '\u292C': MO.REL, // falling diagonal crossing rising diagonal - '\u292D': MO.REL, // south east arrow crossing north east arrow - '\u292E': MO.REL, // north east arrow crossing south east arrow - '\u292F': MO.REL, // falling diagonal crossing north east arrow - '\u2930': MO.REL, // rising diagonal crossing south east arrow - '\u2931': MO.REL, // north east arrow crossing north west arrow - '\u2932': MO.REL, // north west arrow crossing north east arrow - '\u2933': MO.REL, // wave arrow pointing directly right - '\u2934': MO.REL, // arrow pointing rightwards then curving upwards - '\u2935': MO.REL, // arrow pointing rightwards then curving downwards - '\u2936': MO.REL, // arrow pointing downwards then curving leftwards - '\u2937': MO.REL, // arrow pointing downwards then curving rightwards - '\u2938': MO.REL, // right-side arc clockwise arrow - '\u2939': MO.REL, // left-side arc anticlockwise arrow - '\u293A': MO.REL, // top arc anticlockwise arrow - '\u293B': MO.REL, // bottom arc anticlockwise arrow - '\u293C': MO.REL, // top arc clockwise arrow with minus - '\u293D': MO.REL, // top arc anticlockwise arrow with plus - '\u293E': MO.REL, // lower right semicircular clockwise arrow - '\u293F': MO.REL, // lower left semicircular anticlockwise arrow - '\u2940': MO.REL, // anticlockwise closed circle arrow - '\u2941': MO.REL, // clockwise closed circle arrow - '\u2942': MO.REL, // rightwards arrow above short leftwards arrow - '\u2943': MO.REL, // leftwards arrow above short rightwards arrow - '\u2944': MO.REL, // short rightwards arrow above leftwards arrow - '\u2945': MO.REL, // rightwards arrow with plus below - '\u2946': MO.REL, // leftwards arrow with plus below - '\u2947': MO.REL, // rightwards arrow through x - '\u2948': MO.REL, // left right arrow through small circle - '\u2949': MO.REL, // upwards two-headed arrow from small circle - '\u294A': MO.REL, // left barb up right barb down harpoon - '\u294B': MO.REL, // left barb down right barb up harpoon - '\u294C': MO.REL, // up barb right down barb left harpoon - '\u294D': MO.REL, // up barb left down barb right harpoon - '\u294E': MO.RELACCENT, // left barb up right barb up harpoon - '\u294F': MO.WIDEREL, // up barb right down barb right harpoon - '\u2950': MO.WIDEREL, // left barb down right barb down harpoon - '\u2951': MO.WIDEREL, // up barb left down barb left harpoon - '\u2952': MO.WIDEREL, // leftwards harpoon with barb up to bar - '\u2953': MO.WIDEREL, // rightwards harpoon with barb up to bar - '\u2954': MO.WIDEREL, // upwards harpoon with barb right to bar - '\u2955': MO.WIDEREL, // downwards harpoon with barb right to bar - '\u2956': MO.WIDEREL, // leftwards harpoon with barb down to bar - '\u2957': MO.WIDEREL, // rightwards harpoon with barb down to bar - '\u2958': MO.WIDEREL, // upwards harpoon with barb left to bar - '\u2959': MO.WIDEREL, // downwards harpoon with barb left to bar - '\u295A': MO.WIDEREL, // leftwards harpoon with barb up from bar - '\u295B': MO.WIDEREL, // rightwards harpoon with barb up from bar - '\u295C': MO.WIDEREL, // upwards harpoon with barb right from bar - '\u295D': MO.WIDEREL, // downwards harpoon with barb right from bar - '\u295E': MO.WIDEREL, // leftwards harpoon with barb down from bar - '\u295F': MO.WIDEREL, // rightwards harpoon with barb down from bar - '\u2960': MO.WIDEREL, // upwards harpoon with barb left from bar - '\u2961': MO.WIDEREL, // downwards harpoon with barb left from bar - '\u2962': MO.REL, // leftwards harpoon with barb up above leftwards harpoon with barb down - '\u2963': MO.REL, // upwards harpoon with barb left beside upwards harpoon with barb right - '\u2964': MO.REL, // rightwards harpoon with barb up above rightwards harpoon with barb down - '\u2965': MO.REL, // downwards harpoon with barb left beside downwards harpoon with barb right - '\u2966': MO.REL, // leftwards harpoon with barb up above rightwards harpoon with barb up - '\u2967': MO.REL, // leftwards harpoon with barb down above rightwards harpoon with barb down - '\u2968': MO.REL, // rightwards harpoon with barb up above leftwards harpoon with barb up - '\u2969': MO.REL, // rightwards harpoon with barb down above leftwards harpoon with barb down - '\u296A': MO.REL, // leftwards harpoon with barb up above long dash - '\u296B': MO.REL, // leftwards harpoon with barb down below long dash - '\u296C': MO.REL, // rightwards harpoon with barb up above long dash - '\u296D': MO.REL, // rightwards harpoon with barb down below long dash - '\u296E': MO.WIDEREL, // upwards harpoon with barb left beside downwards harpoon with barb right - '\u296F': MO.WIDEREL, // downwards harpoon with barb left beside upwards harpoon with barb right - '\u2970': MO.REL, // right double arrow with rounded head - '\u2971': MO.REL, // equals sign above rightwards arrow - '\u2972': MO.REL, // tilde operator above rightwards arrow - '\u2973': MO.REL, // leftwards arrow above tilde operator - '\u2974': MO.REL, // rightwards arrow above tilde operator - '\u2975': MO.REL, // rightwards arrow above almost equal to - '\u2976': MO.REL, // less-than above leftwards arrow - '\u2977': MO.REL, // leftwards arrow through less-than - '\u2978': MO.REL, // greater-than above rightwards arrow - '\u2979': MO.REL, // subset above rightwards arrow - '\u297A': MO.REL, // leftwards arrow through subset - '\u297B': MO.REL, // superset above leftwards arrow - '\u297C': MO.REL, // left fish tail - '\u297D': MO.REL, // right fish tail - '\u297E': MO.REL, // up fish tail - '\u297F': MO.REL // down fish tail - } - } - }); - - MathJax.Ajax.loadComplete(MML.optableDir+"/SupplementalArrowsB.js"); - -})(MathJax.ElementJax.mml); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js deleted file mode 100644 index 1a5924ed..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js +++ /dev/null @@ -1,39 +0,0 @@ -/************************************************************* - * - * MathJax/jax/input/MathML/config.js - * - * Initializes the MathML InputJax (the main definition is in - * MathJax/jax/input/MathML/jax.js, which is loaded when needed). - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.InputJax.MathML = MathJax.InputJax({ - name: "MathML", - version: 1.0, - directory: MathJax.InputJax.directory + "/MathML", - extensionDir: MathJax.InputJax.extensionDir + "/MathML", - entityDir: MathJax.InputJax.directory + "/MathML/entities", - require: [MathJax.ElementJax.directory + "/mml/jax.js"], - - config: { - useMathMLspacing: false // false means use TeX spacing, true means MML spacing - } -}); -MathJax.InputJax.MathML.Register("math/mml"); - -MathJax.InputJax.MathML.loadComplete("config.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js deleted file mode 100644 index a34a2f0f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js +++ /dev/null @@ -1,87 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/a.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'AElig': '\u00C6', - 'Aacute': '\u00C1', - 'Abreve': '\u0102', - 'Acirc': '\u00C2', - 'Acy': '\u0410', - 'Agrave': '\u00C0', - 'Amacr': '\u0100', - 'And': '\u2A53', - 'Aogon': '\u0104', - 'Aring': '\u00C5', - 'Assign': '\u2254', - 'Atilde': '\u00C3', - 'Auml': '\u00C4', - 'aacute': '\u00E1', - 'abreve': '\u0103', - 'ac': '\u223E', - 'acE': '\u223E\u0333', - 'acd': '\u223F', - 'acirc': '\u00E2', - 'acy': '\u0430', - 'aelig': '\u00E6', - 'af': '\u2061', - 'agrave': '\u00E0', - 'amacr': '\u0101', - 'amp': '\u0026', - 'andand': '\u2A55', - 'andd': '\u2A5C', - 'andslope': '\u2A58', - 'andv': '\u2A5A', - 'ange': '\u29A4', - 'angle': '\u2220', - 'angmsdaa': '\u29A8', - 'angmsdab': '\u29A9', - 'angmsdac': '\u29AA', - 'angmsdad': '\u29AB', - 'angmsdae': '\u29AC', - 'angmsdaf': '\u29AD', - 'angmsdag': '\u29AE', - 'angmsdah': '\u29AF', - 'angrt': '\u221F', - 'angrtvb': '\u22BE', - 'angrtvbd': '\u299D', - 'angst': '\u212B', - 'angzarr': '\u237C', - 'aogon': '\u0105', - 'ap': '\u2248', - 'apE': '\u2A70', - 'apacir': '\u2A6F', - 'apid': '\u224B', - 'apos': '\u0027', - 'approx': '\u2248', - 'approxeq': '\u224A', - 'aring': '\u00E5', - 'ast': '\u002A', - 'asymp': '\u2248', - 'asympeq': '\u224D', - 'atilde': '\u00E3', - 'auml': '\u00E4', - 'awconint': '\u2233', - 'awint': '\u2A11' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/a.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js deleted file mode 100644 index 5b9eebd9..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js +++ /dev/null @@ -1,114 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/b.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Barv': '\u2AE7', - 'Barwed': '\u2306', - 'Bcy': '\u0411', - 'Bernoullis': '\u212C', - 'Bumpeq': '\u224E', - 'bNot': '\u2AED', - 'backcong': '\u224C', - 'backepsilon': '\u03F6', - 'barvee': '\u22BD', - 'barwed': '\u2305', - 'barwedge': '\u2305', - 'bbrk': '\u23B5', - 'bbrktbrk': '\u23B6', - 'bcong': '\u224C', - 'bcy': '\u0431', - 'becaus': '\u2235', - 'because': '\u2235', - 'bemptyv': '\u29B0', - 'bepsi': '\u03F6', - 'bernou': '\u212C', - 'bigcap': '\u22C2', - 'bigcup': '\u22C3', - 'bigvee': '\u22C1', - 'bigwedge': '\u22C0', - 'bkarow': '\u290D', - 'blacksquare': '\u25AA', - 'blacktriangleright': '\u25B8', - 'blank': '\u2423', - 'blk12': '\u2592', - 'blk14': '\u2591', - 'blk34': '\u2593', - 'block': '\u2588', - 'bne': '\u003D\u20E5', - 'bnequiv': '\u2261\u20E5', - 'bnot': '\u2310', - 'bot': '\u22A5', - 'bottom': '\u22A5', - 'boxDL': '\u2557', - 'boxDR': '\u2554', - 'boxDl': '\u2556', - 'boxDr': '\u2553', - 'boxH': '\u2550', - 'boxHD': '\u2566', - 'boxHU': '\u2569', - 'boxHd': '\u2564', - 'boxHu': '\u2567', - 'boxUL': '\u255D', - 'boxUR': '\u255A', - 'boxUl': '\u255C', - 'boxUr': '\u2559', - 'boxV': '\u2551', - 'boxVH': '\u256C', - 'boxVL': '\u2563', - 'boxVR': '\u2560', - 'boxVh': '\u256B', - 'boxVl': '\u2562', - 'boxVr': '\u255F', - 'boxbox': '\u29C9', - 'boxdL': '\u2555', - 'boxdR': '\u2552', - 'boxh': '\u2500', - 'boxhD': '\u2565', - 'boxhU': '\u2568', - 'boxhd': '\u252C', - 'boxhu': '\u2534', - 'boxuL': '\u255B', - 'boxuR': '\u2558', - 'boxv': '\u2502', - 'boxvH': '\u256A', - 'boxvL': '\u2561', - 'boxvR': '\u255E', - 'boxvh': '\u253C', - 'boxvl': '\u2524', - 'boxvr': '\u251C', - 'bprime': '\u2035', - 'breve': '\u02D8', - 'brvbar': '\u00A6', - 'bsemi': '\u204F', - 'bsim': '\u223D', - 'bsime': '\u22CD', - 'bsolb': '\u29C5', - 'bsolhsub': '\u005C\u2282', - 'bullet': '\u2022', - 'bump': '\u224E', - 'bumpE': '\u2AAE', - 'bumpe': '\u224F', - 'bumpeq': '\u224F' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/b.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js deleted file mode 100644 index b54a5b1c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js +++ /dev/null @@ -1,111 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/c.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'CHcy': '\u0427', - 'Cacute': '\u0106', - 'CapitalDifferentialD': '\u2145', - 'Cayleys': '\u212D', - 'Ccaron': '\u010C', - 'Ccedil': '\u00C7', - 'Ccirc': '\u0108', - 'Cconint': '\u2230', - 'Cdot': '\u010A', - 'Cedilla': '\u00B8', - 'ClockwiseContourIntegral': '\u2232', - 'CloseCurlyDoubleQuote': '\u201D', - 'CloseCurlyQuote': '\u2019', - 'Colon': '\u2237', - 'Colone': '\u2A74', - 'Conint': '\u222F', - 'CounterClockwiseContourIntegral': '\u2233', - 'cacute': '\u0107', - 'capand': '\u2A44', - 'capbrcup': '\u2A49', - 'capcap': '\u2A4B', - 'capcup': '\u2A47', - 'capdot': '\u2A40', - 'caps': '\u2229\uFE00', - 'caret': '\u2041', - 'caron': '\u02C7', - 'ccaps': '\u2A4D', - 'ccaron': '\u010D', - 'ccedil': '\u00E7', - 'ccirc': '\u0109', - 'ccups': '\u2A4C', - 'ccupssm': '\u2A50', - 'cdot': '\u010B', - 'cedil': '\u00B8', - 'cemptyv': '\u29B2', - 'cent': '\u00A2', - 'centerdot': '\u00B7', - 'chcy': '\u0447', - 'checkmark': '\u2713', - 'cir': '\u25CB', - 'cirE': '\u29C3', - 'cire': '\u2257', - 'cirfnint': '\u2A10', - 'cirmid': '\u2AEF', - 'cirscir': '\u29C2', - 'clubsuit': '\u2663', - 'colone': '\u2254', - 'coloneq': '\u2254', - 'comma': '\u002C', - 'commat': '\u0040', - 'compfn': '\u2218', - 'complement': '\u2201', - 'complexes': '\u2102', - 'cong': '\u2245', - 'congdot': '\u2A6D', - 'conint': '\u222E', - 'coprod': '\u2210', - 'copy': '\u00A9', - 'copysr': '\u2117', - 'cross': '\u2717', - 'csub': '\u2ACF', - 'csube': '\u2AD1', - 'csup': '\u2AD0', - 'csupe': '\u2AD2', - 'cudarrl': '\u2938', - 'cudarrr': '\u2935', - 'cularrp': '\u293D', - 'cupbrcap': '\u2A48', - 'cupcap': '\u2A46', - 'cupcup': '\u2A4A', - 'cupdot': '\u228D', - 'cupor': '\u2A45', - 'cups': '\u222A\uFE00', - 'curarrm': '\u293C', - 'curlyeqprec': '\u22DE', - 'curlyeqsucc': '\u22DF', - 'curren': '\u00A4', - 'curvearrowleft': '\u21B6', - 'curvearrowright': '\u21B7', - 'cuvee': '\u22CE', - 'cuwed': '\u22CF', - 'cwconint': '\u2232', - 'cwint': '\u2231', - 'cylcty': '\u232D' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/c.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js deleted file mode 100644 index 1722dfb3..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js +++ /dev/null @@ -1,112 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/d.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'DD': '\u2145', - 'DDotrahd': '\u2911', - 'DJcy': '\u0402', - 'DScy': '\u0405', - 'DZcy': '\u040F', - 'Darr': '\u21A1', - 'Dashv': '\u2AE4', - 'Dcaron': '\u010E', - 'Dcy': '\u0414', - 'DiacriticalAcute': '\u00B4', - 'DiacriticalDot': '\u02D9', - 'DiacriticalDoubleAcute': '\u02DD', - 'DiacriticalGrave': '\u0060', - 'DiacriticalTilde': '\u02DC', - 'Dot': '\u00A8', - 'DotDot': '\u20DC', - 'DoubleContourIntegral': '\u222F', - 'DoubleDownArrow': '\u21D3', - 'DoubleLeftArrow': '\u21D0', - 'DoubleLeftRightArrow': '\u21D4', - 'DoubleLeftTee': '\u2AE4', - 'DoubleLongLeftArrow': '\u27F8', - 'DoubleLongLeftRightArrow': '\u27FA', - 'DoubleLongRightArrow': '\u27F9', - 'DoubleRightArrow': '\u21D2', - 'DoubleUpArrow': '\u21D1', - 'DoubleUpDownArrow': '\u21D5', - 'DownArrowBar': '\u2913', - 'DownArrowUpArrow': '\u21F5', - 'DownBreve': '\u0311', - 'DownLeftRightVector': '\u2950', - 'DownLeftTeeVector': '\u295E', - 'DownLeftVectorBar': '\u2956', - 'DownRightTeeVector': '\u295F', - 'DownRightVectorBar': '\u2957', - 'DownTeeArrow': '\u21A7', - 'Dstrok': '\u0110', - 'dArr': '\u21D3', - 'dHar': '\u2965', - 'darr': '\u2193', - 'dash': '\u2010', - 'dashv': '\u22A3', - 'dbkarow': '\u290F', - 'dblac': '\u02DD', - 'dcaron': '\u010F', - 'dcy': '\u0434', - 'dd': '\u2146', - 'ddagger': '\u2021', - 'ddotseq': '\u2A77', - 'demptyv': '\u29B1', - 'dfisht': '\u297F', - 'dharl': '\u21C3', - 'dharr': '\u21C2', - 'diam': '\u22C4', - 'diamond': '\u22C4', - 'diamondsuit': '\u2666', - 'diams': '\u2666', - 'die': '\u00A8', - 'disin': '\u22F2', - 'divide': '\u00F7', - 'divonx': '\u22C7', - 'djcy': '\u0452', - 'dlcorn': '\u231E', - 'dlcrop': '\u230D', - 'dollar': '\u0024', - 'doteq': '\u2250', - 'dotminus': '\u2238', - 'doublebarwedge': '\u2306', - 'downarrow': '\u2193', - 'downdownarrows': '\u21CA', - 'downharpoonleft': '\u21C3', - 'downharpoonright': '\u21C2', - 'drbkarow': '\u2910', - 'drcorn': '\u231F', - 'drcrop': '\u230C', - 'dscy': '\u0455', - 'dsol': '\u29F6', - 'dstrok': '\u0111', - 'dtri': '\u25BF', - 'dtrif': '\u25BE', - 'duarr': '\u21F5', - 'duhar': '\u296F', - 'dwangle': '\u29A6', - 'dzcy': '\u045F', - 'dzigrarr': '\u27FF' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/d.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js deleted file mode 100644 index 89f3c60f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js +++ /dev/null @@ -1,88 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/e.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'ENG': '\u014A', - 'ETH': '\u00D0', - 'Eacute': '\u00C9', - 'Ecaron': '\u011A', - 'Ecirc': '\u00CA', - 'Ecy': '\u042D', - 'Edot': '\u0116', - 'Egrave': '\u00C8', - 'Emacr': '\u0112', - 'EmptySmallSquare': '\u25FB', - 'EmptyVerySmallSquare': '\u25AB', - 'Eogon': '\u0118', - 'Equal': '\u2A75', - 'Esim': '\u2A73', - 'Euml': '\u00CB', - 'eDDot': '\u2A77', - 'eDot': '\u2251', - 'eacute': '\u00E9', - 'easter': '\u2A6E', - 'ecaron': '\u011B', - 'ecirc': '\u00EA', - 'ecolon': '\u2255', - 'ecy': '\u044D', - 'edot': '\u0117', - 'ee': '\u2147', - 'eg': '\u2A9A', - 'egrave': '\u00E8', - 'egsdot': '\u2A98', - 'el': '\u2A99', - 'elinters': '\uFFFD', - 'elsdot': '\u2A97', - 'emacr': '\u0113', - 'emptyset': '\u2205', - 'emptyv': '\u2205', - 'emsp': '\u2003', - 'emsp13': '\u2004', - 'emsp14': '\u2005', - 'eng': '\u014B', - 'ensp': '\u2002', - 'eogon': '\u0119', - 'epar': '\u22D5', - 'eparsl': '\u29E3', - 'eplus': '\u2A71', - 'eqcirc': '\u2256', - 'eqcolon': '\u2255', - 'eqsim': '\u2242', - 'eqslantgtr': '\u2A96', - 'eqslantless': '\u2A95', - 'equals': '\u003D', - 'equest': '\u225F', - 'equiv': '\u2261', - 'equivDD': '\u2A78', - 'eqvparsl': '\u29E5', - 'erarr': '\u2971', - 'esdot': '\u2250', - 'esim': '\u2242', - 'euml': '\u00EB', - 'excl': '\u0021', - 'exist': '\u2203', - 'expectation': '\u2130', - 'exponentiale': '\u2147' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/e.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js deleted file mode 100644 index e933fc67..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js +++ /dev/null @@ -1,58 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/f.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Fcy': '\u0424', - 'FilledSmallSquare': '\u25FC', - 'Fouriertrf': '\u2131', - 'fallingdotseq': '\u2252', - 'fcy': '\u0444', - 'female': '\u2640', - 'ffilig': '\uFB03', - 'fflig': '\uFB00', - 'ffllig': '\uFB04', - 'filig': '\uFB01', - 'fllig': '\uFB02', - 'fltns': '\u25B1', - 'fnof': '\u0192', - 'forall': '\u2200', - 'forkv': '\u2AD9', - 'fpartint': '\u2A0D', - 'frac12': '\u00BD', - 'frac13': '\u2153', - 'frac14': '\u00BC', - 'frac15': '\u2155', - 'frac16': '\u2159', - 'frac18': '\u215B', - 'frac23': '\u2154', - 'frac25': '\u2156', - 'frac34': '\u00BE', - 'frac35': '\u2157', - 'frac38': '\u215C', - 'frac45': '\u2158', - 'frac56': '\u215A', - 'frac58': '\u215D', - 'frac78': '\u215E' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/f.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js deleted file mode 100644 index d6b2e12b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/fr.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Afr': '\uD835\uDD04', - 'Bfr': '\uD835\uDD05', - 'Cfr': '\u212D', - 'Dfr': '\uD835\uDD07', - 'Efr': '\uD835\uDD08', - 'Ffr': '\uD835\uDD09', - 'Gfr': '\uD835\uDD0A', - 'Hfr': '\u210C', - 'Ifr': '\u2111', - 'Jfr': '\uD835\uDD0D', - 'Kfr': '\uD835\uDD0E', - 'Lfr': '\uD835\uDD0F', - 'Mfr': '\uD835\uDD10', - 'Nfr': '\uD835\uDD11', - 'Ofr': '\uD835\uDD12', - 'Pfr': '\uD835\uDD13', - 'Qfr': '\uD835\uDD14', - 'Rfr': '\u211C', - 'Sfr': '\uD835\uDD16', - 'Tfr': '\uD835\uDD17', - 'Ufr': '\uD835\uDD18', - 'Vfr': '\uD835\uDD19', - 'Wfr': '\uD835\uDD1A', - 'Xfr': '\uD835\uDD1B', - 'Yfr': '\uD835\uDD1C', - 'Zfr': '\u2128', - 'afr': '\uD835\uDD1E', - 'bfr': '\uD835\uDD1F', - 'cfr': '\uD835\uDD20', - 'dfr': '\uD835\uDD21', - 'efr': '\uD835\uDD22', - 'ffr': '\uD835\uDD23', - 'gfr': '\uD835\uDD24', - 'hfr': '\uD835\uDD25', - 'ifr': '\uD835\uDD26', - 'jfr': '\uD835\uDD27', - 'kfr': '\uD835\uDD28', - 'lfr': '\uD835\uDD29', - 'mfr': '\uD835\uDD2A', - 'nfr': '\uD835\uDD2B', - 'ofr': '\uD835\uDD2C', - 'pfr': '\uD835\uDD2D', - 'qfr': '\uD835\uDD2E', - 'rfr': '\uD835\uDD2F', - 'sfr': '\uD835\uDD30', - 'tfr': '\uD835\uDD31', - 'ufr': '\uD835\uDD32', - 'vfr': '\uD835\uDD33', - 'wfr': '\uD835\uDD34', - 'xfr': '\uD835\uDD35', - 'yfr': '\uD835\uDD36', - 'zfr': '\uD835\uDD37' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/fr.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js deleted file mode 100644 index d998b8ae..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js +++ /dev/null @@ -1,82 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/g.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'GJcy': '\u0403', - 'Gammad': '\u03DC', - 'Gbreve': '\u011E', - 'Gcedil': '\u0122', - 'Gcirc': '\u011C', - 'Gcy': '\u0413', - 'Gdot': '\u0120', - 'GreaterGreater': '\u2AA2', - 'Gt': '\u226B', - 'gE': '\u2267', - 'gacute': '\u01F5', - 'gammad': '\u03DD', - 'gbreve': '\u011F', - 'gcirc': '\u011D', - 'gcy': '\u0433', - 'gdot': '\u0121', - 'ge': '\u2265', - 'gel': '\u22DB', - 'geq': '\u2265', - 'geqq': '\u2267', - 'geqslant': '\u2A7E', - 'ges': '\u2A7E', - 'gescc': '\u2AA9', - 'gesdot': '\u2A80', - 'gesdoto': '\u2A82', - 'gesdotol': '\u2A84', - 'gesl': '\u22DB\uFE00', - 'gesles': '\u2A94', - 'gg': '\u226B', - 'ggg': '\u22D9', - 'gjcy': '\u0453', - 'gl': '\u2277', - 'glE': '\u2A92', - 'gla': '\u2AA5', - 'glj': '\u2AA4', - 'gnapprox': '\u2A8A', - 'gneq': '\u2A88', - 'gneqq': '\u2269', - 'grave': '\u0060', - 'gsim': '\u2273', - 'gsime': '\u2A8E', - 'gsiml': '\u2A90', - 'gtcc': '\u2AA7', - 'gtcir': '\u2A7A', - 'gtlPar': '\u2995', - 'gtquest': '\u2A7C', - 'gtrapprox': '\u2A86', - 'gtrarr': '\u2978', - 'gtrdot': '\u22D7', - 'gtreqless': '\u22DB', - 'gtreqqless': '\u2A8C', - 'gtrless': '\u2277', - 'gtrsim': '\u2273', - 'gvertneqq': '\u2269\uFE00', - 'gvnE': '\u2269\uFE00' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/g.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js deleted file mode 100644 index bf1ad4f7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js +++ /dev/null @@ -1,52 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/h.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'HARDcy': '\u042A', - 'Hcirc': '\u0124', - 'HilbertSpace': '\u210B', - 'HorizontalLine': '\u2500', - 'Hstrok': '\u0126', - 'hArr': '\u21D4', - 'hairsp': '\u200A', - 'half': '\u00BD', - 'hamilt': '\u210B', - 'hardcy': '\u044A', - 'harr': '\u2194', - 'harrcir': '\u2948', - 'hcirc': '\u0125', - 'hearts': '\u2665', - 'heartsuit': '\u2665', - 'hercon': '\u22B9', - 'hksearow': '\u2925', - 'hkswarow': '\u2926', - 'hoarr': '\u21FF', - 'homtht': '\u223B', - 'horbar': '\u2015', - 'hslash': '\u210F', - 'hstrok': '\u0127', - 'hybull': '\u2043', - 'hyphen': '\u2010' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/h.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js deleted file mode 100644 index be514d89..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/i.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'IEcy': '\u0415', - 'IJlig': '\u0132', - 'IOcy': '\u0401', - 'Iacute': '\u00CD', - 'Icirc': '\u00CE', - 'Icy': '\u0418', - 'Idot': '\u0130', - 'Igrave': '\u00CC', - 'Imacr': '\u012A', - 'Implies': '\u21D2', - 'Int': '\u222C', - 'Iogon': '\u012E', - 'Itilde': '\u0128', - 'Iukcy': '\u0406', - 'Iuml': '\u00CF', - 'iacute': '\u00ED', - 'ic': '\u2063', - 'icirc': '\u00EE', - 'icy': '\u0438', - 'iecy': '\u0435', - 'iexcl': '\u00A1', - 'iff': '\u21D4', - 'igrave': '\u00EC', - 'ii': '\u2148', - 'iiiint': '\u2A0C', - 'iiint': '\u222D', - 'iinfin': '\u29DC', - 'iiota': '\u2129', - 'ijlig': '\u0133', - 'imacr': '\u012B', - 'image': '\u2111', - 'imagline': '\u2110', - 'imagpart': '\u2111', - 'imof': '\u22B7', - 'imped': '\u01B5', - 'in': '\u2208', - 'incare': '\u2105', - 'infintie': '\u29DD', - 'inodot': '\u0131', - 'int': '\u222B', - 'integers': '\u2124', - 'intercal': '\u22BA', - 'intlarhk': '\u2A17', - 'intprod': '\u2A3C', - 'iocy': '\u0451', - 'iogon': '\u012F', - 'iprod': '\u2A3C', - 'iquest': '\u00BF', - 'isin': '\u2208', - 'isinE': '\u22F9', - 'isindot': '\u22F5', - 'isins': '\u22F4', - 'isinsv': '\u22F3', - 'isinv': '\u2208', - 'it': '\u2062', - 'itilde': '\u0129', - 'iukcy': '\u0456', - 'iuml': '\u00EF' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/i.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js deleted file mode 100644 index f4c87be2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/j.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Jcirc': '\u0134', - 'Jcy': '\u0419', - 'Jsercy': '\u0408', - 'Jukcy': '\u0404', - 'jcirc': '\u0135', - 'jcy': '\u0439', - 'jmath': '\u006A', - 'jsercy': '\u0458', - 'jukcy': '\u0454' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/j.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js deleted file mode 100644 index f2d224bf..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/k.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'KHcy': '\u0425', - 'KJcy': '\u040C', - 'Kcedil': '\u0136', - 'Kcy': '\u041A', - 'kcedil': '\u0137', - 'kcy': '\u043A', - 'kgreen': '\u0138', - 'khcy': '\u0445', - 'kjcy': '\u045C' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/k.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js deleted file mode 100644 index 72dd8823..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js +++ /dev/null @@ -1,175 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/l.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'LJcy': '\u0409', - 'Lacute': '\u0139', - 'Lang': '\u300A', - 'Laplacetrf': '\u2112', - 'Lcaron': '\u013D', - 'Lcedil': '\u013B', - 'Lcy': '\u041B', - 'LeftArrowBar': '\u21E4', - 'LeftDoubleBracket': '\u301A', - 'LeftDownTeeVector': '\u2961', - 'LeftDownVectorBar': '\u2959', - 'LeftRightVector': '\u294E', - 'LeftTeeArrow': '\u21A4', - 'LeftTeeVector': '\u295A', - 'LeftTriangleBar': '\u29CF', - 'LeftUpDownVector': '\u2951', - 'LeftUpTeeVector': '\u2960', - 'LeftUpVectorBar': '\u2958', - 'LeftVectorBar': '\u2952', - 'LessLess': '\u2AA1', - 'Lmidot': '\u013F', - 'LowerLeftArrow': '\u2199', - 'LowerRightArrow': '\u2198', - 'Lstrok': '\u0141', - 'Lt': '\u226A', - 'lAarr': '\u21DA', - 'lArr': '\u21D0', - 'lAtail': '\u291B', - 'lBarr': '\u290E', - 'lE': '\u2266', - 'lHar': '\u2962', - 'lacute': '\u013A', - 'laemptyv': '\u29B4', - 'lagran': '\u2112', - 'lang': '\u2329', - 'langd': '\u2991', - 'langle': '\u2329', - 'laquo': '\u00AB', - 'larr': '\u2190', - 'larrb': '\u21E4', - 'larrbfs': '\u291F', - 'larrfs': '\u291D', - 'larrhk': '\u21A9', - 'larrpl': '\u2939', - 'larrsim': '\u2973', - 'lat': '\u2AAB', - 'latail': '\u2919', - 'late': '\u2AAD', - 'lates': '\u2AAD\uFE00', - 'lbarr': '\u290C', - 'lbbrk': '\u3014', - 'lbrke': '\u298B', - 'lbrksld': '\u298F', - 'lbrkslu': '\u298D', - 'lcaron': '\u013E', - 'lcedil': '\u013C', - 'lceil': '\u2308', - 'lcub': '\u007B', - 'lcy': '\u043B', - 'ldca': '\u2936', - 'ldquo': '\u201C', - 'ldquor': '\u201E', - 'ldrdhar': '\u2967', - 'ldrushar': '\u294B', - 'ldsh': '\u21B2', - 'leftarrow': '\u2190', - 'leftarrowtail': '\u21A2', - 'leftharpoondown': '\u21BD', - 'leftharpoonup': '\u21BC', - 'leftrightarrow': '\u2194', - 'leftrightarrows': '\u21C6', - 'leftrightharpoons': '\u21CB', - 'leftrightsquigarrow': '\u21AD', - 'leg': '\u22DA', - 'leq': '\u2264', - 'leqq': '\u2266', - 'leqslant': '\u2A7D', - 'les': '\u2A7D', - 'lescc': '\u2AA8', - 'lesdot': '\u2A7F', - 'lesdoto': '\u2A81', - 'lesdotor': '\u2A83', - 'lesg': '\u22DA\uFE00', - 'lesges': '\u2A93', - 'lessapprox': '\u2A85', - 'lesseqgtr': '\u22DA', - 'lesseqqgtr': '\u2A8B', - 'lessgtr': '\u2276', - 'lesssim': '\u2272', - 'lfisht': '\u297C', - 'lfloor': '\u230A', - 'lg': '\u2276', - 'lgE': '\u2A91', - 'lhard': '\u21BD', - 'lharu': '\u21BC', - 'lharul': '\u296A', - 'lhblk': '\u2584', - 'ljcy': '\u0459', - 'll': '\u226A', - 'llarr': '\u21C7', - 'llcorner': '\u231E', - 'llhard': '\u296B', - 'lltri': '\u25FA', - 'lmidot': '\u0140', - 'lmoustache': '\u23B0', - 'lnapprox': '\u2A89', - 'lneq': '\u2A87', - 'lneqq': '\u2268', - 'loang': '\u3018', - 'loarr': '\u21FD', - 'lobrk': '\u301A', - 'longleftarrow': '\u27F5', - 'longleftrightarrow': '\u27F7', - 'longrightarrow': '\u27F6', - 'looparrowleft': '\u21AB', - 'lopar': '\u2985', - 'loplus': '\u2A2D', - 'lotimes': '\u2A34', - 'lozenge': '\u25CA', - 'lozf': '\u29EB', - 'lpar': '\u0028', - 'lparlt': '\u2993', - 'lrarr': '\u21C6', - 'lrcorner': '\u231F', - 'lrhar': '\u21CB', - 'lrhard': '\u296D', - 'lrtri': '\u22BF', - 'lsh': '\u21B0', - 'lsim': '\u2272', - 'lsime': '\u2A8D', - 'lsimg': '\u2A8F', - 'lsqb': '\u005B', - 'lsquo': '\u2018', - 'lsquor': '\u201A', - 'lstrok': '\u0142', - 'ltcc': '\u2AA6', - 'ltcir': '\u2A79', - 'ltdot': '\u22D6', - 'lthree': '\u22CB', - 'ltlarr': '\u2976', - 'ltquest': '\u2A7B', - 'ltrPar': '\u2996', - 'ltrie': '\u22B4', - 'ltrif': '\u25C2', - 'lurdshar': '\u294A', - 'luruhar': '\u2966', - 'lvertneqq': '\u2268\uFE00', - 'lvnE': '\u2268\uFE00' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/l.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js deleted file mode 100644 index 73927efa..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js +++ /dev/null @@ -1,61 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/m.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Map': '\u2905', - 'Mcy': '\u041C', - 'MediumSpace': '\u205F', - 'Mellintrf': '\u2133', - 'mDDot': '\u223A', - 'macr': '\u00AF', - 'male': '\u2642', - 'maltese': '\u2720', - 'map': '\u21A6', - 'mapsto': '\u21A6', - 'mapstodown': '\u21A7', - 'mapstoleft': '\u21A4', - 'mapstoup': '\u21A5', - 'marker': '\u25AE', - 'mcomma': '\u2A29', - 'mcy': '\u043C', - 'mdash': '\u2014', - 'measuredangle': '\u2221', - 'micro': '\u00B5', - 'mid': '\u2223', - 'midast': '\u002A', - 'midcir': '\u2AF0', - 'middot': '\u00B7', - 'minus': '\u2212', - 'minusb': '\u229F', - 'minusd': '\u2238', - 'minusdu': '\u2A2A', - 'mlcp': '\u2ADB', - 'mldr': '\u2026', - 'mnplus': '\u2213', - 'models': '\u22A7', - 'mp': '\u2213', - 'mstpos': '\u223E', - 'mumap': '\u22B8' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/m.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js deleted file mode 100644 index 4219a873..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js +++ /dev/null @@ -1,219 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/n.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'NJcy': '\u040A', - 'Nacute': '\u0143', - 'Ncaron': '\u0147', - 'Ncedil': '\u0145', - 'Ncy': '\u041D', - 'NegativeMediumSpace': '\u200B', - 'NegativeThickSpace': '\u200B', - 'NegativeThinSpace': '\u200B', - 'NegativeVeryThinSpace': '\u200B', - 'NewLine': '\u000A', - 'NoBreak': '\u2060', - 'NonBreakingSpace': '\u00A0', - 'Not': '\u2AEC', - 'NotCongruent': '\u2262', - 'NotCupCap': '\u226D', - 'NotEqualTilde': '\u2242\u0338', - 'NotGreaterFullEqual': '\u2266\u0338', - 'NotGreaterGreater': '\u226B\u0338', - 'NotGreaterLess': '\u2279', - 'NotGreaterSlantEqual': '\u2A7E\u0338', - 'NotGreaterTilde': '\u2275', - 'NotHumpDownHump': '\u224E\u0338', - 'NotHumpEqual': '\u224F\u0338', - 'NotLeftTriangleBar': '\u29CF\u0338', - 'NotLessGreater': '\u2278', - 'NotLessLess': '\u226A\u0338', - 'NotLessSlantEqual': '\u2A7D\u0338', - 'NotLessTilde': '\u2274', - 'NotNestedGreaterGreater': '\u2AA2\u0338', - 'NotNestedLessLess': '\u2AA1\u0338', - 'NotPrecedesEqual': '\u2AAF\u0338', - 'NotReverseElement': '\u220C', - 'NotRightTriangleBar': '\u29D0\u0338', - 'NotSquareSubset': '\u228F\u0338', - 'NotSquareSubsetEqual': '\u22E2', - 'NotSquareSuperset': '\u2290\u0338', - 'NotSquareSupersetEqual': '\u22E3', - 'NotSubset': '\u2282\u20D2', - 'NotSucceedsEqual': '\u2AB0\u0338', - 'NotSucceedsTilde': '\u227F\u0338', - 'NotSuperset': '\u2283\u20D2', - 'NotTildeEqual': '\u2244', - 'NotTildeFullEqual': '\u2247', - 'NotTildeTilde': '\u2249', - 'Ntilde': '\u00D1', - 'nGg': '\u22D9\u0338', - 'nGt': '\u226B\u20D2', - 'nGtv': '\u226B\u0338', - 'nLeftarrow': '\u21CD', - 'nLeftrightarrow': '\u21CE', - 'nLl': '\u22D8\u0338', - 'nLt': '\u226A\u20D2', - 'nLtv': '\u226A\u0338', - 'nRightarrow': '\u21CF', - 'nabla': '\u2207', - 'nacute': '\u0144', - 'nang': '\u2220\u20D2', - 'nap': '\u2249', - 'napE': '\u2A70\u0338', - 'napid': '\u224B\u0338', - 'napos': '\u0149', - 'napprox': '\u2249', - 'natural': '\u266E', - 'naturals': '\u2115', - 'nbsp': '\u00A0', - 'nbump': '\u224E\u0338', - 'nbumpe': '\u224F\u0338', - 'ncap': '\u2A43', - 'ncaron': '\u0148', - 'ncedil': '\u0146', - 'ncong': '\u2247', - 'ncongdot': '\u2A6D\u0338', - 'ncup': '\u2A42', - 'ncy': '\u043D', - 'ndash': '\u2013', - 'ne': '\u2260', - 'neArr': '\u21D7', - 'nearhk': '\u2924', - 'nearrow': '\u2197', - 'nedot': '\u2250\u0338', - 'nequiv': '\u2262', - 'nesear': '\u2928', - 'nesim': '\u2242\u0338', - 'nexist': '\u2204', - 'nexists': '\u2204', - 'ngE': '\u2267\u0338', - 'nge': '\u2271', - 'ngeq': '\u2271', - 'ngeqq': '\u2267\u0338', - 'ngeqslant': '\u2A7E\u0338', - 'nges': '\u2A7E\u0338', - 'ngsim': '\u2275', - 'ngt': '\u226F', - 'ngtr': '\u226F', - 'nhpar': '\u2AF2', - 'ni': '\u220B', - 'nis': '\u22FC', - 'nisd': '\u22FA', - 'niv': '\u220B', - 'njcy': '\u045A', - 'nlE': '\u2266\u0338', - 'nldr': '\u2025', - 'nle': '\u2270', - 'nleftarrow': '\u219A', - 'nleftrightarrow': '\u21AE', - 'nleq': '\u2270', - 'nleqq': '\u2266\u0338', - 'nleqslant': '\u2A7D\u0338', - 'nles': '\u2A7D\u0338', - 'nless': '\u226E', - 'nlsim': '\u2274', - 'nlt': '\u226E', - 'nltri': '\u22EA', - 'nltrie': '\u22EC', - 'nmid': '\u2224', - 'notin': '\u2209', - 'notinE': '\u22F9\u0338', - 'notindot': '\u22F5\u0338', - 'notinva': '\u2209', - 'notinvb': '\u22F7', - 'notinvc': '\u22F6', - 'notni': '\u220C', - 'notniva': '\u220C', - 'notnivb': '\u22FE', - 'notnivc': '\u22FD', - 'npar': '\u2226', - 'nparallel': '\u2226', - 'nparsl': '\u2AFD\u20E5', - 'npart': '\u2202\u0338', - 'npolint': '\u2A14', - 'npr': '\u2280', - 'nprcue': '\u22E0', - 'npre': '\u2AAF\u0338', - 'nprec': '\u2280', - 'npreceq': '\u2AAF\u0338', - 'nrarrc': '\u2933\u0338', - 'nrarrw': '\u219D\u0338', - 'nrightarrow': '\u219B', - 'nrtri': '\u22EB', - 'nrtrie': '\u22ED', - 'nsc': '\u2281', - 'nsccue': '\u22E1', - 'nsce': '\u2AB0\u0338', - 'nshortmid': '\u2224', - 'nshortparallel': '\u2226', - 'nsim': '\u2241', - 'nsime': '\u2244', - 'nsimeq': '\u2244', - 'nsmid': '\u2224', - 'nspar': '\u2226', - 'nsqsube': '\u22E2', - 'nsqsupe': '\u22E3', - 'nsub': '\u2284', - 'nsubE': '\u2AC5\u0338', - 'nsube': '\u2288', - 'nsubset': '\u2282\u20D2', - 'nsubseteq': '\u2288', - 'nsubseteqq': '\u2AC5\u0338', - 'nsucc': '\u2281', - 'nsucceq': '\u2AB0\u0338', - 'nsup': '\u2285', - 'nsupE': '\u2AC6\u0338', - 'nsupe': '\u2289', - 'nsupset': '\u2283\u20D2', - 'nsupseteq': '\u2289', - 'nsupseteqq': '\u2AC6\u0338', - 'ntgl': '\u2279', - 'ntilde': '\u00F1', - 'ntlg': '\u2278', - 'ntriangleleft': '\u22EA', - 'ntrianglelefteq': '\u22EC', - 'ntriangleright': '\u22EB', - 'ntrianglerighteq': '\u22ED', - 'num': '\u0023', - 'numero': '\u2116', - 'numsp': '\u2007', - 'nvHarr': '\u2904', - 'nvap': '\u224D\u20D2', - 'nvge': '\u2265\u20D2', - 'nvgt': '\u003E\u20D2', - 'nvinfin': '\u29DE', - 'nvlArr': '\u2902', - 'nvle': '\u2264\u20D2', - 'nvlt': '\u003C\u20D2', - 'nvltrie': '\u22B4\u20D2', - 'nvrArr': '\u2903', - 'nvrtrie': '\u22B5\u20D2', - 'nvsim': '\u223C\u20D2', - 'nwArr': '\u21D6', - 'nwarhk': '\u2923', - 'nwarrow': '\u2196', - 'nwnear': '\u2927' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/n.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js deleted file mode 100644 index 1dfb1c5e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js +++ /dev/null @@ -1,88 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/o.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'OElig': '\u0152', - 'Oacute': '\u00D3', - 'Ocirc': '\u00D4', - 'Ocy': '\u041E', - 'Odblac': '\u0150', - 'Ograve': '\u00D2', - 'Omacr': '\u014C', - 'OpenCurlyDoubleQuote': '\u201C', - 'OpenCurlyQuote': '\u2018', - 'Or': '\u2A54', - 'Oslash': '\u00D8', - 'Otilde': '\u00D5', - 'Otimes': '\u2A37', - 'Ouml': '\u00D6', - 'OverBracket': '\u23B4', - 'OverParenthesis': '\uFE35', - 'oS': '\u24C8', - 'oacute': '\u00F3', - 'oast': '\u229B', - 'ocir': '\u229A', - 'ocirc': '\u00F4', - 'ocy': '\u043E', - 'odash': '\u229D', - 'odblac': '\u0151', - 'odiv': '\u2A38', - 'odot': '\u2299', - 'odsold': '\u29BC', - 'oelig': '\u0153', - 'ofcir': '\u29BF', - 'ogon': '\u02DB', - 'ograve': '\u00F2', - 'ogt': '\u29C1', - 'ohbar': '\u29B5', - 'ohm': '\u2126', - 'oint': '\u222E', - 'olarr': '\u21BA', - 'olcir': '\u29BE', - 'olcross': '\u29BB', - 'olt': '\u29C0', - 'omacr': '\u014D', - 'omid': '\u29B6', - 'ominus': '\u2296', - 'opar': '\u29B7', - 'operp': '\u29B9', - 'oplus': '\u2295', - 'orarr': '\u21BB', - 'ord': '\u2A5D', - 'order': '\u2134', - 'orderof': '\u2134', - 'ordf': '\u00AA', - 'ordm': '\u00BA', - 'origof': '\u22B6', - 'oror': '\u2A56', - 'orslope': '\u2A57', - 'orv': '\u2A5B', - 'oslash': '\u00F8', - 'otilde': '\u00F5', - 'otimes': '\u2297', - 'otimesas': '\u2A36', - 'ouml': '\u00F6', - 'ovbar': '\u233D' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/o.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js deleted file mode 100644 index cc8c5522..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/opf.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Aopf': '\uD835\uDD38', - 'Bopf': '\uD835\uDD39', - 'Copf': '\u2102', - 'Dopf': '\uD835\uDD3B', - 'Eopf': '\uD835\uDD3C', - 'Fopf': '\uD835\uDD3D', - 'Gopf': '\uD835\uDD3E', - 'Hopf': '\u210D', - 'Iopf': '\uD835\uDD40', - 'Jopf': '\uD835\uDD41', - 'Kopf': '\uD835\uDD42', - 'Lopf': '\uD835\uDD43', - 'Mopf': '\uD835\uDD44', - 'Nopf': '\u2115', - 'Oopf': '\uD835\uDD46', - 'Popf': '\u2119', - 'Qopf': '\u211A', - 'Ropf': '\u211D', - 'Sopf': '\uD835\uDD4A', - 'Topf': '\uD835\uDD4B', - 'Uopf': '\uD835\uDD4C', - 'Vopf': '\uD835\uDD4D', - 'Wopf': '\uD835\uDD4E', - 'Xopf': '\uD835\uDD4F', - 'Yopf': '\uD835\uDD50', - 'Zopf': '\u2124', - 'aopf': '\uD835\uDD52', - 'bopf': '\uD835\uDD53', - 'copf': '\uD835\uDD54', - 'dopf': '\uD835\uDD55', - 'eopf': '\uD835\uDD56', - 'fopf': '\uD835\uDD57', - 'gopf': '\uD835\uDD58', - 'hopf': '\uD835\uDD59', - 'iopf': '\uD835\uDD5A', - 'jopf': '\uD835\uDD5B', - 'kopf': '\uD835\uDD5C', - 'lopf': '\uD835\uDD5D', - 'mopf': '\uD835\uDD5E', - 'nopf': '\uD835\uDD5F', - 'oopf': '\uD835\uDD60', - 'popf': '\uD835\uDD61', - 'qopf': '\uD835\uDD62', - 'ropf': '\uD835\uDD63', - 'sopf': '\uD835\uDD64', - 'topf': '\uD835\uDD65', - 'uopf': '\uD835\uDD66', - 'vopf': '\uD835\uDD67', - 'wopf': '\uD835\uDD68', - 'xopf': '\uD835\uDD69', - 'yopf': '\uD835\uDD6A', - 'zopf': '\uD835\uDD6B' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/opf.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js deleted file mode 100644 index e8ee2c3f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js +++ /dev/null @@ -1,84 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/p.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Pcy': '\u041F', - 'Poincareplane': '\u210C', - 'Pr': '\u2ABB', - 'Prime': '\u2033', - 'Proportion': '\u2237', - 'par': '\u2225', - 'para': '\u00B6', - 'parallel': '\u2225', - 'parsim': '\u2AF3', - 'parsl': '\u2AFD', - 'part': '\u2202', - 'pcy': '\u043F', - 'percnt': '\u0025', - 'permil': '\u2030', - 'perp': '\u22A5', - 'pertenk': '\u2031', - 'phmmat': '\u2133', - 'phone': '\u260E', - 'pitchfork': '\u22D4', - 'planck': '\u210F', - 'planckh': '\u210E', - 'plankv': '\u210F', - 'plus': '\u002B', - 'plusacir': '\u2A23', - 'plusb': '\u229E', - 'pluscir': '\u2A22', - 'plusdo': '\u2214', - 'plusdu': '\u2A25', - 'pluse': '\u2A72', - 'plusmn': '\u00B1', - 'plussim': '\u2A26', - 'plustwo': '\u2A27', - 'pm': '\u00B1', - 'pointint': '\u2A15', - 'pound': '\u00A3', - 'pr': '\u227A', - 'prE': '\u2AB3', - 'prcue': '\u227C', - 'pre': '\u2AAF', - 'prec': '\u227A', - 'precapprox': '\u2AB7', - 'preccurlyeq': '\u227C', - 'preceq': '\u2AAF', - 'precsim': '\u227E', - 'primes': '\u2119', - 'prnE': '\u2AB5', - 'prnap': '\u2AB9', - 'prnsim': '\u22E8', - 'prod': '\u220F', - 'profalar': '\u232E', - 'profline': '\u2312', - 'profsurf': '\u2313', - 'prop': '\u221D', - 'propto': '\u221D', - 'prsim': '\u227E', - 'prurel': '\u22B0', - 'puncsp': '\u2008' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/p.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js deleted file mode 100644 index a96f5651..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js +++ /dev/null @@ -1,34 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/q.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'qint': '\u2A0C', - 'qprime': '\u2057', - 'quaternions': '\u210D', - 'quatint': '\u2A16', - 'quest': '\u003F', - 'questeq': '\u225F', - 'quot': '\u0022' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/q.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js deleted file mode 100644 index e7b32acc..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js +++ /dev/null @@ -1,134 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/r.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'RBarr': '\u2910', - 'Racute': '\u0154', - 'Rang': '\u300B', - 'Rarrtl': '\u2916', - 'Rcaron': '\u0158', - 'Rcedil': '\u0156', - 'Rcy': '\u0420', - 'ReverseElement': '\u220B', - 'ReverseUpEquilibrium': '\u296F', - 'RightArrowBar': '\u21E5', - 'RightDoubleBracket': '\u301B', - 'RightDownTeeVector': '\u295D', - 'RightDownVectorBar': '\u2955', - 'RightTeeVector': '\u295B', - 'RightTriangleBar': '\u29D0', - 'RightUpDownVector': '\u294F', - 'RightUpTeeVector': '\u295C', - 'RightUpVectorBar': '\u2954', - 'RightVectorBar': '\u2953', - 'RoundImplies': '\u2970', - 'RuleDelayed': '\u29F4', - 'rAarr': '\u21DB', - 'rArr': '\u21D2', - 'rAtail': '\u291C', - 'rBarr': '\u290F', - 'rHar': '\u2964', - 'race': '\u29DA', - 'racute': '\u0155', - 'radic': '\u221A', - 'raemptyv': '\u29B3', - 'rang': '\u232A', - 'rangd': '\u2992', - 'range': '\u29A5', - 'rangle': '\u232A', - 'raquo': '\u00BB', - 'rarr': '\u2192', - 'rarrap': '\u2975', - 'rarrb': '\u21E5', - 'rarrbfs': '\u2920', - 'rarrc': '\u2933', - 'rarrfs': '\u291E', - 'rarrhk': '\u21AA', - 'rarrlp': '\u21AC', - 'rarrpl': '\u2945', - 'rarrsim': '\u2974', - 'rarrw': '\u219D', - 'ratail': '\u291A', - 'ratio': '\u2236', - 'rationals': '\u211A', - 'rbarr': '\u290D', - 'rbbrk': '\u3015', - 'rbrke': '\u298C', - 'rbrksld': '\u298E', - 'rbrkslu': '\u2990', - 'rcaron': '\u0159', - 'rcedil': '\u0157', - 'rceil': '\u2309', - 'rcub': '\u007D', - 'rcy': '\u0440', - 'rdca': '\u2937', - 'rdldhar': '\u2969', - 'rdquo': '\u201D', - 'rdquor': '\u201D', - 'rdsh': '\u21B3', - 'real': '\u211C', - 'realine': '\u211B', - 'realpart': '\u211C', - 'reals': '\u211D', - 'rect': '\u25AD', - 'reg': '\u00AE', - 'rfisht': '\u297D', - 'rfloor': '\u230B', - 'rhard': '\u21C1', - 'rharu': '\u21C0', - 'rharul': '\u296C', - 'rightarrow': '\u2192', - 'rightarrowtail': '\u21A3', - 'rightharpoondown': '\u21C1', - 'rightharpoonup': '\u21C0', - 'rightleftarrows': '\u21C4', - 'rightleftharpoons': '\u21CC', - 'rightsquigarrow': '\u219D', - 'risingdotseq': '\u2253', - 'rlarr': '\u21C4', - 'rlhar': '\u21CC', - 'rmoustache': '\u23B1', - 'rnmid': '\u2AEE', - 'roang': '\u3019', - 'roarr': '\u21FE', - 'robrk': '\u301B', - 'ropar': '\u2986', - 'roplus': '\u2A2E', - 'rotimes': '\u2A35', - 'rpar': '\u0029', - 'rpargt': '\u2994', - 'rppolint': '\u2A12', - 'rrarr': '\u21C9', - 'rsh': '\u21B1', - 'rsqb': '\u005D', - 'rsquo': '\u2019', - 'rsquor': '\u2019', - 'rthree': '\u22CC', - 'rtrie': '\u22B5', - 'rtrif': '\u25B8', - 'rtriltri': '\u29CE', - 'ruluhar': '\u2968', - 'rx': '\u211E' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/r.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js deleted file mode 100644 index 5fb8d198..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js +++ /dev/null @@ -1,168 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/s.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'SHCHcy': '\u0429', - 'SHcy': '\u0428', - 'SOFTcy': '\u042C', - 'Sacute': '\u015A', - 'Sc': '\u2ABC', - 'Scaron': '\u0160', - 'Scedil': '\u015E', - 'Scirc': '\u015C', - 'Scy': '\u0421', - 'ShortDownArrow': '\u2193', - 'ShortLeftArrow': '\u2190', - 'ShortRightArrow': '\u2192', - 'ShortUpArrow': '\u2191', - 'Sub': '\u22D0', - 'Sup': '\u22D1', - 'sacute': '\u015B', - 'sc': '\u227B', - 'scE': '\u2AB4', - 'scaron': '\u0161', - 'sccue': '\u227D', - 'sce': '\u2AB0', - 'scedil': '\u015F', - 'scirc': '\u015D', - 'scpolint': '\u2A13', - 'scsim': '\u227F', - 'scy': '\u0441', - 'sdotb': '\u22A1', - 'sdote': '\u2A66', - 'seArr': '\u21D8', - 'searhk': '\u2925', - 'searrow': '\u2198', - 'semi': '\u003B', - 'seswar': '\u2929', - 'setminus': '\u2216', - 'setmn': '\u2216', - 'sext': '\u2736', - 'sfrown': '\u2322', - 'shchcy': '\u0449', - 'shcy': '\u0448', - 'shortmid': '\u2223', - 'shortparallel': '\u2225', - 'shy': '\u00AD', - 'sim': '\u223C', - 'simdot': '\u2A6A', - 'sime': '\u2243', - 'simeq': '\u2243', - 'simg': '\u2A9E', - 'simgE': '\u2AA0', - 'siml': '\u2A9D', - 'simlE': '\u2A9F', - 'simplus': '\u2A24', - 'simrarr': '\u2972', - 'slarr': '\u2190', - 'smallsetminus': '\u2216', - 'smashp': '\u2A33', - 'smeparsl': '\u29E4', - 'smid': '\u2223', - 'smt': '\u2AAA', - 'smte': '\u2AAC', - 'smtes': '\u2AAC\uFE00', - 'softcy': '\u044C', - 'sol': '\u002F', - 'solb': '\u29C4', - 'solbar': '\u233F', - 'spadesuit': '\u2660', - 'spar': '\u2225', - 'sqcap': '\u2293', - 'sqcaps': '\u2293\uFE00', - 'sqcup': '\u2294', - 'sqcups': '\u2294\uFE00', - 'sqsub': '\u228F', - 'sqsube': '\u2291', - 'sqsubset': '\u228F', - 'sqsubseteq': '\u2291', - 'sqsup': '\u2290', - 'sqsupe': '\u2292', - 'sqsupset': '\u2290', - 'sqsupseteq': '\u2292', - 'squ': '\u25A1', - 'square': '\u25A1', - 'squarf': '\u25AA', - 'squf': '\u25AA', - 'srarr': '\u2192', - 'ssetmn': '\u2216', - 'ssmile': '\u2323', - 'sstarf': '\u22C6', - 'star': '\u2606', - 'starf': '\u2605', - 'straightepsilon': '\u03F5', - 'straightphi': '\u03D5', - 'strns': '\u00AF', - 'subdot': '\u2ABD', - 'sube': '\u2286', - 'subedot': '\u2AC3', - 'submult': '\u2AC1', - 'subplus': '\u2ABF', - 'subrarr': '\u2979', - 'subset': '\u2282', - 'subseteq': '\u2286', - 'subseteqq': '\u2AC5', - 'subsetneq': '\u228A', - 'subsetneqq': '\u2ACB', - 'subsim': '\u2AC7', - 'subsub': '\u2AD5', - 'subsup': '\u2AD3', - 'succ': '\u227B', - 'succapprox': '\u2AB8', - 'succcurlyeq': '\u227D', - 'succeq': '\u2AB0', - 'succnapprox': '\u2ABA', - 'succneqq': '\u2AB6', - 'succnsim': '\u22E9', - 'succsim': '\u227F', - 'sum': '\u2211', - 'sung': '\u266A', - 'sup': '\u2283', - 'sup1': '\u00B9', - 'sup2': '\u00B2', - 'sup3': '\u00B3', - 'supdot': '\u2ABE', - 'supdsub': '\u2AD8', - 'supe': '\u2287', - 'supedot': '\u2AC4', - 'suphsol': '\u2283\u002F', - 'suphsub': '\u2AD7', - 'suplarr': '\u297B', - 'supmult': '\u2AC2', - 'supplus': '\u2AC0', - 'supset': '\u2283', - 'supseteq': '\u2287', - 'supseteqq': '\u2AC6', - 'supsetneq': '\u228B', - 'supsetneqq': '\u2ACC', - 'supsim': '\u2AC8', - 'supsub': '\u2AD4', - 'supsup': '\u2AD6', - 'swArr': '\u21D9', - 'swarhk': '\u2926', - 'swarrow': '\u2199', - 'swnwar': '\u292A', - 'szlig': '\u00DF' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/s.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js deleted file mode 100644 index 062968b7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/scr.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Ascr': '\uD835\uDC9C', - 'Bscr': '\u212C', - 'Cscr': '\uD835\uDC9E', - 'Dscr': '\uD835\uDC9F', - 'Escr': '\u2130', - 'Fscr': '\u2131', - 'Gscr': '\uD835\uDCA2', - 'Hscr': '\u210B', - 'Iscr': '\u2110', - 'Jscr': '\uD835\uDCA5', - 'Kscr': '\uD835\uDCA6', - 'Lscr': '\u2112', - 'Mscr': '\u2133', - 'Nscr': '\uD835\uDCA9', - 'Oscr': '\uD835\uDCAA', - 'Pscr': '\uD835\uDCAB', - 'Qscr': '\uD835\uDCAC', - 'Rscr': '\u211B', - 'Sscr': '\uD835\uDCAE', - 'Tscr': '\uD835\uDCAF', - 'Uscr': '\uD835\uDCB0', - 'Vscr': '\uD835\uDCB1', - 'Wscr': '\uD835\uDCB2', - 'Xscr': '\uD835\uDCB3', - 'Yscr': '\uD835\uDCB4', - 'Zscr': '\uD835\uDCB5', - 'ascr': '\uD835\uDCB6', - 'bscr': '\uD835\uDCB7', - 'cscr': '\uD835\uDCB8', - 'dscr': '\uD835\uDCB9', - 'escr': '\u212F', - 'fscr': '\uD835\uDCBB', - 'gscr': '\u210A', - 'hscr': '\uD835\uDCBD', - 'iscr': '\uD835\uDCBE', - 'jscr': '\uD835\uDCBF', - 'kscr': '\uD835\uDCC0', - 'lscr': '\uD835\uDCC1', - 'mscr': '\uD835\uDCC2', - 'nscr': '\uD835\uDCC3', - 'oscr': '\u2134', - 'pscr': '\uD835\uDCC5', - 'qscr': '\uD835\uDCC6', - 'rscr': '\uD835\uDCC7', - 'sscr': '\uD835\uDCC8', - 'tscr': '\uD835\uDCC9', - 'uscr': '\uD835\uDCCA', - 'vscr': '\uD835\uDCCB', - 'wscr': '\uD835\uDCCC', - 'xscr': '\uD835\uDCCD', - 'yscr': '\uD835\uDCCE', - 'zscr': '\uD835\uDCCF' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/scr.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js deleted file mode 100644 index 5f66de4e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js +++ /dev/null @@ -1,82 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/t.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'THORN': '\u00DE', - 'TSHcy': '\u040B', - 'TScy': '\u0426', - 'Tab': '\u0009', - 'Tcaron': '\u0164', - 'Tcedil': '\u0162', - 'Tcy': '\u0422', - 'ThinSpace': '\u2009', - 'TripleDot': '\u20DB', - 'Tstrok': '\u0166', - 'target': '\u2316', - 'tbrk': '\u23B4', - 'tcaron': '\u0165', - 'tcedil': '\u0163', - 'tcy': '\u0442', - 'tdot': '\u20DB', - 'telrec': '\u2315', - 'there4': '\u2234', - 'therefore': '\u2234', - 'thickapprox': '\u2248', - 'thicksim': '\u223C', - 'thinsp': '\u2009', - 'thkap': '\u2248', - 'thksim': '\u223C', - 'thorn': '\u00FE', - 'timesb': '\u22A0', - 'timesbar': '\u2A31', - 'timesd': '\u2A30', - 'tint': '\u222D', - 'toea': '\u2928', - 'top': '\u22A4', - 'topbot': '\u2336', - 'topcir': '\u2AF1', - 'topfork': '\u2ADA', - 'tosa': '\u2929', - 'tprime': '\u2034', - 'trade': '\u2122', - 'triangledown': '\u25BF', - 'triangleleft': '\u25C3', - 'trianglelefteq': '\u22B4', - 'triangleright': '\u25B9', - 'trianglerighteq': '\u22B5', - 'tridot': '\u25EC', - 'trie': '\u225C', - 'triminus': '\u2A3A', - 'triplus': '\u2A39', - 'trisb': '\u29CD', - 'tritime': '\u2A3B', - 'trpezium': '\uFFFD', - 'tscy': '\u0446', - 'tshcy': '\u045B', - 'tstrok': '\u0167', - 'twixt': '\u226C', - 'twoheadleftarrow': '\u219E', - 'twoheadrightarrow': '\u21A0' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/t.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js deleted file mode 100644 index dadbdbac..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js +++ /dev/null @@ -1,91 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/u.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Uacute': '\u00DA', - 'Uarr': '\u219F', - 'Uarrocir': '\u2949', - 'Ubrcy': '\u040E', - 'Ubreve': '\u016C', - 'Ucirc': '\u00DB', - 'Ucy': '\u0423', - 'Udblac': '\u0170', - 'Ugrave': '\u00D9', - 'Umacr': '\u016A', - 'UnderBracket': '\u23B5', - 'UnderParenthesis': '\uFE36', - 'Uogon': '\u0172', - 'UpArrowBar': '\u2912', - 'UpArrowDownArrow': '\u21C5', - 'UpEquilibrium': '\u296E', - 'UpTeeArrow': '\u21A5', - 'UpperLeftArrow': '\u2196', - 'UpperRightArrow': '\u2197', - 'Upsi': '\u03D2', - 'Uring': '\u016E', - 'Utilde': '\u0168', - 'Uuml': '\u00DC', - 'uArr': '\u21D1', - 'uHar': '\u2963', - 'uacute': '\u00FA', - 'uarr': '\u2191', - 'ubrcy': '\u045E', - 'ubreve': '\u016D', - 'ucirc': '\u00FB', - 'ucy': '\u0443', - 'udarr': '\u21C5', - 'udblac': '\u0171', - 'udhar': '\u296E', - 'ufisht': '\u297E', - 'ugrave': '\u00F9', - 'uharl': '\u21BF', - 'uharr': '\u21BE', - 'uhblk': '\u2580', - 'ulcorn': '\u231C', - 'ulcorner': '\u231C', - 'ulcrop': '\u230F', - 'ultri': '\u25F8', - 'umacr': '\u016B', - 'uml': '\u00A8', - 'uogon': '\u0173', - 'uparrow': '\u2191', - 'updownarrow': '\u2195', - 'upharpoonleft': '\u21BF', - 'upharpoonright': '\u21BE', - 'uplus': '\u228E', - 'upsilon': '\u03C5', - 'urcorn': '\u231D', - 'urcorner': '\u231D', - 'urcrop': '\u230E', - 'uring': '\u016F', - 'urtri': '\u25F9', - 'utdot': '\u22F0', - 'utilde': '\u0169', - 'utri': '\u25B5', - 'utrif': '\u25B4', - 'uuarr': '\u21C8', - 'uuml': '\u00FC', - 'uwangle': '\u29A7' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/u.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js deleted file mode 100644 index 07f1bff1..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js +++ /dev/null @@ -1,73 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/v.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'VDash': '\u22AB', - 'Vbar': '\u2AEB', - 'Vcy': '\u0412', - 'Vdashl': '\u2AE6', - 'Verbar': '\u2016', - 'Vert': '\u2016', - 'VerticalLine': '\u007C', - 'VerticalSeparator': '\u2758', - 'VeryThinSpace': '\u200A', - 'vArr': '\u21D5', - 'vBar': '\u2AE8', - 'vBarv': '\u2AE9', - 'vDash': '\u22A8', - 'vangrt': '\u299C', - 'varepsilon': '\u03B5', - 'varkappa': '\u03F0', - 'varnothing': '\u2205', - 'varphi': '\u03C6', - 'varpi': '\u03D6', - 'varpropto': '\u221D', - 'varr': '\u2195', - 'varrho': '\u03F1', - 'varsigma': '\u03C2', - 'varsubsetneq': '\u228A\uFE00', - 'varsubsetneqq': '\u2ACB\uFE00', - 'varsupsetneq': '\u228B\uFE00', - 'varsupsetneqq': '\u2ACC\uFE00', - 'vartheta': '\u03D1', - 'vartriangleleft': '\u22B2', - 'vartriangleright': '\u22B3', - 'vcy': '\u0432', - 'vdash': '\u22A2', - 'vee': '\u2228', - 'veeeq': '\u225A', - 'verbar': '\u007C', - 'vert': '\u007C', - 'vltri': '\u22B2', - 'vnsub': '\u2282\u20D2', - 'vnsup': '\u2283\u20D2', - 'vprop': '\u221D', - 'vrtri': '\u22B3', - 'vsubnE': '\u2ACB\uFE00', - 'vsubne': '\u228A\uFE00', - 'vsupnE': '\u2ACC\uFE00', - 'vsupne': '\u228B\uFE00', - 'vzigzag': '\u299A' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/v.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js deleted file mode 100644 index 73186eea..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/w.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'Wcirc': '\u0174', - 'wcirc': '\u0175', - 'wedbar': '\u2A5F', - 'wedge': '\u2227', - 'wedgeq': '\u2259', - 'wp': '\u2118', - 'wr': '\u2240', - 'wreath': '\u2240' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/w.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js deleted file mode 100644 index f6bb1226..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js +++ /dev/null @@ -1,47 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/x.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'xcap': '\u22C2', - 'xcirc': '\u25EF', - 'xcup': '\u22C3', - 'xdtri': '\u25BD', - 'xhArr': '\u27FA', - 'xharr': '\u27F7', - 'xlArr': '\u27F8', - 'xlarr': '\u27F5', - 'xmap': '\u27FC', - 'xnis': '\u22FB', - 'xodot': '\u2A00', - 'xoplus': '\u2A01', - 'xotime': '\u2A02', - 'xrArr': '\u27F9', - 'xrarr': '\u27F6', - 'xsqcup': '\u2A06', - 'xuplus': '\u2A04', - 'xutri': '\u25B3', - 'xvee': '\u22C1', - 'xwedge': '\u22C0' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/x.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js deleted file mode 100644 index 913d61da..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js +++ /dev/null @@ -1,41 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/y.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'YAcy': '\u042F', - 'YIcy': '\u0407', - 'YUcy': '\u042E', - 'Yacute': '\u00DD', - 'Ycirc': '\u0176', - 'Ycy': '\u042B', - 'Yuml': '\u0178', - 'yacute': '\u00FD', - 'yacy': '\u044F', - 'ycirc': '\u0177', - 'ycy': '\u044B', - 'yicy': '\u0457', - 'yucy': '\u044E', - 'yuml': '\u00FF' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/y.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js deleted file mode 100644 index 17589640..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js +++ /dev/null @@ -1,39 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/entities/z.js - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -(function (MATHML) { - MathJax.Hub.Insert(MATHML.Parse.Entity,{ - 'ZHcy': '\u0416', - 'Zacute': '\u0179', - 'Zcaron': '\u017D', - 'Zcy': '\u0417', - 'Zdot': '\u017B', - 'ZeroWidthSpace': '\u200B', - 'zacute': '\u017A', - 'zcaron': '\u017E', - 'zcy': '\u0437', - 'zdot': '\u017C', - 'zeetrf': '\u2128', - 'zhcy': '\u0436' - }); - - MathJax.Ajax.loadComplete(MATHML.entityDir+"/z.js"); - -})(MathJax.InputJax.MathML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js deleted file mode 100644 index d562be97..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js +++ /dev/null @@ -1,590 +0,0 @@ -/************************************************************* - * - * MathJax/jax/input/MathML/jax.js - * - * Implements the MathML InputJax that reads mathematics in - * MathML format and converts it to the MML ElementJax - * internal format. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - - */ - -(function (MATHML,BROWSER) { - var MML; - - MATHML.Parse = MathJax.Object.Subclass({ - - Init: function (string) {this.Parse(string)}, - - // - // Parse the MathML and check for errors - // - Parse: function (math) { - var doc; - if (typeof math !== "string") {doc = math.parentNode} else { - if (math.match(/^<[a-z]+:/i) && !math.match(/^<[^<>]* xmlns:/)) - {math = math.replace(/^<([a-z]+):math/i,'<$1:math xmlns:$1="http://www.w3.org/1998/Math/MathML"')} - math = math.replace(/&([a-z]+);/ig,this.replaceEntity); - doc = MATHML.ParseXML(math); if (doc == null) {MATHML.Error("Error parsing MathML")} - } - var err = doc.getElementsByTagName("parsererror")[0]; - if (err) MATHML.Error("Error parsing MathML: "+err.textContent.replace(/This page.*?errors:|XML Parsing Error: |Below is a rendering of the page.*/g,"")); - if (doc.childNodes.length !== 1) MATHML.Error("MathML must be formed by a single element"); - if (doc.firstChild.nodeName.toLowerCase() === "html") { - var h1 = doc.getElementsByTagName("h1")[0]; - if (h1 && h1.textContent === "XML parsing error" && h1.nextSibling) - MATHML.Error("Error parsing MathML: "+String(h1.nextSibling.nodeValue).replace(/fatal parsing error: /,"")); - } - if (doc.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"") !== "math") - MATHML.Error("MathML must be formed by a element, not <"+doc.firstChild.nodeName+">"); - this.mml = this.MakeMML(doc.firstChild); - }, - - // - // Convert the MathML structure to the MathJax Element jax structure - // - MakeMML: function (node) { - var type = node.nodeName.toLowerCase().replace(/^[a-z]+:/,""); - if (!(MML[type] && MML[type].isa && MML[type].isa(MML.mbase))) - {return MML.merror("Unknown node type: "+type)} - var mml = MML[type](), i, m, value; - for (i = 0, m = node.attributes.length; i < m; i++) { - value = node.attributes[i].value; - if (value.toLowerCase() === "true") {value = true} - else if (value.toLowerCase() === "false") {value = false} - mml[node.attributes[i].name] = value; - } - for (i = 0, m = node.childNodes.length; i < m; i++) { - var child = node.childNodes[i]; - if (child.nodeName === "#comment") continue; - if (child.nodeName === "#text") { - if (mml.isToken) { - var text = this.trimSpace(child.nodeValue); - if (mml.isa(MML.mo) && text.length === 1 && this.Remap[text.charAt(0)]) - {text = this.Remap[text.charAt(0)]} - text = text.replace(/&([a-z]+);/ig,this.replaceEntity); - mml.Append(MML.chars(text)); - } else if (child.nodeValue.match(/\S/)) { - MATHML.Error("Unexpected text node: '"+child.nodeValue+"'"); - } - } else {mml.Append(this.MakeMML(child))} - } - if (MATHML.config.useMathMLspacing) {mml.useMMLspacing = 0x08} - return mml; - }, - - trimSpace: function (string) { - return string.replace(/^[ \t\n\r]+/,"") // initial whitespace - .replace(/[ \t\n\r]+$/,"") // trailing whitespace - .replace(/[ \t\n\r][ \t\n\r]+/g," "); // internal multiple whitespace - }, - - replaceEntity: function (match,entity) { - if (MATHML.Parse.Entity[entity]) {return MATHML.Parse.Entity[entity]} - var file = entity.charAt(0).toLowerCase(); - var font = entity.match(/^[a-zA-Z](fr|scr|opf)$/); - if (font) {file = font[1]} - if (!MATHML.Parse.loaded[file]) { - MATHML.Parse.loaded[file] = true; - MathJax.Hub.RestartAfter(MathJax.Ajax.Require(MATHML.entityDir+"/"+file+".js")); - } - return match; - }, - - Remap: { - '\u0027': '\u2032', // ' - '\u002A': '\u2217', // * - '\u002D': '\u2212' // - - } - }, { - loaded: [] - }); - - /************************************************************************/ - - MATHML.Augment({ - Translate: function (script) { - var mml, math; - if (script.firstChild && - script.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"") === "math") { - math = this.prefilterMathML(script.firstChild); - } else { - math = script.innerHTML.replace(/^\s+/,"").replace(/\s+$/,""); - if (BROWSER.isMSIE) - {math = math.replace(/( )+$/,"").replace(/&/g,"&").replace(/</g,"&lt;")} - else if (BROWSER.isKonqueror) - {math = math.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")} - math = this.prefilterMath(math,script); - } - try { - mml = MATHML.Parse(math).mml; - } catch(err) { - if (!err.mathmlError) {throw err} - mml = this.formatError(err,math,script); - } - return MML(mml); - }, - prefilterMath: function (math,script) {return math}, - prefilterMathML: function (math) {return math}, - formatError: function (err,math,script) { - return MML.merror(err.message.replace(/\n.*/,"")); - }, - Error: function (message) { - throw MathJax.Hub.Insert(Error(message),{mathmlError: true}); - }, - // - // Parsers for various forms (DOMParser, Windows ActiveX object, other) - // - parseDOM: function (string) {return this.parser.parseFromString(string,"text/xml")}, - parseMS: function (string) {return (this.parser.loadXML(string) ? this.parser : null)}, - parseDIV: function (string) { - this.div.innerHTML = string.replace(/<([a-z]+)([^>]*)\/>/g,"<$1$2>"); - return this.div; - }, - // - // Initialize the parser object (whichever type is used) - // - Startup: function () { - MML = MathJax.ElementJax.mml; - if (window.DOMParser) { - this.parser = new DOMParser(); - this.ParseXML = this.parseDOM; - } else if (window.ActiveXObject) { - var xml = ["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.5.0","MSXML2.DOMDocument.4.0", - "MSXML2.DOMDocument.3.0","MSXML2.DOMDocument.2.0","Microsoft.XMLDOM"]; - for (var i = 0, m = xml.length; i < m && !this.parser; i++) - {try {this.parser = new ActiveXObject(xml[i])} catch (err) {}} - if (!this.parser) MATHML.Error("Can't create XML parser for MathML"); - this.parser.async = false; - this.ParseXML = this.parseMS; - } else { - this.div = MathJax.Hub.Insert(document.createElement("div"),{ - style:{visibility:"hidden", overflow:"hidden", height:"1px", - position:"absolute", top:0} - }); - if (!document.body.firstChild) {document.body.appendChild(this.div)} - else {document.body.insertBefore(this.div,document.body.firstChild)} - this.ParseXML = this.parseDIV; - } - } - }); - - MATHML.Parse.Entity = { - ApplyFunction: '\u2061', - Backslash: '\u2216', - Because: '\u2235', - Breve: '\u02D8', - Cap: '\u22D2', - CenterDot: '\u00B7', - CircleDot: '\u2299', - CircleMinus: '\u2296', - CirclePlus: '\u2295', - CircleTimes: '\u2297', - Congruent: '\u2261', - ContourIntegral: '\u222E', - Coproduct: '\u2210', - Cross: '\u2A2F', - Cup: '\u22D3', - CupCap: '\u224D', - Dagger: '\u2021', - Del: '\u2207', - Delta: '\u0394', - Diamond: '\u22C4', - DifferentialD: '\u2146', - DotEqual: '\u2250', - DoubleDot: '\u00A8', - DoubleRightTee: '\u22A8', - DoubleVerticalBar: '\u2225', - DownArrow: '\u2193', - DownLeftVector: '\u21BD', - DownRightVector: '\u21C1', - DownTee: '\u22A4', - Downarrow: '\u21D3', - Element: '\u2208', - EqualTilde: '\u2242', - Equilibrium: '\u21CC', - Exists: '\u2203', - ExponentialE: '\u2147', - FilledVerySmallSquare: '\u25AA', - ForAll: '\u2200', - Gamma: '\u0393', - Gg: '\u22D9', - GreaterEqual: '\u2265', - GreaterEqualLess: '\u22DB', - GreaterFullEqual: '\u2267', - GreaterLess: '\u2277', - GreaterSlantEqual: '\u2A7E', - GreaterTilde: '\u2273', - Hacek: '\u02C7', - Hat: '\u005E', - HumpDownHump: '\u224E', - HumpEqual: '\u224F', - Im: '\u2111', - ImaginaryI: '\u2148', - Integral: '\u222B', - Intersection: '\u22C2', - InvisibleComma: '\u2063', - InvisibleTimes: '\u2062', - Lambda: '\u039B', - Larr: '\u219E', - LeftAngleBracket: '\u2329', - LeftArrow: '\u2190', - LeftArrowRightArrow: '\u21C6', - LeftCeiling: '\u2308', - LeftDownVector: '\u21C3', - LeftFloor: '\u230A', - LeftRightArrow: '\u2194', - LeftTee: '\u22A3', - LeftTriangle: '\u22B2', - LeftTriangleEqual: '\u22B4', - LeftUpVector: '\u21BF', - LeftVector: '\u21BC', - Leftarrow: '\u21D0', - Leftrightarrow: '\u21D4', - LessEqualGreater: '\u22DA', - LessFullEqual: '\u2266', - LessGreater: '\u2276', - LessSlantEqual: '\u2A7D', - LessTilde: '\u2272', - Ll: '\u22D8', - Lleftarrow: '\u21DA', - LongLeftArrow: '\u27F5', - LongLeftRightArrow: '\u27F7', - LongRightArrow: '\u27F6', - Longleftarrow: '\u27F8', - Longleftrightarrow: '\u27FA', - Longrightarrow: '\u27F9', - Lsh: '\u21B0', - MinusPlus: '\u2213', - NestedGreaterGreater: '\u226B', - NestedLessLess: '\u226A', - NotDoubleVerticalBar: '\u2226', - NotElement: '\u2209', - NotEqual: '\u2260', - NotExists: '\u2204', - NotGreater: '\u226F', - NotGreaterEqual: '\u2271', - NotLeftTriangle: '\u22EA', - NotLeftTriangleEqual: '\u22EC', - NotLess: '\u226E', - NotLessEqual: '\u2270', - NotPrecedes: '\u2280', - NotPrecedesSlantEqual: '\u22E0', - NotRightTriangle: '\u22EB', - NotRightTriangleEqual: '\u22ED', - NotSubsetEqual: '\u2288', - NotSucceeds: '\u2281', - NotSucceedsSlantEqual: '\u22E1', - NotSupersetEqual: '\u2289', - NotTilde: '\u2241', - NotVerticalBar: '\u2224', - Omega: '\u03A9', - OverBar: '\u00AF', - OverBrace: '\uFE37', - PartialD: '\u2202', - Phi: '\u03A6', - Pi: '\u03A0', - PlusMinus: '\u00B1', - Precedes: '\u227A', - PrecedesEqual: '\u2AAF', - PrecedesSlantEqual: '\u227C', - PrecedesTilde: '\u227E', - Product: '\u220F', - Proportional: '\u221D', - Psi: '\u03A8', - Rarr: '\u21A0', - Re: '\u211C', - ReverseEquilibrium: '\u21CB', - RightAngleBracket: '\u232A', - RightArrow: '\u2192', - RightArrowLeftArrow: '\u21C4', - RightCeiling: '\u2309', - RightDownVector: '\u21C2', - RightFloor: '\u230B', - RightTee: '\u22A2', - RightTeeArrow: '\u21A6', - RightTriangle: '\u22B3', - RightTriangleEqual: '\u22B5', - RightUpVector: '\u21BE', - RightVector: '\u21C0', - Rightarrow: '\u21D2', - Rrightarrow: '\u21DB', - Rsh: '\u21B1', - Sigma: '\u03A3', - SmallCircle: '\u2218', - Sqrt: '\u221A', - Square: '\u25A1', - SquareIntersection: '\u2293', - SquareSubset: '\u228F', - SquareSubsetEqual: '\u2291', - SquareSuperset: '\u2290', - SquareSupersetEqual: '\u2292', - SquareUnion: '\u2294', - Star: '\u22C6', - Subset: '\u22D0', - SubsetEqual: '\u2286', - Succeeds: '\u227B', - SucceedsEqual: '\u2AB0', - SucceedsSlantEqual: '\u227D', - SucceedsTilde: '\u227F', - SuchThat: '\u220B', - Sum: '\u2211', - Superset: '\u2283', - SupersetEqual: '\u2287', - Supset: '\u22D1', - Therefore: '\u2234', - Theta: '\u0398', - Tilde: '\u223C', - TildeEqual: '\u2243', - TildeFullEqual: '\u2245', - TildeTilde: '\u2248', - UnderBar: '\u0332', - UnderBrace: '\uFE38', - Union: '\u22C3', - UnionPlus: '\u228E', - UpArrow: '\u2191', - UpDownArrow: '\u2195', - UpTee: '\u22A5', - Uparrow: '\u21D1', - Updownarrow: '\u21D5', - Upsilon: '\u03A5', - Vdash: '\u22A9', - Vee: '\u22C1', - VerticalBar: '\u2223', - VerticalTilde: '\u2240', - Vvdash: '\u22AA', - Wedge: '\u22C0', - Xi: '\u039E', - acute: '\u00B4', - aleph: '\u2135', - alpha: '\u03B1', - amalg: '\u2A3F', - and: '\u2227', - ang: '\u2220', - angmsd: '\u2221', - angsph: '\u2222', - ape: '\u224A', - backprime: '\u2035', - backsim: '\u223D', - backsimeq: '\u22CD', - beta: '\u03B2', - beth: '\u2136', - between: '\u226C', - bigcirc: '\u25EF', - bigodot: '\u2A00', - bigoplus: '\u2A01', - bigotimes: '\u2A02', - bigsqcup: '\u2A06', - bigstar: '\u2605', - bigtriangledown: '\u25BD', - bigtriangleup: '\u25B3', - biguplus: '\u2A04', - blacklozenge: '\u29EB', - blacktriangle: '\u25B4', - blacktriangledown: '\u25BE', - blacktriangleleft: '\u25C2', - bowtie: '\u22C8', - boxdl: '\u2510', - boxdr: '\u250C', - boxminus: '\u229F', - boxplus: '\u229E', - boxtimes: '\u22A0', - boxul: '\u2518', - boxur: '\u2514', - bsol: '\u005C', - bull: '\u2022', - cap: '\u2229', - check: '\u2713', - chi: '\u03C7', - circ: '\u02C6', - circeq: '\u2257', - circlearrowleft: '\u21BA', - circlearrowright: '\u21BB', - circledR: '\u00AE', - circledS: '\u24C8', - circledast: '\u229B', - circledcirc: '\u229A', - circleddash: '\u229D', - clubs: '\u2663', - colon: '\u003A', - comp: '\u2201', - ctdot: '\u22EF', - cuepr: '\u22DE', - cuesc: '\u22DF', - cularr: '\u21B6', - cup: '\u222A', - curarr: '\u21B7', - curlyvee: '\u22CE', - curlywedge: '\u22CF', - dagger: '\u2020', - daleth: '\u2138', - ddarr: '\u21CA', - deg: '\u00B0', - delta: '\u03B4', - digamma: '\u03DD', - div: '\u00F7', - divideontimes: '\u22C7', - dot: '\u02D9', - doteqdot: '\u2251', - dotplus: '\u2214', - dotsquare: '\u22A1', - dtdot: '\u22F1', - ecir: '\u2256', - efDot: '\u2252', - egs: '\u2A96', - ell: '\u2113', - els: '\u2A95', - empty: '\u2205', - epsi: '\u03F5', - epsiv: '\u03B5', - erDot: '\u2253', - eta: '\u03B7', - eth: '\u00F0', - flat: '\u266D', - fork: '\u22D4', - frown: '\u2322', - gEl: '\u2A8C', - gamma: '\u03B3', - gap: '\u2A86', - gimel: '\u2137', - gnE: '\u2269', - gnap: '\u2A8A', - gne: '\u2A88', - gnsim: '\u22E7', - gt: '\u003E', - gtdot: '\u22D7', - harrw: '\u21AD', - hbar: '\u210F', - hellip: '\u2026', - hookleftarrow: '\u21A9', - hookrightarrow: '\u21AA', - imath: '\u0131', - infin: '\u221E', - intcal: '\u22BA', - iota: '\u03B9', - kappa: '\u03BA', - kappav: '\u03F0', - lEg: '\u2A8B', - lambda: '\u03BB', - lap: '\u2A85', - larrlp: '\u21AB', - larrtl: '\u21A2', - lbrace: '\u007B', - lbrack: '\u005B', - le: '\u2264', - leftleftarrows: '\u21C7', - leftthreetimes: '\u22CB', - lessdot: '\u22D6', - lmoust: '\u23B0', - lnE: '\u2268', - lnap: '\u2A89', - lne: '\u2A87', - lnsim: '\u22E6', - longmapsto: '\u27FC', - looparrowright: '\u21AC', - lowast: '\u2217', - lowbar: '\u005F', - loz: '\u25CA', - lt: '\u003C', - ltimes: '\u22C9', - ltri: '\u25C3', - malt: '\u2720', - mho: '\u2127', - mu: '\u03BC', - multimap: '\u22B8', - nVDash: '\u22AF', - nVdash: '\u22AE', - natur: '\u266E', - nearr: '\u2197', - nhArr: '\u21CE', - nharr: '\u21AE', - nlArr: '\u21CD', - nlarr: '\u219A', - not: '\u00AC', - nrArr: '\u21CF', - nrarr: '\u219B', - nu: '\u03BD', - nvDash: '\u22AD', - nvdash: '\u22AC', - nwarr: '\u2196', - omega: '\u03C9', - or: '\u2228', - osol: '\u2298', - period: '\u002E', - phi: '\u03D5', - phiv: '\u03C6', - pi: '\u03C0', - piv: '\u03D6', - prap: '\u2AB7', - precnapprox: '\u2AB9', - precneqq: '\u2AB5', - precnsim: '\u22E8', - prime: '\u2032', - psi: '\u03C8', - rarrtl: '\u21A3', - rbrace: '\u007D', - rbrack: '\u005D', - rho: '\u03C1', - rhov: '\u03F1', - rightrightarrows: '\u21C9', - rightthreetimes: '\u22CC', - ring: '\u02DA', - rmoust: '\u23B1', - rtimes: '\u22CA', - rtri: '\u25B9', - scap: '\u2AB8', - scnE: '\u2AB6', - scnap: '\u2ABA', - scnsim: '\u22E9', - sdot: '\u22C5', - searr: '\u2198', - sect: '\u00A7', - sharp: '\u266F', - sigma: '\u03C3', - sigmav: '\u03C2', - simne: '\u2246', - smile: '\u2323', - spades: '\u2660', - sub: '\u2282', - subE: '\u2AC5', - subnE: '\u2ACB', - subne: '\u228A', - supE: '\u2AC6', - supnE: '\u2ACC', - supne: '\u228B', - swarr: '\u2199', - tau: '\u03C4', - theta: '\u03B8', - thetav: '\u03D1', - tilde: '\u02DC', - times: '\u00D7', - triangle: '\u25B5', - triangleq: '\u225C', - upsi: '\u03C5', - upuparrows: '\u21C8', - veebar: '\u22BB', - vellip: '\u22EE', - weierp: '\u2118', - xi: '\u03BE', - yen: '\u00A5', - zeta: '\u03B6', - zigrarr: '\u21DD' - }; - - MATHML.loadComplete("jax.js"); - -})(MathJax.InputJax.MathML,MathJax.Hub.Browser); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js deleted file mode 100644 index ed290557..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js +++ /dev/null @@ -1,40 +0,0 @@ -/************************************************************* - * - * MathJax/jax/input/TeX/config.js - * - * Initializes the TeX InputJax (the main definition is in - * MathJax/jax/input/TeX/jax.js, which is loaded when needed). - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.InputJax.TeX = MathJax.InputJax({ - name: "TeX", - version: 1.0, - directory: MathJax.InputJax.directory + "/TeX", - extensionDir: MathJax.InputJax.extensionDir + "/TeX", - require: [MathJax.ElementJax.directory + "/mml/jax.js"], - - config: { - TagSide: "right", - TagIndent: "0.8em", - MultLineWidth: "85%" - } -}); -MathJax.InputJax.TeX.Register("math/tex"); - -MathJax.InputJax.TeX.loadComplete("config.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js b/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js deleted file mode 100644 index 11912c1e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js +++ /dev/null @@ -1,1652 +0,0 @@ -/************************************************************* - * - * MathJax/jax/input/TeX/jax.js - * - * Implements the TeX InputJax that reads mathematics in - * TeX and LaTeX format and converts it to the MML ElementJax - * internal format. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (TEX) { - var TRUE = true, FALSE = false, MML; - - TEX.Stack = MathJax.Object.Subclass({ - Init: function (env) { - this.global = {}; - this.data = [STACKITEM.start().With({global: this.global})]; - if (env) {this.data[0].env = env} - this.env = this.data[0].env; - }, - Push: function () { - var i, m, item, top; - for (i = 0, m = arguments.length; i < m; i++) { - item = arguments[i]; - if (item instanceof MML.mbase) {item = STACKITEM.mml(item)} - item.global = this.global; - top = (this.data.length ? this.Top().checkItem(item) : TRUE); - if (top instanceof Array) {this.Pop(); this.Push.apply(this,top)} - else if (top instanceof STACKITEM) {this.Pop(); this.Push(top)} - else if (top) { - this.data.push(item); - if (item.env) { - for (var id in this.env) - {if (this.env.hasOwnProperty(id)) {item.env[id] = this.env[id]}} - this.env = item.env; - } else {item.env = this.env} - } - } - }, - Pop: function () { - var item = this.data.pop(); if (!item.isOpen) {delete item.env} - this.env = (this.data.length ? this.Top().env : {}); - return item; - }, - Top: function (n) { - if (n == null) {n = 1} - if (this.data.length < n) {return null} - return this.data[this.data.length-n]; - }, - Prev: function (noPop) { - var top = this.Top(); - if (noPop) {return top.data[top.data.length-1]} - else {return top.Pop()} - }, - toString: function () {return "stack[\n "+this.data.join("\n ")+"\n]"} - }); - - var STACKITEM = TEX.Stack.Item = MathJax.Object.Subclass({ - type: "base", - closeError: "Extra close brace or missing open brace", - rightError: "Missing \\left or extra \\right", - Init: function () { - if (this.isOpen) {this.env = {}} - this.data = []; - this.Push.apply(this,arguments); - }, - Push: function () {this.data.push.apply(this.data,arguments)}, - Pop: function () {return this.data.pop()}, - mmlData: function (inferred,forceRow) { - if (inferred == null) {inferred = TRUE} - if (this.data.length === 1 && !forceRow) {return this.data[0]} - return MML.mrow.apply(MML,this.data).With((inferred ? {inferred: TRUE}: {})); - }, - checkItem: function (item) { - if (item.type === "over" && this.isOpen) {item.num = this.mmlData(FALSE); this.data = []} - if (item.type === "cell" && this.isOpen) {TEX.Error("Misplaced "+item.name)} - if (item.isClose && this[item.type+"Error"]) {TEX.Error(this[item.type+"Error"])} - if (!item.isNotStack) {return TRUE} - this.Push(item.data[0]); return FALSE; - }, - With: function (def) { - for (var id in def) {if (def.hasOwnProperty(id)) {this[id] = def[id]}} - return this; - }, - toString: function () {return this.type+"["+this.data.join("; ")+"]"} - }); - - STACKITEM.start = STACKITEM.Subclass({ - type: "start", isOpen: TRUE, - checkItem: function (item) { - if (item.type === "stop") {return STACKITEM.mml(this.mmlData())} - return this.SUPER(arguments).checkItem.call(this,item); - } - }); - - STACKITEM.stop = STACKITEM.Subclass({ - type: "stop", isClose: TRUE - }); - - STACKITEM.open = STACKITEM.Subclass({ - type: "open", isOpen: TRUE, - stopError: "Extra open brace or missing close brace", - checkItem: function (item) { - if (item.type === "close") { - var mml = this.mmlData(); // this.mmlData(TRUE,TRUE); // force row - return STACKITEM.mml(MML.TeXAtom(mml)); // TeXAtom make it an ORD to prevent spacing (FIXME: should be another way) - } - return this.SUPER(arguments).checkItem.call(this,item); - } - }); - - STACKITEM.close = STACKITEM.Subclass({ - type: "close", isClose: TRUE - }); - - STACKITEM.subsup = STACKITEM.Subclass({ - type: "subsup", - stopError: "Missing superscript or subscript argument", - checkItem: function (item) { - var script = ["","subscript","superscript"][this.position]; - if (item.type === "open" || item.type === "left") {return TRUE} - if (item.type === "mml") { - this.data[0].SetData(this.position,item.data[0]); - return STACKITEM.mml(this.data[0]); - } - if (this.SUPER(arguments).checkItem.call(this,item)) - {TEX.Error("Missing open brace for "+script)} - }, - Pop: function () {} - }); - - STACKITEM.over = STACKITEM.Subclass({ - type: "over", isClose: TRUE, name: "\\over", - checkItem: function (item,stack) { - if (item.type === "over") {TEX.Error("Ambiguous use of "+item.name)} - if (item.isClose) { - var mml = MML.mfrac(this.num,this.mmlData(FALSE)); - if (this.thickness != null) {mml.linethickness = this.thickness} - if (this.open || this.close) { - mml.texClass = MML.TEXCLASS.INNER; - mml.texWithDelims = TRUE; - mml = MML.mfenced(mml).With({open: this.open, close: this.close}); - } - return [STACKITEM.mml(mml), item]; - } - return this.SUPER(arguments).checkItem.call(this,item); - }, - toString: function () {return "over["+this.num+" / "+this.data.join("; ")+"]"} - }); - - STACKITEM.left = STACKITEM.Subclass({ - type: "left", isOpen: TRUE, delim: '(', - stopError: "Extra \\left or missing \\right", - checkItem: function (item) { - if (item.type === "right") { - var mml = MML.mfenced(this.data.length === 1 ? this.data[0] : MML.mrow.apply(MML,this.data)); - return STACKITEM.mml(mml.With({open: this.delim, close: item.delim})); - } - return this.SUPER(arguments).checkItem.call(this,item); - } - }); - - STACKITEM.right = STACKITEM.Subclass({ - type: "right", isClose: TRUE, delim: ')' - }); - - STACKITEM.begin = STACKITEM.Subclass({ - type: "begin", isOpen: TRUE, - checkItem: function (item) { - if (item.type === "end") { - if (item.name !== this.name) - {TEX.Error("\\begin{"+this.name+"} ended with \\end{"+item.name+"}")} - if (!this.end) {return STACKITEM.mml(this.mmlData())} - return this.parse[this.end].call(this.parse,this,this.data); - } - if (item.type === "stop") {TEX.Error("Missing \\end{"+this.name+"}")} - return this.SUPER(arguments).checkItem.call(this,item); - } - }); - - STACKITEM.end = STACKITEM.Subclass({ - type: "end", isClose: TRUE - }); - - STACKITEM.style = STACKITEM.Subclass({ - type: "style", - checkItem: function (item) { - if (!item.isClose) {return this.SUPER(arguments).checkItem.call(this,item)} - var mml = MML.mstyle.apply(MML,this.data).With(this.styles); - return [STACKITEM.mml(mml),item]; - } - }); - - STACKITEM.position = STACKITEM.Subclass({ - type: "position", - checkItem: function (item) { - if (item.isClose) {TEX.Error("Missing box for "+this.name)} - if (item.isNotStack) { - var mml = item.mmlData(); - switch (this.move) { - case 'vertical': - var mml = MML.mpadded(mml).With({height: this.dh, depth: this.dd, voffset: this.dh}); - return [STACKITEM.mml(mml)]; - case 'horizontal': - return [STACKITEM.mml(this.left),item,STACKITEM.mml(this.right)]; - } - } - return this.SUPER(arguments).checkItem.call(this,item); - } - }); - - STACKITEM.array = STACKITEM.Subclass({ - type: "array", isOpen: TRUE, arraydef: {}, - Init: function () { - this.table = []; this.row = []; this.env = {}; - this.SUPER(arguments).Init.apply(this,arguments); - }, - checkItem: function (item) { - if (item.isClose) { - if (item.isEntry) {this.EndEntry(); this.clearEnv(); return FALSE} - if (item.isCR) {this.EndEntry(); this.EndRow(); this.clearEnv(); return FALSE} - this.EndTable(); this.clearEnv(); - var mml = MML.mtable.apply(MML,this.table).With(this.arraydef); - if (this.open || this.close) { - mml = MML.mfenced(mml).With({open: this.open, close: this.close}); - } - mml = STACKITEM.mml(mml); - if (this.requireClose) { - if (item.type === 'close') {return mml} - TEX.Error("Missing close brace"); - } - return [mml,item]; - } - return this.SUPER(arguments).checkItem.call(this,item); - }, - EndEntry: function () {this.row.push(MML.mtd.apply(MML,this.data)); this.data = []}, - EndRow: function () {this.table.push(MML.mtr.apply(MML,this.row)); this.row = []}, - EndTable: function () { - if (this.data.length || this.row.length) {this.EndEntry(); this.EndRow()} - }, - clearEnv: function () { - for (var id in this.env) {if (this.env.hasOwnProperty(id)) {delete this.env[id]}} - } - }); - - STACKITEM.cell = STACKITEM.Subclass({ - type: "cell", isClose: TRUE - }); - - STACKITEM.mml = STACKITEM.Subclass({ - type: "mml", isNotStack: TRUE, - Push: function () { - // embellished are type ORD in TeX (but not MML) so wrap them in TeXAtom - for (var i = 0, m = arguments.length; i < m; i++) { - if (arguments[i].type !== "mo" && arguments[i].isEmbellished()) - {arguments[i] = MML.TeXAtom(arguments[i]).With({isEmbellishedWrapper: TRUE})} - } - this.data.push.apply(this.data,arguments); - }, - Add: function () {this.data.push.apply(this.data,arguments); return this} - }); - - - var TEXDEF = TEX.Definitions = {}; - - TEX.Startup = function () { - MML = MathJax.ElementJax.mml; - MathJax.Hub.Insert(TEXDEF,{ - - // patterns for letters and numbers - letter: /[a-z]/i, - digit: /[0-9.]/, - number: /^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)*|\.[0-9]+)/, - - special: { - '\\': 'ControlSequence', - '{': 'Open', - '}': 'Close', - '~': 'Tilde', - '^': 'Superscript', - '_': 'Subscript', - ' ': 'Space', - "\t": 'Space', - "\r": 'Space', - "\n": 'Space', - "'": 'Prime', - '%': 'Comment', - '&': 'Entry', - '#': 'Hash', - '\u2019': 'Prime' - }, - - remap: { - '-': '2212', - '*': '2217' - }, - - mathchar0mi: { - // Lower-case greek - alpha: '03B1', - beta: '03B2', - gamma: '03B3', - delta: '03B4', - epsilon: '03F5', - zeta: '03B6', - eta: '03B7', - theta: '03B8', - iota: '03B9', - kappa: '03BA', - lambda: '03BB', - mu: '03BC', - nu: '03BD', - xi: '03BE', - omicron: '03BF', // added for completeness - pi: '03C0', - rho: '03C1', - sigma: '03C3', - tau: '03C4', - upsilon: '03C5', - phi: '03D5', - chi: '03C7', - psi: '03C8', - omega: '03C9', - varepsilon: '03B5', - vartheta: '03D1', - varpi: '03D6', - varrho: '03F1', - varsigma: '03C2', - varphi: '03C6', - - // Ord symbols - S: '00A7', - aleph: ['2135',{mathvariant: MML.VARIANT.NORMAL}], - hbar: '210F', - imath: '0131', - jmath: '0237', - ell: '2113', - wp: ['2118',{mathvariant: MML.VARIANT.NORMAL}], - Re: ['211C',{mathvariant: MML.VARIANT.NORMAL}], - Im: ['2111',{mathvariant: MML.VARIANT.NORMAL}], - partial: ['2202',{mathvariant: MML.VARIANT.NORMAL}], - infty: ['221E',{mathvariant: MML.VARIANT.NORMAL}], - prime: ['2032',{mathvariant: MML.VARIANT.NORMAL}], - emptyset: ['2205',{mathvariant: MML.VARIANT.NORMAL}], - nabla: ['2207',{mathvariant: MML.VARIANT.NORMAL}], - top: ['22A4',{mathvariant: MML.VARIANT.NORMAL}], - bot: ['22A5',{mathvariant: MML.VARIANT.NORMAL}], - angle: ['2220',{mathvariant: MML.VARIANT.NORMAL}], - triangle: ['25B3',{mathvariant: MML.VARIANT.NORMAL}], - backslash: ['2216',{mathvariant: MML.VARIANT.NORMAL}], - forall: ['2200',{mathvariant: MML.VARIANT.NORMAL}], - exists: ['2203',{mathvariant: MML.VARIANT.NORMAL}], - neg: ['00AC',{mathvariant: MML.VARIANT.NORMAL}], - lnot: ['00AC',{mathvariant: MML.VARIANT.NORMAL}], - flat: ['266D',{mathvariant: MML.VARIANT.NORMAL}], - natural: ['266E',{mathvariant: MML.VARIANT.NORMAL}], - sharp: ['266F',{mathvariant: MML.VARIANT.NORMAL}], - clubsuit: ['2663',{mathvariant: MML.VARIANT.NORMAL}], - diamondsuit: ['2662',{mathvariant: MML.VARIANT.NORMAL}], - heartsuit: ['2661',{mathvariant: MML.VARIANT.NORMAL}], - spadesuit: ['2660',{mathvariant: MML.VARIANT.NORMAL}] - }, - - mathchar0mo: { - surd: '221A', - - // big ops - coprod: ['2210',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - bigvee: ['22C1',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - bigwedge: ['22C0',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - biguplus: ['2A04',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - bigcap: ['22C2',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - bigcup: ['22C3',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - 'int': ['222B',{texClass: MML.TEXCLASS.OP}], - intop: ['222B',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE, movablelimits:TRUE}], - iint: ['222C',{texClass: MML.TEXCLASS.OP}], - iiint: ['222D',{texClass: MML.TEXCLASS.OP}], - prod: ['220F',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - sum: ['2211',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - bigotimes: ['2A02',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - bigoplus: ['2A01',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - bigodot: ['2A00',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - oint: ['222E',{texClass: MML.TEXCLASS.OP}], - bigsqcup: ['2A06',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], - smallint: ['222B',{largeop:FALSE}], - - // binary operations - triangleleft: '25C3', - triangleright: '25B9', - bigtriangleup: '25B3', - bigtriangledown: '25BD', - wedge: '2227', - land: '2227', - vee: '2228', - lor: '2228', - cap: '2229', - cup: '222A', - ddagger: '2021', - dagger: '2020', - sqcap: '2293', - sqcup: '2294', - uplus: '228E', - amalg: '2A3F', - diamond: '22C4', - bullet: '2219', - wr: '2240', - div: '00F7', - odot: ['2299',{largeop: FALSE}], - oslash: ['2298',{largeop: FALSE}], - otimes: ['2297',{largeop: FALSE}], - ominus: ['2296',{largeop: FALSE}], - oplus: ['2295',{largeop: FALSE}], - mp: '2213', - pm: '00B1', - circ: '2218', - bigcirc: '25EF', - setminus: '2216', - cdot: '22C5', - ast: '2217', - times: '00D7', - star: '22C6', - - // Relations - propto: '221D', - sqsubseteq: '2291', - sqsupseteq: '2292', - parallel: '2225', - mid: '2223', - dashv: '22A3', - vdash: '22A2', - leq: '2264', - le: '2264', - geq: '2265', - ge: '2265', - lt: '003C', - gt: '003E', - succ: '227B', - prec: '227A', - approx: '2248', - succeq: '2AB0', // or '227C', - preceq: '2AAF', // or '227D', - supset: '2283', - subset: '2282', - supseteq: '2287', - subseteq: '2286', - 'in': '2208', - ni: '220B', - notin: '2209', - owns: '220B', - gg: '226B', - ll: '226A', - sim: '223C', - simeq: '2243', - perp: '22A5', - equiv: '2261', - asymp: '224D', - smile: '2323', - frown: '2322', - ne: '2260', - neq: '2260', - cong: '2245', - doteq: '2250', - bowtie: '22C8', - models: '22A8', - - notChar: '0338', - - - // Arrows - Leftrightarrow: '21D4', - Leftarrow: '21D0', - Rightarrow: '21D2', - leftrightarrow: '2194', - leftarrow: '2190', - gets: '2190', - rightarrow: '2192', - to: '2192', - mapsto: '21A6', - leftharpoonup: '21BC', - leftharpoondown: '21BD', - rightharpoonup: '21C0', - rightharpoondown: '21C1', - nearrow: '2197', - searrow: '2198', - nwarrow: '2196', - swarrow: '2199', - rightleftharpoons: '21CC', - hookrightarrow: '21AA', - hookleftarrow: '21A9', - longleftarrow: '27F5', - Longleftarrow: '27F8', - longrightarrow: '27F6', - Longrightarrow: '27F9', - Longleftrightarrow: '27FA', - longleftrightarrow: '27F7', - longmapsto: '27FC', - - - // Misc. - ldots: '2026', - cdots: '22EF', - vdots: '22EE', - ddots: '22F1', - dots: '2026', // should be more complex than this - dotsc: '2026', // dots with commas - dotsb: '22EF', // dots with binary ops and relations - dotsm: '22EF', // dots with multiplication - dotsi: '22EF', // dots with integrals - dotso: '2026', // other dots - - ldotp: ['002E', {texClass: MML.TEXCLASS.PUNCT}], - cdotp: ['22C5', {texClass: MML.TEXCLASS.PUNCT}], - colon: ['003A', {texClass: MML.TEXCLASS.PUNCT}] - }, - - mathchar7: { - Gamma: '0393', - Delta: '0394', - Theta: '0398', - Lambda: '039B', - Xi: '039E', - Pi: '03A0', - Sigma: '03A3', - Upsilon: '03A5', - Phi: '03A6', - Psi: '03A8', - Omega: '03A9', - - '_': '005F', - '#': '0023', - '$': '0024', - '%': '0025', - '&': '0026', - And: '0026' - }, - - delimiter: { - '(': '(', - ')': ')', - '[': '[', - ']': ']', - '<': '27E8', - '>': '27E9', - '\\lt': '27E8', - '\\gt': '27E9', - '/': '/', - '|': ['|',{texClass:MML.TEXCLASS.ORD}], - '.': '', - '\\\\': '\\', - '\\lmoustache': '23B0', // non-standard - '\\rmoustache': '23B1', // non-standard - '\\lgroup': '27EE', // non-standard - '\\rgroup': '27EF', // non-standard - '\\arrowvert': '23D0', - '\\Arrowvert': '2016', - '\\bracevert': '23AA', // non-standard - '\\Vert': ['2225',{texClass:MML.TEXCLASS.ORD}], - '\\|': ['2225',{texClass:MML.TEXCLASS.ORD}], - '\\vert': ['|',{texClass:MML.TEXCLASS.ORD}], - '\\uparrow': '2191', - '\\downarrow': '2193', - '\\updownarrow': '2195', - '\\Uparrow': '21D1', - '\\Downarrow': '21D3', - '\\Updownarrow': '21D5', - '\\backslash': '\\', - '\\rangle': '27E9', - '\\langle': '27E8', - '\\rbrace': '}', - '\\lbrace': '{', - '\\}': '}', - '\\{': '{', - '\\rceil': '2309', - '\\lceil': '2308', - '\\rfloor': '230B', - '\\lfloor': '230A', - '\\lbrack': '[', - '\\rbrack': ']' - }, - - macros: { - displaystyle: ['SetStyle','D',TRUE,0], - textstyle: ['SetStyle','T',FALSE,0], - scriptstyle: ['SetStyle','S',FALSE,1], - scriptscriptstyle: ['SetStyle','SS',FALSE,2], - - rm: ['SetFont',MML.VARIANT.NORMAL], - mit: ['SetFont',MML.VARIANT.ITALIC], - oldstyle: ['SetFont',MML.VARIANT.OLDSTYLE], - cal: ['SetFont',MML.VARIANT.CALIGRAPHIC], - it: ['SetFont',MML.VARIANT.ITALIC], // may need special handling - bf: ['SetFont',MML.VARIANT.BOLD], - bbFont: ['SetFont',MML.VARIANT.DOUBLESTRUCK], - scr: ['SetFont',MML.VARIANT.SCRIPT], - frak: ['SetFont',MML.VARIANT.FRAKTUR], - sf: ['SetFont',MML.VARIANT.SANSSERIF], - tt: ['SetFont',MML.VARIANT.MONOSPACE], - -// font: - - tiny: ['SetSize',0.5], - Tiny: ['SetSize',0.6], // non-standard - scriptsize: ['SetSize',0.7], - small: ['SetSize',0.85], - normalsize: ['SetSize',1.0], - large: ['SetSize',1.2], - Large: ['SetSize',1.44], - LARGE: ['SetSize',1.73], - huge: ['SetSize',2.07], - Huge: ['SetSize',2.49], - - arcsin: ['NamedOp',0], - arccos: ['NamedOp',0], - arctan: ['NamedOp',0], - arg: ['NamedOp',0], - cos: ['NamedOp',0], - cosh: ['NamedOp',0], - cot: ['NamedOp',0], - coth: ['NamedOp',0], - csc: ['NamedOp',0], - deg: ['NamedOp',0], - det: 'NamedOp', - dim: ['NamedOp',0], - exp: ['NamedOp',0], - gcd: 'NamedOp', - hom: ['NamedOp',0], - inf: 'NamedOp', - ker: ['NamedOp',0], - lg: ['NamedOp',0], - lim: 'NamedOp', - liminf: ['NamedOp',null,'lim inf'], - limsup: ['NamedOp',null,'lim sup'], - ln: ['NamedOp',0], - log: ['NamedOp',0], - max: 'NamedOp', - min: 'NamedOp', - Pr: 'NamedOp', - sec: ['NamedOp',0], - sin: ['NamedOp',0], - sinh: ['NamedOp',0], - sup: 'NamedOp', - tan: ['NamedOp',0], - tanh: ['NamedOp',0], - - limits: ['Limits',1], - nolimits: ['Limits',0], - - overline: ['UnderOver','203E'], - underline: ['UnderOver','005F'], - overbrace: ['UnderOver','23DE',1], - underbrace: ['UnderOver','23DF',1], - overrightarrow: ['UnderOver','2192'], - underrightarrow: ['UnderOver','2192'], - overleftarrow: ['UnderOver','2190'], - underleftarrow: ['UnderOver','2190'], - overleftrightarrow: ['UnderOver','2194'], - underleftrightarrow: ['UnderOver','2194'], - - overset: 'Overset', - underset: 'Underset', - stackrel: ['Macro','\\mathrel{\\mathop{#2}\\limits^{#1}}',2], - - over: 'Over', - overwithdelims: 'Over', - atop: 'Over', - atopwithdelims: 'Over', - above: 'Over', - abovewithdelims: 'Over', - brace: ['Over','{','}'], - brack: ['Over','[',']'], - choose: ['Over','(',')'], - - frac: 'Frac', - sqrt: 'Sqrt', - root: 'Root', - uproot: ['MoveRoot','upRoot'], - leftroot: ['MoveRoot','leftRoot'], - - left: 'LeftRight', - right: 'LeftRight', - - llap: 'Lap', - rlap: 'Lap', - raise: 'RaiseLower', - lower: 'RaiseLower', - moveleft: 'MoveLeftRight', - moveright: 'MoveLeftRight', - - ',': ['Spacer',MML.LENGTH.THINMATHSPACE], - ':': ['Spacer',MML.LENGTH.THINMATHSPACE], // for LaTeX - '>': ['Spacer',MML.LENGTH.MEDIUMMATHSPACE], - ';': ['Spacer',MML.LENGTH.THICKMATHSPACE], - '!': ['Spacer',MML.LENGTH.NEGATIVETHINMATHSPACE], - enspace: ['Spacer',".5em"], - quad: ['Spacer',"1em"], - qquad: ['Spacer',"2em"], - thinspace: ['Spacer',MML.LENGTH.THINMATHSPACE], - negthinspace: ['Spacer',MML.LENGTH.NEGATIVETHINMATHSPACE], - - hskip: 'Hskip', - hspace: 'Hskip', - kern: 'Hskip', - mskip: 'Hskip', - mspace: 'Hskip', - mkern: 'Hskip', - Rule: ['Rule'], - Space: ['Rule','blank'], - - big: ['MakeBig',MML.TEXCLASS.ORD,0.85], - Big: ['MakeBig',MML.TEXCLASS.ORD,1.15], - bigg: ['MakeBig',MML.TEXCLASS.ORD,1.45], - Bigg: ['MakeBig',MML.TEXCLASS.ORD,1.75], - bigl: ['MakeBig',MML.TEXCLASS.OPEN,0.85], - Bigl: ['MakeBig',MML.TEXCLASS.OPEN,1.15], - biggl: ['MakeBig',MML.TEXCLASS.OPEN,1.45], - Biggl: ['MakeBig',MML.TEXCLASS.OPEN,1.75], - bigr: ['MakeBig',MML.TEXCLASS.CLOSE,0.85], - Bigr: ['MakeBig',MML.TEXCLASS.CLOSE,1.15], - biggr: ['MakeBig',MML.TEXCLASS.CLOSE,1.45], - Biggr: ['MakeBig',MML.TEXCLASS.CLOSE,1.75], - bigm: ['MakeBig',MML.TEXCLASS.REL,0.85], - Bigm: ['MakeBig',MML.TEXCLASS.REL,1.15], - biggm: ['MakeBig',MML.TEXCLASS.REL,1.45], - Biggm: ['MakeBig',MML.TEXCLASS.REL,1.75], - - mathord: ['TeXAtom',MML.TEXCLASS.ORD], - mathop: ['TeXAtom',MML.TEXCLASS.OP], - mathopen: ['TeXAtom',MML.TEXCLASS.OPEN], - mathclose: ['TeXAtom',MML.TEXCLASS.CLOSE], - mathbin: ['TeXAtom',MML.TEXCLASS.BIN], - mathrel: ['TeXAtom',MML.TEXCLASS.REL], - mathpunct: ['TeXAtom',MML.TEXCLASS.PUNCT], - mathinner: ['TeXAtom',MML.TEXCLASS.INNER], - - vcenter: ['TeXAtom',MML.TEXCLASS.VCENTER], - - mathchoice: ['Extension','mathchoice'], - buildrel: 'BuildRel', - - hbox: ['HBox',0], - text: 'HBox', - mbox: ['HBox',0], - fbox: 'FBox', - - strut: 'Strut', - mathstrut: ['Macro','\\vphantom{(}'], - phantom: 'Phantom', - vphantom: ['Phantom',1,0], - hphantom: ['Phantom',0,1], - smash: 'Smash', - - acute: ['Accent', "02CA"], // or 0301 - grave: ['Accent', "02CB"], // or 0300 - ddot: ['Accent', "00A8"], // or 0308 - tilde: ['Accent', "02DC"], // or 0303 - bar: ['Accent', "02C9"], // or 0304 - breve: ['Accent', "02D8"], // or 0306 - check: ['Accent', "02C7"], // or 030C - hat: ['Accent', "02C6"], // or 0302 - vec: ['Accent', "20D7"], - dot: ['Accent', "02D9"], // or 0307 - widetilde: ['Accent', "02DC",1], // or 0303 - widehat: ['Accent', "02C6",1], // or 0302 - - matrix: 'Matrix', - array: 'Matrix', - pmatrix: ['Matrix','(',')'], - cases: ['Matrix','{','',"left left",null,".1em"], - eqalign: ['Matrix',null,null,"right left",MML.LENGTH.THICKMATHSPACE,".5em",'D'], - displaylines: ['Matrix',null,null,"center",null,".5em",'D'], - cr: 'Cr', - '\\': 'Cr', - newline: 'Cr', -// noalign: 'HandleNoAlign', - eqalignno: ['Matrix',null,null,"right left right",MML.LENGTH.THICKMATHSPACE+" 3em",".5em",'D'], - leqalignno: ['Matrix',null,null,"right left right",MML.LENGTH.THICKMATHSPACE+" 3em",".5em",'D'], - - // TeX substitution macros - bmod: ['Macro','\\mathbin{\\rm mod}'], - pmod: ['Macro','\\pod{{\\rm mod}\\kern 6mu #1}',1], - mod: ['Macro','\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}{\\rm mod}\\,\\,#1',1], - pod: ['Macro','\\mathchoice{\\kern18mu}{\\kern8mu}{\\kern8mu}{\\kern8mu}(#1)',1], - iff: ['Macro','\\;\\Longleftrightarrow\\;'], - skew: ['Macro','{{#2{#3\\mkern#1mu}\\mkern-#1mu}{}}',3], - mathcal: ['Macro','{\\cal #1}',1], - mathscr: ['Macro','{\\scr #1}',1], - mathrm: ['Macro','{\\rm #1}',1], - mathbf: ['Macro','{\\bf #1}',1], - mathbb: ['Macro','{\\bbFont #1}',1], - Bbb: ['Macro','{\\bbFont #1}',1], - mathit: ['Macro','{\\it #1}',1], - mathfrak: ['Macro','{\\frak #1}',1], - mathsf: ['Macro','{\\sf #1}',1], - mathtt: ['Macro','{\\tt #1}',1], - textrm: ['Macro','\\mathord{\\rm\\text{#1}}',1], - textit: ['Macro','\\mathord{\\it{\\text{#1}}}',1], - textbf: ['Macro','\\mathord{\\bf{\\text{#1}}}',1], - pmb: ['Macro','\\rlap{#1}\\kern1px{#1}',1], - TeX: ['Macro','T\\kern-.14em\\lower.5ex{E}\\kern-.115em X'], - LaTeX: ['Macro','L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX'], - not: ['Macro','\\mathrel{\\rlap{\\kern.5em\\notChar}}'], - ' ': ['Macro','\\text{ }'], - space: 'Tilde', - - - // LaTeX - begin: 'Begin', - end: 'End', - - newcommand: ['Extension','newcommand'], - newenvironment: ['Extension','newcommand'], - def: ['Extension','newcommand'], - - verb: ['Extension','verb'], - - boldsymbol: ['Extension','boldsymbol'], - - tag: ['Extension','AMSmath'], - notag: ['Extension','AMSmath'], - label: ['Macro','',1], // not implemented yet - nonumber: ['Macro',''], // not implemented yet - - // Extensions to TeX - unicode: ['Extension','unicode'], - color: 'Color', - -// href: ['Extension','HTML'], -// 'class': ['Extension','HTML'], -// style: ['Extension','HTML'], -// cssId: ['Extension','HTML'], -// bbox: ['Extension','bbox'], - - require: 'Require' - - }, - - environment: { - array: ['Array'], - matrix: ['Array',null,null,null,'c'], - pmatrix: ['Array',null,'(',')','c'], - bmatrix: ['Array',null,'[',']','c'], - Bmatrix: ['Array',null,'\\{','\\}','c'], - vmatrix: ['Array',null,'\\vert','\\vert','c'], - Vmatrix: ['Array',null,'\\Vert','\\Vert','c'], - cases: ['Array',null,'\\{','.','ll',null,".1em"], - eqnarray: ['Array',null,null,null,'rcl',MML.LENGTH.THICKMATHSPACE,".5em",'D'], - 'eqnarray*': ['Array',null,null,null,'rcl',MML.LENGTH.THICKMATHSPACE,".5em",'D'], - - equation: [null,'Equation'], - 'equation*': [null,'Equation'], - - align: ['ExtensionEnv',null,'AMSmath'], - 'align*': ['ExtensionEnv',null,'AMSmath'], - aligned: ['ExtensionEnv',null,'AMSmath'], - multline: ['ExtensionEnv',null,'AMSmath'], - 'multline*': ['ExtensionEnv',null,'AMSmath'], - split: ['ExtensionEnv',null,'AMSmath'], - gather: ['ExtensionEnv',null,'AMSmath'], - 'gather*': ['ExtensionEnv',null,'AMSmath'], - gathered: ['ExtensionEnv',null,'AMSmath'], - alignat: ['ExtensionEnv',null,'AMSmath'], - 'alignat*': ['ExtensionEnv',null,'AMSmath'], - alignedat: ['ExtensionEnv',null,'AMSmath'] - }, - - p_height: 1.2 / .85 // cmex10 height plus depth over .85 - - }); - }; - - /************************************************************************/ - /* - * The TeX Parser - */ - - TEX.Parse = MathJax.Object.Subclass({ - Init: function (string,env) { - this.string = string; this.i = 0; - var ENV; if (env) {ENV = {}; for (var id in env) {if (env.hasOwnProperty(id)) {ENV[id] = env[id]}}} - this.stack = TEX.Stack(ENV); - this.Parse(); - this.Push(STACKITEM.stop()); - }, - Parse: function () { - var c; - while (this.i < this.string.length) { - c = this.string.charAt(this.i++); - if (TEXDEF.special[c]) {this[TEXDEF.special[c]](c)} - else if (TEXDEF.letter.test(c)) {this.Variable(c)} - else if (TEXDEF.digit.test(c)) {this.Number(c)} - else {this.Other(c)} - } - }, - Push: function () {this.stack.Push.apply(this.stack,arguments)}, - mml: function () { - if (this.stack.Top().type !== "mml") {return null} - return this.stack.Top().data[0]; - }, - mmlToken: function (token) {return token}, // used by boldsymbol extension - - /************************************************************************/ - /* - * Handle various token classes - */ - - /* - * Lookup a control-sequence and process it - */ - ControlSequence: function (c) { - var name = this.GetCS(); - if (TEXDEF.macros[name]) { // javascript macro - var macro = TEXDEF.macros[name]; - if (!(macro instanceof Array)) {macro = [macro]} - var fn = macro[0]; if (!(fn instanceof Function)) {fn = this[fn]} - fn.apply(this,["\\"+name].concat(macro.slice(1))); - } else if (TEXDEF.mathchar0mi[name]) { // normal mathchar (mi) - var mchar = TEXDEF.mathchar0mi[name]; var def = {mathvariant: MML.VARIANT.ITALIC}; - if (mchar instanceof Array) {def = mchar[1]; mchar = mchar[0]} - this.Push(this.mmlToken(MML.mi(MML.entity("#x"+mchar)).With(def))); - } else if (TEXDEF.mathchar0mo[name]) { // normal mathchar (mo) - var mchar = TEXDEF.mathchar0mo[name]; var def = {stretchy: FALSE}; - if (mchar instanceof Array) {def = mchar[1]; def.stretchy = FALSE; mchar = mchar[0]} - this.Push(this.mmlToken(MML.mo(MML.entity("#x"+mchar)).With(def))); - } else if (TEXDEF.mathchar7[name]) { // mathchar in current family - var mchar = TEXDEF.mathchar7[name]; var def = {mathvariant: MML.VARIANT.NORMAL}; - if (mchar instanceof Array) {def = mchar[1]; mchar = mchar[0]} - if (this.stack.env.font) {def.mathvariant = this.stack.env.font} - this.Push(this.mmlToken(MML.mi(MML.entity("#x"+mchar)).With(def))); - } else if (TEXDEF.delimiter["\\"+name] != null) { // delimiter - var delim = TEXDEF.delimiter["\\"+name], def = {}; - if (delim instanceof Array) {def = delim[1]; delim = delim[0]} - if (delim.length === 4) {delim = MML.entity('#x'+delim)} else {delim = MML.chars(delim)} - this.Push(this.mmlToken(MML.mo(delim).With({fence: FALSE, stretchy: FALSE}).With(def))); - } else { // error - TEX.Error("Undefined control sequence \\"+name); - } - }, - - /* - * Handle a variable (a single letter) - */ - Variable: function (c) { - var def = {}; if (this.stack.env.font) {def.mathvariant = this.stack.env.font} - this.Push(this.mmlToken(MML.mi(MML.chars(c)).With(def))); - }, - - /* - * Determine the extent of a number (pattern may need work) - */ - Number: function (c) { - var mml, n = this.string.slice(this.i-1).match(TEXDEF.number); - if (n) {mml = MML.mn(n[0].replace(/[{}]/g,"")); this.i += n[0].length - 1} - else {mml = MML.mo(MML.chars(c))} - if (this.stack.env.font) {mml.mathvariant = this.stack.env.font} - this.Push(this.mmlToken(mml)); - }, - - /* - * Handle { and } - */ - Open: function (c) {this.Push(STACKITEM.open())}, - Close: function (c) {this.Push(STACKITEM.close())}, - - /* - * Handle tilde and spaces - */ - Tilde: function (c) {this.Push(MML.mtext(MML.chars(" ")))}, - Space: function (c) {}, - - /* - * Handle ^, _, and ' - */ - Superscript: function (c) { - var position, base = this.stack.Prev(); if (!base) {base = MML.mi("")} - if (base.isEmbellishedWrapper) {base = base.data[0].data[0]} - if (base.type === "msubsup") { - if (base.data[base.sup]) { - if (!base.data[base.sup].isPrime) {TEX.Error("Double exponent: use braces to clarify")} - base = MML.msubsup(base,null,null); - } - position = base.sup; - } else if (base.movesupsub) { - if (base.type !== "munderover" || base.data[base.over]) - {base = MML.munderover(base,null,null).With({movesupsub:TRUE})} - position = base.over; - } else { - base = MML.msubsup(base,null,null); - position = base.sup; - } - this.Push(STACKITEM.subsup(base).With({position: position})); - }, - Subscript: function (c) { - var position, base = this.stack.Prev(); if (!base) {base = MML.mi("")} - if (base.isEmbellishedWrapper) {base = base.data[0].data[0]} - if (base.type === "msubsup") { - if (base.data[base.sub]) {TEX.Error("Double subscripts: use braces to clarify")} - position = base.sub; - } else if (base.movesupsub) { - if (base.type !== "munderover" || base.data[base.under]) - {base = MML.munderover(base,null,null).With({movesupsub:TRUE})} - position = base.under; - } else { - base = MML.msubsup(base,null,null); - position = base.sub; - } - this.Push(STACKITEM.subsup(base).With({position: position})); - }, - PRIME: String.fromCharCode(0x2032), SMARTQUOTE: String.fromCharCode(0x2019), - Prime: function (c) { - var base = this.stack.Prev(); if (!base) {base = MML.mi()} - if (base.type === "msubsup" && base.data[base.sup]) - {TEX.Error("Prime causes double exponent: use braces to clarify")} - var sup = ""; this.i--; - do {sup += this.PRIME; this.i++, c = this.GetNext()} - while (c === "'" || c === this.SMARTQUOTE); - sup = this.mmlToken(MML.mo(MML.chars(sup)).With({isPrime: TRUE, variantForm: TEX.isSTIX})); - this.Push(MML.msubsup(base,null,sup)); - }, - - /* - * Handle comments - */ - Comment: function (c) { - while (this.i < this.string.length && this.string.charAt(this.i) != "\n") {this.i++} - }, - - /* - * Handle hash marks outside of definitions - */ - Hash: function (c) { - TEX.Error("You can't use 'macro parameter character #' in math mode"); - }, - - /* - * Handle other characters (as elements) - */ - Other: function (c) { - var def = {stretchy: false}, mo; - if (this.stack.env.font) {def.mathvariant = this.stack.env.font} - if (TEXDEF.remap[c]) { - c = TEXDEF.remap[c]; - if (c instanceof Array) {def = c[1]; c = c[0]} - mo = MML.mo(MML.entity('#x'+c)); - } else { - mo = MML.mo(c); - } - if (mo.autoDefault("texClass",true) == "") {mo = MML.TeXAtom(mo)} - this.Push(this.mmlToken(mo.With(def))); - }, - - /************************************************************************/ - /* - * Macros - */ - - SetFont: function (name,font) {this.stack.env.font = font}, - SetStyle: function (name,texStyle,style,level) { - this.stack.env.style = texStyle; this.stack.env.level = level; - this.Push(STACKITEM.style().With({styles: {displaystyle: style, scriptlevel: level}})); - }, - SetSize: function (name,size) { - this.stack.env.size = size; - this.Push(STACKITEM.style().With({styles: {mathsize: size+"em"}})); // convert to absolute? - }, - - Color: function (name) { - var color = this.GetArgument(name); - var old = this.stack.env.color; this.stack.env.color = color; - var math = this.ParseArg(name); - if (old) {this.stack.env.color} else {delete this.stack.env.color} - this.Push(MML.mstyle(math).With({mathcolor: color})); - }, - - Spacer: function (name,space) { - this.Push(MML.mspace().With({width: space, mathsize: MML.SIZE.NORMAL, scriptlevel:1})); - }, - - LeftRight: function (name) { - this.Push(STACKITEM[name.substr(1)]().With({delim: this.GetDelimiter(name)})); - }, - - NamedOp: function (name,limits,id) { - var underover = (limits != null && limits === 0 ? FALSE : TRUE); - if (!id) {id = name.substr(1)}; limits = ((limits || limits == null) ? TRUE : FALSE); - id = id.replace(/ /,String.fromCharCode(0x2006)); - var mml = MML.mo(id).With({ - movablelimits: limits, - movesupsub: underover, - form: MML.FORM.PREFIX, - texClass: MML.TEXCLASS.OP - }); - mml.useMMLspacing &= ~mml.SPACE_ATTR.form; // don't count this explicit form setting - this.Push(this.mmlToken(mml)); - }, - Limits: function (name,limits) { - var op = this.stack.Prev("nopop"); - if (op.texClass !== MML.TEXCLASS.OP) {TEX.Error(name+" is allowed only on operators")} - op.movesupsub = (limits ? TRUE : FALSE); - op.movablelimits = FALSE; - }, - - Over: function (name,open,close) { - var mml = STACKITEM.over().With({name: name}); - if (open || close) { - mml.open = open; mml.close = close; - } else if (name.match(/withdelims$/)) { - mml.open = this.GetDelimiter(name); - mml.close = this.GetDelimiter(name); - } - if (name.match(/^\\above/)) {mml.thickness = this.GetDimen(name)} - else if (name.match(/^\\atop/) || open || close) {mml.thickness = 0} - this.Push(mml); - }, - - Frac: function (name) { - var num = this.ParseArg(name); - var den = this.ParseArg(name); - this.Push(MML.mfrac(num,den)); - }, - - Sqrt: function (name) { - var n = this.GetBrackets(name), mml = this.ParseArg(name); - if (n == "") {mml = MML.msqrt.apply(MML,mml.array())} - else {mml = MML.mroot(mml,this.parseRoot(n))} - this.Push(mml); - }, - Root: function (name) { - var n = this.GetUpTo(name,"\\of"); - var arg = this.ParseArg(name); - this.Push(MML.mroot(arg,this.parseRoot(n))); - }, - parseRoot: function (n) { - var env = this.stack.env, inRoot = env.inRoot; env.inRoot = true; - var parser = TEX.Parse(n,env); n = parser.mml(); var global = parser.stack.global; - if (global.leftRoot || global.upRoot) { - n = MML.mpadded(n); - if (global.leftRoot) {n.width = global.leftRoot} - if (global.upRoot) {n.voffset = global.upRoot; n.height = global.upRoot} - } - env.inRoot = inRoot; - return n; - }, - MoveRoot: function (name,id) { - if (!this.stack.env.inRoot) TEX.Error(name+" can appear only within a root"); - if (this.stack.global[id]) TEX.Error("Multiple use of "+name); - var n = this.GetArgument(name); - if (!n.match(/-?[0-9]+/)) TEX.Error("The argument to "+name+" must be an integer"); - n = (n/15)+"em"; - if (n.substr(0,1) !== "-") {n = "+"+n} - this.stack.global[id] = n; - }, - - Accent: function (name,accent,stretchy) { - var c = this.ParseArg(name); - var mml = this.mmlToken(MML.mo(MML.entity("#x"+accent)).With({accent: TRUE})); - mml.stretchy = (stretchy ? TRUE : FALSE); - this.Push(MML.munderover(c,null,mml).With({accent: TRUE})); - }, - - UnderOver: function (name,c,stack) { - var pos = {o: "over", u: "under"}[name.charAt(1)]; - var base = this.ParseArg(name); - var mml = MML.munderover(base,null,null); - if (stack) {mml.movesupsub = TRUE} - mml.data[mml[pos]] = - this.mmlToken(MML.mo(MML.entity("#x"+c)).With({stretchy: TRUE, accent: (pos == "under")})); - this.Push(mml); - }, - - Overset: function (name) { - var top = this.ParseArg(name), base = this.ParseArg(name); - this.Push(MML.munderover(base,null,top)); - }, - Underset: function (name) { - var bot = this.ParseArg(name), base = this.ParseArg(name); - this.Push(MML.munderover(base,bot,null)); - }, - - TeXAtom: function (name,mclass) { - var def = {texClass: mclass}; - if (mclass == MML.TEXCLASS.OP) {def.movesupsub = def.movablelimits = TRUE} - this.Push(MML.TeXAtom(this.ParseArg(name)).With(def)); - }, - - Strut: function (name) { - this.Push(MML.mpadded().With({height: "8.6pt", depth: "3pt", width: 0})); - }, - - Phantom: function (name,v,h) { - var box = MML.mphantom(this.ParseArg(name)); - if (v || h) { - box = MML.mpadded(box); - if (h) {box.height = box.depth = 0} - if (v) {box.width = 0} - } - this.Push(box); - }, - - Smash: function (name) { - var bt = this.trimSpaces(this.GetBrackets(name)); - var smash = MML.mpadded(this.ParseArg(name)); - switch (bt) { - case "b": smash.depth = 0; break; - case "t": smash.height = 0; break; - default: smash.height = smash.depth = 0; - } - this.Push(smash); - }, - - Lap: function (name) { - var mml = MML.mpadded(this.ParseArg(name)).With({width: 0}); - if (name === "\\llap") {mml.lspace = "-1 width"} - this.Push(mml); - }, - - RaiseLower: function (name) { - var h = this.GetDimen(name); - var item = STACKITEM.position().With({name: name, move: 'vertical'}); - if (h.charAt(0) === '-') {h = h.slice(1); name = {raise: "\\lower", lower: "\\raise"}[name.substr(1)]} - if (name === "\\lower") {item.dh = '-'+h; item.dd = h} else {item.dh = h; item.dd = '-'+h} - this.Push(item); - }, - - MoveLeftRight: function (name) { - var h = this.GetDimen(name); - var nh = (h.charAt(0) === '-' ? h.slice(1) : '-'+h); - if (name === "\\moveleft") {var tmp = h; h = nh; nh = tmp} - this.Push(STACKITEM.position().With({ - name: name, move: 'horizontal', - left: MML.mspace().With({width: h, mathsize: MML.SIZE.NORMAL, scriptlevel:1}), - right: MML.mspace().With({width: nh, mathsize: MML.SIZE.NORMAL, scriptlevel:1}) - })); - }, - - Hskip: function (name) { - this.Push(MML.mspace().With({ - width: this.GetDimen(name), mathsize: MML.SIZE.NORMAL, scriptlevel:0 - })); - }, - - Rule: function (name,style) { - var w = this.GetDimen(name), - h = this.GetDimen(name), - d = this.GetDimen(name); - var mml, type = "mspace", def = {width:w, height:h, depth:d}; - if (style !== 'blank') { - def.mathbackground = (this.stack.env.color || "black"); - type = "mpadded"; - } - mml = (MML[type])().With(def); - this.Push(mml); - }, - - MakeBig: function (name,mclass,size) { - size *= TEXDEF.p_height; - size = String(size).replace(/(\.\d\d\d).+/,'$1')+"em"; - var delim = this.GetDelimiter(name); - this.Push(MML.TeXAtom(MML.mo(delim).With({ - minsize: size, maxsize: size, scriptlevel: 0, - fence: TRUE, stretchy: TRUE, symmetric: TRUE - })).With({texClass: mclass})); - }, - - BuildRel: function (name) { - var top = this.ParseUpTo(name,"\\over"); - var bot = this.ParseArg(name); - this.Push(MML.TeXAtom(MML.munderover(bot,null,top)).With({mclass: MML.TEXCLASS.REL})); - }, - - HBox: function (name,style) { - this.Push.apply(this,this.InternalMath(this.GetArgument(name),style)); - }, - - FBox: function (name) { - this.Push(MML.menclose.apply(MML,this.InternalMath(this.GetArgument(name)))); - }, - - Require: function (name) { - var file = this.GetArgument(name); // @@@ FIXME: check for OK URL - this.Extension(null,file); - }, - - Extension: function (name,file,array) { - if (name && !typeof(name) === "string") {name = name.name} - file = TEX.extensionDir+"/"+file; - if (!file.match(/\.js$/)) {file += ".js"} - if (!MathJax.Ajax.loaded[MathJax.Ajax.fileURL(file)]) { - if (name != null) {delete TEXDEF[array || 'macros'][name.replace(/^\\/,"")]} - MathJax.Hub.RestartAfter(MathJax.Ajax.Require(file)); - } - }, - - Macro: function (name,macro,argcount) { - if (argcount) { - var args = []; - for (var i = 0; i < argcount; i++) {args.push(this.GetArgument(name))} - macro = this.SubstituteArgs(args,macro); - } - this.string = this.AddArgs(macro,this.string.slice(this.i)); - this.i = 0; - }, - - Matrix: function (name,open,close,align,spacing,vspacing,style) { - var c = this.GetNext(); if (c === "") {TEX.Error("Missing argument for "+name)} - if (c === "{") {this.i++} else {this.string = c+"}"+this.string.slice(this.i+1); this.i = 0} - var array = STACKITEM.array().With({ - requireClose: TRUE, - arraydef: { - rowspacing: (vspacing||"3pt"), - columnspacing: (spacing||"1em") - } - }); - if (open || close) {array.open = open; array.close = close} - if (style === "D") {array.arraydef.displaystyle = TRUE} - if (align != null) {array.arraydef.columnalign = align} - this.Push(array); - }, - - Entry: function (name) { - this.Push(STACKITEM.cell().With({isEntry: TRUE, name: name})); - }, - - Cr: function (name) { - this.Push(STACKITEM.cell().With({isCR: TRUE, name: name})); - }, - - /************************************************************************/ - /* - * LaTeX environments - */ - - Begin: function (name) { - var env = this.GetArgument(name); - if (env.match(/[^a-z*]/i)) {TEX.Error('Invalid environment name "'+env+'"')} - if (!TEXDEF.environment[env]) {TEX.Error('Unknown environment "'+env+'"')} - var cmd = TEXDEF.environment[env]; if (!(cmd instanceof Array)) {cmd = [cmd]} - var mml = STACKITEM.begin().With({name: env, end: cmd[1], parse:this}); - if (cmd[0] && this[cmd[0]]) {mml = this[cmd[0]].apply(this,[mml].concat(cmd.slice(2)))} - this.Push(mml); - }, - End: function (name) { - this.Push(STACKITEM.end().With({name: this.GetArgument(name)})); - }, - - Equation: function (begin,row) {return row}, - - ExtensionEnv: function (begin,file) {this.Extension(begin.name,file,"environment")}, - - Array: function (begin,open,close,align,spacing,vspacing,style,raggedHeight) { - if (!align) {align = this.GetArgument("\\begin{"+begin.name+"}")} - var lines = align.replace(/[^clr|]/g,'').replace(/[^|]\|/g,'|').split('').join(' '); - align = align.replace(/[^clr]/g,'').split('').join(' '); - align = align.replace(/l/g,'left').replace(/r/g,'right').replace(/c/g,'center'); - var array = STACKITEM.array().With({ - arraydef: { - columnalign: align, - columnspacing: (spacing||"1em"), - rowspacing: (vspacing||"3pt") - } - }); - // FIXME: do something about initial (and terminal?) vertical line - if (lines.match(/\|/)) - {array.arraydef.columnlines = lines.replace(/[^| ]/g,'none').replace(/\|/g,'solid')} - if (open) {array.open = this.convertDelimiter(open)} - if (close) {array.close = this.convertDelimiter(close)} - if (style === "D") {array.arraydef.displaystyle = TRUE} - if (style === "S") {array.arraydef.scriptlevel = 1} // FIXME: should use mstyle? - if (raggedHeight) {array.arraydef.useHeight = FALSE} - this.Push(begin); - return array; - }, - - /************************************************************************/ - /* - * String handling routines - */ - - /* - * Convert delimiter to character - */ - convertDelimiter: function (c) { - if (c) {c = TEXDEF.delimiter[c]} - if (c == null) {return null} - if (c instanceof Array) {c = c[0]} - if (c.length === 4) {c = String.fromCharCode(parseInt(c,16))} - return c; - }, - - /* - * Trim spaces from a string - */ - trimSpaces: function (text) { - if (typeof(text) != 'string') {return text} - return text.replace(/^\s+|\s+$/g,''); - }, - - /* - * Check if the next character is a space - */ - nextIsSpace: function () { - return this.string.charAt(this.i).match(/[ \n\r\t]/); - }, - - /* - * Get the next non-space character - */ - GetNext: function () { - while (this.nextIsSpace()) {this.i++} - return this.string.charAt(this.i); - }, - - /* - * Get and return a control-sequence name - */ - GetCS: function () { - var CS = this.string.slice(this.i).match(/^([a-z]+|.) ?/i); - if (CS) {this.i += CS[1].length; return CS[1]} else {this.i++; return " "} - }, - - /* - * Get and return a TeX argument (either a single character or control sequence, - * or the contents of the next set of braces). - */ - GetArgument: function (name,noneOK) { - switch (this.GetNext()) { - case "": - if (!noneOK) {TEX.Error("Missing argument for "+name)} - return null; - case '}': - if (!noneOK) {TEX.Error("Extra close brace or missing open brace")} - return null; - case '\\': - this.i++; return "\\"+this.GetCS(); - case '{': - var j = ++this.i, parens = 1; - while (this.i < this.string.length) { - switch (this.string.charAt(this.i++)) { - case '\\': this.i++; break; - case '{': parens++; break; - case '}': - if (parens == 0) {TEX.Error("Extra close brace")} - if (--parens == 0) {return this.string.slice(j,this.i-1)} - break; - } - } - TEX.Error("Missing close brace"); - break; - } - return this.string.charAt(this.i++); - }, - - /* - * Get an optional LaTeX argument in brackets - */ - GetBrackets: function (name) { - if (this.GetNext() != '[') {return ''}; - var j = ++this.i, parens = 0; - while (this.i < this.string.length) { - switch (this.string.charAt(this.i++)) { - case '{': parens++; break; - case '\\': this.i++; break; - case '}': - if (parens-- <= 0) {TEX.Error("Extra close brace while looking for ']'")} - break; - case ']': - if (parens == 0) {return this.string.slice(j,this.i-1)} - break; - } - } - TEX.Error("Couldn't find closing ']' for argument to "+name); - }, - - /* - * Get the name of a delimiter (check it in the delimiter list). - */ - GetDelimiter: function (name) { - while (this.nextIsSpace()) {this.i++} - var c = this.string.charAt(this.i); - if (this.i < this.string.length) { - this.i++; if (c == "\\") {c += this.GetCS(name)} - if (TEXDEF.delimiter[c] != null) {return this.convertDelimiter(c)} - } - TEX.Error("Missing or unrecognized delimiter for "+name); - }, - - /* - * Get a dimension (including its units). - */ - GetDimen: function (name) { - if (this.nextIsSpace()) {this.i++} - if (this.string.charAt(this.i) == '{') { - var dimen = this.GetArgument(name); - if (dimen.match(/^\s*([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)\s*$/)) - {return dimen.replace(/ /g,"")} - } else { - var dimen = this.string.slice(this.i); - var match = dimen.match(/^\s*(([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)) ?/); - if (match) { - this.i += match[0].length; - return match[1].replace(/ /g,""); - } - } - TEX.Error("Missing dimension or its units for "+name); - }, - - /* - * Get everything up to the given control sequence (token) - */ - GetUpTo: function (name,token) { - while (this.nextIsSpace()) {this.i++} - var j = this.i, k, c, parens = 0; - while (this.i < this.string.length) { - k = this.i; c = this.string.charAt(this.i++); - switch (c) { - case '\\': c += this.GetCS(); break; - case '{': parens++; break; - case '}': - if (parens == 0) {TEX.Error("Extra close brace while looking for "+token)} - parens--; - break; - } - if (parens == 0 && c == token) {return this.string.slice(j,k)} - } - TEX.Error("Couldn't find "+token+" for "+name); - }, - - /* - * Parse various substrings - */ - ParseArg: function (name) {return TEX.Parse(this.GetArgument(name),this.stack.env).mml()}, - ParseUpTo: function (name,token) {return TEX.Parse(this.GetUpTo(name,token),this.stack.env).mml()}, - - /* - * Break up a string into text and math blocks - * @@@ FIXME: skip over braced groups? @@@ - * @@@ FIXME: pass environment to TEX.Parse? @@@ - */ - InternalMath: function (text,level) { - var def = {displaystyle: FALSE}; if (level != null) {def.scriptlevel = level} - if (this.stack.env.font) {def.mathvariant = this.stack.env.font} - if (!text.match(/\$|\\\(/)) {return [MML.mtext(MML.chars(text)).With(def)]} - var i = 0, k = 0, c, match = ''; - var mml = []; - while (i < text.length) { - c = text.charAt(i++); - if (c === '$') { - if (match === '$') { - mml.push(MML.TeXAtom(TEX.Parse(text.slice(k,i-1)).mml().With(def))); - match = ''; k = i; - } else { - if (k < i-1) {mml.push(MML.mtext(MML.chars(text.slice(k,i-1))).With(def))} - match = '$'; k = i; - } - } else if (c === '\\') { - c = text.charAt(i++); - if (c === '(' && match == '') { - if (k < i-2) {mml.push(MML.mtext(MML.chars(text.slice(k,i-2))).With(def))} - match = ')'; k = i; - } else if (c === ')' && match === ')') { - mml.push(MML.TeXAtom(TEX.Parse(text.slice(k,i-2)).mml().With(def))); - match = ''; k = i; - } - } - } - if (match !== '') {TEX.Error("Math not terminated in text box")} - if (k < text.length) {mml.push(MML.mtext(MML.chars(text.slice(k))).With(def))} - return mml; - }, - - /* - * Replace macro paramters with their values - */ - SubstituteArgs: function (args,string) { - var text = ''; var newstring = ''; var c; var i = 0; - while (i < string.length) { - c = string.charAt(i++); - if (c === "\\") {text += c + string.charAt(i++)} - else if (c === '#') { - c = string.charAt(i++); - if (c === '#') {text += c} else { - if (!c.match(/[1-9]/) || c > args.length) - {TEX.Error("Illegal macro parameter reference")} - newstring = this.AddArgs(this.AddArgs(newstring,text),args[c-1]); - text = ''; - } - } else {text += c} - } - return this.AddArgs(newstring,text); - }, - - /* - * Make sure that macros are followed by a space if their names - * could accidentally be continued into the following text. - */ - AddArgs: function (s1,s2) { - if (s2.match(/^[a-z]/i) && s1.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)) {s1 += ' '} - return s1+s2; - } - - }); - - /************************************************************************/ - - TEX.Augment({ - Translate: function (script) { - var mml, math = script.innerHTML.replace(/^\s+/,"").replace(/\s+$/,""); - if (MathJax.Hub.Browser.isKonqueror) - {math = math.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")} - var displaystyle = - (script.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/) != null); - math = TEX.prefilterMath(math,displaystyle,script); - try { - mml = TEX.Parse(math).mml(); -// mml = MML.semantics(mml,MML.annotation(math).With({encoding:"application:x-tex"})); - } catch(err) { - if (!err.texError) {throw err} - mml = this.formatError(err,math,displaystyle,script); - } - if (mml.inferred) {mml = MML.apply(MathJax.ElementJax,mml.data)} else {mml = MML(mml)} - if (displaystyle) {mml.root.display = "block"} - return mml; - }, - prefilterMath: function (math,displaystyle,script) {return math}, - formatError: function (err,math,displaystyle,script) { - return MML.merror(err.message.replace(/\n.*/,"")); - }, - Error: function (message) { - throw MathJax.Hub.Insert(Error(message),{texError: TRUE}); - }, - Macro: function (name,def,argn) { - TEXDEF.macros[name] = ['Macro'].concat([].slice.call(arguments,1)); - } - }); - - TEX.loadComplete("jax.js"); - -})(MathJax.InputJax.TeX); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js deleted file mode 100644 index 877c17f4..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js +++ /dev/null @@ -1,61 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/autoload/menclose.js - * - * Implements the HTML-CSS output for elements. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (MML,HTMLCSS) { - - MML.menclose.Augment({ - toHTML: function (span) { - var values = this.getValues("notation","thickness","padding"); - if (values.thickness == null) {values.thickness = ".1em"} - if (values.padding == null) {values.padding = ".25em"} - var p = HTMLCSS.length2em(values.padding); - var t = HTMLCSS.length2em(values.thickness); - if (t !== 0 && t < 1.25/HTMLCSS.em) {t = 1.25/HTMLCSS.em} - var T = (HTMLCSS.msieBorderWidthBug ? 0 : t); - // FIXME: handle other notations - span = this.HTMLcreateSpan(span); - var stack = HTMLCSS.createStack(span); - var base = HTMLCSS.createBox(stack), box = HTMLCSS.createBox(stack); - HTMLCSS.Measured(this.data[0].toHTML(base),base); - box.bbox = {w:base.bbox.w+2*(p+t), h:base.bbox.h+base.bbox.d+2*(p+t), d:0, - lw:0, rw:base.bbox.w+2*(p+t)}; - var frame = HTMLCSS.addElement(box,"span",{style:{ - display:"inline-block", overflow:"hidden", - border:HTMLCSS.Em(t)+" solid", - width:HTMLCSS.Em(box.bbox.w-2*T), height:HTMLCSS.Em(box.bbox.h-2*T) - }}); - if (HTMLCSS.msieInlineBlockAlignBug) - {frame.style.verticalAlign = HTMLCSS.Em(HTMLCSS.getHD(span.parentNode).d)} - HTMLCSS.placeBox(box,0,-p-t-base.bbox.d); - HTMLCSS.placeBox(base,p+t,0); - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - } - }); - - MathJax.Hub.Startup.signal.Post("HTML-CSS menclose Ready"); - MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/menclose.js"); - -})(MathJax.ElementJax.mml,MathJax.OutputJax["HTML-CSS"]); - diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js deleted file mode 100644 index e63b9e8b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +++ /dev/null @@ -1,98 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/autoload/mglyph.js - * - * Implements the HTML-CSS output for elements. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (MML,HTMLCSS) { - - MML.mglyph.Augment({ - toHTML: function (span,variant) { - var values = this.getValues("src","width","height","valign","alt"); - if (values.src === "") { - values = this.getValues("index"); - variant = this.HTMLgetVariant(); - if (values.index) {this.HTMLhandleVariant(span,variant,String.fromCharCode(values.index))} - } else { - if (!this.img) {this.img = MML.mglyph.GLYPH[values.src]} - if (!this.img) { - this.img = MML.mglyph.GLYPH[values.src] = {img: new Image(), status: "pending"}; - var img = this.img.img; - img.onload = MathJax.CallBack(["HTMLimgLoaded",this]); - img.onerror = MathJax.CallBack(["HTMLimgError",this]); - img.src = values.src; - MathJax.Hub.RestartAfter(img.onload); - } - var SPAN = span; - if (this.img.status !== "OK") { - var span = HTMLCSS.addElement(span,"span",{className:"merror", style:{fontSize:"75%"}}); - HTMLCSS.addText(span,"Bad mglyph: "+values.src); - span.bbox = {lw:0, w:span.offsetWidth/HTMLCSS.em, h:.8, d:.2}; - span.bbox.rw = span.bbox.w; - } else { - span = this.HTMLcreateSpan(span); - img = HTMLCSS.addElement(span,"img",{src:values.src, alt:values.alt, title:values.alt}); - if (values.width) { - if (String(values.width).match(/^\s*-?\d+\s*$/)) {values.width += "px"} - img.style.width = HTMLCSS.Em(HTMLCSS.length2em(values.width,this.img.img.width/HTMLCSS.em)); - } - if (values.height) { - if (String(values.height).match(/^\s*-?\d+\s*$/)) {values.height += "px"} - img.style.height = HTMLCSS.Em(HTMLCSS.length2em(values.height,this.img.img.height/HTMLCSS.em)); - } - span.bbox.w = span.bbox.rw = img.offsetWidth/HTMLCSS.em; - span.bbox.h = img.offsetHeight/HTMLCSS.em; - if (values.valign) { - if (String(values.valign).match(/^\s*-?\d+\s*$/)) {values.valign += "px"} - span.bbox.d = -HTMLCSS.length2em(values.valign,this.img.img.height/HTMLCSS.em); - img.style.verticalAlign = HTMLCSS.Em(-span.bbox.d); - span.bbox.h -= span.bbox.d; - } - } - if (variant) { - if (!SPAN.bbox) { - SPAN.bbox = {w: span.bbox.w, h: span.bbox.h, d: span.bbox.d, - rw: span.bbox.rw, lw: span.bbox.lw}; - } else { - SPAN.bbox.w += span.bbox.w; - if (SPAN.bbox.w > SPAN.bbox.rw) {SPAN.bbox.rw = SPAN.bbox.w} - if (span.bbox.h > SPAN.bbox.h) {SPAN.bbox.h = span.bbox.h} - if (span.bbox.d > SPAN.bbox.d) {SPAN.bbox.d = span.bbox.d} - } - } - } - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLimgLoaded: function (event,status) { - if (typeof(event) === "string") {status = event} - this.img.status = (status || "OK") - }, - HTMLimgError: function () {this.img.img.onload("error")} - },{ - GLYPH: {} // global list of all loaded glyphs - }); - - MathJax.Hub.Startup.signal.Post("HTML-CSS mglyph Ready"); - MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/mglyph.js"); - -})(MathJax.ElementJax.mml,MathJax.OutputJax["HTML-CSS"]); - diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js deleted file mode 100644 index 7060b3e7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js +++ /dev/null @@ -1,49 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/autoload/ms.js - * - * Implements the HTML-CSS output for elements. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (MML) { - - MML.ms.Augment({ - toHTML: function (span) { - span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); - var values = this.getValues("lquote","rquote"); - var text = this.data.join(""); // FIXME: handle mglyph? - var pattern = []; - if (values.lquote.length === 1) {pattern.push(this.HTMLquoteRegExp(values.lquote))} - if (values.rquote.length === 1) {pattern.push(this.HTMLquoteRegExp(values.rquote))} - if (pattern.length) {text = text.replace(RegExp("("+pattern.join("|")+")","g"),"\\$1")} - this.HTMLhandleVariant(span,this.HTMLgetVariant(),values.lquote+text+values.rquote); - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - }, - HTMLquoteRegExp: function (string) { - return string.replace(/([.*+?|{}()\[\]\\])/g,"\\$1"); - } - }); - MML.ms.prototype.defaults.fontfamily = 'monospace'; - - MathJax.Hub.Startup.signal.Post("HTML-CSS ms Ready"); - -})(MathJax.ElementJax.mml); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].autoloadDir+"/ms.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/blank.gif b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/blank.gif deleted file mode 100644 index 8b27096e..00000000 Binary files a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/blank.gif and /dev/null differ diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js deleted file mode 100644 index 2292c36f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js +++ /dev/null @@ -1,127 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/config.js - * - * Initializes the HTML-CCS OutputJax (the main definition is in - * MathJax/jax/input/HTML-CSS/jax.js, which is loaded when needed). - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.OutputJax["HTML-CSS"] = MathJax.OutputJax({ - name: "HTML-CSS", - version: 1.0, - directory: MathJax.OutputJax.directory + "/HTML-CSS", - extensionDir: MathJax.OutputJax.extensionDir + "/HTML-CSS", - autoloadDir: MathJax.OutputJax.directory + "/HTML-CSS/autoload", - fontDir: MathJax.OutputJax.directory + "/HTML-CSS/fonts", // font name added later - webfontDir: MathJax.OutputJax.fontDir + "/HTML-CSS", // font name added later - - config: { - scale: 100, - availableFonts: ["STIX","TeX"], - preferredFont: "TeX", - webFont: "TeX", - imageFont: "TeX", - - styles: { - ".MathJax_Display": { - "text-align": "center", - margin: "1em 0em" - }, - - ".MathJax .merror": { - "background-color": "#FFFF88", - color: "#CC0000", - border: "1px solid #CC0000", - padding: "1px 3px", - "font-family": "serif", - "font-style": "italic", - "font-size": "90%" - }, - - ".MathJax_Preview": {color: "#888888"} - } - - } -}); -MathJax.OutputJax["HTML-CSS"].Register("jax/mml"); - -(function (HUB,HTMLCSS) { - var CONFIG; - CONFIG = HUB.Insert({ - - // - // The minimum versions that HTML-CSS supports - // - minBrowserVersion: { - Firefox: 3.0, - Opera: 9.52, - MSIE: 6.0, - Chrome: 0.3, - Safari: 2.0, - Konqueror: 4.0 - }, - - // - // For unsupported browsers, put back these delimiters for the preview - // - inlineMathDelimiters: ['$','$'], // or ["",""] or ["\\(","\\)"] - displayMathDelimiters: ['$$','$$'], // or ["",""] or ["\\[","\\]"] - // - // For displayed math, insert
for \n? - // - multilineDisplay: true, - - // - // The function to call to display the math for unsupported browsers - // - minBrowserTranslate: function (script) { - var MJ = HUB.getJaxFor(script), text = ["[Math]"]; - var span = document.createElement("span",{className: "MathJax_Preview"}); - var display = MJ.root.Get("displaystyle") - if (MJ.inputJax.name === "TeX") { - if (display) { - var delim = CONFIG.displayMathDelimiters; - text = [delim[0]+MJ.originalText+delim[1]]; - if (CONFIG.multilineDisplay) text = text[0].split(/\n/); - } else { - var delim = CONFIG.inlineMathDelimiters; - text = [delim[0]+MJ.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+delim[1]]; - } - } - for (var i = 0, m = text.length; i < m; i++) { - span.appendChild(document.createTextNode(text[i])); - if (i < m-1) {span.appendChild(document.createElement("br"))} - } - script.parentNode.insertBefore(span,script); - } - - },(HUB.config["HTML-CSS"]||{})); - - if (HUB.Browser.version !== "0.0" && - !HUB.Browser.versionAtLeast(CONFIG.minBrowserVersion[HUB.Browser]||0.0)) { - HTMLCSS.Translate = CONFIG.minBrowserTranslate; - MathJax.Hub.Config({showProcessingMessages: false}); - MathJax.Message.Set("Your browser does not support MathJax",null,4000); - HUB.Startup.signal.Post("MathJax not supported"); - } - -})(MathJax.Hub,MathJax.OutputJax["HTML-CSS"]); - - -MathJax.OutputJax["HTML-CSS"].loadComplete("config.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js deleted file mode 100644 index d94ac11a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +++ /dev/null @@ -1,32 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0xFB00: [691,0,610,15,666], // LATIN SMALL LIGATURE FF - 0xFB01: [691,0,556,14,536], // LATIN SMALL LIGATURE FI - 0xFB02: [691,0,556,15,535], // LATIN SMALL LIGATURE FL - 0xFB03: [691,0,833,15,813], // LATIN SMALL LIGATURE FFI - 0xFB04: [691,0,833,15,812] // LATIN SMALL LIGATURE FFL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/AlphaPresentForms.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js deleted file mode 100644 index 1c2b68b8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +++ /dev/null @@ -1,109 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2190: [451,-55,977,68,909], // LEFTWARDS ARROW - 0x2191: [676,170,584,94,490], // UPWARDS ARROW - 0x2192: [451,-55,977,68,909], // RIGHTWARDS ARROW - 0x2193: [676,170,584,94,490], // DOWNWARDS ARROW - 0x2194: [451,-55,977,30,948], // LEFT RIGHT ARROW - 0x2195: [736,230,584,94,490], // UP DOWN ARROW - 0x2196: [676,170,977,68,911], // NORTH WEST ARROW - 0x2197: [676,170,977,68,911], // NORTH EAST ARROW - 0x2198: [676,170,977,68,911], // SOUTH EAST ARROW - 0x2199: [676,170,977,68,911], // SOUTH WEST ARROW - 0x219A: [451,-55,977,68,909], // LEFTWARDS ARROW WITH STROKE - 0x219B: [451,-55,977,68,909], // RIGHTWARDS ARROW WITH STROKE - 0x219C: [462,-72,956,66,890], // LEFTWARDS WAVE ARROW - 0x219D: [462,-72,956,66,890], // RIGHTWARDS WAVE ARROW - 0x219E: [451,-55,977,68,909], // LEFTWARDS TWO HEADED ARROW - 0x219F: [676,165,568,86,482], // UPWARDS TWO HEADED ARROW - 0x21A0: [451,-55,977,68,909], // RIGHTWARDS TWO HEADED ARROW - 0x21A1: [676,165,568,86,482], // DOWNWARDS TWO HEADED ARROW - 0x21A2: [451,-55,977,68,909], // LEFTWARDS ARROW WITH TAIL - 0x21A3: [451,-55,977,68,909], // RIGHTWARDS ARROW WITH TAIL - 0x21A4: [451,-55,977,68,909], // LEFTWARDS ARROW FROM BAR - 0x21A5: [676,165,584,94,490], // UPWARDS ARROW FROM BAR - 0x21A6: [451,-55,977,68,909], // RIGHTWARDS ARROW FROM BAR - 0x21A7: [676,165,584,94,490], // DOWNWARDS ARROW FROM BAR - 0x21A8: [732,196,584,94,490], // UP DOWN ARROW WITH BASE - 0x21A9: [539,-55,966,66,900], // LEFTWARDS ARROW WITH HOOK - 0x21AA: [539,-55,966,66,900], // RIGHTWARDS ARROW WITH HOOK - 0x21AB: [540,6,966,66,900], // LEFTWARDS ARROW WITH LOOP - 0x21AC: [540,6,966,66,900], // RIGHTWARDS ARROW WITH LOOP - 0x21AD: [451,-55,1297,55,1242], // LEFT RIGHT WAVE ARROW - 0x21AE: [451,-55,977,30,948], // LEFT RIGHT ARROW WITH STROKE - 0x21AF: [683,154,562,68,494], // DOWNWARDS ZIGZAG ARROW - 0x21B0: [686,170,584,45,503], // UPWARDS ARROW WITH TIP LEFTWARDS - 0x21B1: [686,170,584,81,539], // UPWARDS ARROW WITH TIP RIGHTWARDS - 0x21B2: [686,170,584,45,503], // DOWNWARDS ARROW WITH TIP LEFTWARDS - 0x21B3: [686,170,584,81,539], // DOWNWARDS ARROW WITH TIP RIGHTWARDS - 0x21B4: [686,162,960,66,894], // RIGHTWARDS ARROW WITH CORNER DOWNWARDS - 0x21B5: [686,171,960,56,904], // DOWNWARDS ARROW WITH CORNER LEFTWARDS - 0x21B6: [524,0,971,66,905], // ANTICLOCKWISE TOP SEMICIRCLE ARROW - 0x21B7: [524,0,971,66,905], // CLOCKWISE TOP SEMICIRCLE ARROW - 0x21B8: [768,170,977,68,911], // NORTH WEST ARROW TO LONG BAR - 0x21B9: [618,114,977,68,909], // LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR - 0x21BA: [693,127,974,105,869], // ANTICLOCKWISE OPEN CIRCLE ARROW - 0x21BB: [693,127,974,105,869], // CLOCKWISE OPEN CIRCLE ARROW - 0x21BC: [501,-209,977,66,910], // LEFTWARDS HARPOON WITH BARB UPWARDS - 0x21BD: [297,-5,977,65,909], // LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x21BE: [694,162,552,239,481], // UPWARDS HARPOON WITH BARB RIGHTWARDS - 0x21BF: [694,162,352,71,313], // UPWARDS HARPOON WITH BARB LEFTWARDS - 0x21C0: [501,-209,977,66,910], // RIGHTWARDS HARPOON WITH BARB UPWARDS - 0x21C1: [297,-5,977,66,910], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x21C2: [694,162,552,239,481], // DOWNWARDS HARPOON WITH BARB RIGHTWARDS - 0x21C3: [694,162,552,71,313], // DOWNWARDS HARPOON WITH BARB LEFTWARDS - 0x21C4: [618,114,977,68,909], // RIGHTWARDS ARROW OVER LEFTWARDS ARROW - 0x21C5: [676,165,864,66,798], // UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW - 0x21C6: [618,114,977,68,909], // LEFTWARDS ARROW OVER RIGHTWARDS ARROW - 0x21C7: [618,114,977,68,909], // LEFTWARDS PAIRED ARROWS - 0x21C8: [676,165,864,66,798], // UPWARDS PAIRED ARROWS - 0x21C9: [618,114,977,68,909], // RIGHTWARDS PAIRED ARROWS - 0x21CA: [676,165,864,66,798], // DOWNWARDS PAIRED ARROWS - 0x21CB: [571,21,977,66,910], // LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON - 0x21CC: [571,21,977,66,910], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON - 0x21CD: [570,64,977,68,909], // LEFTWARDS DOUBLE ARROW WITH STROKE - 0x21CE: [570,64,1240,50,1190], // LEFT RIGHT DOUBLE ARROW WITH STROKE - 0x21CF: [570,64,977,68,909], // RIGHTWARDS DOUBLE ARROW WITH STROKE - 0x21D0: [570,64,977,68,909], // LEFTWARDS DOUBLE ARROW - 0x21D1: [676,170,714,40,674], // UPWARDS DOUBLE ARROW - 0x21D2: [570,64,977,68,909], // RIGHTWARDS DOUBLE ARROW - 0x21D3: [676,170,714,40,674], // DOWNWARDS DOUBLE ARROW - 0x21D4: [570,64,1240,50,1190], // LEFT RIGHT DOUBLE ARROW - 0x21D5: [736,230,714,40,674], // UP DOWN DOUBLE ARROW - 0x21D6: [662,156,926,54,872], // NORTH WEST DOUBLE ARROW - 0x21D7: [662,156,926,54,872], // NORTH EAST DOUBLE ARROW - 0x21D8: [662,156,926,54,872], // SOUTH EAST DOUBLE ARROW - 0x21D9: [662,156,926,54,872], // SOUTH WEST DOUBLE ARROW - 0x21DC: [451,-55,977,62,914], // LEFTWARDS SQUIGGLE ARROW - 0x21DD: [451,-55,977,62,914], // RIGHTWARDS SQUIGGLE ARROW - 0x21E6: [551,45,926,60,866], // LEFTWARDS WHITE ARROW - 0x21E7: [662,156,685,45,641], // UPWARDS WHITE ARROW - 0x21E8: [551,45,926,60,866], // RIGHTWARDS WHITE ARROW - 0x21E9: [662,156,685,45,641], // DOWNWARDS WHITE ARROW - 0x21EA: [705,201,685,45,641], // UPWARDS WHITE ARROW FROM BAR - 0x21F5: [676,165,864,66,798] // DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/Arrows.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js deleted file mode 100644 index b69cd2ae..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x1D56C: [701,25,856,50,805], // MATHEMATICAL BOLD FRAKTUR CAPITAL A - 0x1D56D: [701,19,849,50,794], // MATHEMATICAL BOLD FRAKTUR CAPITAL B - 0x1D56E: [701,19,773,54,731], // MATHEMATICAL BOLD FRAKTUR CAPITAL C - 0x1D56F: [701,19,891,54,836], // MATHEMATICAL BOLD FRAKTUR CAPITAL D - 0x1D570: [701,19,788,54,731], // MATHEMATICAL BOLD FRAKTUR CAPITAL E - 0x1D571: [701,205,803,54,748], // MATHEMATICAL BOLD FRAKTUR CAPITAL F - 0x1D572: [701,19,833,54,781], // MATHEMATICAL BOLD FRAKTUR CAPITAL G - 0x1D573: [701,205,843,42,795], // MATHEMATICAL BOLD FRAKTUR CAPITAL H - 0x1D574: [701,25,790,54,735], // MATHEMATICAL BOLD FRAKTUR CAPITAL I - 0x1D575: [701,205,803,54,748], // MATHEMATICAL BOLD FRAKTUR CAPITAL J - 0x1D576: [701,25,864,42,814], // MATHEMATICAL BOLD FRAKTUR CAPITAL K - 0x1D577: [701,25,699,51,645], // MATHEMATICAL BOLD FRAKTUR CAPITAL L - 0x1D578: [701,25,1133,50,1081], // MATHEMATICAL BOLD FRAKTUR CAPITAL M - 0x1D579: [701,25,862,50,810], // MATHEMATICAL BOLD FRAKTUR CAPITAL N - 0x1D57A: [701,19,909,54,854], // MATHEMATICAL BOLD FRAKTUR CAPITAL O - 0x1D57B: [701,205,850,50,795], // MATHEMATICAL BOLD FRAKTUR CAPITAL P - 0x1D57C: [701,59,930,54,902], // MATHEMATICAL BOLD FRAKTUR CAPITAL Q - 0x1D57D: [701,25,884,50,841], // MATHEMATICAL BOLD FRAKTUR CAPITAL R - 0x1D57E: [701,19,852,54,802], // MATHEMATICAL BOLD FRAKTUR CAPITAL S - 0x1D57F: [701,25,793,54,740], // MATHEMATICAL BOLD FRAKTUR CAPITAL T - 0x1D580: [701,25,860,54,809], // MATHEMATICAL BOLD FRAKTUR CAPITAL U - 0x1D581: [701,19,855,50,800], // MATHEMATICAL BOLD FRAKTUR CAPITAL V - 0x1D582: [701,19,1121,50,1066], // MATHEMATICAL BOLD FRAKTUR CAPITAL W - 0x1D583: [701,25,819,50,775], // MATHEMATICAL BOLD FRAKTUR CAPITAL X - 0x1D584: [701,205,837,50,782], // MATHEMATICAL BOLD FRAKTUR CAPITAL Y - 0x1D585: [701,195,755,44,703], // MATHEMATICAL BOLD FRAKTUR CAPITAL Z - 0x1D586: [475,24,600,55,545], // MATHEMATICAL BOLD FRAKTUR SMALL A - 0x1D587: [695,24,559,45,504], // MATHEMATICAL BOLD FRAKTUR SMALL B - 0x1D588: [475,24,464,55,412], // MATHEMATICAL BOLD FRAKTUR SMALL C - 0x1D589: [694,25,557,48,502], // MATHEMATICAL BOLD FRAKTUR SMALL D - 0x1D58A: [475,24,476,55,427], // MATHEMATICAL BOLD FRAKTUR SMALL E - 0x1D58B: [700,214,370,33,352], // MATHEMATICAL BOLD FRAKTUR SMALL F - 0x1D58C: [475,219,566,55,506], // MATHEMATICAL BOLD FRAKTUR SMALL G - 0x1D58D: [695,219,576,45,516], // MATHEMATICAL BOLD FRAKTUR SMALL H - 0x1D58E: [697,24,429,35,379], // MATHEMATICAL BOLD FRAKTUR SMALL I - 0x1D58F: [697,219,389,40,337], // MATHEMATICAL BOLD FRAKTUR SMALL J - 0x1D590: [695,24,456,48,402], // MATHEMATICAL BOLD FRAKTUR SMALL K - 0x1D591: [695,24,433,45,379], // MATHEMATICAL BOLD FRAKTUR SMALL L - 0x1D592: [475,24,984,40,932], // MATHEMATICAL BOLD FRAKTUR SMALL M - 0x1D593: [475,24,696,40,644], // MATHEMATICAL BOLD FRAKTUR SMALL N - 0x1D594: [475,24,554,45,499], // MATHEMATICAL BOLD FRAKTUR SMALL O - 0x1D595: [593,219,640,36,585], // MATHEMATICAL BOLD FRAKTUR SMALL P - 0x1D596: [475,219,574,55,522], // MATHEMATICAL BOLD FRAKTUR SMALL Q - 0x1D597: [475,24,525,40,493], // MATHEMATICAL BOLD FRAKTUR SMALL R - 0x1D598: [643,31,557,52,505], // MATHEMATICAL BOLD FRAKTUR SMALL S - 0x1D599: [656,23,438,45,378], // MATHEMATICAL BOLD FRAKTUR SMALL T - 0x1D59A: [475,24,681,35,629], // MATHEMATICAL BOLD FRAKTUR SMALL U - 0x1D59B: [593,24,573,55,526], // MATHEMATICAL BOLD FRAKTUR SMALL V - 0x1D59C: [593,24,850,55,795], // MATHEMATICAL BOLD FRAKTUR SMALL W - 0x1D59D: [475,209,521,50,489], // MATHEMATICAL BOLD FRAKTUR SMALL X - 0x1D59E: [593,219,596,55,536], // MATHEMATICAL BOLD FRAKTUR SMALL Y - 0x1D59F: [475,219,484,36,437] // MATHEMATICAL BOLD FRAKTUR SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/BoldFraktur.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js deleted file mode 100644 index 0d475645..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +++ /dev/null @@ -1,67 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2500: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT HORIZONTAL - 0x2502: [910,303,696,312,385], // BOX DRAWINGS LIGHT VERTICAL - 0x250C: [340,303,708,318,720], // BOX DRAWINGS LIGHT DOWN AND RIGHT - 0x2510: [340,303,708,-11,390], // BOX DRAWINGS LIGHT DOWN AND LEFT - 0x2514: [910,-267,708,318,720], // BOX DRAWINGS LIGHT UP AND RIGHT - 0x2518: [910,-267,708,-11,390], // BOX DRAWINGS LIGHT UP AND LEFT - 0x251C: [910,303,708,318,720], // BOX DRAWINGS LIGHT VERTICAL AND RIGHT - 0x2524: [910,303,708,-11,390], // BOX DRAWINGS LIGHT VERTICAL AND LEFT - 0x252C: [340,303,708,-11,719], // BOX DRAWINGS LIGHT DOWN AND HORIZONTAL - 0x2534: [910,-267,708,-11,719], // BOX DRAWINGS LIGHT UP AND HORIZONTAL - 0x253C: [910,303,708,-11,719], // BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL - 0x2550: [433,-174,708,-11,719], // BOX DRAWINGS DOUBLE HORIZONTAL - 0x2551: [910,303,708,225,484], // BOX DRAWINGS DOUBLE VERTICAL - 0x2552: [433,303,708,318,720], // BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE - 0x2553: [340,303,708,225,720], // BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE - 0x2554: [433,303,708,225,719], // BOX DRAWINGS DOUBLE DOWN AND RIGHT - 0x2555: [433,303,708,-11,390], // BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE - 0x2556: [340,303,708,-11,483], // BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE - 0x2557: [433,303,708,-11,483], // BOX DRAWINGS DOUBLE DOWN AND LEFT - 0x2558: [910,-174,708,318,720], // BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE - 0x2559: [910,-267,708,225,720], // BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE - 0x255A: [910,-174,708,225,719], // BOX DRAWINGS DOUBLE UP AND RIGHT - 0x255B: [910,-174,708,-11,390], // BOX DRAWINGS UP SINGLE AND LEFT DOUBLE - 0x255C: [910,-267,708,-11,483], // BOX DRAWINGS UP DOUBLE AND LEFT SINGLE - 0x255D: [910,-174,708,-11,483], // BOX DRAWINGS DOUBLE UP AND LEFT - 0x255E: [910,303,708,318,720], // BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE - 0x255F: [910,303,708,225,720], // BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE - 0x2560: [910,303,708,225,720], // BOX DRAWINGS DOUBLE VERTICAL AND RIGHT - 0x2561: [910,303,708,-11,390], // BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE - 0x2562: [910,303,708,-11,483], // BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE - 0x2563: [910,303,708,-11,483], // BOX DRAWINGS DOUBLE VERTICAL AND LEFT - 0x2564: [433,303,708,-11,719], // BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE - 0x2565: [340,303,708,-11,719], // BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE - 0x2566: [433,303,708,-11,719], // BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL - 0x2567: [910,-174,708,-11,719], // BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE - 0x2568: [910,-267,708,-11,719], // BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE - 0x2569: [910,-174,708,-11,719], // BOX DRAWINGS DOUBLE UP AND HORIZONTAL - 0x256A: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE - 0x256B: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE - 0x256C: [910,303,708,-11,719] // BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/BoxDrawing.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js deleted file mode 100644 index 260f7068..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +++ /dev/null @@ -1,98 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x300: [713,-528,0,-369,-131], // COMBINING GRAVE ACCENT - 0x301: [713,-528,0,-369,-131], // COMBINING ACUTE ACCENT - 0x302: [704,-528,0,-418,-81], // COMBINING CIRCUMFLEX ACCENT - 0x303: [674,-547,0,-432,-67], // COMBINING TILDE - 0x304: [637,-565,0,-415,-85], // COMBINING MACRON - 0x305: [838,-788,0,-500,0], // COMBINING OVERLINE - 0x306: [691,-528,0,-401,-98], // COMBINING BREVE - 0x307: [666,-537,0,-314,-185], // COMBINING DOT ABOVE - 0x308: [666,-537,0,-419,-80], // COMBINING DIAERESIS - 0x309: [751,-491,0,-336,-131], // COMBINING HOOK ABOVE - 0x30A: [750,-537,0,-356,-143], // COMBINING RING ABOVE - 0x30B: [713,-528,0,-469,-31], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [704,-528,0,-418,-81], // COMBINING CARON - 0x30D: [730,-530,0,-277,-211], // COMBINING VERTICAL LINE ABOVE - 0x30E: [730,-530,0,-358,-142], // COMBINING DOUBLE VERTICAL LINE ABOVE - 0x30F: [713,-528,0,-469,-31], // COMBINING DOUBLE GRAVE ACCENT - 0x310: [828,-528,0,-401,-98], // COMBINING CANDRABINDU - 0x311: [691,-528,0,-401,-98], // COMBINING INVERTED BREVE - 0x312: [867,-532,0,-342,-158], // COMBINING TURNED COMMA ABOVE - 0x313: [867,-532,0,-342,-158], // COMBINING COMMA ABOVE - 0x314: [867,-532,0,-342,-158], // COMBINING REVERSED COMMA ABOVE - 0x315: [867,-532,0,-116,68], // COMBINING COMMA ABOVE RIGHT - 0x316: [-70,255,0,-369,-131], // COMBINING GRAVE ACCENT BELOW - 0x317: [-70,255,0,-369,-131], // COMBINING ACUTE ACCENT BELOW - 0x318: [-58,288,0,-425,-223], // COMBINING LEFT TACK BELOW - 0x319: [-58,288,0,-288,-86], // COMBINING RIGHT TACK BELOW - 0x31A: [752,-531,0,-410,-93], // COMBINING LEFT ANGLE ABOVE - 0x31B: [505,-352,0,-62,66], // COMBINING HORN - 0x31C: [-33,313,0,-375,-190], // COMBINING LEFT HALF RING BELOW - 0x31D: [-70,272,0,-365,-135], // COMBINING UP TACK BELOW - 0x31E: [-70,272,0,-365,-135], // COMBINING DOWN TACK BELOW - 0x31F: [-70,287,0,-356,-144], // COMBINING PLUS SIGN BELOW - 0x320: [-140,206,0,-356,-144], // COMBINING MINUS SIGN BELOW - 0x321: [75,287,0,-241,-22], // COMBINING PALATALIZED HOOK BELOW - 0x322: [75,287,0,-94,125], // COMBINING RETROFLEX HOOK BELOW - 0x323: [-109,238,0,-314,-185], // COMBINING DOT BELOW - 0x324: [-109,238,0,-419,-80], // COMBINING DIAERESIS BELOW - 0x325: [-66,279,0,-356,-143], // COMBINING RING BELOW - 0x326: [-88,423,0,-342,-158], // COMBINING COMMA BELOW - 0x327: [0,218,0,-363,-137], // COMBINING CEDILLA - 0x328: [44,173,0,-364,-135], // COMBINING OGONEK - 0x329: [-107,239,0,-277,-222], // COMBINING VERTICAL LINE BELOW - 0x32A: [-86,260,0,-425,-93], // COMBINING BRIDGE BELOW - 0x32B: [-104,242,0,-420,-95], // COMBINING INVERTED DOUBLE ARCH BELOW - 0x32C: [-83,259,0,-418,-81], // COMBINING CARON BELOW - 0x32D: [-85,261,0,-418,-81], // COMBINING CIRCUMFLEX ACCENT BELOW - 0x32E: [-78,241,0,-401,-98], // COMBINING BREVE BELOW - 0x32F: [-78,241,0,-401,-98], // COMBINING INVERTED BREVE BELOW - 0x330: [-108,235,0,-432,-67], // COMBINING TILDE BELOW - 0x331: [-137,209,0,-415,-85], // COMBINING MACRON BELOW - 0x332: [-137,187,0,-500,0], // COMBINING LOW LINE - 0x333: [-137,287,0,-500,0], // COMBINING DOUBLE LOW LINE - 0x334: [316,-189,0,-432,-67], // COMBINING TILDE OVERLAY - 0x335: [282,-224,0,-414,-108], // COMBINING SHORT STROKE OVERLAY - 0x336: [282,-224,0,-510,-10], // COMBINING LONG STROKE OVERLAY - 0x337: [580,74,0,-410,-43], // COMBINING SHORT SOLIDUS OVERLAY - 0x338: [662,156,0,-410,31], // COMBINING LONG SOLIDUS OVERLAY - 0x339: [-33,313,0,-375,-190], // COMBINING RIGHT HALF RING BELOW - 0x33A: [-71,245,0,-425,-93], // COMBINING INVERTED BRIDGE BELOW - 0x33B: [-70,264,0,-353,-167], // COMBINING SQUARE BELOW - 0x33C: [-89,234,0,-410,-109], // COMBINING SEAGULL BELOW - 0x33D: [719,-520,0,-350,-150], // COMBINING X ABOVE - 0x33E: [881,-516,0,-314,-187], // COMBINING VERTICAL TILDE - 0x33F: [938,-788,0,-500,0], // COMBINING DOUBLE OVERLINE - 0x346: [717,-544,0,-410,-107], // COMBINING BRIDGE ABOVE - 0x34C: [837,-547,0,-446,-81], // COMBINING ALMOST EQUAL TO ABOVE - 0x359: [-66,368,0,-359,-89], // COMBINING ASTERISK BELOW - 0x35C: [-79,242,0,-401,300], // COMBINING DOUBLE BREVE BELOW - 0x360: [674,-529,0,-432,398], // COMBINING DOUBLE TILDE - 0x361: [691,-534,0,-403,265], // COMBINING DOUBLE INVERTED BREVE - 0x362: [-54,293,0,-432,377] // COMBINING DOUBLE RIGHTWARDS ARROW BELOW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js deleted file mode 100644 index 7a2cd25b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +++ /dev/null @@ -1,49 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x20D0: [846,-637,0,-470,14], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [846,-637,0,-470,14], // COMBINING RIGHT HARPOON ABOVE - 0x20D2: [662,156,0,-298,-223], // COMBINING LONG VERTICAL LINE OVERLAY - 0x20D6: [846,-508,0,-500,-16], // COMBINING LEFT ARROW ABOVE - 0x20D7: [846,-508,0,-470,14], // COMBINING RIGHT ARROW ABOVE - 0x20DB: [666,-537,0,-512,37], // COMBINING THREE DOTS ABOVE - 0x20DC: [666,-537,0,-627,132], // COMBINING FOUR DOTS ABOVE - 0x20DD: [760,254,0,-753,256], // COMBINING ENCLOSING CIRCLE - 0x20E1: [846,-508,0,-515,79], // COMBINING LEFT RIGHT ARROW ABOVE - 0x20E4: [1055,169,0,-998,519], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE - 0x20E5: [662,155,0,-470,12], // COMBINING REVERSE SOLIDUS OVERLAY - 0x20E6: [662,156,0,-390,-111], // COMBINING DOUBLE VERTICAL STROKE OVERLAY - 0x20E7: [760,172,0,-643,200], // COMBINING ANNUITY SYMBOL - 0x20E8: [-109,238,0,-512,37], // COMBINING TRIPLE UNDERDOT - 0x20E9: [717,-544,0,-510,54], // COMBINING WIDE BRIDGE ABOVE - 0x20EA: [441,-65,0,-688,148], // COMBINING LEFTWARDS ARROW OVERLAY - 0x20EB: [775,235,0,-505,208], // COMBINING LONG DOUBLE SOLIDUS OVERLAY - 0x20EC: [-166,375,0,-470,14], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-166,375,0,-470,14], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-35,373,0,-490,-6], // COMBINING LEFT ARROW BELOW - 0x20EF: [-35,373,0,-470,14], // COMBINING RIGHT ARROW BELOW - 0x20F0: [845,-543,0,-385,-115] // COMBINING ASTERISK ABOVE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/CombDiactForSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js deleted file mode 100644 index 15e6a897..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2423: [31,120,500,40,460] // stix-round space indicator - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/ControlPictures.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js deleted file mode 100644 index 5fda71a5..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +++ /dev/null @@ -1,31 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x20A3: [676,0,611,11,583], // FRENCH FRANC SIGN - 0x20A4: [684,16,500,21,477], // LIRA SIGN - 0x20A7: [676,14,1369,16,1341], // PESETA SIGN - 0x20AC: [672,12,500,29,478] // EURO SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/CurrencySymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js deleted file mode 100644 index 9ff9195c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +++ /dev/null @@ -1,129 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x401: [916,0,667,16,641], // CYRILLIC CAPITAL LETTER IO - 0x402: [676,97,856,40,809], // CYRILLIC CAPITAL LETTER DJE - 0x403: [963,0,632,20,600], // CYRILLIC CAPITAL LETTER GJE - 0x404: [691,19,685,37,638], // CYRILLIC CAPITAL LETTER UKRAINIAN IE - 0x405: [692,19,556,35,513], // CYRILLIC CAPITAL LETTER DZE - 0x406: [676,0,389,20,370], // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I - 0x407: [916,0,389,20,370], // CYRILLIC CAPITAL LETTER YI - 0x408: [676,96,500,3,478], // CYRILLIC CAPITAL LETTER JE - 0x409: [676,18,1005,10,958], // CYRILLIC CAPITAL LETTER LJE - 0x40A: [676,0,1054,21,1007], // CYRILLIC CAPITAL LETTER NJE - 0x40B: [676,0,883,40,868], // CYRILLIC CAPITAL LETTER TSHE - 0x40C: [923,0,759,21,741], // CYRILLIC CAPITAL LETTER KJE - 0x40E: [926,22,722,15,699], // CYRILLIC CAPITAL LETTER SHORT U - 0x40F: [676,176,770,21,753], // CYRILLIC CAPITAL LETTER DZHE - 0x410: [690,0,722,9,689], // CYRILLIC CAPITAL LETTER A - 0x411: [676,0,667,16,619], // CYRILLIC CAPITAL LETTER BE - 0x412: [676,0,667,16,619], // CYRILLIC CAPITAL LETTER VE - 0x413: [676,0,632,20,600], // CYRILLIC CAPITAL LETTER GHE - 0x414: [676,176,715,24,691], // CYRILLIC CAPITAL LETTER DE - 0x415: [676,0,667,16,641], // CYRILLIC CAPITAL LETTER IE - 0x416: [684,0,1130,32,1091], // CYRILLIC CAPITAL LETTER ZHE - 0x417: [691,19,570,22,531], // CYRILLIC CAPITAL LETTER ZE - 0x418: [676,0,778,21,759], // CYRILLIC CAPITAL LETTER I - 0x419: [926,0,778,21,759], // CYRILLIC CAPITAL LETTER SHORT I - 0x41A: [684,0,759,21,741], // CYRILLIC CAPITAL LETTER KA - 0x41B: [676,18,738,10,719], // CYRILLIC CAPITAL LETTER EL - 0x41C: [676,0,944,14,921], // CYRILLIC CAPITAL LETTER EM - 0x41D: [676,0,778,21,759], // CYRILLIC CAPITAL LETTER EN - 0x41E: [691,19,778,35,743], // CYRILLIC CAPITAL LETTER O - 0x41F: [676,0,762,13,751], // CYRILLIC CAPITAL LETTER PE - 0x420: [676,0,611,16,600], // CYRILLIC CAPITAL LETTER ER - 0x421: [691,19,709,36,674], // CYRILLIC CAPITAL LETTER ES - 0x422: [676,0,667,31,636], // CYRILLIC CAPITAL LETTER TE - 0x423: [676,22,722,15,699], // CYRILLIC CAPITAL LETTER U - 0x424: [676,0,850,25,825], // CYRILLIC CAPITAL LETTER EF - 0x425: [676,0,722,16,699], // CYRILLIC CAPITAL LETTER HA - 0x426: [676,176,770,21,753], // CYRILLIC CAPITAL LETTER TSE - 0x427: [676,0,732,7,710], // CYRILLIC CAPITAL LETTER CHE - 0x428: [676,0,1020,21,1001], // CYRILLIC CAPITAL LETTER SHA - 0x429: [676,176,1020,21,1001], // CYRILLIC CAPITAL LETTER SHCHA - 0x42A: [676,0,805,41,757], // CYRILLIC CAPITAL LETTER HARD SIGN - 0x42B: [676,0,1004,16,985], // CYRILLIC CAPITAL LETTER YERU - 0x42C: [676,0,672,19,624], // CYRILLIC CAPITAL LETTER SOFT SIGN - 0x42D: [691,19,685,37,648], // CYRILLIC CAPITAL LETTER E - 0x42E: [691,19,955,21,920], // CYRILLIC CAPITAL LETTER YU - 0x42F: [676,0,736,12,687], // CYRILLIC CAPITAL LETTER YA - 0x430: [473,14,517,42,505], // CYRILLIC SMALL LETTER A - 0x431: [691,14,500,25,476], // CYRILLIC SMALL LETTER BE - 0x432: [461,0,492,21,475], // CYRILLIC SMALL LETTER VE - 0x433: [461,0,451,21,434], // CYRILLIC SMALL LETTER GHE - 0x434: [461,143,541,19,524], // CYRILLIC SMALL LETTER DE - 0x435: [473,14,444,25,427], // CYRILLIC SMALL LETTER IE - 0x436: [467,0,762,14,748], // CYRILLIC SMALL LETTER ZHE - 0x437: [473,17,446,25,420], // CYRILLIC SMALL LETTER ZE - 0x438: [461,0,556,21,543], // CYRILLIC SMALL LETTER I - 0x439: [691,0,556,21,543], // CYRILLIC SMALL LETTER SHORT I - 0x43A: [467,0,556,22,543], // CYRILLIC SMALL LETTER KA - 0x43B: [461,11,546,11,529], // CYRILLIC SMALL LETTER EL - 0x43C: [461,0,657,20,640], // CYRILLIC SMALL LETTER EM - 0x43D: [461,0,560,21,543], // CYRILLIC SMALL LETTER EN - 0x43E: [473,14,500,25,476], // CYRILLIC SMALL LETTER O - 0x43F: [461,0,556,21,543], // CYRILLIC SMALL LETTER PE - 0x440: [473,205,556,19,524], // CYRILLIC SMALL LETTER ER - 0x441: [473,14,444,25,430], // CYRILLIC SMALL LETTER ES - 0x442: [461,0,509,18,493], // CYRILLIC SMALL LETTER TE - 0x443: [461,205,520,16,502], // CYRILLIC SMALL LETTER U - 0x444: [676,205,726,31,693], // CYRILLIC SMALL LETTER EF - 0x445: [461,0,500,12,484], // CYRILLIC SMALL LETTER HA - 0x446: [461,143,556,21,543], // CYRILLIC SMALL LETTER TSE - 0x447: [461,0,559,20,542], // CYRILLIC SMALL LETTER CHE - 0x448: [461,0,841,21,824], // CYRILLIC SMALL LETTER SHA - 0x449: [461,143,841,21,824], // CYRILLIC SMALL LETTER SHCHA - 0x44A: [461,0,607,15,592], // CYRILLIC SMALL LETTER HARD SIGN - 0x44B: [461,0,759,22,741], // CYRILLIC SMALL LETTER YERU - 0x44C: [461,0,498,21,483], // CYRILLIC SMALL LETTER SOFT SIGN - 0x44D: [473,14,453,24,429], // CYRILLIC SMALL LETTER E - 0x44E: [473,14,785,21,761], // CYRILLIC SMALL LETTER YU - 0x44F: [461,0,526,11,509], // CYRILLIC SMALL LETTER YA - 0x451: [666,14,444,25,427], // CYRILLIC SMALL LETTER IO - 0x452: [676,205,556,15,485], // CYRILLIC SMALL LETTER DJE - 0x453: [713,0,451,21,434], // CYRILLIC SMALL LETTER GJE - 0x454: [473,14,453,24,429], // CYRILLIC SMALL LETTER UKRAINIAN IE - 0x455: [473,14,389,25,361], // CYRILLIC SMALL LETTER DZE - 0x456: [691,0,278,15,256], // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I - 0x457: [666,0,278,-30,309], // CYRILLIC SMALL LETTER YI - 0x458: [691,203,333,-57,263], // CYRILLIC SMALL LETTER JE - 0x459: [461,11,760,11,745], // CYRILLIC SMALL LETTER LJE - 0x45A: [461,0,775,21,760], // CYRILLIC SMALL LETTER NJE - 0x45B: [676,0,556,15,534], // CYRILLIC SMALL LETTER TSHE - 0x45C: [713,0,556,22,543], // CYRILLIC SMALL LETTER KJE - 0x45E: [691,205,500,16,502], // CYRILLIC SMALL LETTER SHORT U - 0x45F: [461,143,556,21,543], // CYRILLIC SMALL LETTER DZHE - 0x462: [676,0,793,31,745], // CYRILLIC CAPITAL LETTER YAT - 0x463: [676,0,602,15,587], // CYRILLIC SMALL LETTER YAT - 0x46A: [676,0,1123,30,1088], // CYRILLIC CAPITAL LETTER BIG YUS - 0x46B: [461,0,762,14,748], // CYRILLIC SMALL LETTER BIG YUS - 0x472: [691,19,778,35,743], // CYRILLIC CAPITAL LETTER FITA - 0x473: [473,14,500,25,476], // CYRILLIC SMALL LETTER FITA - 0x474: [691,18,793,16,778], // CYRILLIC CAPITAL LETTER IZHITSA - 0x475: [470,14,559,21,550], // CYRILLIC SMALL LETTER IZHITSA - 0x490: [833,0,626,14,594], // CYRILLIC CAPITAL LETTER GHE WITH UPTURN - 0x491: [602,0,451,21,434] // CYRILLIC SMALL LETTER GHE WITH UPTURN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/Cyrillic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js deleted file mode 100644 index d1679905..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +++ /dev/null @@ -1,89 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2460: [690,19,695,0,695], // CIRCLED DIGIT ONE - 0x2461: [690,19,695,0,695], // CIRCLED DIGIT TWO - 0x2462: [690,19,695,0,695], // CIRCLED DIGIT THREE - 0x2463: [690,19,695,0,695], // CIRCLED DIGIT FOUR - 0x2464: [690,19,695,0,695], // CIRCLED DIGIT FIVE - 0x2465: [690,19,695,0,695], // CIRCLED DIGIT SIX - 0x2466: [690,19,695,0,695], // CIRCLED DIGIT SEVEN - 0x2467: [690,19,695,0,695], // CIRCLED DIGIT EIGHT - 0x2468: [690,19,695,0,695], // CIRCLED DIGIT NINE - 0x24B6: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER A - 0x24B7: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER B - 0x24B8: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER C - 0x24B9: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER D - 0x24BA: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER E - 0x24BB: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER F - 0x24BC: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER G - 0x24BD: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER H - 0x24BE: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER I - 0x24BF: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER J - 0x24C0: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER K - 0x24C1: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER L - 0x24C2: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER M - 0x24C3: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER N - 0x24C4: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER O - 0x24C5: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER P - 0x24C6: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Q - 0x24C7: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER R - 0x24C8: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER S - 0x24C9: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER T - 0x24CA: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER U - 0x24CB: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER V - 0x24CC: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER W - 0x24CD: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER X - 0x24CE: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Y - 0x24CF: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Z - 0x24D0: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER A - 0x24D1: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER B - 0x24D2: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER C - 0x24D3: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER D - 0x24D4: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER E - 0x24D5: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER F - 0x24D6: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER G - 0x24D7: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER H - 0x24D8: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER I - 0x24D9: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER J - 0x24DA: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER K - 0x24DB: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER L - 0x24DC: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER M - 0x24DD: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER N - 0x24DE: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER O - 0x24DF: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER P - 0x24E0: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Q - 0x24E1: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER R - 0x24E2: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER S - 0x24E3: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER T - 0x24E4: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER U - 0x24E5: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER V - 0x24E6: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER W - 0x24E7: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER X - 0x24E8: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Y - 0x24E9: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Z - 0x24EA: [690,19,695,0,695] // CIRCLED DIGIT ZERO - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/EnclosedAlphanum.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js deleted file mode 100644 index 1f2c3b64..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +++ /dev/null @@ -1,67 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2010: [287,-171,333,44,287], // HYPHEN - 0x2011: [287,-171,333,44,287], // NON-BREAKING HYPHEN - 0x2012: [287,-171,500,0,500], // FIGURE DASH - 0x2013: [271,-181,500,0,500], // EN DASH - 0x2014: [271,-181,1000,0,1000], // EM DASH - 0x2015: [271,-181,2000,0,2000], // HORIZONTAL BAR - 0x2017: [-137,287,520,10,510], // DOUBLE LOW LINE - 0x2018: [691,-356,333,70,254], // LEFT SINGLE QUOTATION MARK - 0x2019: [691,-356,333,79,263], // RIGHT SINGLE QUOTATION MARK - 0x201A: [155,180,333,79,263], // SINGLE LOW-9 QUOTATION MARK - 0x201B: [691,-356,333,79,263], // SINGLE HIGH-REVERSED-9 QUOTATION MARK - 0x201C: [691,-356,500,32,486], // LEFT DOUBLE QUOTATION MARK - 0x201D: [691,-356,500,14,468], // RIGHT DOUBLE QUOTATION MARK - 0x201E: [155,180,500,14,468], // DOUBLE LOW-9 QUOTATION MARK - 0x201F: [691,-356,500,14,468], // DOUBLE HIGH-REVERSED-9 QUOTATION MARK - 0x2020: [691,134,500,47,453], // DAGGER - 0x2021: [691,132,500,45,456], // DOUBLE DAGGER - 0x2022: [462,-42,560,70,490], // BULLET - 0x2025: [156,13,666,82,584], // TWO DOT LEADER - 0x2026: [156,13,1000,82,917], // HORIZONTAL ELLIPSIS - 0x2030: [706,29,1110,61,1049], // PER MILLE SIGN - 0x2031: [706,29,1472,61,1411], // PER TEN THOUSAND SIGN - 0x2032: [713,-438,310,75,235], // PRIME - 0x2033: [713,-438,467,75,392], // DOUBLE PRIME - 0x2034: [713,-438,625,75,550], // TRIPLE PRIME - 0x2035: [713,-438,310,75,235], // REVERSED PRIME - 0x2036: [713,-438,467,75,392], // REVERSED DOUBLE PRIME - 0x2037: [713,-438,625,75,550], // REVERSED TRIPLE PRIME - 0x2038: [117,170,584,91,497], // CARET - 0x2039: [415,-36,333,51,305], // SINGLE LEFT-POINTING ANGLE QUOTATION MARK - 0x203A: [415,-36,333,28,282], // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK - 0x203C: [691,13,625,81,544], // DOUBLE EXCLAMATION MARK - 0x203E: [838,-766,500,0,500], // OVERLINE - 0x2040: [725,-508,798,79,733], // CHARACTER TIE - 0x2044: [688,12,183,-168,345], // FRACTION SLASH - 0x2047: [689,13,947,57,892], // DOUBLE QUESTION MARK - 0x204E: [236,200,500,56,448], // LOW ASTERISK - 0x204F: [472,180,333,67,251], // REVERSED SEMICOLON - 0x2051: [706,200,500,56,448], // TWO ASTERISKS ALIGNED VERTICALLY - 0x2057: [713,-438,783,75,708] // QUADRUPLE PRIME - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GeneralPunctuation.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js deleted file mode 100644 index 5c68aec7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x25B3: [811,127,1145,35,1110], // WHITE UP-POINTING TRIANGLE - 0x25B7: [791,284,1043,70,1008], // WHITE RIGHT-POINTING TRIANGLE - 0x25BD: [811,127,1145,35,1110], // WHITE DOWN-POINTING TRIANGLE - 0x25C1: [791,284,1043,35,973], // WHITE LEFT-POINTING TRIANGLE - 0x25CA: [795,289,790,45,745], // LOZENGE - 0x25EC: [811,127,1145,35,1110] // WHITE UP-POINTING TRIANGLE WITH DOT - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GeometricShapes.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js deleted file mode 100644 index 64e07fc5..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +++ /dev/null @@ -1,109 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x37E: [472,180,333,82,266], // GREEK QUESTION MARK - 0x384: [692,-528,300,118,263], // GREEK TONOS - 0x385: [692,-528,390,-2,392], // GREEK DIALYTIKA TONOS - 0x386: [700,0,722,9,689], // GREEK CAPITAL LETTER ALPHA WITH TONOS - 0x387: [472,-303,333,82,251], // GREEK ANO TELEIA - 0x388: [700,0,800,10,791], // GREEK CAPITAL LETTER EPSILON WITH TONOS - 0x389: [700,0,920,10,904], // GREEK CAPITAL LETTER ETA WITH TONOS - 0x38A: [700,0,530,10,516], // GREEK CAPITAL LETTER IOTA WITH TONOS - 0x38C: [700,19,778,10,743], // GREEK CAPITAL LETTER OMICRON WITH TONOS - 0x38E: [700,0,860,10,846], // GREEK CAPITAL LETTER UPSILON WITH TONOS - 0x38F: [700,0,780,10,761], // GREEK CAPITAL LETTER OMEGA WITH TONOS - 0x390: [692,14,390,-2,392], // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS - 0x391: [690,0,722,9,689], // GREEK CAPITAL LETTER ALPHA - 0x392: [676,0,667,16,619], // GREEK CAPITAL LETTER BETA - 0x395: [676,0,667,16,641], // GREEK CAPITAL LETTER EPSILON - 0x396: [676,0,667,28,634], // GREEK CAPITAL LETTER ZETA - 0x397: [676,0,778,21,759], // GREEK CAPITAL LETTER ETA - 0x399: [676,0,389,20,370], // GREEK CAPITAL LETTER IOTA - 0x39A: [676,0,778,30,769], // GREEK CAPITAL LETTER KAPPA - 0x39C: [676,0,944,14,921], // GREEK CAPITAL LETTER MU - 0x39D: [676,18,722,16,701], // GREEK CAPITAL LETTER NU - 0x39F: [691,19,778,35,743], // GREEK CAPITAL LETTER OMICRON - 0x3A1: [676,0,611,16,600], // GREEK CAPITAL LETTER RHO - 0x3A4: [676,0,667,31,636], // GREEK CAPITAL LETTER TAU - 0x3A7: [676,0,722,16,699], // GREEK CAPITAL LETTER CHI - 0x3AA: [915,0,389,20,370], // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA - 0x3AB: [915,0,703,7,693], // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA - 0x3AC: [692,14,644,25,618], // GREEK SMALL LETTER ALPHA WITH TONOS - 0x3AD: [692,14,444,28,429], // GREEK SMALL LETTER EPSILON WITH TONOS - 0x3AE: [692,205,585,12,545], // GREEK SMALL LETTER ETA WITH TONOS - 0x3AF: [692,14,326,15,304], // GREEK SMALL LETTER IOTA WITH TONOS - 0x3B0: [692,14,576,12,551], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS - 0x3B1: [473,14,644,25,618], // GREEK SMALL LETTER ALPHA - 0x3B2: [692,205,556,45,524], // GREEK SMALL LETTER BETA - 0x3B3: [473,205,518,12,501], // GREEK SMALL LETTER GAMMA - 0x3B4: [692,14,502,26,477], // GREEK SMALL LETTER DELTA - 0x3B5: [473,14,444,28,429], // GREEK SMALL LETTER EPSILON - 0x3B6: [692,205,459,23,437], // GREEK SMALL LETTER ZETA - 0x3B7: [473,205,585,12,545], // GREEK SMALL LETTER ETA - 0x3B8: [692,14,501,25,476], // GREEK SMALL LETTER THETA - 0x3B9: [461,14,326,15,304], // GREEK SMALL LETTER IOTA - 0x3BA: [473,0,581,21,559], // GREEK SMALL LETTER KAPPA - 0x3BB: [692,18,547,19,527], // GREEK SMALL LETTER LAMDA - 0x3BC: [461,205,610,45,588], // GREEK SMALL LETTER MU - 0x3BD: [473,14,518,15,495], // GREEK SMALL LETTER NU - 0x3BE: [692,205,468,23,439], // GREEK SMALL LETTER XI - 0x3BF: [473,14,500,25,476], // GREEK SMALL LETTER OMICRON - 0x3C0: [461,18,631,20,609], // GREEK SMALL LETTER PI - 0x3C1: [473,205,547,45,515], // GREEK SMALL LETTER RHO - 0x3C2: [473,203,464,23,444], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [461,14,568,25,529], // GREEK SMALL LETTER SIGMA - 0x3C4: [461,14,492,18,457], // GREEK SMALL LETTER TAU - 0x3C5: [473,14,576,12,551], // GREEK SMALL LETTER UPSILON - 0x3C6: [473,205,653,24,629], // GREEK SMALL LETTER PHI - 0x3C7: [473,205,612,21,586], // GREEK SMALL LETTER CHI - 0x3C8: [473,205,763,12,751], // GREEK SMALL LETTER PSI - 0x3C9: [473,14,733,26,708], // GREEK SMALL LETTER OMEGA - 0x3CA: [666,14,335,-2,337], // GREEK SMALL LETTER IOTA WITH DIALYTIKA - 0x3CB: [666,14,576,12,551], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA - 0x3CC: [692,14,500,25,476], // GREEK SMALL LETTER OMICRON WITH TONOS - 0x3CD: [692,14,576,12,551], // GREEK SMALL LETTER UPSILON WITH TONOS - 0x3CE: [692,14,733,26,708], // GREEK SMALL LETTER OMEGA WITH TONOS - 0x3D0: [697,10,500,54,462], // GREEK BETA SYMBOL - 0x3D1: [692,14,647,12,620], // GREEK THETA SYMBOL - 0x3D2: [692,0,743,7,733], // GREEK UPSILON WITH HOOK SYMBOL - 0x3D5: [676,205,653,24,629], // GREEK PHI SYMBOL - 0x3D6: [461,14,864,9,851], // GREEK PI SYMBOL - 0x3D8: [691,205,778,35,743], // GREEK LETTER ARCHAIC KOPPA - 0x3D9: [473,205,500,25,476], // GREEK SMALL LETTER ARCHAIC KOPPA - 0x3DA: [691,211,680,45,645], // GREEK LETTER STIGMA - 0x3DB: [503,203,504,23,483], // GREEK SMALL LETTER STIGMA - 0x3DC: [676,0,620,16,593], // GREEK LETTER DIGAMMA - 0x3DD: [461,205,491,45,458], // GREEK SMALL LETTER DIGAMMA - 0x3DE: [797,14,757,35,715], // GREEK LETTER KOPPA - 0x3DF: [692,0,485,29,453], // GREEK SMALL LETTER KOPPA - 0x3E0: [692,205,839,33,801], // GREEK LETTER SAMPI - 0x3E1: [639,205,611,29,583], // GREEK SMALL LETTER SAMPI - 0x3F0: [473,19,563,12,546], // GREEK KAPPA SYMBOL - 0x3F1: [473,205,511,25,486], // GREEK RHO SYMBOL - 0x3F4: [691,19,778,35,743], // GREEK CAPITAL THETA SYMBOL - 0x3F5: [473,14,444,25,430], // GREEK LUNATE EPSILON SYMBOL - 0x3F6: [473,14,444,14,419] // GREEK REVERSED LUNATE EPSILON SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GreekAndCoptic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js deleted file mode 100644 index a9a5119d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x1D6A8: [690,0,735,9,689], // MATHEMATICAL BOLD CAPITAL ALPHA - 0x1D6A9: [676,0,667,16,619], // MATHEMATICAL BOLD CAPITAL BETA - 0x1D6AA: [676,0,620,16,593], // MATHEMATICAL BOLD CAPITAL GAMMA - 0x1D6AB: [690,0,691,16,656], // MATHEMATICAL BOLD CAPITAL DELTA - 0x1D6AC: [676,0,679,16,641], // MATHEMATICAL BOLD CAPITAL EPSILON - 0x1D6AD: [676,0,693,28,634], // MATHEMATICAL BOLD CAPITAL ZETA - 0x1D6AE: [676,0,810,21,759], // MATHEMATICAL BOLD CAPITAL ETA - 0x1D6AF: [692,18,778,35,743], // MATHEMATICAL BOLD CAPITAL THETA - 0x1D6B0: [676,0,421,20,370], // MATHEMATICAL BOLD CAPITAL IOTA - 0x1D6B1: [676,0,820,30,769], // MATHEMATICAL BOLD CAPITAL KAPPA - 0x1D6B2: [690,0,707,9,674], // MATHEMATICAL BOLD CAPITAL LAMDA - 0x1D6B3: [676,0,972,14,921], // MATHEMATICAL BOLD CAPITAL MU - 0x1D6B4: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL NU - 0x1D6B5: [676,0,623,28,595], // MATHEMATICAL BOLD CAPITAL XI - 0x1D6B6: [691,19,778,35,743], // MATHEMATICAL BOLD CAPITAL OMICRON - 0x1D6B7: [676,0,780,21,759], // MATHEMATICAL BOLD CAPITAL PI - 0x1D6B8: [676,0,611,16,600], // MATHEMATICAL BOLD CAPITAL RHO - 0x1D6B9: [692,18,778,35,743], // MATHEMATICAL BOLD CAPITAL THETA SYMBOL - 0x1D6BA: [676,0,665,14,627], // MATHEMATICAL BOLD CAPITAL SIGMA - 0x1D6BB: [676,0,667,31,636], // MATHEMATICAL BOLD CAPITAL TAU - 0x1D6BC: [692,0,722,3,699], // MATHEMATICAL BOLD CAPITAL UPSILON - 0x1D6BD: [676,0,836,18,818], // MATHEMATICAL BOLD CAPITAL PHI - 0x1D6BE: [676,0,747,16,699], // MATHEMATICAL BOLD CAPITAL CHI - 0x1D6BF: [692,0,800,3,785], // MATHEMATICAL BOLD CAPITAL PSI - 0x1D6C0: [692,0,778,35,723], // MATHEMATICAL BOLD CAPITAL OMEGA - 0x1D6C1: [676,14,691,16,656], // MATHEMATICAL BOLD NABLA - 0x1D6C2: [473,14,644,25,618], // MATHEMATICAL BOLD SMALL ALPHA - 0x1D6C3: [692,205,556,45,524], // MATHEMATICAL BOLD SMALL BETA - 0x1D6C4: [473,205,518,12,501], // MATHEMATICAL BOLD SMALL GAMMA - 0x1D6C5: [692,14,502,26,477], // MATHEMATICAL BOLD SMALL DELTA - 0x1D6C6: [473,14,444,28,429], // MATHEMATICAL BOLD SMALL EPSILON - 0x1D6C7: [692,205,459,23,437], // MATHEMATICAL BOLD SMALL ZETA - 0x1D6C8: [473,205,580,12,545], // MATHEMATICAL BOLD SMALL ETA - 0x1D6C9: [692,14,501,25,476], // MATHEMATICAL BOLD SMALL THETA - 0x1D6CA: [461,14,326,15,304], // MATHEMATICAL BOLD SMALL IOTA - 0x1D6CB: [473,0,581,21,559], // MATHEMATICAL BOLD SMALL KAPPA - 0x1D6CC: [692,18,546,19,527], // MATHEMATICAL BOLD SMALL LAMDA - 0x1D6CD: [461,205,610,45,588], // MATHEMATICAL BOLD SMALL MU - 0x1D6CE: [473,14,518,15,495], // MATHEMATICAL BOLD SMALL NU - 0x1D6CF: [692,205,465,23,439], // MATHEMATICAL BOLD SMALL XI - 0x1D6D0: [473,14,500,25,476], // MATHEMATICAL BOLD SMALL OMICRON - 0x1D6D1: [461,18,631,20,609], // MATHEMATICAL BOLD SMALL PI - 0x1D6D2: [473,205,547,45,515], // MATHEMATICAL BOLD SMALL RHO - 0x1D6D3: [473,203,464,23,444], // MATHEMATICAL BOLD SMALL FINAL SIGMA - 0x1D6D4: [461,14,568,25,529], // MATHEMATICAL BOLD SMALL SIGMA - 0x1D6D5: [461,14,492,18,457], // MATHEMATICAL BOLD SMALL TAU - 0x1D6D6: [473,14,576,12,551], // MATHEMATICAL BOLD SMALL UPSILON - 0x1D6D7: [473,205,653,24,629], // MATHEMATICAL BOLD SMALL PHI - 0x1D6D8: [473,205,612,21,586], // MATHEMATICAL BOLD SMALL CHI - 0x1D6D9: [473,205,763,12,751], // MATHEMATICAL BOLD SMALL PSI - 0x1D6DA: [473,14,734,26,708], // MATHEMATICAL BOLD SMALL OMEGA - 0x1D6DB: [707,14,515,25,491], // MATHEMATICAL BOLD PARTIAL DIFFERENTIAL - 0x1D6DC: [473,14,444,25,430], // MATHEMATICAL BOLD EPSILON SYMBOL - 0x1D6DD: [692,14,647,12,620], // MATHEMATICAL BOLD THETA SYMBOL - 0x1D6DE: [473,19,563,12,546], // MATHEMATICAL BOLD KAPPA SYMBOL - 0x1D6DF: [676,205,653,24,629], // MATHEMATICAL BOLD PHI SYMBOL - 0x1D6E0: [473,205,511,25,486], // MATHEMATICAL BOLD RHO SYMBOL - 0x1D6E1: [461,14,864,9,851] // MATHEMATICAL BOLD PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GreekBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js deleted file mode 100644 index 09b85b8d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x1D756: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ALPHA - 0x1D757: [676,0,636,80,594], // MATHEMATICAL SANS-SERIF BOLD CAPITAL BETA - 0x1D758: [676,0,591,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL GAMMA - 0x1D759: [690,0,720,40,680], // MATHEMATICAL SANS-SERIF BOLD CAPITAL DELTA - 0x1D75A: [676,0,635,80,597], // MATHEMATICAL SANS-SERIF BOLD CAPITAL EPSILON - 0x1D75B: [676,0,653,25,623], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ZETA - 0x1D75C: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ETA - 0x1D75D: [691,19,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA - 0x1D75E: [676,0,440,65,375], // MATHEMATICAL SANS-SERIF BOLD CAPITAL IOTA - 0x1D75F: [676,0,712,80,707], // MATHEMATICAL SANS-SERIF BOLD CAPITAL KAPPA - 0x1D760: [690,0,706,40,666], // MATHEMATICAL SANS-SERIF BOLD CAPITAL LAMDA - 0x1D761: [676,0,913,80,833], // MATHEMATICAL SANS-SERIF BOLD CAPITAL MU - 0x1D762: [676,18,724,80,644], // MATHEMATICAL SANS-SERIF BOLD CAPITAL NU - 0x1D763: [676,0,640,35,605], // MATHEMATICAL SANS-SERIF BOLD CAPITAL XI - 0x1D764: [692,18,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMICRON - 0x1D765: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PI - 0x1D766: [676,0,581,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL RHO - 0x1D767: [691,19,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA SYMBOL - 0x1D768: [676,0,674,28,632], // MATHEMATICAL SANS-SERIF BOLD CAPITAL SIGMA - 0x1D769: [676,0,641,14,627], // MATHEMATICAL SANS-SERIF BOLD CAPITAL TAU - 0x1D76A: [691,0,748,20,728], // MATHEMATICAL SANS-SERIF BOLD CAPITAL UPSILON - 0x1D76B: [676,0,800,25,775], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PHI - 0x1D76C: [676,0,740,40,700], // MATHEMATICAL SANS-SERIF BOLD CAPITAL CHI - 0x1D76D: [691,0,806,15,791], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PSI - 0x1D76E: [691,0,752,32,720], // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMEGA - 0x1D76F: [664,30,735,45,685], // MATHEMATICAL SANS-SERIF BOLD NABLA - 0x1D770: [473,14,662,40,629], // MATHEMATICAL SANS-SERIF BOLD SMALL ALPHA - 0x1D771: [692,205,512,39,487], // MATHEMATICAL SANS-SERIF BOLD SMALL BETA - 0x1D772: [473,205,502,10,477], // MATHEMATICAL SANS-SERIF BOLD SMALL GAMMA - 0x1D773: [692,14,502,25,477], // MATHEMATICAL SANS-SERIF BOLD SMALL DELTA - 0x1D774: [473,14,451,25,434], // MATHEMATICAL SANS-SERIF BOLD SMALL EPSILON - 0x1D775: [692,205,500,28,488], // MATHEMATICAL SANS-SERIF BOLD SMALL ZETA - 0x1D776: [473,205,510,35,474], // MATHEMATICAL SANS-SERIF BOLD SMALL ETA - 0x1D777: [692,14,500,23,477], // MATHEMATICAL SANS-SERIF BOLD SMALL THETA - 0x1D778: [461,14,319,53,296], // MATHEMATICAL SANS-SERIF BOLD SMALL IOTA - 0x1D779: [473,0,527,55,512], // MATHEMATICAL SANS-SERIF BOLD SMALL KAPPA - 0x1D77A: [692,14,554,18,520], // MATHEMATICAL SANS-SERIF BOLD SMALL LAMDA - 0x1D77B: [461,205,550,39,517], // MATHEMATICAL SANS-SERIF BOLD SMALL MU - 0x1D77C: [473,14,492,55,472], // MATHEMATICAL SANS-SERIF BOLD SMALL NU - 0x1D77D: [692,205,501,28,489], // MATHEMATICAL SANS-SERIF BOLD SMALL XI - 0x1D77E: [473,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD SMALL OMICRON - 0x1D77F: [461,14,594,10,572], // MATHEMATICAL SANS-SERIF BOLD SMALL PI - 0x1D780: [473,205,511,38,486], // MATHEMATICAL SANS-SERIF BOLD SMALL RHO - 0x1D781: [473,205,498,26,486], // MATHEMATICAL SANS-SERIF BOLD SMALL FINAL SIGMA - 0x1D782: [461,14,520,25,552], // MATHEMATICAL SANS-SERIF BOLD SMALL SIGMA - 0x1D783: [461,14,479,6,472], // MATHEMATICAL SANS-SERIF BOLD SMALL TAU - 0x1D784: [473,14,514,35,489], // MATHEMATICAL SANS-SERIF BOLD SMALL UPSILON - 0x1D785: [473,205,634,25,609], // MATHEMATICAL SANS-SERIF BOLD SMALL PHI - 0x1D786: [473,205,573,9,553], // MATHEMATICAL SANS-SERIF BOLD SMALL CHI - 0x1D787: [473,205,680,25,699], // MATHEMATICAL SANS-SERIF BOLD SMALL PSI - 0x1D788: [461,14,740,42,689], // MATHEMATICAL SANS-SERIF BOLD SMALL OMEGA - 0x1D789: [691,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD PARTIAL DIFFERENTIAL - 0x1D78A: [473,14,462,25,440], // MATHEMATICAL SANS-SERIF BOLD EPSILON SYMBOL - 0x1D78B: [692,14,536,35,522], // MATHEMATICAL SANS-SERIF BOLD THETA SYMBOL - 0x1D78C: [473,14,570,14,554], // MATHEMATICAL SANS-SERIF BOLD KAPPA SYMBOL - 0x1D78D: [692,205,634,25,609], // MATHEMATICAL SANS-SERIF BOLD PHI SYMBOL - 0x1D78E: [473,205,494,25,469], // MATHEMATICAL SANS-SERIF BOLD RHO SYMBOL - 0x1D78F: [461,14,848,6,839] // MATHEMATICAL SANS-SERIF BOLD PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GreekSSBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js deleted file mode 100644 index faa17d1b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +++ /dev/null @@ -1,116 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x250: [473,14,512,13,476], // ?? - 0x251: [473,14,608,32,594], // ?? - 0x252: [473,14,608,32,594], // ?? - 0x253: [691,14,560,74,523], // ?? - 0x254: [473,14,472,15,420], // ?? - 0x255: [473,161,477,30,445], // ?? - 0x256: [676,233,602,32,660], // ?? - 0x257: [683,14,650,32,660], // ?? - 0x258: [473,14,457,25,427], // ?? - 0x259: [473,14,457,19,421], // ?? - 0x25A: [473,14,688,41,677], // ?? - 0x25B: [475,14,493,25,439], // ?? - 0x25C: [475,14,493,25,439], // ?? - 0x25D: [475,14,683,25,658], // ?? - 0x25E: [475,14,523,25,469], // ?? - 0x25F: [461,203,338,-54,314], // ?? - 0x260: [683,245,627,37,662], // ?? - 0x261: [473,245,571,37,484], // ?? - 0x262: [461,11,590,35,555], // ?? - 0x263: [461,233,532,24,507], // ?? - 0x264: [450,10,514,17,497], // ?? - 0x265: [450,226,550,17,536], // ?? - 0x266: [683,0,550,14,532], // ?? - 0x267: [683,205,556,16,485], // ?? - 0x268: [691,0,292,21,262], // ?? - 0x269: [456,8,366,22,339], // ?? - 0x26A: [461,0,297,26,264], // ?? - 0x26B: [676,0,395,15,380], // ?? - 0x26C: [676,0,446,17,428], // ?? - 0x26D: [676,233,326,15,384], // ?? - 0x26E: [676,236,619,24,603], // ?? - 0x26F: [473,0,828,16,815], // ?? - 0x270: [473,233,859,16,836], // ?? - 0x271: [473,233,847,21,770], // ?? - 0x272: [473,233,625,-57,586], // ?? - 0x273: [473,233,610,21,668], // ?? - 0x274: [461,12,604,34,558], // ?? - 0x275: [473,14,520,34,485], // ?? - 0x276: [461,5,741,28,713], // ?? - 0x277: [477,2,696,42,653], // ?? - 0x278: [685,231,713,45,667], // ?? - 0x279: [463,10,456,35,441], // ?? - 0x27A: [676,10,456,35,441], // ?? - 0x27B: [463,233,506,35,564], // ?? - 0x27C: [473,233,426,10,416], // ?? - 0x27D: [473,233,454,12,418], // ?? - 0x27E: [484,0,359,15,386], // ?? - 0x27F: [484,0,404,10,381], // ?? - 0x280: [464,0,516,21,495], // ?? - 0x281: [464,0,516,21,495], // ?? - 0x282: [473,218,389,25,361], // ?? - 0x283: [683,233,458,-36,406], // ?? - 0x284: [683,233,373,-57,430], // ?? - 0x285: [470,233,396,8,452], // ?? - 0x286: [683,243,399,-16,449], // ?? - 0x287: [513,129,333,19,332], // ?? - 0x288: [630,233,339,19,389], // ?? - 0x289: [461,14,556,9,538], // ?? - 0x28A: [452,8,500,13,487], // ?? - 0x28B: [465,10,534,23,511], // ?? - 0x28C: [475,0,500,21,485], // ?? - 0x28D: [475,0,722,23,707], // ?? - 0x28E: [666,0,500,16,482], // ?? - 0x28F: [464,0,633,46,587], // ?? - 0x290: [461,218,531,21,577], // ?? - 0x291: [461,150,538,21,517], // ?? - 0x292: [450,236,440,8,430], // ?? - 0x293: [450,307,440,8,430], // ?? - 0x294: [683,0,417,55,426], // ?? - 0x295: [683,0,417,55,426], // ?? - 0x296: [669,14,417,55,426], // ?? - 0x297: [473,232,479,72,447], // ?? - 0x298: [680,17,723,13,708], // ?? - 0x299: [464,0,456,15,441], // ?? - 0x29A: [475,14,465,11,455], // ?? - 0x29B: [537,11,600,29,595], // ?? - 0x29C: [464,0,582,21,561], // ?? - 0x29D: [691,233,394,-60,414], // ?? - 0x29E: [461,215,556,22,543], // ?? - 0x29F: [464,0,470,17,440], // ?? - 0x2A0: [582,205,636,34,659], // ?? - 0x2A1: [683,0,500,55,426], // ?? - 0x2A2: [683,0,500,55,426], // ?? - 0x2A3: [676,14,868,25,843], // ?? - 0x2A4: [676,236,810,25,794], // ?? - 0x2A5: [676,164,960,25,933], // ?? - 0x2A6: [630,12,626,19,598], // ?? - 0x2A7: [683,233,540,19,626], // ?? - 0x2A8: [630,12,700,19,690] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/IPAExtensions.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js deleted file mode 100644 index 9bb0de57..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +++ /dev/null @@ -1,123 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xA1: [501,203,333,82,252], // INVERTED EXCLAMATION MARK - 0xA2: [588,140,500,53,458], // CENT SIGN - 0xA3: [684,16,500,21,477], // POUND SIGN - 0xA4: [542,10,500,-26,526], // CURRENCY SIGN - 0xA5: [676,0,500,-64,547], // YEN SIGN - 0xA6: [691,19,220,66,154], // BROKEN BAR - 0xA7: [691,132,500,57,443], // SECTION SIGN - 0xA8: [666,-537,333,-2,337], // DIAERESIS - 0xA9: [691,19,747,26,721], // COPYRIGHT SIGN - 0xAA: [688,-397,300,-1,301], // FEMININE ORDINAL INDICATOR - 0xAB: [415,-36,500,23,473], // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK - 0xAC: [399,-108,750,65,685], // NOT SIGN - 0xAD: [287,-171,333,44,287], // SOFT HYPHEN - 0xAE: [691,19,747,26,721], // REGISTERED SIGN - 0xAF: [637,-565,333,1,331], // MACRON - 0xB0: [688,-402,400,57,343], // DEGREE SIGN - 0xB1: [518,151,770,65,685], // PLUS-MINUS SIGN - 0xB2: [688,-275,300,0,300], // SUPERSCRIPT TWO - 0xB3: [688,-268,300,3,297], // SUPERSCRIPT THREE - 0xB4: [713,-528,333,86,324], // ACUTE ACCENT - 0xB5: [461,206,556,33,536], // MICRO SIGN - 0xB6: [676,186,639,60,579], // PILCROW SIGN - 0xB7: [417,-248,250,41,210], // MIDDLE DOT - 0xB8: [0,218,333,68,294], // CEDILLA - 0xB9: [688,-275,300,28,273], // SUPERSCRIPT ONE - 0xBA: [688,-397,330,18,312], // MASCULINE ORDINAL INDICATOR - 0xBB: [415,-36,500,27,477], // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK - 0xBC: [688,12,750,28,743], // VULGAR FRACTION ONE QUARTER - 0xBD: [688,12,750,-7,775], // VULGAR FRACTION ONE HALF - 0xBE: [688,12,750,23,733], // VULGAR FRACTION THREE QUARTERS - 0xBF: [501,201,500,55,443], // INVERTED QUESTION MARK - 0xC0: [963,0,722,9,689], // LATIN CAPITAL LETTER A WITH GRAVE - 0xC1: [963,0,722,9,689], // LATIN CAPITAL LETTER A WITH ACUTE - 0xC2: [954,0,722,9,689], // LATIN CAPITAL LETTER A WITH CIRCUMFLEX - 0xC3: [924,0,722,9,689], // LATIN CAPITAL LETTER A WITH TILDE - 0xC4: [916,0,722,9,689], // LATIN CAPITAL LETTER A WITH DIAERESIS - 0xC5: [1000,0,722,9,689], // LATIN CAPITAL LETTER A WITH RING ABOVE - 0xC6: [676,0,1000,4,951], // LATIN CAPITAL LETTER AE - 0xC7: [691,218,722,49,687], // LATIN CAPITAL LETTER C WITH CEDILLA - 0xC8: [963,0,667,16,641], // LATIN CAPITAL LETTER E WITH GRAVE - 0xC9: [963,0,667,16,641], // LATIN CAPITAL LETTER E WITH ACUTE - 0xCA: [954,0,667,16,641], // LATIN CAPITAL LETTER E WITH CIRCUMFLEX - 0xCB: [916,0,667,16,641], // LATIN CAPITAL LETTER E WITH DIAERESIS - 0xCC: [963,0,389,20,370], // LATIN CAPITAL LETTER I WITH GRAVE - 0xCD: [963,0,389,20,370], // LATIN CAPITAL LETTER I WITH ACUTE - 0xCE: [954,0,389,20,370], // LATIN CAPITAL LETTER I WITH CIRCUMFLEX - 0xCF: [916,0,389,20,370], // LATIN CAPITAL LETTER I WITH DIAERESIS - 0xD0: [676,0,722,6,690], // LATIN CAPITAL LETTER ETH - 0xD1: [924,18,722,16,701], // LATIN CAPITAL LETTER N WITH TILDE - 0xD2: [963,19,778,35,743], // LATIN CAPITAL LETTER O WITH GRAVE - 0xD3: [963,19,778,35,743], // LATIN CAPITAL LETTER O WITH ACUTE - 0xD4: [954,19,778,35,743], // LATIN CAPITAL LETTER O WITH CIRCUMFLEX - 0xD5: [924,19,778,35,743], // LATIN CAPITAL LETTER O WITH TILDE - 0xD6: [916,19,778,35,743], // LATIN CAPITAL LETTER O WITH DIAERESIS - 0xD7: [538,33,702,66,636], // MULTIPLICATION SIGN - 0xD8: [737,74,778,35,743], // LATIN CAPITAL LETTER O WITH STROKE - 0xD9: [963,19,722,16,701], // LATIN CAPITAL LETTER U WITH GRAVE - 0xDA: [963,19,722,16,701], // LATIN CAPITAL LETTER U WITH ACUTE - 0xDB: [954,19,722,16,701], // LATIN CAPITAL LETTER U WITH CIRCUMFLEX - 0xDC: [916,19,722,16,701], // LATIN CAPITAL LETTER U WITH DIAERESIS - 0xDD: [963,0,722,15,699], // LATIN CAPITAL LETTER Y WITH ACUTE - 0xDE: [676,0,611,16,600], // LATIN CAPITAL LETTER THORN - 0xDF: [691,12,556,19,517], // LATIN SMALL LETTER SHARP S - 0xE0: [713,14,500,25,488], // LATIN SMALL LETTER A WITH GRAVE - 0xE1: [713,14,500,25,488], // LATIN SMALL LETTER A WITH ACUTE - 0xE2: [704,14,500,25,488], // LATIN SMALL LETTER A WITH CIRCUMFLEX - 0xE3: [674,14,500,25,488], // LATIN SMALL LETTER A WITH TILDE - 0xE4: [666,14,500,25,488], // LATIN SMALL LETTER A WITH DIAERESIS - 0xE5: [752,14,500,25,488], // LATIN SMALL LETTER A WITH RING ABOVE - 0xE6: [473,14,722,33,694], // LATIN SMALL LETTER AE - 0xE7: [473,218,444,25,430], // LATIN SMALL LETTER C WITH CEDILLA - 0xE8: [713,14,444,25,427], // LATIN SMALL LETTER E WITH GRAVE - 0xE9: [713,14,444,25,427], // LATIN SMALL LETTER E WITH ACUTE - 0xEA: [704,14,444,25,427], // LATIN SMALL LETTER E WITH CIRCUMFLEX - 0xEB: [666,14,444,25,427], // LATIN SMALL LETTER E WITH DIAERESIS - 0xEC: [713,0,278,14,257], // LATIN SMALL LETTER I WITH GRAVE - 0xED: [713,0,278,15,258], // LATIN SMALL LETTER I WITH ACUTE - 0xEE: [704,0,278,-29,308], // LATIN SMALL LETTER I WITH CIRCUMFLEX - 0xEF: [666,0,278,-29,310], // LATIN SMALL LETTER I WITH DIAERESIS - 0xF0: [691,14,500,25,476], // LATIN SMALL LETTER ETH - 0xF1: [674,0,556,21,539], // LATIN SMALL LETTER N WITH TILDE - 0xF2: [713,14,500,25,476], // LATIN SMALL LETTER O WITH GRAVE - 0xF3: [713,14,500,25,476], // LATIN SMALL LETTER O WITH ACUTE - 0xF4: [704,14,500,25,476], // LATIN SMALL LETTER O WITH CIRCUMFLEX - 0xF5: [674,14,500,25,476], // LATIN SMALL LETTER O WITH TILDE - 0xF6: [666,14,500,25,476], // LATIN SMALL LETTER O WITH DIAERESIS - 0xF7: [537,31,570,33,537], // DIVISION SIGN - 0xF8: [549,92,500,25,476], // LATIN SMALL LETTER O WITH STROKE - 0xF9: [713,14,556,16,538], // LATIN SMALL LETTER U WITH GRAVE - 0xFA: [713,14,556,16,538], // LATIN SMALL LETTER U WITH ACUTE - 0xFB: [704,14,556,16,538], // LATIN SMALL LETTER U WITH CIRCUMFLEX - 0xFC: [666,14,556,16,538], // LATIN SMALL LETTER U WITH DIAERESIS - 0xFD: [713,205,500,16,482], // LATIN SMALL LETTER Y WITH ACUTE - 0xFE: [676,205,556,19,524], // LATIN SMALL LETTER THORN - 0xFF: [666,205,500,16,482] // LATIN SMALL LETTER Y WITH DIAERESIS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/Latin1Supplement.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js deleted file mode 100644 index 2d5d7f07..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +++ /dev/null @@ -1,155 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x100: [810,0,722,9,689], // LATIN CAPITAL LETTER A WITH MACRON - 0x101: [600,14,500,25,488], // LATIN SMALL LETTER A WITH MACRON - 0x102: [901,0,722,9,689], // LATIN CAPITAL LETTER A WITH BREVE - 0x103: [691,14,500,25,488], // LATIN SMALL LETTER A WITH BREVE - 0x104: [690,205,722,9,721], // LATIN CAPITAL LETTER A WITH OGONEK - 0x105: [473,205,500,25,569], // LATIN SMALL LETTER A WITH OGONEK - 0x106: [923,19,722,49,687], // LATIN CAPITAL LETTER C WITH ACUTE - 0x107: [713,14,444,25,430], // LATIN SMALL LETTER C WITH ACUTE - 0x108: [914,19,722,49,687], // LATIN CAPITAL LETTER C WITH CIRCUMFLEX - 0x109: [704,14,444,25,430], // LATIN SMALL LETTER C WITH CIRCUMFLEX - 0x10A: [876,19,722,49,687], // LATIN CAPITAL LETTER C WITH DOT ABOVE - 0x10B: [666,14,444,25,430], // LATIN SMALL LETTER C WITH DOT ABOVE - 0x10C: [914,19,722,49,687], // LATIN CAPITAL LETTER C WITH CARON - 0x10D: [704,14,444,25,430], // LATIN SMALL LETTER C WITH CARON - 0x10E: [914,0,722,14,690], // LATIN CAPITAL LETTER D WITH CARON - 0x10F: [709,14,680,25,710], // LATIN SMALL LETTER D WITH CARON - 0x110: [676,0,722,6,690], // LATIN CAPITAL LETTER D WITH STROKE - 0x111: [676,14,556,25,534], // LATIN SMALL LETTER D WITH STROKE - 0x112: [810,0,667,16,641], // LATIN CAPITAL LETTER E WITH MACRON - 0x113: [600,14,444,25,427], // LATIN SMALL LETTER E WITH MACRON - 0x114: [901,0,667,16,641], // LATIN CAPITAL LETTER E WITH BREVE - 0x115: [691,14,444,25,427], // LATIN SMALL LETTER E WITH BREVE - 0x116: [876,0,667,16,641], // LATIN CAPITAL LETTER E WITH DOT ABOVE - 0x117: [666,14,444,25,427], // LATIN SMALL LETTER E WITH DOT ABOVE - 0x118: [676,205,667,16,641], // LATIN CAPITAL LETTER E WITH OGONEK - 0x119: [473,205,444,25,435], // LATIN SMALL LETTER E WITH OGONEK - 0x11A: [914,0,667,16,641], // LATIN CAPITAL LETTER E WITH CARON - 0x11B: [704,14,444,25,427], // LATIN SMALL LETTER E WITH CARON - 0x11C: [914,19,778,37,755], // LATIN CAPITAL LETTER G WITH CIRCUMFLEX - 0x11D: [704,206,500,28,483], // LATIN SMALL LETTER G WITH CIRCUMFLEX - 0x11E: [901,19,778,37,755], // LATIN CAPITAL LETTER G WITH BREVE - 0x11F: [691,206,500,28,483], // LATIN SMALL LETTER G WITH BREVE - 0x120: [876,19,778,37,755], // LATIN CAPITAL LETTER G WITH DOT ABOVE - 0x121: [666,206,500,28,483], // LATIN SMALL LETTER G WITH DOT ABOVE - 0x122: [691,378,778,37,755], // LATIN CAPITAL LETTER G WITH CEDILLA - 0x123: [863,206,500,28,483], // LATIN SMALL LETTER G WITH CEDILLA - 0x124: [914,0,778,21,759], // LATIN CAPITAL LETTER H WITH CIRCUMFLEX - 0x125: [914,0,556,15,534], // LATIN SMALL LETTER H WITH CIRCUMFLEX - 0x126: [676,0,778,21,759], // LATIN CAPITAL LETTER H WITH STROKE - 0x127: [676,0,556,15,534], // LATIN SMALL LETTER H WITH STROKE - 0x128: [884,0,389,14,379], // LATIN CAPITAL LETTER I WITH TILDE - 0x129: [674,0,278,-47,318], // LATIN SMALL LETTER I WITH TILDE - 0x12A: [810,0,389,20,370], // LATIN CAPITAL LETTER I WITH MACRON - 0x12B: [600,0,278,-25,305], // LATIN SMALL LETTER I WITH MACRON - 0x12C: [900,0,389,20,370], // LATIN CAPITAL LETTER I WITH BREVE - 0x12D: [691,0,278,-11,292], // LATIN SMALL LETTER I WITH BREVE - 0x12E: [676,205,389,20,389], // LATIN CAPITAL LETTER I WITH OGONEK - 0x12F: [691,205,278,15,321], // LATIN SMALL LETTER I WITH OGONEK - 0x130: [876,0,389,20,370], // LATIN CAPITAL LETTER I WITH DOT ABOVE - 0x131: [461,0,278,15,256], // LATIN SMALL LETTER DOTLESS I - 0x132: [676,96,838,20,917], // LATIN CAPITAL LIGATURE IJ - 0x133: [691,203,552,15,531], // LATIN SMALL LIGATURE IJ - 0x134: [914,96,500,3,479], // LATIN CAPITAL LETTER J WITH CIRCUMFLEX - 0x135: [704,203,333,-57,335], // LATIN SMALL LETTER J WITH CIRCUMFLEX - 0x136: [676,378,778,30,769], // LATIN CAPITAL LETTER K WITH CEDILLA - 0x137: [676,378,556,22,543], // LATIN SMALL LETTER K WITH CEDILLA - 0x138: [470,0,600,19,627], // LATIN SMALL LETTER KRA - 0x139: [923,0,667,19,638], // LATIN CAPITAL LETTER L WITH ACUTE - 0x13A: [923,0,278,15,260], // LATIN SMALL LETTER L WITH ACUTE - 0x13B: [676,378,667,19,638], // LATIN CAPITAL LETTER L WITH CEDILLA - 0x13C: [676,378,278,15,256], // LATIN SMALL LETTER L WITH CEDILLA - 0x13D: [691,0,667,19,638], // LATIN CAPITAL LETTER L WITH CARON - 0x13E: [709,0,457,15,442], // LATIN SMALL LETTER L WITH CARON - 0x13F: [676,0,667,19,638], // LATIN CAPITAL LETTER L WITH MIDDLE DOT - 0x140: [676,0,414,15,441], // LATIN SMALL LETTER L WITH MIDDLE DOT - 0x141: [676,0,667,18,638], // LATIN CAPITAL LETTER L WITH STROKE - 0x142: [676,0,278,-22,303], // LATIN SMALL LETTER L WITH STROKE - 0x143: [923,18,722,16,701], // LATIN CAPITAL LETTER N WITH ACUTE - 0x144: [713,0,556,21,539], // LATIN SMALL LETTER N WITH ACUTE - 0x145: [676,378,722,16,701], // LATIN CAPITAL LETTER N WITH CEDILLA - 0x146: [473,378,556,21,539], // LATIN SMALL LETTER N WITH CEDILLA - 0x147: [914,18,722,16,701], // LATIN CAPITAL LETTER N WITH CARON - 0x148: [704,0,556,21,539], // LATIN SMALL LETTER N WITH CARON - 0x149: [709,0,705,13,693], // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE - 0x14A: [676,96,732,14,712], // LATIN CAPITAL LETTER ENG - 0x14B: [473,205,556,21,490], // LATIN SMALL LETTER ENG - 0x14C: [810,19,778,35,743], // LATIN CAPITAL LETTER O WITH MACRON - 0x14D: [600,14,500,25,476], // LATIN SMALL LETTER O WITH MACRON - 0x14E: [901,19,778,35,743], // LATIN CAPITAL LETTER O WITH BREVE - 0x14F: [691,14,500,25,476], // LATIN SMALL LETTER O WITH BREVE - 0x150: [923,19,778,35,743], // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE - 0x151: [713,14,500,25,476], // LATIN SMALL LETTER O WITH DOUBLE ACUTE - 0x152: [684,5,1000,22,981], // LATIN CAPITAL LIGATURE OE - 0x153: [473,14,722,22,696], // LATIN SMALL LIGATURE OE - 0x154: [923,0,722,26,716], // LATIN CAPITAL LETTER R WITH ACUTE - 0x155: [713,0,444,28,434], // LATIN SMALL LETTER R WITH ACUTE - 0x156: [676,378,722,26,716], // LATIN CAPITAL LETTER R WITH CEDILLA - 0x157: [473,378,444,28,434], // LATIN SMALL LETTER R WITH CEDILLA - 0x158: [914,0,722,26,716], // LATIN CAPITAL LETTER R WITH CARON - 0x159: [704,0,444,28,434], // LATIN SMALL LETTER R WITH CARON - 0x15A: [923,19,556,35,513], // LATIN CAPITAL LETTER S WITH ACUTE - 0x15B: [713,14,389,25,364], // LATIN SMALL LETTER S WITH ACUTE - 0x15C: [914,19,556,35,513], // LATIN CAPITAL LETTER S WITH CIRCUMFLEX - 0x15D: [704,14,389,22,361], // LATIN SMALL LETTER S WITH CIRCUMFLEX - 0x15E: [692,218,556,35,513], // LATIN CAPITAL LETTER S WITH CEDILLA - 0x15F: [473,218,389,25,361], // LATIN SMALL LETTER S WITH CEDILLA - 0x160: [914,19,556,35,513], // LATIN CAPITAL LETTER S WITH CARON - 0x161: [704,14,389,22,361], // LATIN SMALL LETTER S WITH CARON - 0x162: [676,218,667,31,636], // LATIN CAPITAL LETTER T WITH CEDILLA - 0x163: [630,218,333,19,332], // LATIN SMALL LETTER T WITH CEDILLA - 0x164: [914,0,667,31,636], // LATIN CAPITAL LETTER T WITH CARON - 0x165: [709,12,415,19,445], // LATIN SMALL LETTER T WITH CARON - 0x166: [676,0,667,31,636], // LATIN CAPITAL LETTER T WITH STROKE - 0x167: [630,12,333,17,332], // LATIN SMALL LETTER T WITH STROKE - 0x168: [886,19,722,16,701], // LATIN CAPITAL LETTER U WITH TILDE - 0x169: [674,14,556,16,538], // LATIN SMALL LETTER U WITH TILDE - 0x16A: [810,19,722,16,701], // LATIN CAPITAL LETTER U WITH MACRON - 0x16B: [600,14,556,16,538], // LATIN SMALL LETTER U WITH MACRON - 0x16C: [901,19,722,16,701], // LATIN CAPITAL LETTER U WITH BREVE - 0x16D: [691,14,556,16,538], // LATIN SMALL LETTER U WITH BREVE - 0x16E: [935,19,722,16,701], // LATIN CAPITAL LETTER U WITH RING ABOVE - 0x16F: [740,14,556,16,538], // LATIN SMALL LETTER U WITH RING ABOVE - 0x170: [923,19,722,16,701], // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE - 0x171: [713,14,556,16,538], // LATIN SMALL LETTER U WITH DOUBLE ACUTE - 0x172: [676,205,722,16,701], // LATIN CAPITAL LETTER U WITH OGONEK - 0x173: [461,205,556,16,547], // LATIN SMALL LETTER U WITH OGONEK - 0x174: [914,15,1000,19,981], // LATIN CAPITAL LETTER W WITH CIRCUMFLEX - 0x175: [704,14,722,23,707], // LATIN SMALL LETTER W WITH CIRCUMFLEX - 0x176: [914,0,722,15,699], // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX - 0x177: [704,205,500,16,482], // LATIN SMALL LETTER Y WITH CIRCUMFLEX - 0x178: [876,0,722,15,699], // LATIN CAPITAL LETTER Y WITH DIAERESIS - 0x179: [923,0,667,28,634], // LATIN CAPITAL LETTER Z WITH ACUTE - 0x17A: [713,0,444,21,420], // LATIN SMALL LETTER Z WITH ACUTE - 0x17B: [876,0,667,28,634], // LATIN CAPITAL LETTER Z WITH DOT ABOVE - 0x17C: [666,0,444,21,420], // LATIN SMALL LETTER Z WITH DOT ABOVE - 0x17D: [914,0,667,28,634], // LATIN CAPITAL LETTER Z WITH CARON - 0x17E: [704,0,444,21,420], // LATIN SMALL LETTER Z WITH CARON - 0x17F: [691,0,333,14,389] // LATIN SMALL LETTER LONG S - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/LatinExtendedA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js deleted file mode 100644 index 571965de..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x1E80: [923,15,1000,19,981], // LATIN CAPITAL LETTER W WITH GRAVE - 0x1E81: [713,14,722,23,707], // LATIN SMALL LETTER W WITH GRAVE - 0x1E82: [923,15,1000,19,981], // LATIN CAPITAL LETTER W WITH ACUTE - 0x1E83: [713,14,722,23,707], // LATIN SMALL LETTER W WITH ACUTE - 0x1E84: [876,15,1000,19,981], // LATIN CAPITAL LETTER W WITH DIAERESIS - 0x1E85: [666,14,722,23,707], // LATIN SMALL LETTER W WITH DIAERESIS - 0x1EF2: [923,0,722,15,699], // LATIN CAPITAL LETTER Y WITH GRAVE - 0x1EF3: [713,205,500,16,482] // LATIN SMALL LETTER Y WITH GRAVE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/LatinExtendedAdditional.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js deleted file mode 100644 index fcc10b5e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +++ /dev/null @@ -1,59 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x180: [676,14,553,-28,516], // LATIN SMALL LETTER B WITH STROKE - 0x188: [576,14,568,30,574], // LATIN SMALL LETTER C WITH HOOK - 0x190: [686,4,610,38,587], // LATIN CAPITAL LETTER OPEN E - 0x192: [706,155,500,0,498], // LATIN SMALL LETTER F WITH HOOK - 0x195: [676,10,797,14,767], // LATIN SMALL LETTER HV - 0x199: [691,0,533,12,533], // LATIN SMALL LETTER K WITH HOOK - 0x19A: [676,0,291,24,265], // LATIN SMALL LETTER L WITH BAR - 0x19B: [666,0,536,60,526], // LATIN SMALL LETTER LAMBDA WITH STROKE - 0x19E: [473,205,559,21,539], // LATIN SMALL LETTER N WITH LONG RIGHT LEG - 0x1A0: [732,19,778,35,788], // LATIN CAPITAL LETTER O WITH HORN - 0x1A1: [505,14,554,25,576], // LATIN SMALL LETTER O WITH HORN - 0x1A5: [673,205,550,10,515], // LATIN SMALL LETTER P WITH HOOK - 0x1AA: [689,228,446,25,421], // LATIN LETTER REVERSED ESH LOOP - 0x1AB: [630,218,347,18,331], // LATIN SMALL LETTER T WITH PALATAL HOOK - 0x1AD: [691,12,371,19,389], // LATIN SMALL LETTER T WITH HOOK - 0x1AF: [810,19,796,16,836], // LATIN CAPITAL LETTER U WITH HORN - 0x1B0: [596,14,600,16,626], // LATIN SMALL LETTER U WITH HORN - 0x1BA: [450,237,441,9,415], // LATIN SMALL LETTER EZH WITH TAIL - 0x1BB: [688,0,515,27,492], // LATIN LETTER TWO WITH STROKE - 0x1BE: [541,10,527,78,449], // LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE - 0x1C0: [740,0,186,60,126], // LATIN LETTER DENTAL CLICK - 0x1C1: [740,0,313,60,253], // LATIN LETTER LATERAL CLICK - 0x1C2: [740,0,445,39,405], // LATIN LETTER ALVEOLAR CLICK - 0x1C3: [691,13,333,81,251], // LATIN LETTER RETROFLEX CLICK - 0x1F0: [704,203,333,-57,335], // LATIN SMALL LETTER J WITH CARON - 0x1FA: [972,0,722,9,689], // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE - 0x1FB: [923,14,500,25,488], // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE - 0x1FC: [923,0,1000,4,951], // LATIN CAPITAL LETTER AE WITH ACUTE - 0x1FD: [713,14,722,33,694], // LATIN SMALL LETTER AE WITH ACUTE - 0x1FE: [923,74,778,35,743], // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE - 0x1FF: [713,92,500,25,476], // LATIN SMALL LETTER O WITH STROKE AND ACUTE - 0x237: [461,203,333,-57,260] // LATIN SMALL LETTER DOTLESS J - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/LatinExtendedB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js deleted file mode 100644 index a4c9e14f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +++ /dev/null @@ -1,69 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2102: [691,19,727,45,672], // stix-mathematical bold oblique double-struck capital C - 0x2105: [688,12,873,38,835], // CARE OF - 0x2107: [691,19,699,65,662], // EULER CONSTANT - 0x210C: [701,205,843,42,795], // BLACK-LETTER CAPITAL H - 0x210D: [676,0,768,75,693], // stix-mathematical bold oblique double-struck capital H - 0x210E: [685,10,576,50,543], // PLANCK CONSTANT - 0x210F: [685,10,576,50,543], // stix-/hbar - Planck's over 2pi - 0x2111: [701,25,790,54,735], // BLACK-LETTER CAPITAL I - 0x2115: [676,0,738,75,663], // stix-mathematical bold oblique double-struck capital N - 0x2116: [691,18,1093,10,1042], // NUMERO SIGN - 0x2117: [691,19,747,26,721], // SOUND RECORDING COPYRIGHT - 0x2118: [541,219,850,55,822], // SCRIPT CAPITAL P - 0x2119: [676,0,700,75,670], // stix-mathematical bold oblique double-struck capital P - 0x211A: [691,64,797,45,747], // stix-mathematical bold oblique double-struck capital Q - 0x211C: [701,25,884,50,841], // BLACK-LETTER CAPITAL R - 0x211D: [676,0,783,75,758], // stix-mathematical bold oblique double-struck capital R - 0x211E: [676,101,722,26,726], // PRESCRIPTION TAKE - 0x2122: [676,-271,1000,24,977], // TRADE MARK SIGN - 0x2124: [691,0,777,52,727], // stix-mathematical bold oblique double-struck capital Z - 0x2125: [676,205,448,21,424], // OUNCE SIGN - 0x2126: [692,0,758,35,723], // OHM SIGN - 0x2127: [674,18,758,35,723], // INVERTED OHM SIGN - 0x2128: [701,195,755,44,703], // BLACK-LETTER CAPITAL Z - 0x2129: [475,0,312,9,244], // TURNED GREEK SMALL LETTER IOTA - 0x212B: [920,0,722,9,689], // ANGSTROM SIGN - 0x212D: [701,19,773,54,731], // BLACK-LETTER CAPITAL C - 0x2132: [676,0,616,48,546], // TURNED CAPITAL F - 0x2135: [694,34,766,76,690], // ALEF SYMBOL - 0x2136: [694,34,703,60,659], // BET SYMBOL - 0x2137: [694,34,562,71,493], // GIMEL SYMBOL - 0x2138: [694,34,599,40,559], // DALET SYMBOL - 0x213C: [461,11,804,55,759], // DOUBLE-STRUCK SMALL PI - 0x213D: [486,203,646,23,624], // DOUBLE-STRUCK SMALL GAMMA - 0x213E: [676,0,497,75,643], // DOUBLE-STRUCK CAPITAL GAMMA - 0x213F: [676,0,768,75,693], // DOUBLE-STRUCK CAPITAL PI - 0x2140: [773,269,976,36,952], // DOUBLE-STRUCK N-ARY SUMMATION - 0x2145: [676,0,748,75,703], // stix-mathematical bold double-struck capital D - 0x2146: [676,14,643,50,583], // stix-mathematical bold double-struck small letter d - 0x2147: [473,14,573,50,523], // stix-mathematical bold double-struck small letter e - 0x2148: [691,0,330,65,265], // stix-mathematical bold double-struck small letter i - 0x2149: [691,205,371,-20,311], // stix-mathematical bold double-struck small letter j - 0x214B: [690,17,833,61,788] // TURNED AMPERSAND - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/LetterlikeSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js deleted file mode 100644 index 79f23715..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +++ /dev/null @@ -1,172 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'] = { - directory: 'General/Bold', - family: 'STIXGeneral', - weight: 'bold', - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x180,0x24F,"LatinExtendedB"], - [0x250,0x2AF,"IPAExtensions"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x300,0x36F,"CombDiacritMarks"], - [0x370,0x3FF,"GreekAndCoptic"], - [0x400,0x4FF,"Cyrillic"], - [0x1D00,0x1DBF,"PhoneticExtensions"], - [0x1E00,0x1EFF,"LatinExtendedAdditional"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x2070,0x209F,"SuperAndSubscripts"], - [0x20A0,0x20CF,"CurrencySymbols"], - [0x20D0,0x20FF,"CombDiactForSymbols"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2150,0x218F,"NumberForms"], - [0x2190,0x21FF,"Arrows"], - [0x2200,0x22FF,"MathOperators"], - [0x2300,0x23FF,"MiscTechnical"], - [0x2400,0x243F,"ControlPictures"], - [0x2460,0x24FF,"EnclosedAlphanum"], - [0x2500,0x257F,"BoxDrawing"], - [0x25A0,0x25FF,"GeometricShapes"], - [0x2600,0x26FF,"MiscSymbols"], - [0x27C0,0x27EF,"MiscMathSymbolsA"], - [0x2980,0x29FF,"MiscMathSymbolsB"], - [0x2A00,0x2AFF,"SuppMathOperators"], - [0xFB00,0xFB4F,"AlphaPresentForms"], - [0x1D400,0x1D433,"MathBold"], - [0x1D56C,0x1D59F,"BoldFraktur"], - [0x1D5D4,0x1D607,"MathSSBold"], - [0x1D6A8,0x1D6E1,"GreekBold"], - [0x1D756,0x1D78F,"GreekSSBold"], - [0x1D7CE,0x1D7D7,"MathBold"], - [0x1D7EC,0x1D7F6,"MathSSBold"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [691,13,333,81,251], // EXCLAMATION MARK - 0x22: [691,-404,555,83,472], // QUOTATION MARK - 0x23: [700,0,500,5,495], // NUMBER SIGN - 0x24: [750,99,500,29,472], // DOLLAR SIGN - 0x25: [706,29,749,61,688], // PERCENT SIGN - 0x26: [691,16,833,62,789], // AMPERSAND - 0x27: [691,-404,278,75,204], // APOSTROPHE - 0x28: [694,168,333,46,306], // LEFT PARENTHESIS - 0x29: [694,168,333,27,287], // RIGHT PARENTHESIS - 0x2A: [691,-255,500,56,448], // ASTERISK - 0x2B: [563,57,750,65,685], // PLUS SIGN - 0x2C: [155,180,250,39,223], // COMMA - 0x2D: [287,-171,333,44,287], // HYPHEN-MINUS - 0x2E: [156,13,250,41,210], // FULL STOP - 0x2F: [691,19,278,-24,302], // SOLIDUS - 0x30: [688,13,500,24,476], // DIGIT ZERO - 0x31: [688,0,500,65,441], // DIGIT ONE - 0x32: [688,0,500,17,478], // DIGIT TWO - 0x33: [688,14,500,16,468], // DIGIT THREE - 0x34: [688,0,500,19,476], // DIGIT FOUR - 0x35: [676,8,500,22,470], // DIGIT FIVE - 0x36: [688,13,500,28,475], // DIGIT SIX - 0x37: [676,0,500,17,477], // DIGIT SEVEN - 0x38: [688,13,500,28,472], // DIGIT EIGHT - 0x39: [688,13,500,26,473], // DIGIT NINE - 0x3A: [472,13,333,82,251], // COLON - 0x3B: [472,180,333,82,266], // SEMICOLON - 0x3C: [534,24,750,80,670], // LESS-THAN SIGN - 0x3D: [399,-107,750,68,682], // EQUALS SIGN - 0x3E: [534,24,750,80,670], // GREATER-THAN SIGN - 0x3F: [689,13,500,57,445], // QUESTION MARK - 0x40: [691,19,930,108,822], // COMMERCIAL AT - 0x41: [690,0,722,9,689], // LATIN CAPITAL LETTER A - 0x42: [676,0,667,16,619], // LATIN CAPITAL LETTER B - 0x43: [691,19,722,49,687], // LATIN CAPITAL LETTER C - 0x44: [676,0,722,14,690], // LATIN CAPITAL LETTER D - 0x45: [676,0,667,16,641], // LATIN CAPITAL LETTER E - 0x46: [676,0,611,16,583], // LATIN CAPITAL LETTER F - 0x47: [691,19,778,37,755], // LATIN CAPITAL LETTER G - 0x48: [676,0,778,21,759], // LATIN CAPITAL LETTER H - 0x49: [676,0,389,20,370], // LATIN CAPITAL LETTER I - 0x4A: [676,96,500,3,478], // LATIN CAPITAL LETTER J - 0x4B: [676,0,778,30,769], // LATIN CAPITAL LETTER K - 0x4C: [677,0,667,19,638], // LATIN CAPITAL LETTER L - 0x4D: [676,0,944,14,921], // LATIN CAPITAL LETTER M - 0x4E: [676,18,722,16,701], // LATIN CAPITAL LETTER N - 0x4F: [691,19,778,35,743], // LATIN CAPITAL LETTER O - 0x50: [676,0,611,16,600], // LATIN CAPITAL LETTER P - 0x51: [691,176,778,35,743], // LATIN CAPITAL LETTER Q - 0x52: [676,0,722,26,716], // LATIN CAPITAL LETTER R - 0x53: [692,19,556,35,513], // LATIN CAPITAL LETTER S - 0x54: [676,0,667,31,636], // LATIN CAPITAL LETTER T - 0x55: [676,19,722,16,701], // LATIN CAPITAL LETTER U - 0x56: [676,18,722,16,701], // LATIN CAPITAL LETTER V - 0x57: [676,15,1000,19,981], // LATIN CAPITAL LETTER W - 0x58: [676,0,722,16,699], // LATIN CAPITAL LETTER X - 0x59: [676,0,722,15,699], // LATIN CAPITAL LETTER Y - 0x5A: [676,0,667,28,634], // LATIN CAPITAL LETTER Z - 0x5B: [678,149,333,67,301], // LEFT SQUARE BRACKET - 0x5C: [691,19,278,-25,303], // REVERSE SOLIDUS - 0x5D: [678,149,333,32,266], // RIGHT SQUARE BRACKET - 0x5E: [676,-311,581,73,509], // CIRCUMFLEX ACCENT - 0x5F: [-75,125,500,0,500], // LOW LINE - 0x60: [713,-528,333,8,246], // GRAVE ACCENT - 0x61: [473,14,500,25,488], // LATIN SMALL LETTER A - 0x62: [676,14,556,17,521], // LATIN SMALL LETTER B - 0x63: [473,14,444,25,430], // LATIN SMALL LETTER C - 0x64: [676,14,556,25,534], // LATIN SMALL LETTER D - 0x65: [473,14,444,25,427], // LATIN SMALL LETTER E - 0x66: [691,0,333,14,389], // LATIN SMALL LETTER F - 0x67: [473,206,500,28,483], // LATIN SMALL LETTER G - 0x68: [676,0,556,15,534], // LATIN SMALL LETTER H - 0x69: [691,0,278,15,256], // LATIN SMALL LETTER I - 0x6A: [691,203,333,-57,263], // LATIN SMALL LETTER J - 0x6B: [676,0,556,22,543], // LATIN SMALL LETTER K - 0x6C: [676,0,278,15,256], // LATIN SMALL LETTER L - 0x6D: [473,0,833,15,814], // LATIN SMALL LETTER M - 0x6E: [473,0,556,21,539], // LATIN SMALL LETTER N - 0x6F: [473,14,500,25,476], // LATIN SMALL LETTER O - 0x70: [473,205,556,19,524], // LATIN SMALL LETTER P - 0x71: [473,205,556,34,536], // LATIN SMALL LETTER Q - 0x72: [473,0,444,28,434], // LATIN SMALL LETTER R - 0x73: [473,14,389,25,361], // LATIN SMALL LETTER S - 0x74: [630,12,333,19,332], // LATIN SMALL LETTER T - 0x75: [461,14,556,16,538], // LATIN SMALL LETTER U - 0x76: [461,14,500,21,485], // LATIN SMALL LETTER V - 0x77: [461,14,722,23,707], // LATIN SMALL LETTER W - 0x78: [461,0,500,12,484], // LATIN SMALL LETTER X - 0x79: [461,205,500,16,482], // LATIN SMALL LETTER Y - 0x7A: [461,0,444,21,420], // LATIN SMALL LETTER Z - 0x7B: [698,175,394,22,340], // LEFT CURLY BRACKET - 0x7C: [691,19,220,66,154], // VERTICAL LINE - 0x7D: [698,175,394,54,372], // RIGHT CURLY BRACKET - 0x7E: [333,-173,520,29,491], // TILDE - 0x393: [676,0,620,16,593], // GREEK CAPITAL LETTER GAMMA - 0x394: [690,0,722,33,673], // GREEK CAPITAL LETTER DELTA - 0x398: [692,18,778,35,743], // GREEK CAPITAL LETTER THETA - 0x39B: [690,0,707,9,674], // GREEK CAPITAL LETTER LAMDA - 0x39E: [676,0,647,40,607], // GREEK CAPITAL LETTER XI - 0x3A0: [676,0,778,21,759], // GREEK CAPITAL LETTER PI - 0x3A3: [676,0,671,28,641], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [692,0,703,7,693], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [676,0,836,18,818], // GREEK CAPITAL LETTER PHI - 0x3A8: [692,0,808,15,797], // GREEK CAPITAL LETTER PSI - 0x3A9: [692,0,768,28,740] // GREEK CAPITAL LETTER OMEGA -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXGeneral-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js deleted file mode 100644 index e3782aca..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +++ /dev/null @@ -1,89 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x1D400: [690,0,722,9,689], // MATHEMATICAL BOLD CAPITAL A - 0x1D401: [676,0,667,16,619], // MATHEMATICAL BOLD CAPITAL B - 0x1D402: [691,19,722,49,687], // MATHEMATICAL BOLD CAPITAL C - 0x1D403: [676,0,722,14,690], // MATHEMATICAL BOLD CAPITAL D - 0x1D404: [676,0,667,16,641], // MATHEMATICAL BOLD CAPITAL E - 0x1D405: [676,0,611,16,583], // MATHEMATICAL BOLD CAPITAL F - 0x1D406: [691,19,778,37,755], // MATHEMATICAL BOLD CAPITAL G - 0x1D407: [676,0,778,21,759], // MATHEMATICAL BOLD CAPITAL H - 0x1D408: [676,0,389,20,370], // MATHEMATICAL BOLD CAPITAL I - 0x1D409: [676,96,500,3,478], // MATHEMATICAL BOLD CAPITAL J - 0x1D40A: [676,0,778,30,769], // MATHEMATICAL BOLD CAPITAL K - 0x1D40B: [676,0,667,19,638], // MATHEMATICAL BOLD CAPITAL L - 0x1D40C: [676,0,944,14,921], // MATHEMATICAL BOLD CAPITAL M - 0x1D40D: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL N - 0x1D40E: [691,19,778,35,743], // MATHEMATICAL BOLD CAPITAL O - 0x1D40F: [676,0,611,16,600], // MATHEMATICAL BOLD CAPITAL P - 0x1D410: [691,176,778,35,743], // MATHEMATICAL BOLD CAPITAL Q - 0x1D411: [676,0,722,26,716], // MATHEMATICAL BOLD CAPITAL R - 0x1D412: [692,19,556,35,513], // MATHEMATICAL BOLD CAPITAL S - 0x1D413: [676,0,667,31,636], // MATHEMATICAL BOLD CAPITAL T - 0x1D414: [676,19,722,16,701], // MATHEMATICAL BOLD CAPITAL U - 0x1D415: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL V - 0x1D416: [676,15,1000,19,981], // MATHEMATICAL BOLD CAPITAL W - 0x1D417: [676,0,722,16,699], // MATHEMATICAL BOLD CAPITAL X - 0x1D418: [676,0,722,15,699], // MATHEMATICAL BOLD CAPITAL Y - 0x1D419: [676,0,667,28,634], // MATHEMATICAL BOLD CAPITAL Z - 0x1D41A: [473,14,500,25,488], // MATHEMATICAL BOLD SMALL A - 0x1D41B: [676,14,556,17,521], // MATHEMATICAL BOLD SMALL B - 0x1D41C: [473,14,444,25,430], // MATHEMATICAL BOLD SMALL C - 0x1D41D: [676,14,556,25,534], // MATHEMATICAL BOLD SMALL D - 0x1D41E: [473,14,444,25,427], // MATHEMATICAL BOLD SMALL E - 0x1D41F: [691,0,333,14,389], // MATHEMATICAL BOLD SMALL F - 0x1D420: [473,206,500,28,483], // MATHEMATICAL BOLD SMALL G - 0x1D421: [676,0,556,15,534], // MATHEMATICAL BOLD SMALL H - 0x1D422: [691,0,278,15,256], // MATHEMATICAL BOLD SMALL I - 0x1D423: [691,203,333,-57,263], // MATHEMATICAL BOLD SMALL J - 0x1D424: [676,0,556,22,543], // MATHEMATICAL BOLD SMALL K - 0x1D425: [676,0,278,15,256], // MATHEMATICAL BOLD SMALL L - 0x1D426: [473,0,833,15,814], // MATHEMATICAL BOLD SMALL M - 0x1D427: [473,0,556,21,539], // MATHEMATICAL BOLD SMALL N - 0x1D428: [473,14,500,25,476], // MATHEMATICAL BOLD SMALL O - 0x1D429: [473,205,556,19,524], // MATHEMATICAL BOLD SMALL P - 0x1D42A: [473,205,556,34,536], // MATHEMATICAL BOLD SMALL Q - 0x1D42B: [473,0,444,28,434], // MATHEMATICAL BOLD SMALL R - 0x1D42C: [473,14,389,25,361], // MATHEMATICAL BOLD SMALL S - 0x1D42D: [630,12,333,19,332], // MATHEMATICAL BOLD SMALL T - 0x1D42E: [461,14,556,16,538], // MATHEMATICAL BOLD SMALL U - 0x1D42F: [461,14,500,21,485], // MATHEMATICAL BOLD SMALL V - 0x1D430: [461,14,722,23,707], // MATHEMATICAL BOLD SMALL W - 0x1D431: [461,0,500,12,484], // MATHEMATICAL BOLD SMALL X - 0x1D432: [461,205,500,16,482], // MATHEMATICAL BOLD SMALL Y - 0x1D433: [461,0,444,21,420], // MATHEMATICAL BOLD SMALL Z - 0x1D7CE: [688,13,500,24,476], // MATHEMATICAL BOLD DIGIT ZERO - 0x1D7CF: [688,0,500,65,441], // MATHEMATICAL BOLD DIGIT ONE - 0x1D7D0: [688,0,500,17,478], // MATHEMATICAL BOLD DIGIT TWO - 0x1D7D1: [688,14,500,16,468], // MATHEMATICAL BOLD DIGIT THREE - 0x1D7D2: [688,0,500,19,476], // MATHEMATICAL BOLD DIGIT FOUR - 0x1D7D3: [676,8,500,22,470], // MATHEMATICAL BOLD DIGIT FIVE - 0x1D7D4: [688,13,500,28,475], // MATHEMATICAL BOLD DIGIT SIX - 0x1D7D5: [676,0,500,17,477], // MATHEMATICAL BOLD DIGIT SEVEN - 0x1D7D6: [688,13,500,28,472], // MATHEMATICAL BOLD DIGIT EIGHT - 0x1D7D7: [688,13,500,26,473] // MATHEMATICAL BOLD DIGIT NINE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MathBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js deleted file mode 100644 index 2930eba2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +++ /dev/null @@ -1,260 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2200: [676,0,599,5,594], // FOR ALL - 0x2201: [785,29,539,63,476], // COMPLEMENT - 0x2202: [686,10,559,44,559], // PARTIAL DIFFERENTIAL - 0x2203: [676,0,599,76,523], // THERE EXISTS - 0x2204: [803,127,599,76,523], // THERE DOES NOT EXIST - 0x2205: [594,90,787,50,737], // EMPTY SET - 0x2206: [676,0,681,23,658], // INCREMENT - 0x2207: [676,0,681,23,658], // NABLA - 0x2208: [547,13,750,82,668], // ELEMENT OF - 0x2209: [680,146,750,82,668], // stix-negated (vert) set membership, variant - 0x220A: [499,-35,500,60,440], // SMALL ELEMENT OF - 0x220B: [547,13,750,82,668], // CONTAINS AS MEMBER - 0x220C: [680,146,750,82,668], // stix-negated (vert) contains - 0x220D: [499,-35,500,60,440], // SMALL CONTAINS AS MEMBER - 0x220F: [763,259,1000,37,963], // N-ARY PRODUCT - 0x2210: [763,259,982,28,954], // N-ARY COPRODUCT - 0x2211: [763,259,914,40,873], // N-ARY SUMMATION - 0x2212: [297,-209,750,66,685], // MINUS SIGN - 0x2213: [657,12,770,65,685], // MINUS-OR-PLUS SIGN - 0x2214: [793,57,750,65,685], // DOT PLUS - 0x2215: [732,193,584,78,506], // DIVISION SLASH - 0x2216: [411,-93,452,25,427], // SET MINUS - 0x2217: [502,-34,585,82,503], // ASTERISK OPERATOR - 0x2218: [409,-95,394,40,354], // RING OPERATOR - 0x2219: [473,-59,584,85,499], // BULLET OPERATOR - 0x221A: [946,259,965,130,1016], // SQUARE ROOT - 0x221D: [450,0,772,80,692], // PROPORTIONAL TO - 0x221E: [450,0,964,80,884], // INFINITY - 0x221F: [584,0,685,50,634], // RIGHT ANGLE - 0x2220: [569,0,792,50,708], // ANGLE - 0x2221: [569,74,792,50,708], // MEASURED ANGLE - 0x2222: [534,26,695,27,667], // SPHERICAL ANGLE - 0x2223: [690,189,288,100,188], // DIVIDES - 0x2224: [690,189,411,23,388], // DOES NOT DIVIDE - 0x2225: [690,189,487,100,387], // PARALLEL TO - 0x2226: [690,189,617,23,594], // NOT PARALLEL TO - 0x2227: [536,28,640,52,588], // LOGICAL AND - 0x2228: [536,28,640,52,588], // LOGICAL OR - 0x2229: [541,33,650,66,584], // stix-intersection, serifs - 0x222A: [541,33,650,66,584], // stix-union, serifs - 0x222B: [824,320,553,32,733], // INTEGRAL - 0x222C: [824,320,863,32,1043], // DOUBLE INTEGRAL - 0x222D: [824,320,1174,32,1354], // TRIPLE INTEGRAL - 0x222E: [824,320,591,30,731], // CONTOUR INTEGRAL - 0x222F: [824,320,903,32,1043], // SURFACE INTEGRAL - 0x2230: [824,320,1214,32,1354], // VOLUME INTEGRAL - 0x2231: [824,320,593,32,733], // CLOCKWISE INTEGRAL - 0x2232: [824,320,593,32,733], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [824,320,593,32,733], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2234: [575,41,750,66,685], // THEREFORE - 0x2235: [575,41,750,66,685], // BECAUSE - 0x2236: [575,41,554,190,364], // RATIO - 0x2237: [575,41,750,68,683], // PROPORTION - 0x2238: [543,-209,750,66,685], // DOT MINUS - 0x2239: [543,37,750,66,686], // EXCESS - 0x223A: [575,41,750,66,685], // GEOMETRIC PROPORTION - 0x223B: [565,59,750,67,682], // HOMOTHETIC - 0x223C: [374,-132,750,67,682], // TILDE OPERATOR - 0x223D: [374,-132,750,67,682], // REVERSED TILDE - 0x223E: [419,-85,750,68,683], // stix-most positive - 0x223F: [484,-67,750,66,684], // stix-reverse sine wave - 0x2240: [575,40,348,53,295], // WREATH PRODUCT - 0x2241: [444,-62,750,67,682], // stix-not, vert, similar - 0x2242: [463,-45,750,68,683], // MINUS TILDE - 0x2243: [463,-45,750,68,683], // ASYMPTOTICALLY EQUAL TO - 0x2244: [530,54,750,68,683], // stix-not (vert) similar or equal - 0x2245: [568,60,750,68,683], // APPROXIMATELY EQUAL TO - 0x2246: [568,150,750,68,683], // APPROXIMATELY BUT NOT ACTUALLY EQUAL TO - 0x2247: [642,152,750,68,683], // stix-not (vert) similar over two-line equals - 0x2248: [508,-26,750,68,683], // ALMOST EQUAL TO - 0x2249: [583,48,750,68,683], // stix-not, vert, approximate - 0x224A: [568,75,750,68,683], // ALMOST EQUAL OR EQUAL TO - 0x224B: [613,109,750,68,683], // TRIPLE TILDE - 0x224C: [568,60,750,68,683], // stix-all equal to (lazy S over equals) (formerly 224C; that shape changed) - 0x224D: [518,13,750,68,683], // EQUIVALENT TO - 0x224E: [484,-22,750,68,683], // GEOMETRICALLY EQUIVALENT TO - 0x224F: [484,-107,750,68,683], // DIFFERENCE BETWEEN - 0x2250: [667,-107,750,68,682], // APPROACHES THE LIMIT - 0x2251: [667,161,750,68,682], // GEOMETRICALLY EQUAL TO - 0x2252: [667,161,750,68,682], // APPROXIMATELY EQUAL TO OR THE IMAGE OF - 0x2253: [667,161,750,68,682], // IMAGE OF OR APPROXIMATELY EQUAL TO - 0x2254: [483,-50,932,68,864], // COLON EQUALS - 0x2255: [483,-50,932,68,864], // EQUALS COLON - 0x2256: [471,-63,750,68,682], // RING IN EQUAL TO - 0x2257: [809,-107,750,68,682], // RING EQUAL TO - 0x2258: [761,-107,750,68,682], // CORRESPONDS TO - 0x2259: [836,-107,750,68,682], // ESTIMATES - 0x225A: [836,-107,750,68,682], // EQUIANGULAR TO - 0x225B: [841,-107,750,68,682], // STAR EQUALS - 0x225C: [844,-107,750,68,682], // DELTA EQUAL TO - 0x225D: [838,-107,750,55,735], // EQUAL TO BY DEFINITION - 0x225E: [721,-107,750,68,682], // MEASURED BY - 0x225F: [880,-107,750,68,682], // QUESTIONED EQUAL TO - 0x2260: [662,156,750,68,682], // stix-not (vert) equals - 0x2261: [507,-27,750,68,682], // IDENTICAL TO - 0x2262: [688,156,750,68,682], // stix-not (vert) three-line equals - 0x2263: [592,57,750,68,682], // STRICTLY EQUIVALENT TO - 0x2264: [627,121,750,80,670], // LESS-THAN OR EQUAL TO - 0x2265: [627,120,750,80,670], // GREATER-THAN OR EQUAL TO - 0x2266: [729,222,750,80,670], // LESS-THAN OVER EQUAL TO - 0x2267: [729,222,750,80,670], // GREATER-THAN OVER EQUAL TO - 0x2268: [729,294,750,80,670], // stix-less, vert, not double equals - 0x2269: [729,294,750,80,670], // stix-gt, vert, not double equals - 0x226A: [534,24,1000,38,961], // MUCH LESS-THAN - 0x226B: [534,24,1000,38,961], // MUCH GREATER-THAN - 0x226C: [732,193,417,46,371], // BETWEEN - 0x226D: [591,87,750,68,683], // stix-not (vert) asymptotically equal to - 0x226E: [625,115,750,80,670], // stix-not, vert, less-than - 0x226F: [625,115,750,80,670], // stix-not, vert, greater-than - 0x2270: [717,235,750,80,670], // stix-not, vert, less-than-or-equal - 0x2271: [717,235,750,80,670], // stix-not, vert, greater-than-or-equal - 0x2272: [690,182,750,67,682], // stix-less-than or (contour) similar - 0x2273: [690,182,750,67,682], // stix-greater-than or (contour) similar - 0x2274: [780,282,750,67,682], // stix-not, vert, less, similar - 0x2275: [780,282,750,67,682], // stix-not, vert, greater, similar - 0x2276: [734,226,750,80,670], // LESS-THAN OR GREATER-THAN - 0x2277: [734,226,750,80,670], // GREATER-THAN OR LESS-THAN - 0x2278: [824,316,750,80,670], // stix-not, vert, less, greater - 0x2279: [824,316,750,80,670], // stix-not, vert, greater, less - 0x227A: [531,23,750,80,670], // PRECEDES - 0x227B: [531,23,750,80,670], // SUCCEEDS - 0x227C: [645,138,750,80,670], // PRECEDES OR EQUAL TO - 0x227D: [645,138,750,80,670], // SUCCEEDS OR EQUAL TO - 0x227E: [676,169,750,67,682], // PRECEDES OR EQUIVALENT TO - 0x227F: [676,169,750,67,682], // SUCCEEDS OR EQUIVALENT TO - 0x2280: [625,115,750,80,670], // DOES NOT PRECEDE - 0x2281: [625,115,750,80,670], // stix-not (vert) succeeds - 0x2282: [547,13,750,82,668], // SUBSET OF - 0x2283: [547,13,750,82,668], // SUPERSET OF - 0x2284: [680,146,750,82,668], // stix-not subset [vertical negation] - 0x2285: [680,146,750,82,668], // stix-not superset [vertical negation] - 0x2286: [647,101,750,82,668], // SUBSET OF OR EQUAL TO - 0x2287: [647,101,750,82,668], // SUPERSET OF OR EQUAL TO - 0x2288: [747,201,750,82,668], // stix-/nsubseteq N: not (vert) subset, equals - 0x2289: [747,201,750,82,668], // stix-/nsupseteq N: not (vert) superset, equals - 0x228A: [734,200,750,82,668], // stix-subset, not equals, variant - 0x228B: [734,200,750,82,668], // stix-superset, not equals, variant - 0x228C: [541,33,650,66,584], // MULTISET - 0x228D: [541,33,650,66,584], // MULTISET MULTIPLICATION - 0x228E: [541,33,650,66,584], // MULTISET UNION - 0x228F: [532,27,750,87,663], // SQUARE IMAGE OF - 0x2290: [532,27,750,87,663], // SQUARE ORIGINAL OF - 0x2291: [644,93,750,87,663], // SQUARE IMAGE OF OR EQUAL TO - 0x2292: [644,93,750,87,663], // SQUARE ORIGINAL OF OR EQUAL TO - 0x2293: [541,33,650,66,584], // stix-square intersection, serifs - 0x2294: [541,33,650,66,584], // stix-square union, serifs - 0x2295: [634,130,864,50,814], // stix-circled plus (with rim) - 0x2296: [634,130,864,50,814], // CIRCLED MINUS - 0x2297: [634,130,864,50,814], // stix-circled times (with rim) - 0x2298: [634,130,864,50,814], // CIRCLED DIVISION SLASH - 0x2299: [594,90,784,50,734], // CIRCLED DOT OPERATOR - 0x229A: [634,130,842,39,803], // CIRCLED RING OPERATOR - 0x229B: [634,130,864,50,814], // CIRCLED ASTERISK OPERATOR - 0x229C: [634,130,864,50,814], // stix-two horizontal bars in circle - 0x229D: [634,130,864,50,814], // CIRCLED DASH - 0x229E: [661,158,910,45,865], // SQUARED PLUS - 0x229F: [661,158,910,45,865], // SQUARED MINUS - 0x22A0: [661,158,910,45,865], // SQUARED TIMES - 0x22A1: [661,158,910,45,865], // SQUARED DOT OPERATOR - 0x22A2: [676,0,750,91,659], // RIGHT TACK - 0x22A3: [676,0,750,91,659], // LEFT TACK - 0x22A4: [676,0,750,91,659], // DOWN TACK - 0x22A5: [676,0,750,91,659], // UP TACK - 0x22A6: [676,0,555,91,464], // ASSERTION - 0x22A7: [676,0,555,91,464], // MODELS - 0x22A8: [676,0,750,91,659], // TRUE - 0x22A9: [676,0,972,91,882], // FORCES - 0x22AA: [676,0,944,91,856], // TRIPLE VERTICAL BAR RIGHT TURNSTILE - 0x22AB: [676,0,944,91,856], // DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE - 0x22AC: [676,0,913,21,822], // DOES NOT PROVE - 0x22AD: [676,0,912,21,822], // NOT TRUE - 0x22AE: [676,0,1096,21,1024], // DOES NOT FORCE - 0x22AF: [676,0,1104,21,1016], // NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE - 0x22B0: [543,38,750,98,652], // PRECEDES UNDER RELATION - 0x22B1: [543,38,750,98,652], // SUCCEEDS UNDER RELATION - 0x22B2: [534,24,750,81,669], // NORMAL SUBGROUP OF - 0x22B3: [534,24,750,81,669], // CONTAINS AS NORMAL SUBGROUP - 0x22B4: [621,113,750,81,669], // NORMAL SUBGROUP OF OR EQUAL TO - 0x22B5: [621,113,750,81,669], // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO - 0x22B6: [436,-96,1216,50,1166], // ORIGINAL OF - 0x22B7: [436,-96,1216,50,1166], // IMAGE OF - 0x22B8: [436,-96,884,50,834], // MULTIMAP - 0x22B9: [563,57,750,65,685], // HERMITIAN CONJUGATE MATRIX - 0x22BA: [461,216,498,74,424], // INTERCALATE - 0x22BB: [536,189,640,52,588], // XOR - 0x22BC: [697,28,640,52,588], // NAND - 0x22BD: [697,28,640,52,588], // NOR - 0x22BE: [630,0,750,60,690], // RIGHT ANGLE WITH ARC - 0x22BF: [662,158,910,45,865], // RIGHT TRIANGLE - 0x22C4: [515,-17,584,43,541], // DIAMOND OPERATOR - 0x22C7: [595,63,750,66,685], // DIVISION TIMES - 0x22C8: [604,72,870,67,803], // BOWTIE - 0x22C9: [604,72,870,57,817], // LEFT NORMAL FACTOR SEMIDIRECT PRODUCT - 0x22CA: [604,72,870,53,813], // RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT - 0x22CB: [604,72,870,97,773], // LEFT SEMIDIRECT PRODUCT - 0x22CC: [604,72,870,97,773], // RIGHT SEMIDIRECT PRODUCT - 0x22CD: [463,-45,750,68,683], // REVERSED TILDE EQUALS - 0x22CE: [536,28,640,41,599], // CURLY LOGICAL OR - 0x22CF: [536,28,640,41,599], // CURLY LOGICAL AND - 0x22D0: [600,67,750,63,687], // DOUBLE SUBSET - 0x22D1: [600,67,750,63,687], // DOUBLE SUPERSET - 0x22D2: [541,33,750,65,685], // DOUBLE INTERSECTION - 0x22D3: [541,33,750,65,685], // DOUBLE UNION - 0x22D4: [643,33,650,66,584], // PITCHFORK - 0x22D5: [690,189,685,48,637], // EQUAL AND PARALLEL TO - 0x22D6: [534,24,750,80,670], // LESS-THAN WITH DOT - 0x22D7: [534,24,750,80,670], // GREATER-THAN WITH DOT - 0x22D8: [534,24,1336,40,1296], // VERY MUCH LESS-THAN - 0x22D9: [534,24,1336,40,1296], // VERY MUCH GREATER-THAN - 0x22DA: [916,408,750,80,670], // stix-less, equal, slanted, greater - 0x22DB: [916,408,750,80,670], // stix-greater, equal, slanted, less - 0x22DC: [627,120,750,80,670], // EQUAL TO OR LESS-THAN - 0x22DD: [627,120,750,80,670], // EQUAL TO OR GREATER-THAN - 0x22DE: [645,138,750,80,670], // EQUAL TO OR PRECEDES - 0x22DF: [645,138,750,80,670], // EQUAL TO OR SUCCEEDS - 0x22E0: [735,199,750,80,670], // stix-not (vert) precedes or contour equals - 0x22E1: [735,199,750,80,670], // stix-not (vert) succeeds or contour equals - 0x22E2: [792,241,750,87,663], // NOT SQUARE IMAGE OF OR EQUAL TO - 0x22E3: [792,241,750,87,663], // NOT SQUARE ORIGINAL OF OR EQUAL TO - 0x22E6: [690,200,750,67,682], // LESS-THAN BUT NOT EQUIVALENT TO - 0x22E7: [690,200,750,67,682], // GREATER-THAN BUT NOT EQUIVALENT TO - 0x22E8: [676,187,750,67,682], // PRECEDES BUT NOT EQUIVALENT TO - 0x22E9: [676,187,750,67,682], // SUCCEEDS BUT NOT EQUIVALENT TO - 0x22EA: [625,115,750,81,669], // NOT NORMAL SUBGROUP OF - 0x22EB: [625,115,750,81,669], // DOES NOT CONTAIN AS NORMAL SUBGROUP - 0x22EC: [711,228,750,81,669], // stix-not, vert, left triangle, equals - 0x22ED: [711,228,750,81,669], // stix-not, vert, right triangle, equals - 0x22EE: [678,174,584,205,375], // VERTICAL ELLIPSIS - 0x22EF: [351,-181,977,62,914], // MIDLINE HORIZONTAL ELLIPSIS - 0x22F0: [579,75,977,162,815], // UP RIGHT DIAGONAL ELLIPSIS - 0x22F1: [579,75,977,162,815], // DOWN RIGHT DIAGONAL ELLIPSIS - 0x22F6: [735,13,750,82,668], // ELEMENT OF WITH OVERBAR - 0x22FD: [735,13,750,82,668] // CONTAINS WITH OVERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js deleted file mode 100644 index 04ae647c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +++ /dev/null @@ -1,89 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x1D5D4: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL A - 0x1D5D5: [676,0,636,80,594], // MATHEMATICAL SANS-SERIF BOLD CAPITAL B - 0x1D5D6: [691,19,723,49,688], // MATHEMATICAL SANS-SERIF BOLD CAPITAL C - 0x1D5D7: [676,0,709,80,674], // MATHEMATICAL SANS-SERIF BOLD CAPITAL D - 0x1D5D8: [676,0,635,80,597], // MATHEMATICAL SANS-SERIF BOLD CAPITAL E - 0x1D5D9: [676,0,582,80,570], // MATHEMATICAL SANS-SERIF BOLD CAPITAL F - 0x1D5DA: [691,19,746,37,671], // MATHEMATICAL SANS-SERIF BOLD CAPITAL G - 0x1D5DB: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL H - 0x1D5DC: [676,0,440,65,375], // MATHEMATICAL SANS-SERIF BOLD CAPITAL I - 0x1D5DD: [676,96,481,15,406], // MATHEMATICAL SANS-SERIF BOLD CAPITAL J - 0x1D5DE: [676,0,712,80,707], // MATHEMATICAL SANS-SERIF BOLD CAPITAL K - 0x1D5DF: [676,0,603,80,587], // MATHEMATICAL SANS-SERIF BOLD CAPITAL L - 0x1D5E0: [676,0,913,80,833], // MATHEMATICAL SANS-SERIF BOLD CAPITAL M - 0x1D5E1: [676,18,724,80,644], // MATHEMATICAL SANS-SERIF BOLD CAPITAL N - 0x1D5E2: [692,18,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL O - 0x1D5E3: [676,0,581,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL P - 0x1D5E4: [691,176,779,35,754], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Q - 0x1D5E5: [676,0,670,80,657], // MATHEMATICAL SANS-SERIF BOLD CAPITAL R - 0x1D5E6: [691,19,554,35,511], // MATHEMATICAL SANS-SERIF BOLD CAPITAL S - 0x1D5E7: [676,0,641,14,627], // MATHEMATICAL SANS-SERIF BOLD CAPITAL T - 0x1D5E8: [676,19,699,75,624], // MATHEMATICAL SANS-SERIF BOLD CAPITAL U - 0x1D5E9: [676,18,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL V - 0x1D5EA: [676,15,997,30,967], // MATHEMATICAL SANS-SERIF BOLD CAPITAL W - 0x1D5EB: [676,0,740,40,700], // MATHEMATICAL SANS-SERIF BOLD CAPITAL X - 0x1D5EC: [676,0,694,20,674], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Y - 0x1D5ED: [676,0,653,25,623], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Z - 0x1D5EE: [473,14,489,23,428], // MATHEMATICAL SANS-SERIF BOLD SMALL A - 0x1D5EF: [676,13,512,55,487], // MATHEMATICAL SANS-SERIF BOLD SMALL B - 0x1D5F0: [473,14,462,25,442], // MATHEMATICAL SANS-SERIF BOLD SMALL C - 0x1D5F1: [676,14,518,25,463], // MATHEMATICAL SANS-SERIF BOLD SMALL D - 0x1D5F2: [473,13,452,25,433], // MATHEMATICAL SANS-SERIF BOLD SMALL E - 0x1D5F3: [691,0,340,14,374], // MATHEMATICAL SANS-SERIF BOLD SMALL F - 0x1D5F4: [473,206,504,28,490], // MATHEMATICAL SANS-SERIF BOLD SMALL G - 0x1D5F5: [676,0,510,55,455], // MATHEMATICAL SANS-SERIF BOLD SMALL H - 0x1D5F6: [688,0,245,50,195], // MATHEMATICAL SANS-SERIF BOLD SMALL I - 0x1D5F7: [688,203,324,-57,269], // MATHEMATICAL SANS-SERIF BOLD SMALL J - 0x1D5F8: [676,0,519,55,506], // MATHEMATICAL SANS-SERIF BOLD SMALL K - 0x1D5F9: [676,0,235,55,180], // MATHEMATICAL SANS-SERIF BOLD SMALL L - 0x1D5FA: [473,0,776,55,721], // MATHEMATICAL SANS-SERIF BOLD SMALL M - 0x1D5FB: [473,0,510,55,455], // MATHEMATICAL SANS-SERIF BOLD SMALL N - 0x1D5FC: [473,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD SMALL O - 0x1D5FD: [473,205,512,55,487], // MATHEMATICAL SANS-SERIF BOLD SMALL P - 0x1D5FE: [473,205,512,25,457], // MATHEMATICAL SANS-SERIF BOLD SMALL Q - 0x1D5FF: [473,0,411,55,406], // MATHEMATICAL SANS-SERIF BOLD SMALL R - 0x1D600: [473,13,385,25,357], // MATHEMATICAL SANS-SERIF BOLD SMALL S - 0x1D601: [630,12,386,7,371], // MATHEMATICAL SANS-SERIF BOLD SMALL T - 0x1D602: [461,15,518,55,463], // MATHEMATICAL SANS-SERIF BOLD SMALL U - 0x1D603: [461,14,462,15,447], // MATHEMATICAL SANS-SERIF BOLD SMALL V - 0x1D604: [461,14,701,17,684], // MATHEMATICAL SANS-SERIF BOLD SMALL W - 0x1D605: [461,0,506,20,486], // MATHEMATICAL SANS-SERIF BOLD SMALL X - 0x1D606: [461,205,472,18,455], // MATHEMATICAL SANS-SERIF BOLD SMALL Y - 0x1D607: [461,0,441,21,417], // MATHEMATICAL SANS-SERIF BOLD SMALL Z - 0x1D7EC: [688,13,500,24,476], // MATHEMATICAL SANS-SERIF BOLD DIGIT ZERO - 0x1D7ED: [688,0,500,82,334], // MATHEMATICAL SANS-SERIF BOLD DIGIT ONE - 0x1D7EE: [688,0,500,20,474], // MATHEMATICAL SANS-SERIF BOLD DIGIT TWO - 0x1D7EF: [688,13,500,18,479], // MATHEMATICAL SANS-SERIF BOLD DIGIT THREE - 0x1D7F0: [688,0,500,19,484], // MATHEMATICAL SANS-SERIF BOLD DIGIT FOUR - 0x1D7F1: [676,13,500,13,483], // MATHEMATICAL SANS-SERIF BOLD DIGIT FIVE - 0x1D7F2: [688,13,500,26,475], // MATHEMATICAL SANS-SERIF BOLD DIGIT SIX - 0x1D7F3: [676,0,500,35,471], // MATHEMATICAL SANS-SERIF BOLD DIGIT SEVEN - 0x1D7F4: [688,13,500,28,472], // MATHEMATICAL SANS-SERIF BOLD DIGIT EIGHT - 0x1D7F5: [688,13,500,26,475] // MATHEMATICAL SANS-SERIF BOLD DIGIT NINE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MathSSBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js deleted file mode 100644 index e4700e7d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +++ /dev/null @@ -1,31 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x27C8: [547,13,1025,62,943], // REVERSE SOLIDUS PRECEDING SUBSET - 0x27C9: [547,13,1025,62,943], // SUBSET PRECEDING SOLIDUS - 0x27E8: [732,193,445,69,399], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [732,193,445,46,376] // MATHEMATICAL RIGHT ANGLE BRACKET - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MiscMathSymbolsA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js deleted file mode 100644 index 256ad589..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +++ /dev/null @@ -1,37 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2980: [705,200,675,105,570], // TRIPLE VERTICAL BAR DELIMITER - 0x29B6: [634,130,864,50,814], // CIRCLED VERTICAL BAR - 0x29B7: [634,130,864,50,814], // CIRCLED PARALLEL - 0x29B8: [634,130,864,50,814], // CIRCLED REVERSE SOLIDUS - 0x29C0: [634,130,864,50,814], // CIRCLED LESS-THAN - 0x29C1: [634,130,864,50,814], // CIRCLED GREATER-THAN - 0x29C4: [661,158,910,45,865], // SQUARED RISING DIAGONAL SLASH - 0x29C5: [661,158,910,45,865], // SQUARED FALLING DIAGONAL SLASH - 0x29C6: [661,158,910,45,865], // SQUARED ASTERISK - 0x29C7: [661,158,910,45,865] // SQUARED SMALL CIRCLE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MiscMathSymbolsB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js deleted file mode 100644 index c61a8c89..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +++ /dev/null @@ -1,30 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x266D: [740,5,437,86,389], // MUSIC FLAT SIGN - 0x266E: [818,210,490,97,393], // MUSIC NATURAL SIGN - 0x266F: [818,210,490,52,438] // MUSIC SHARP SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MiscSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js deleted file mode 100644 index e59cd5f6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +++ /dev/null @@ -1,42 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2302: [774,0,926,55,871], // HOUSE - 0x2308: [731,193,469,164,459], // LEFT CEILING - 0x2309: [731,193,469,10,305], // RIGHT CEILING - 0x230A: [732,193,469,164,459], // LEFT FLOOR - 0x230B: [732,193,469,10,305], // RIGHT FLOOR - 0x2310: [399,-108,750,65,685], // REVERSED NOT SIGN - 0x2319: [399,-108,750,65,685], // TURNED NOT SIGN - 0x2322: [378,-129,1026,37,990], // stix-small down curve - 0x2323: [378,-129,1026,37,990], // stix-small up curve - 0x2329: [732,193,445,69,399], // LEFT-POINTING ANGLE BRACKET - 0x232A: [732,193,445,46,376], // RIGHT-POINTING ANGLE BRACKET - 0x2336: [751,156,926,85,841], // APL FUNCTIONAL SYMBOL I-BEAM - 0x233D: [694,190,924,80,844], // APL FUNCTIONAL SYMBOL CIRCLE STILE - 0x233F: [732,200,728,55,673], // APL FUNCTIONAL SYMBOL SLASH BAR - 0x23AF: [297,-209,315,0,315] // HORIZONTAL LINE EXTENSION - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MiscTechnical.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js deleted file mode 100644 index 43ac403c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +++ /dev/null @@ -1,39 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2153: [688,12,750,-7,763], // VULGAR FRACTION ONE THIRD - 0x2154: [688,12,750,28,763], // VULGAR FRACTION TWO THIRDS - 0x2155: [688,12,750,-7,775], // VULGAR FRACTION ONE FIFTH - 0x2156: [688,12,750,28,775], // VULGAR FRACTION TWO FIFTHS - 0x2157: [688,12,750,23,775], // VULGAR FRACTION THREE FIFTHS - 0x2158: [688,12,750,22,775], // VULGAR FRACTION FOUR FIFTHS - 0x2159: [688,12,750,-7,758], // VULGAR FRACTION ONE SIXTH - 0x215A: [688,12,750,49,758], // VULGAR FRACTION FIVE SIXTHS - 0x215B: [688,12,750,-7,775], // VULGAR FRACTION ONE EIGHTH - 0x215C: [688,12,750,23,775], // VULGAR FRACTION THREE EIGHTHS - 0x215D: [688,12,750,49,775], // VULGAR FRACTION FIVE EIGHTHS - 0x215E: [688,12,750,30,775] // VULGAR FRACTION SEVEN EIGHTHS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/NumberForms.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js deleted file mode 100644 index f2e1c0db..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +++ /dev/null @@ -1,30 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x1D00: [475,0,515,9,503], // LATIN LETTER SMALL CAPITAL A - 0x1D07: [461,0,531,20,511], // LATIN LETTER SMALL CAPITAL E - 0x1D1C: [461,19,600,16,584] // LATIN LETTER SMALL CAPITAL U - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/PhoneticExtensions.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js deleted file mode 100644 index f0a66d28..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +++ /dev/null @@ -1,87 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2B0: [842,-335,378,6,365], // MODIFIER LETTER SMALL H - 0x2B1: [848,-336,378,7,365], // MODIFIER LETTER SMALL H WITH HOOK - 0x2B2: [868,-179,300,25,273], // MODIFIER LETTER SMALL J - 0x2B3: [699,-335,270,12,266], // MODIFIER LETTER SMALL R - 0x2B4: [690,-326,292,10,264], // MODIFIER LETTER SMALL TURNED R - 0x2B5: [690,-163,319,10,342], // MODIFIER LETTER SMALL TURNED R WITH HOOK - 0x2B6: [684,-345,404,20,397], // MODIFIER LETTER SMALL CAPITAL INVERTED R - 0x2B7: [681,-331,550,23,528], // MODIFIER LETTER SMALL W - 0x2B8: [690,-179,380,16,374], // MODIFIER LETTER SMALL Y - 0x2B9: [684,-421,208,30,216], // MODIFIER LETTER PRIME - 0x2BA: [684,-421,356,19,364], // MODIFIER LETTER DOUBLE PRIME - 0x2BB: [685,-350,333,39,223], // MODIFIER LETTER TURNED COMMA - 0x2BC: [686,-351,333,39,223], // MODIFIER LETTER APOSTROPHE - 0x2BD: [686,-351,250,39,223], // MODIFIER LETTER REVERSED COMMA - 0x2BE: [662,-382,334,65,250], // MODIFIER LETTER RIGHT HALF RING - 0x2BF: [662,-382,334,65,250], // MODIFIER LETTER LEFT HALF RING - 0x2C0: [690,-240,353,30,333], // MODIFIER LETTER GLOTTAL STOP - 0x2C1: [690,-240,353,30,333], // MODIFIER LETTER REVERSED GLOTTAL STOP - 0x2C2: [760,-414,317,30,297], // MODIFIER LETTER LEFT ARROWHEAD - 0x2C3: [760,-414,317,30,297], // MODIFIER LETTER RIGHT ARROWHEAD - 0x2C4: [720,-453,317,-14,332], // MODIFIER LETTER UP ARROWHEAD - 0x2C5: [720,-453,317,-14,332], // MODIFIER LETTER DOWN ARROWHEAD - 0x2C6: [704,-528,333,-2,335], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [704,-528,333,-2,335], // CARON - 0x2C8: [720,-455,279,112,167], // MODIFIER LETTER VERTICAL LINE - 0x2C9: [637,-565,370,20,350], // MODIFIER LETTER MACRON - 0x2CA: [713,-528,266,20,258], // MODIFIER LETTER ACUTE ACCENT - 0x2CB: [713,-528,266,20,258], // MODIFIER LETTER GRAVE ACCENT - 0x2CC: [70,195,278,112,167], // MODIFIER LETTER LOW VERTICAL LINE - 0x2CD: [-88,160,370,20,350], // MODIFIER LETTER LOW MACRON - 0x2CE: [-7,192,333,15,253], // MODIFIER LETTER LOW GRAVE ACCENT - 0x2CF: [-7,192,333,80,318], // MODIFIER LETTER LOW ACUTE ACCENT - 0x2D0: [474,-4,333,79,254], // MODIFIER LETTER TRIANGULAR COLON - 0x2D1: [474,-294,333,79,254], // MODIFIER LETTER HALF TRIANGULAR COLON - 0x2D2: [378,-62,333,65,268], // MODIFIER LETTER CENTRED RIGHT HALF RING - 0x2D3: [378,-62,333,65,268], // MODIFIER LETTER CENTRED LEFT HALF RING - 0x2D4: [206,-4,333,51,281], // MODIFIER LETTER UP TACK - 0x2D5: [206,-4,333,51,281], // MODIFIER LETTER DOWN TACK - 0x2D6: [227,-9,334,61,273], // MODIFIER LETTER PLUS SIGN - 0x2D7: [150,-84,334,61,273], // MODIFIER LETTER MINUS SIGN - 0x2D8: [691,-528,333,15,318], // BREVE - 0x2D9: [666,-537,333,102,231], // DOT ABOVE - 0x2DA: [750,-537,333,60,273], // RING ABOVE - 0x2DB: [44,173,333,90,319], // OGONEK - 0x2DC: [674,-547,333,-16,349], // SMALL TILDE - 0x2DD: [713,-528,333,-13,425], // DOUBLE ACUTE ACCENT - 0x2DE: [481,-186,292,0,302], // MODIFIER LETTER RHOTIC HOOK - 0x2DF: [744,-506,260,10,250], // MODIFIER LETTER CROSS ACCENT - 0x2E0: [684,-190,420,10,410], // MODIFIER LETTER SMALL GAMMA - 0x2E1: [842,-335,190,5,186], // MODIFIER LETTER SMALL L - 0x2E2: [695,-320,300,19,278], // MODIFIER LETTER SMALL S - 0x2E3: [690,-335,380,12,376], // MODIFIER LETTER SMALL X - 0x2E4: [855,-335,328,20,323], // MODIFIER LETTER SMALL REVERSED GLOTTAL STOP - 0x2E5: [676,0,405,40,368], // MODIFIER LETTER EXTRA-HIGH TONE BAR - 0x2E6: [676,0,405,40,368], // MODIFIER LETTER HIGH TONE BAR - 0x2E7: [676,0,405,40,368], // MODIFIER LETTER MID TONE BAR - 0x2E8: [676,0,405,40,368], // MODIFIER LETTER LOW TONE BAR - 0x2E9: [676,0,405,40,368], // MODIFIER LETTER EXTRA-LOW TONE BAR - 0x2EC: [70,167,314,5,309], // MODIFIER LETTER VOICING - 0x2ED: [720,-528,395,5,390] // MODIFIER LETTER UNASPIRATED - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/SpacingModLetters.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js deleted file mode 100644 index a8cc0a19..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x207F: [700,-275,491,15,478] // SUPERSCRIPT LATIN SMALL LETTER N - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/SuperAndSubscripts.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js deleted file mode 100644 index 8c02211a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +++ /dev/null @@ -1,84 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], - { - 0x2A0C: [824,320,1484,32,1664], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [824,320,593,32,733], // FINITE PART INTEGRAL - 0x2A0E: [824,320,593,32,733], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [824,320,593,32,733], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [824,320,593,32,733], // CIRCULATION FUNCTION - 0x2A11: [824,320,593,32,733], // ANTICLOCKWISE INTEGRATION - 0x2A12: [824,320,613,32,733], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [824,320,593,32,733], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [824,320,675,32,735], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [824,320,593,32,733], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [824,320,623,32,733], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [824,320,791,32,871], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [824,320,633,32,733], // INTEGRAL WITH TIMES SIGN - 0x2A19: [824,320,653,32,733], // INTEGRAL WITH INTERSECTION - 0x2A1A: [824,320,653,32,733], // INTEGRAL WITH UNION - 0x2A1B: [959,320,557,32,737], // INTEGRAL WITH OVERBAR - 0x2A1C: [824,455,557,32,737], // INTEGRAL WITH UNDERBAR - 0x2A22: [894,57,750,65,685], // PLUS SIGN WITH SMALL CIRCLE ABOVE - 0x2A23: [736,57,750,65,685], // PLUS SIGN WITH CIRCUMFLEX ACCENT ABOVE - 0x2A24: [746,57,750,65,685], // PLUS SIGN WITH TILDE ABOVE - 0x2A25: [563,287,750,65,685], // PLUS SIGN WITH DOT BELOW - 0x2A26: [563,240,750,65,685], // PLUS SIGN WITH TILDE BELOW - 0x2A27: [563,247,780,65,778], // PLUS SIGN WITH SUBSCRIPT TWO - 0x2A2A: [297,37,750,66,685], // MINUS SIGN WITH DOT BELOW - 0x2A2B: [543,37,750,66,685], // MINUS SIGN WITH FALLING DOTS - 0x2A30: [745,33,702,66,636], // MULTIPLICATION SIGN WITH DOT ABOVE - 0x2A31: [538,191,702,66,636], // MULTIPLICATION SIGN WITH UNDERBAR - 0x2A32: [538,59,702,66,636], // SEMIDIRECT PRODUCT WITH BOTTOM CLOSED - 0x2A3F: [676,0,734,27,707], // AMALGAMATION OR COPRODUCT - 0x2A5E: [887,28,640,52,588], // LOGICAL AND WITH DOUBLE OVERBAR - 0x2A63: [536,379,640,52,588], // LOGICAL OR WITH DOUBLE UNDERBAR - 0x2A66: [399,161,750,68,682], // EQUALS SIGN WITH DOT BELOW - 0x2A67: [775,-27,750,68,682], // IDENTICAL WITH DOT ABOVE - 0x2A6A: [565,-132,750,67,682], // TILDE OPERATOR WITH DOT ABOVE - 0x2A6D: [759,60,750,68,683], // CONGRUENT WITH DOT ABOVE - 0x2A6E: [884,-107,750,68,682], // EQUALS WITH ASTERISK - 0x2A6F: [752,-26,750,68,683], // ALMOST EQUAL TO WITH CIRCUMFLEX ACCENT - 0x2A70: [680,176,750,68,683], // APPROXIMATELY EQUAL OR EQUAL TO - 0x2A71: [665,159,750,65,685], // EQUALS SIGN ABOVE PLUS SIGN - 0x2A72: [665,159,750,65,685], // PLUS SIGN ABOVE EQUALS SIGN - 0x2A73: [568,60,750,67,682], // EQUALS SIGN ABOVE TILDE OPERATOR - 0x2A7D: [648,140,750,80,670], // LESS-THAN OR SLANTED EQUAL TO - 0x2A7E: [648,140,750,80,670], // GREATER-THAN OR SLANTED EQUAL TO - 0x2A87: [646,213,750,80,670], // LESS-THAN AND SINGLE-LINE NOT EQUAL TO - 0x2A88: [646,213,750,80,670], // GREATER-THAN AND SINGLE-LINE NOT EQUAL TO - 0x2A89: [792,305,750,67,682], // LESS-THAN AND NOT APPROXIMATE - 0x2A8A: [792,305,750,67,682], // GREATER-THAN AND NOT APPROXIMATE - 0x2A95: [648,140,750,80,670], // SLANTED EQUAL TO OR LESS-THAN - 0x2A96: [648,140,750,80,670], // SLANTED EQUAL TO OR GREATER-THAN - 0x2A9D: [689,183,750,67,682], // stix-similar (conforming) or less-than - 0x2A9E: [689,183,750,67,682], // SIMILAR OR GREATER-THAN - 0x2AAF: [619,111,750,80,670], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN - 0x2AB0: [619,111,750,80,670], // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN - 0x2ABD: [547,13,750,82,668], // SUBSET WITH DOT - 0x2ABE: [547,13,750,82,668], // SUPERSET WITH DOT - 0x2AC5: [730,222,750,80,670], // SUBSET OF ABOVE EQUALS SIGN - 0x2AC6: [730,222,750,80,670] // SUPERSET OF ABOVE EQUALS SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/SuppMathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js deleted file mode 100644 index 194a77d6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +++ /dev/null @@ -1,32 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0xFB00: [698,205,613,-169,726], // LATIN SMALL LIGATURE FF - 0xFB01: [703,205,556,-188,514], // LATIN SMALL LIGATURE FI - 0xFB02: [704,205,556,-186,553], // LATIN SMALL LIGATURE FL - 0xFB03: [703,205,856,-169,814], // LATIN SMALL LIGATURE FFI - 0xFB04: [704,205,854,-169,851] // LATIN SMALL LIGATURE FFL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/AlphaPresentForms.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js deleted file mode 100644 index 9f5fea79..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +++ /dev/null @@ -1,122 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x21: [684,13,389,67,370], // EXCLAMATION MARK - 0x22: [685,-398,555,136,536], // QUOTATION MARK - 0x23: [700,0,500,-32,532], // NUMBER SIGN - 0x24: [733,100,500,-20,497], // DOLLAR SIGN - 0x25: [706,29,757,80,707], // PERCENT SIGN - 0x26: [682,19,849,76,771], // AMPERSAND - 0x27: [685,-398,278,128,268], // APOSTROPHE - 0x28: [685,179,333,28,344], // LEFT PARENTHESIS - 0x29: [685,179,333,-44,271], // RIGHT PARENTHESIS - 0x2A: [685,-252,500,101,492], // ASTERISK - 0x2B: [506,0,570,33,537], // PLUS SIGN - 0x2C: [134,182,250,-60,144], // COMMA - 0x2D: [282,-166,333,2,271], // HYPHEN-MINUS - 0x2E: [135,13,250,-9,139], // FULL STOP - 0x2F: [685,18,278,-64,342], // SOLIDUS - 0x30: [683,14,500,17,477], // DIGIT ZERO - 0x31: [683,0,500,5,419], // DIGIT ONE - 0x32: [683,0,500,-27,446], // DIGIT TWO - 0x33: [683,13,500,-14,450], // DIGIT THREE - 0x34: [683,0,500,-15,503], // DIGIT FOUR - 0x35: [669,13,500,-11,486], // DIGIT FIVE - 0x36: [679,15,500,23,509], // DIGIT SIX - 0x37: [669,0,500,52,525], // DIGIT SEVEN - 0x38: [683,13,500,3,476], // DIGIT EIGHT - 0x39: [683,10,500,-12,475], // DIGIT NINE - 0x3A: [459,13,333,23,264], // COLON - 0x3B: [459,183,333,-25,264], // SEMICOLON - 0x3C: [518,12,570,31,539], // LESS-THAN SIGN - 0x3D: [399,-107,570,33,537], // EQUALS SIGN - 0x3E: [518,12,570,31,539], // GREATER-THAN SIGN - 0x3F: [684,13,500,79,470], // QUESTION MARK - 0x40: [685,18,939,118,825], // COMMERCIAL AT - 0x41: [683,0,667,-68,593], // LATIN CAPITAL LETTER A - 0x42: [669,0,667,-25,624], // LATIN CAPITAL LETTER B - 0x43: [685,18,667,32,677], // LATIN CAPITAL LETTER C - 0x44: [669,0,722,-46,685], // LATIN CAPITAL LETTER D - 0x45: [669,0,667,-27,653], // LATIN CAPITAL LETTER E - 0x46: [669,0,667,-13,660], // LATIN CAPITAL LETTER F - 0x47: [685,18,722,21,705], // LATIN CAPITAL LETTER G - 0x48: [669,0,778,-24,799], // LATIN CAPITAL LETTER H - 0x49: [669,0,389,-32,406], // LATIN CAPITAL LETTER I - 0x4A: [669,99,500,-46,524], // LATIN CAPITAL LETTER J - 0x4B: [669,0,667,-21,702], // LATIN CAPITAL LETTER K - 0x4C: [669,0,611,-22,590], // LATIN CAPITAL LETTER L - 0x4D: [669,12,889,-29,917], // LATIN CAPITAL LETTER M - 0x4E: [669,15,722,-27,748], // LATIN CAPITAL LETTER N - 0x4F: [685,18,722,27,691], // LATIN CAPITAL LETTER O - 0x50: [669,0,611,-28,613], // LATIN CAPITAL LETTER P - 0x51: [685,208,722,27,691], // LATIN CAPITAL LETTER Q - 0x52: [669,0,667,-28,623], // LATIN CAPITAL LETTER R - 0x53: [685,18,556,2,526], // LATIN CAPITAL LETTER S - 0x54: [669,0,611,49,650], // LATIN CAPITAL LETTER T - 0x55: [669,18,722,67,744], // LATIN CAPITAL LETTER U - 0x56: [669,18,667,66,715], // LATIN CAPITAL LETTER V - 0x57: [669,18,889,64,940], // LATIN CAPITAL LETTER W - 0x58: [669,0,667,-24,694], // LATIN CAPITAL LETTER X - 0x59: [669,0,611,71,659], // LATIN CAPITAL LETTER Y - 0x5A: [669,0,611,-12,589], // LATIN CAPITAL LETTER Z - 0x5B: [674,159,333,-37,362], // LEFT SQUARE BRACKET - 0x5C: [685,18,278,-1,279], // REVERSE SOLIDUS - 0x5D: [674,157,333,-56,343], // RIGHT SQUARE BRACKET - 0x5E: [669,-304,570,67,503], // CIRCUMFLEX ACCENT - 0x5F: [-75,125,500,0,500], // LOW LINE - 0x60: [697,-516,333,85,297], // GRAVE ACCENT - 0x61: [462,14,500,-21,456], // LATIN SMALL LETTER A - 0x62: [699,13,500,-14,444], // LATIN SMALL LETTER B - 0x63: [462,13,444,-5,392], // LATIN SMALL LETTER C - 0x64: [699,13,500,-21,517], // LATIN SMALL LETTER D - 0x65: [462,13,444,5,398], // LATIN SMALL LETTER E - 0x66: [698,205,333,-169,446], // LATIN SMALL LETTER F - 0x67: [462,203,500,-52,477], // LATIN SMALL LETTER G - 0x68: [699,9,556,-13,498], // LATIN SMALL LETTER H - 0x69: [684,9,278,2,262], // LATIN SMALL LETTER I - 0x6A: [685,207,278,-189,279], // LATIN SMALL LETTER J - 0x6B: [699,8,500,-23,483], // LATIN SMALL LETTER K - 0x6C: [699,9,278,2,290], // LATIN SMALL LETTER L - 0x6D: [462,9,778,-14,723], // LATIN SMALL LETTER M - 0x6E: [462,9,556,-6,494], // LATIN SMALL LETTER N - 0x6F: [462,13,500,-3,441], // LATIN SMALL LETTER O - 0x70: [462,205,500,-120,446], // LATIN SMALL LETTER P - 0x71: [462,205,500,1,471], // LATIN SMALL LETTER Q - 0x72: [462,0,389,-21,389], // LATIN SMALL LETTER R - 0x73: [462,13,389,-19,333], // LATIN SMALL LETTER S - 0x74: [594,9,278,-11,281], // LATIN SMALL LETTER T - 0x75: [462,9,556,15,493], // LATIN SMALL LETTER U - 0x76: [462,13,444,15,401], // LATIN SMALL LETTER V - 0x77: [462,13,667,15,614], // LATIN SMALL LETTER W - 0x78: [462,13,500,-45,469], // LATIN SMALL LETTER X - 0x79: [462,205,444,-94,392], // LATIN SMALL LETTER Y - 0x7A: [449,78,389,-43,368], // LATIN SMALL LETTER Z - 0x7B: [686,187,348,4,436], // LEFT CURLY BRACKET - 0x7C: [685,18,220,66,154], // VERTICAL LINE - 0x7D: [686,187,348,-129,303], // RIGHT CURLY BRACKET - 0x7E: [331,-175,570,54,516] // TILDE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/BasicLatin.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js deleted file mode 100644 index eccb4d07..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +++ /dev/null @@ -1,67 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x2500: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT HORIZONTAL - 0x2502: [910,303,696,312,385], // BOX DRAWINGS LIGHT VERTICAL - 0x250C: [340,303,708,318,720], // BOX DRAWINGS LIGHT DOWN AND RIGHT - 0x2510: [340,303,708,-11,390], // BOX DRAWINGS LIGHT DOWN AND LEFT - 0x2514: [910,-267,708,318,720], // BOX DRAWINGS LIGHT UP AND RIGHT - 0x2518: [910,-267,708,-11,390], // BOX DRAWINGS LIGHT UP AND LEFT - 0x251C: [910,303,708,318,720], // BOX DRAWINGS LIGHT VERTICAL AND RIGHT - 0x2524: [910,303,708,-11,390], // BOX DRAWINGS LIGHT VERTICAL AND LEFT - 0x252C: [340,303,708,-11,719], // BOX DRAWINGS LIGHT DOWN AND HORIZONTAL - 0x2534: [910,-267,708,-11,719], // BOX DRAWINGS LIGHT UP AND HORIZONTAL - 0x253C: [910,303,708,-11,719], // BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL - 0x2550: [433,-174,708,-11,719], // BOX DRAWINGS DOUBLE HORIZONTAL - 0x2551: [910,303,708,225,484], // BOX DRAWINGS DOUBLE VERTICAL - 0x2552: [433,303,708,318,720], // BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE - 0x2553: [340,303,708,225,720], // BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE - 0x2554: [433,303,708,225,719], // BOX DRAWINGS DOUBLE DOWN AND RIGHT - 0x2555: [433,303,708,-11,390], // BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE - 0x2556: [340,303,708,-11,483], // BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE - 0x2557: [433,303,708,-11,483], // BOX DRAWINGS DOUBLE DOWN AND LEFT - 0x2558: [910,-174,708,318,720], // BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE - 0x2559: [910,-267,708,225,720], // BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE - 0x255A: [910,-174,708,225,719], // BOX DRAWINGS DOUBLE UP AND RIGHT - 0x255B: [910,-174,708,-11,390], // BOX DRAWINGS UP SINGLE AND LEFT DOUBLE - 0x255C: [910,-267,708,-11,483], // BOX DRAWINGS UP DOUBLE AND LEFT SINGLE - 0x255D: [910,-174,708,-11,483], // BOX DRAWINGS DOUBLE UP AND LEFT - 0x255E: [910,303,708,318,720], // BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE - 0x255F: [910,303,708,225,720], // BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE - 0x2560: [910,303,708,225,720], // BOX DRAWINGS DOUBLE VERTICAL AND RIGHT - 0x2561: [910,303,708,-11,390], // BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE - 0x2562: [910,303,708,-11,483], // BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE - 0x2563: [910,303,708,-11,483], // BOX DRAWINGS DOUBLE VERTICAL AND LEFT - 0x2564: [433,303,708,-11,719], // BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE - 0x2565: [340,303,708,-11,719], // BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE - 0x2566: [433,303,708,-11,719], // BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL - 0x2567: [910,-174,708,-11,719], // BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE - 0x2568: [910,-267,708,-11,719], // BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE - 0x2569: [910,-174,708,-11,719], // BOX DRAWINGS DOUBLE UP AND HORIZONTAL - 0x256A: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE - 0x256B: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE - 0x256C: [910,303,708,-11,719] // BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/BoxDrawing.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js deleted file mode 100644 index 11dc36df..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x20DD: [760,254,0,-753,256] // COMBINING ENCLOSING CIRCLE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/CombDiactForSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js deleted file mode 100644 index f800445a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x2423: [31,120,500,40,460] // stix-round space indicator - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/ControlPictures.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js deleted file mode 100644 index 83b8262b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +++ /dev/null @@ -1,31 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x20A3: [669,0,668,-13,661], // FRENCH FRANC SIGN - 0x20A4: [683,12,500,-32,510], // LIRA SIGN - 0x20A7: [669,13,1229,-28,1173], // PESETA SIGN - 0x20AC: [681,17,562,34,546] // EURO SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/CurrencySymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js deleted file mode 100644 index 7865cea2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +++ /dev/null @@ -1,129 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x401: [905,0,667,-35,645], // CYRILLIC CAPITAL LETTER IO - 0x402: [669,205,789,80,737], // CYRILLIC CAPITAL LETTER DJE - 0x403: [947,0,604,-32,658], // CYRILLIC CAPITAL LETTER GJE - 0x404: [685,18,657,44,689], // CYRILLIC CAPITAL LETTER UKRAINIAN IE - 0x405: [685,18,556,-22,502], // CYRILLIC CAPITAL LETTER DZE - 0x406: [669,0,389,-32,406], // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I - 0x407: [905,0,389,-35,477], // CYRILLIC CAPITAL LETTER YI - 0x408: [669,99,500,-8,562], // CYRILLIC CAPITAL LETTER JE - 0x409: [669,18,954,-59,896], // CYRILLIC CAPITAL LETTER LJE - 0x40A: [669,0,982,-32,924], // CYRILLIC CAPITAL LETTER NJE - 0x40B: [669,0,830,71,757], // CYRILLIC CAPITAL LETTER TSHE - 0x40C: [947,0,678,-35,697], // CYRILLIC CAPITAL LETTER KJE - 0x40E: [951,18,666,99,712], // CYRILLIC CAPITAL LETTER SHORT U - 0x40F: [669,184,778,-33,791], // CYRILLIC CAPITAL LETTER DZHE - 0x410: [683,0,667,-57,604], // CYRILLIC CAPITAL LETTER A - 0x411: [669,0,635,-18,629], // CYRILLIC CAPITAL LETTER BE - 0x412: [669,0,654,-25,624], // CYRILLIC CAPITAL LETTER VE - 0x413: [669,0,604,-32,658], // CYRILLIC CAPITAL LETTER GHE - 0x414: [669,184,696,-115,718], // CYRILLIC CAPITAL LETTER DE - 0x415: [669,0,667,-35,645], // CYRILLIC CAPITAL LETTER IE - 0x416: [678,0,927,-63,969], // CYRILLIC CAPITAL LETTER ZHE - 0x417: [686,18,561,-10,549], // CYRILLIC CAPITAL LETTER ZE - 0x418: [669,0,768,-33,790], // CYRILLIC CAPITAL LETTER I - 0x419: [948,0,768,-33,790], // CYRILLIC CAPITAL LETTER SHORT I - 0x41A: [678,0,678,-35,697], // CYRILLIC CAPITAL LETTER KA - 0x41B: [669,18,742,-59,764], // CYRILLIC CAPITAL LETTER EL - 0x41C: [669,12,890,-34,912], // CYRILLIC CAPITAL LETTER EM - 0x41D: [669,0,769,-32,791], // CYRILLIC CAPITAL LETTER EN - 0x41E: [685,18,722,53,717], // CYRILLIC CAPITAL LETTER O - 0x41F: [669,0,767,-35,789], // CYRILLIC CAPITAL LETTER PE - 0x420: [669,0,590,-30,611], // CYRILLIC CAPITAL LETTER ER - 0x421: [685,18,667,65,710], // CYRILLIC CAPITAL LETTER ES - 0x422: [669,0,611,80,681], // CYRILLIC CAPITAL LETTER TE - 0x423: [669,18,666,99,712], // CYRILLIC CAPITAL LETTER U - 0x424: [669,0,833,72,816], // CYRILLIC CAPITAL LETTER EF - 0x425: [669,0,607,-61,657], // CYRILLIC CAPITAL LETTER HA - 0x426: [669,184,770,-32,792], // CYRILLIC CAPITAL LETTER TSE - 0x427: [669,0,758,120,780], // CYRILLIC CAPITAL LETTER CHE - 0x428: [669,0,960,-33,982], // CYRILLIC CAPITAL LETTER SHA - 0x429: [669,184,960,-33,982], // CYRILLIC CAPITAL LETTER SHCHA - 0x42A: [669,0,780,107,722], // CYRILLIC CAPITAL LETTER HARD SIGN - 0x42B: [669,0,985,-19,1007], // CYRILLIC CAPITAL LETTER YERU - 0x42C: [669,0,636,-19,578], // CYRILLIC CAPITAL LETTER SOFT SIGN - 0x42D: [685,18,671,4,648], // CYRILLIC CAPITAL LETTER E - 0x42E: [685,18,905,-38,871], // CYRILLIC CAPITAL LETTER YU - 0x42F: [669,0,710,-65,732], // CYRILLIC CAPITAL LETTER YA - 0x430: [462,14,527,20,497], // CYRILLIC SMALL LETTER A - 0x431: [685,13,499,32,570], // CYRILLIC SMALL LETTER BE - 0x432: [462,13,482,25,458], // CYRILLIC SMALL LETTER VE - 0x433: [461,14,368,-8,371], // CYRILLIC SMALL LETTER GHE - 0x434: [695,13,496,22,466], // CYRILLIC SMALL LETTER DE - 0x435: [462,13,431,22,415], // CYRILLIC SMALL LETTER IE - 0x436: [462,13,898,-4,890], // CYRILLIC SMALL LETTER ZHE - 0x437: [462,13,400,-11,378], // CYRILLIC SMALL LETTER ZE - 0x438: [462,9,542,34,512], // CYRILLIC SMALL LETTER I - 0x439: [697,9,542,34,514], // CYRILLIC SMALL LETTER SHORT I - 0x43A: [461,8,522,12,527], // CYRILLIC SMALL LETTER KA - 0x43B: [462,11,507,-48,477], // CYRILLIC SMALL LETTER EL - 0x43C: [449,11,667,-48,637], // CYRILLIC SMALL LETTER EM - 0x43D: [462,9,543,13,513], // CYRILLIC SMALL LETTER EN - 0x43E: [462,13,500,24,468], // CYRILLIC SMALL LETTER O - 0x43F: [462,9,543,13,513], // CYRILLIC SMALL LETTER PE - 0x440: [462,205,497,-96,470], // CYRILLIC SMALL LETTER ER - 0x441: [462,13,435,26,423], // CYRILLIC SMALL LETTER ES - 0x442: [462,9,777,10,747], // CYRILLIC SMALL LETTER TE - 0x443: [462,205,447,-94,422], // CYRILLIC SMALL LETTER U - 0x444: [699,205,750,28,717], // CYRILLIC SMALL LETTER EF - 0x445: [462,13,456,-38,511], // CYRILLIC SMALL LETTER HA - 0x446: [462,179,542,34,512], // CYRILLIC SMALL LETTER TSE - 0x447: [462,9,531,48,501], // CYRILLIC SMALL LETTER CHE - 0x448: [462,9,800,36,770], // CYRILLIC SMALL LETTER SHA - 0x449: [462,179,800,36,770], // CYRILLIC SMALL LETTER SHCHA - 0x44A: [462,13,594,29,556], // CYRILLIC SMALL LETTER HARD SIGN - 0x44B: [462,13,754,43,724], // CYRILLIC SMALL LETTER YERU - 0x44C: [462,13,491,43,453], // CYRILLIC SMALL LETTER SOFT SIGN - 0x44D: [462,13,444,-12,405], // CYRILLIC SMALL LETTER E - 0x44E: [462,13,740,12,710], // CYRILLIC SMALL LETTER YU - 0x44F: [449,11,538,2,508], // CYRILLIC SMALL LETTER YA - 0x451: [655,13,434,22,487], // CYRILLIC SMALL LETTER IO - 0x452: [699,205,523,12,490], // CYRILLIC SMALL LETTER DJE - 0x453: [697,14,368,-8,456], // CYRILLIC SMALL LETTER GJE - 0x454: [462,13,415,22,450], // CYRILLIC SMALL LETTER UKRAINIAN IE - 0x455: [462,13,389,0,352], // CYRILLIC SMALL LETTER DZE - 0x456: [684,9,278,20,280], // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I - 0x457: [655,9,278,22,382], // CYRILLIC SMALL LETTER YI - 0x458: [685,207,278,-161,307], // CYRILLIC SMALL LETTER JE - 0x459: [462,13,694,-48,656], // CYRILLIC SMALL LETTER LJE - 0x45A: [462,13,733,12,695], // CYRILLIC SMALL LETTER NJE - 0x45B: [699,9,556,12,515], // CYRILLIC SMALL LETTER TSHE - 0x45C: [697,8,522,12,527], // CYRILLIC SMALL LETTER KJE - 0x45E: [697,205,447,-94,436], // CYRILLIC SMALL LETTER SHORT U - 0x45F: [462,179,538,30,508], // CYRILLIC SMALL LETTER DZHE - 0x462: [669,0,761,62,707], // CYRILLIC CAPITAL LETTER YAT - 0x463: [699,13,569,20,531], // CYRILLIC SMALL LETTER YAT - 0x46A: [669,0,978,-22,918], // CYRILLIC CAPITAL LETTER BIG YUS - 0x46B: [449,13,844,-4,825], // CYRILLIC SMALL LETTER BIG YUS - 0x472: [685,18,722,53,717], // CYRILLIC CAPITAL LETTER FITA - 0x473: [462,13,500,24,468], // CYRILLIC SMALL LETTER FITA - 0x474: [678,18,667,66,750], // CYRILLIC CAPITAL LETTER IZHITSA - 0x475: [462,13,487,15,534], // CYRILLIC SMALL LETTER IZHITSA - 0x490: [834,0,539,-32,641], // CYRILLIC CAPITAL LETTER GHE WITH UPTURN - 0x491: [590,9,360,31,457] // CYRILLIC SMALL LETTER GHE WITH UPTURN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/Cyrillic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js deleted file mode 100644 index 83bd01b4..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +++ /dev/null @@ -1,89 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x2460: [690,19,695,0,695], // CIRCLED DIGIT ONE - 0x2461: [690,19,695,0,695], // CIRCLED DIGIT TWO - 0x2462: [690,19,695,0,695], // CIRCLED DIGIT THREE - 0x2463: [690,19,695,0,695], // CIRCLED DIGIT FOUR - 0x2464: [690,19,695,0,695], // CIRCLED DIGIT FIVE - 0x2465: [690,19,695,0,695], // CIRCLED DIGIT SIX - 0x2466: [690,19,695,0,695], // CIRCLED DIGIT SEVEN - 0x2467: [690,19,695,0,695], // CIRCLED DIGIT EIGHT - 0x2468: [690,19,695,0,695], // CIRCLED DIGIT NINE - 0x24B6: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER A - 0x24B7: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER B - 0x24B8: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER C - 0x24B9: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER D - 0x24BA: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER E - 0x24BB: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER F - 0x24BC: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER G - 0x24BD: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER H - 0x24BE: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER I - 0x24BF: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER J - 0x24C0: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER K - 0x24C1: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER L - 0x24C2: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER M - 0x24C3: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER N - 0x24C4: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER O - 0x24C5: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER P - 0x24C6: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Q - 0x24C7: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER R - 0x24C8: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER S - 0x24C9: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER T - 0x24CA: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER U - 0x24CB: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER V - 0x24CC: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER W - 0x24CD: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER X - 0x24CE: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Y - 0x24CF: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Z - 0x24D0: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER A - 0x24D1: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER B - 0x24D2: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER C - 0x24D3: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER D - 0x24D4: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER E - 0x24D5: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER F - 0x24D6: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER G - 0x24D7: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER H - 0x24D8: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER I - 0x24D9: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER J - 0x24DA: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER K - 0x24DB: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER L - 0x24DC: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER M - 0x24DD: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER N - 0x24DE: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER O - 0x24DF: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER P - 0x24E0: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Q - 0x24E1: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER R - 0x24E2: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER S - 0x24E3: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER T - 0x24E4: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER U - 0x24E5: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER V - 0x24E6: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER W - 0x24E7: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER X - 0x24E8: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Y - 0x24E9: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Z - 0x24EA: [690,19,695,0,695] // CIRCLED DIGIT ZERO - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/EnclosedAlphanum.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js deleted file mode 100644 index 1deda258..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +++ /dev/null @@ -1,50 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x2010: [282,-166,333,-4,273], // HYPHEN - 0x2011: [282,-166,333,-4,273], // NON-BREAKING HYPHEN - 0x2012: [282,-166,500,-40,477], // FIGURE DASH - 0x2013: [269,-178,500,-40,477], // EN DASH - 0x2014: [269,-178,1000,-40,977], // EM DASH - 0x2018: [685,-369,333,128,332], // LEFT SINGLE QUOTATION MARK - 0x2019: [685,-369,333,98,302], // RIGHT SINGLE QUOTATION MARK - 0x201A: [134,182,333,-5,199], // SINGLE LOW-9 QUOTATION MARK - 0x201B: [685,-369,333,128,302], // SINGLE HIGH-REVERSED-9 QUOTATION MARK - 0x201C: [685,-369,500,53,513], // LEFT DOUBLE QUOTATION MARK - 0x201D: [685,-369,500,53,513], // RIGHT DOUBLE QUOTATION MARK - 0x201E: [134,182,500,-57,403], // DOUBLE LOW-9 QUOTATION MARK - 0x201F: [685,-369,500,92,513], // DOUBLE HIGH-REVERSED-9 QUOTATION MARK - 0x2020: [685,145,500,91,494], // DAGGER - 0x2021: [685,139,500,10,493], // DOUBLE DAGGER - 0x2022: [462,-42,560,70,490], // BULLET - 0x2026: [135,13,1000,40,852], // HORIZONTAL ELLIPSIS - 0x2030: [706,29,1118,80,1068], // PER MILLE SIGN - 0x2031: [706,29,1480,80,1430], // PER TEN THOUSAND SIGN - 0x2039: [415,-32,333,32,303], // SINGLE LEFT-POINTING ANGLE QUOTATION MARK - 0x203A: [415,-32,333,10,281], // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK - 0x203E: [637,-565,500,0,500], // OVERLINE - 0x2044: [688,12,183,-168,345] // FRACTION SLASH - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/GeneralPunctuation.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js deleted file mode 100644 index 2a7eec43..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +++ /dev/null @@ -1,119 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x384: [680,-516,300,140,319], // GREEK TONOS - 0x385: [680,-516,380,27,440], // GREEK DIALYTIKA TONOS - 0x386: [693,0,667,-68,593], // GREEK CAPITAL LETTER ALPHA WITH TONOS - 0x387: [459,-311,333,116,264], // GREEK ANO TELEIA - 0x388: [693,0,700,10,748], // GREEK CAPITAL LETTER EPSILON WITH TONOS - 0x389: [693,0,850,9,889], // GREEK CAPITAL LETTER ETA WITH TONOS - 0x38A: [693,0,450,9,503], // GREEK CAPITAL LETTER IOTA WITH TONOS - 0x38C: [693,18,722,11,691], // GREEK CAPITAL LETTER OMICRON WITH TONOS - 0x38E: [693,0,700,8,855], // GREEK CAPITAL LETTER UPSILON WITH TONOS - 0x38F: [693,0,808,25,774], // GREEK CAPITAL LETTER OMEGA WITH TONOS - 0x390: [680,9,278,6,419], // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS - 0x391: [683,0,667,-68,593], // GREEK CAPITAL LETTER ALPHA - 0x392: [669,0,667,-25,624], // GREEK CAPITAL LETTER BETA - 0x393: [669,0,585,-13,670], // GREEK CAPITAL LETTER GAMMA - 0x394: [683,0,667,-65,549], // GREEK CAPITAL LETTER DELTA - 0x395: [669,0,667,-27,653], // GREEK CAPITAL LETTER EPSILON - 0x396: [669,0,611,-12,589], // GREEK CAPITAL LETTER ZETA - 0x397: [669,0,778,-24,799], // GREEK CAPITAL LETTER ETA - 0x398: [685,18,718,27,691], // GREEK CAPITAL LETTER THETA - 0x399: [669,0,389,-32,406], // GREEK CAPITAL LETTER IOTA - 0x39A: [669,0,667,-21,702], // GREEK CAPITAL LETTER KAPPA - 0x39B: [683,0,655,-68,581], // GREEK CAPITAL LETTER LAMDA - 0x39C: [669,12,889,-29,917], // GREEK CAPITAL LETTER MU - 0x39D: [669,15,722,-27,748], // GREEK CAPITAL LETTER NU - 0x39E: [669,0,746,25,740], // GREEK CAPITAL LETTER XI - 0x39F: [685,18,722,27,691], // GREEK CAPITAL LETTER OMICRON - 0x3A0: [669,0,778,-24,799], // GREEK CAPITAL LETTER PI - 0x3A1: [669,0,611,-28,613], // GREEK CAPITAL LETTER RHO - 0x3A3: [669,0,633,-11,619], // GREEK CAPITAL LETTER SIGMA - 0x3A4: [669,0,611,49,650], // GREEK CAPITAL LETTER TAU - 0x3A5: [685,0,611,21,697], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [669,0,771,26,763], // GREEK CAPITAL LETTER PHI - 0x3A7: [669,0,667,-24,694], // GREEK CAPITAL LETTER CHI - 0x3A8: [685,0,661,17,780], // GREEK CAPITAL LETTER PSI - 0x3A9: [685,0,808,25,774], // GREEK CAPITAL LETTER OMEGA - 0x3AA: [905,0,389,-32,486], // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA - 0x3AB: [905,0,611,21,697], // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA - 0x3AC: [680,13,576,-3,574], // GREEK SMALL LETTER ALPHA WITH TONOS - 0x3AD: [680,13,454,-5,408], // GREEK SMALL LETTER EPSILON WITH TONOS - 0x3AE: [680,205,488,-7,474], // GREEK SMALL LETTER ETA WITH TONOS - 0x3AF: [680,9,278,2,286], // GREEK SMALL LETTER IOTA WITH TONOS - 0x3B0: [680,13,536,-7,500], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS - 0x3B1: [462,13,576,-3,574], // GREEK SMALL LETTER ALPHA - 0x3B2: [698,205,500,-79,480], // GREEK SMALL LETTER BETA - 0x3B3: [462,204,438,3,461], // GREEK SMALL LETTER GAMMA - 0x3B4: [698,13,496,-3,456], // GREEK SMALL LETTER DELTA - 0x3B5: [462,13,454,-5,408], // GREEK SMALL LETTER EPSILON - 0x3B6: [698,205,415,-5,473], // GREEK SMALL LETTER ZETA - 0x3B7: [462,205,488,-7,474], // GREEK SMALL LETTER ETA - 0x3B8: [698,13,501,-3,488], // GREEK SMALL LETTER THETA - 0x3B9: [462,9,278,2,238], // GREEK SMALL LETTER IOTA - 0x3BA: [462,12,500,-23,504], // GREEK SMALL LETTER KAPPA - 0x3BB: [698,18,484,-34,459], // GREEK SMALL LETTER LAMDA - 0x3BC: [449,205,523,-82,483], // GREEK SMALL LETTER MU - 0x3BD: [462,13,469,-23,441], // GREEK SMALL LETTER NU - 0x3BE: [698,205,415,-5,426], // GREEK SMALL LETTER XI - 0x3BF: [462,13,500,-3,441], // GREEK SMALL LETTER OMICRON - 0x3C0: [449,15,558,-6,570], // GREEK SMALL LETTER PI - 0x3C1: [462,205,495,-81,447], // GREEK SMALL LETTER RHO - 0x3C2: [462,205,415,-5,447], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [449,13,499,-3,536], // GREEK SMALL LETTER SIGMA - 0x3C4: [449,9,415,4,455], // GREEK SMALL LETTER TAU - 0x3C5: [462,13,536,-7,477], // GREEK SMALL LETTER UPSILON - 0x3C6: [462,205,678,-3,619], // GREEK SMALL LETTER PHI - 0x3C7: [462,205,404,-136,515], // GREEK SMALL LETTER CHI - 0x3C8: [462,205,652,-5,715], // GREEK SMALL LETTER PSI - 0x3C9: [462,13,735,-3,676], // GREEK SMALL LETTER OMEGA - 0x3CA: [655,9,278,2,351], // GREEK SMALL LETTER IOTA WITH DIALYTIKA - 0x3CB: [655,13,536,-7,477], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA - 0x3CC: [680,13,500,-3,441], // GREEK SMALL LETTER OMICRON WITH TONOS - 0x3CD: [680,13,536,-7,477], // GREEK SMALL LETTER UPSILON WITH TONOS - 0x3CE: [680,13,735,-3,676], // GREEK SMALL LETTER OMEGA WITH TONOS - 0x3D0: [696,12,500,42,479], // GREEK BETA SYMBOL - 0x3D1: [698,13,582,8,589], // GREEK THETA SYMBOL - 0x3D2: [685,0,611,21,696], // GREEK UPSILON WITH HOOK SYMBOL - 0x3D5: [699,205,678,-3,619], // GREEK PHI SYMBOL - 0x3D6: [449,13,828,-2,844], // GREEK PI SYMBOL - 0x3D8: [685,200,722,27,691], // GREEK LETTER ARCHAIC KOPPA - 0x3D9: [462,205,500,-3,441], // GREEK SMALL LETTER ARCHAIC KOPPA - 0x3DA: [685,205,669,32,665], // GREEK LETTER STIGMA - 0x3DB: [492,205,475,-5,509], // GREEK SMALL LETTER STIGMA - 0x3DC: [669,0,667,-13,670], // GREEK LETTER DIGAMMA - 0x3DD: [450,190,525,32,507], // GREEK SMALL LETTER DIGAMMA - 0x3DE: [793,18,757,-7,758], // GREEK LETTER KOPPA - 0x3DF: [698,0,485,16,466], // GREEK SMALL LETTER KOPPA - 0x3E0: [685,205,734,27,710], // GREEK LETTER SAMPI - 0x3E1: [639,205,530,47,467], // GREEK SMALL LETTER SAMPI - 0x3F0: [462,15,569,-50,592], // GREEK KAPPA SYMBOL - 0x3F1: [462,206,517,-12,458], // GREEK RHO SYMBOL - 0x3F4: [685,18,722,27,691], // GREEK CAPITAL THETA SYMBOL - 0x3F5: [463,13,466,-3,429], // GREEK LUNATE EPSILON SYMBOL - 0x3F6: [460,16,486,-5,427] // GREEK REVERSED LUNATE EPSILON SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/GreekAndCoptic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js deleted file mode 100644 index fd6d1aa2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x1D71C: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL ALPHA - 0x1D71D: [669,0,726,42,715], // MATHEMATICAL BOLD ITALIC CAPITAL BETA - 0x1D71E: [669,0,634,42,749], // MATHEMATICAL BOLD ITALIC CAPITAL GAMMA - 0x1D71F: [685,0,632,32,589], // MATHEMATICAL BOLD ITALIC CAPITAL DELTA - 0x1D720: [669,0,732,42,754], // MATHEMATICAL BOLD ITALIC CAPITAL EPSILON - 0x1D721: [669,0,797,66,830], // MATHEMATICAL BOLD ITALIC CAPITAL ZETA - 0x1D722: [669,0,891,42,946], // MATHEMATICAL BOLD ITALIC CAPITAL ETA - 0x1D723: [685,16,783,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL THETA - 0x1D724: [669,0,502,42,557], // MATHEMATICAL BOLD ITALIC CAPITAL IOTA - 0x1D725: [669,0,795,42,839], // MATHEMATICAL BOLD ITALIC CAPITAL KAPPA - 0x1D726: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL LAMDA - 0x1D727: [669,0,1016,42,1071], // MATHEMATICAL BOLD ITALIC CAPITAL MU - 0x1D728: [669,0,869,42,924], // MATHEMATICAL BOLD ITALIC CAPITAL NU - 0x1D729: [669,0,718,57,757], // MATHEMATICAL BOLD ITALIC CAPITAL XI - 0x1D72A: [685,16,777,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL OMICRON - 0x1D72B: [669,0,887,39,942], // MATHEMATICAL BOLD ITALIC CAPITAL PI - 0x1D72C: [669,0,612,42,733], // MATHEMATICAL BOLD ITALIC CAPITAL RHO - 0x1D72D: [685,16,783,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL THETA SYMBOL - 0x1D72E: [669,0,759,64,787], // MATHEMATICAL BOLD ITALIC CAPITAL SIGMA - 0x1D72F: [669,0,568,28,700], // MATHEMATICAL BOLD ITALIC CAPITAL TAU - 0x1D730: [685,0,589,31,721], // MATHEMATICAL BOLD ITALIC CAPITAL UPSILON - 0x1D731: [669,0,827,28,799], // MATHEMATICAL BOLD ITALIC CAPITAL PHI - 0x1D732: [669,0,808,28,830], // MATHEMATICAL BOLD ITALIC CAPITAL CHI - 0x1D733: [685,0,694,30,781], // MATHEMATICAL BOLD ITALIC CAPITAL PSI - 0x1D734: [685,0,826,57,815], // MATHEMATICAL BOLD ITALIC CAPITAL OMEGA - 0x1D735: [669,16,632,43,600], // MATHEMATICAL BOLD ITALIC NABLA - 0x1D736: [461,12,624,44,630], // MATHEMATICAL BOLD ITALIC SMALL ALPHA - 0x1D737: [685,205,555,28,583], // MATHEMATICAL BOLD ITALIC SMALL BETA - 0x1D738: [462,203,490,44,503], // MATHEMATICAL BOLD ITALIC SMALL GAMMA - 0x1D739: [685,8,538,44,538], // MATHEMATICAL BOLD ITALIC SMALL DELTA - 0x1D73A: [462,10,495,28,451], // MATHEMATICAL BOLD ITALIC SMALL EPSILON - 0x1D73B: [685,203,472,44,522], // MATHEMATICAL BOLD ITALIC SMALL ZETA - 0x1D73C: [462,205,517,33,511], // MATHEMATICAL BOLD ITALIC SMALL ETA - 0x1D73D: [686,11,566,44,555], // MATHEMATICAL BOLD ITALIC SMALL THETA - 0x1D73E: [462,9,318,55,274], // MATHEMATICAL BOLD ITALIC SMALL IOTA - 0x1D73F: [462,0,560,55,577], // MATHEMATICAL BOLD ITALIC SMALL KAPPA - 0x1D740: [685,16,570,55,537], // MATHEMATICAL BOLD ITALIC SMALL LAMDA - 0x1D741: [449,205,636,33,603], // MATHEMATICAL BOLD ITALIC SMALL MU - 0x1D742: [459,10,523,55,534], // MATHEMATICAL BOLD ITALIC SMALL NU - 0x1D743: [685,203,476,28,487], // MATHEMATICAL BOLD ITALIC SMALL XI - 0x1D744: [462,10,561,44,539], // MATHEMATICAL BOLD ITALIC SMALL OMICRON - 0x1D745: [449,13,579,39,590], // MATHEMATICAL BOLD ITALIC SMALL PI - 0x1D746: [462,205,595,33,562], // MATHEMATICAL BOLD ITALIC SMALL RHO - 0x1D747: [462,203,480,39,508], // MATHEMATICAL BOLD ITALIC SMALL FINAL SIGMA - 0x1D748: [449,10,592,44,603], // MATHEMATICAL BOLD ITALIC SMALL SIGMA - 0x1D749: [449,7,469,33,502], // MATHEMATICAL BOLD ITALIC SMALL TAU - 0x1D74A: [462,10,552,33,535], // MATHEMATICAL BOLD ITALIC SMALL UPSILON - 0x1D74B: [462,205,706,55,667], // MATHEMATICAL BOLD ITALIC SMALL PHI - 0x1D74C: [462,204,621,33,676], // MATHEMATICAL BOLD ITALIC SMALL CHI - 0x1D74D: [462,205,701,33,756], // MATHEMATICAL BOLD ITALIC SMALL PSI - 0x1D74E: [462,10,687,22,665], // MATHEMATICAL BOLD ITALIC SMALL OMEGA - 0x1D74F: [686,10,559,44,559], // MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL - 0x1D750: [461,10,481,44,481], // MATHEMATICAL BOLD ITALIC EPSILON SYMBOL - 0x1D751: [698,13,607,33,584], // MATHEMATICAL BOLD ITALIC THETA SYMBOL - 0x1D752: [462,15,607,-12,630], // MATHEMATICAL BOLD ITALIC KAPPA SYMBOL - 0x1D753: [685,205,683,44,655], // MATHEMATICAL BOLD ITALIC PHI SYMBOL - 0x1D754: [462,205,585,44,563], // MATHEMATICAL BOLD ITALIC RHO SYMBOL - 0x1D755: [449,10,868,33,879] // MATHEMATICAL BOLD ITALIC PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/GreekBoldItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js deleted file mode 100644 index dd92db16..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x1D790: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ALPHA - 0x1D791: [676,0,706,60,671], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL BETA - 0x1D792: [676,0,602,60,705], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL GAMMA - 0x1D793: [690,0,720,40,680], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL DELTA - 0x1D794: [676,0,683,60,708], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL EPSILON - 0x1D795: [676,0,707,25,769], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ZETA - 0x1D796: [676,0,748,60,783], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ETA - 0x1D797: [691,19,847,90,822], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA - 0x1D798: [676,0,435,50,505], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL IOTA - 0x1D799: [676,0,712,60,796], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL KAPPA - 0x1D79A: [690,0,686,20,646], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL LAMDA - 0x1D79B: [676,0,933,60,981], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL MU - 0x1D79C: [676,18,744,60,792], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL NU - 0x1D79D: [676,0,690,47,737], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL XI - 0x1D79E: [692,18,849,90,824], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMICRON - 0x1D79F: [676,0,745,60,783], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PI - 0x1D7A0: [676,0,581,60,675], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL RHO - 0x1D7A1: [691,19,847,90,822], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA SYMBOL - 0x1D7A2: [676,0,696,21,748], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL SIGMA - 0x1D7A3: [676,0,641,87,715], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL TAU - 0x1D7A4: [691,0,671,91,799], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL UPSILON - 0x1D7A5: [676,0,835,72,835], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PHI - 0x1D7A6: [676,0,740,20,833], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL CHI - 0x1D7A7: [691,0,791,125,901], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PSI - 0x1D7A8: [691,0,816,47,816], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMEGA - 0x1D7A9: [664,30,780,120,760], // MATHEMATICAL SANS-SERIF BOLD ITALIC NABLA - 0x1D7AA: [473,14,678,47,703], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ALPHA - 0x1D7AB: [692,205,552,-12,581], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL BETA - 0x1D7AC: [473,204,525,84,571], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL GAMMA - 0x1D7AD: [692,14,507,30,547], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL DELTA - 0x1D7AE: [473,14,504,45,508], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL EPSILON - 0x1D7AF: [692,205,480,49,539], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ZETA - 0x1D7B0: [473,205,532,38,525], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ETA - 0x1D7B1: [692,14,560,65,553], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL THETA - 0x1D7B2: [462,14,325,56,302], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL IOTA - 0x1D7B3: [473,0,537,38,582], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL KAPPA - 0x1D7B4: [692,14,574,18,540], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL LAMDA - 0x1D7B5: [462,205,594,-12,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL MU - 0x1D7B6: [473,14,525,41,565], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL NU - 0x1D7B7: [692,205,481,43,525], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL XI - 0x1D7B8: [473,14,543,45,515], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMICRON - 0x1D7B9: [462,14,632,45,656], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PI - 0x1D7BA: [473,205,560,-33,536], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL RHO - 0x1D7BB: [473,205,517,52,554], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL FINAL SIGMA - 0x1D7BC: [462,14,614,45,639], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL SIGMA - 0x1D7BD: [462,14,523,42,547], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL TAU - 0x1D7BE: [473,14,550,61,526], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL UPSILON - 0x1D7BF: [473,205,683,55,659], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PHI - 0x1D7C0: [473,205,575,-80,626], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL CHI - 0x1D7C1: [473,205,703,75,751], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PSI - 0x1D7C2: [461,14,756,64,732], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMEGA - 0x1D7C3: [691,14,548,45,539], // MATHEMATICAL SANS-SERIF BOLD ITALIC PARTIAL DIFFERENTIAL - 0x1D7C4: [473,14,468,45,470], // MATHEMATICAL SANS-SERIF BOLD ITALIC EPSILON SYMBOL - 0x1D7C5: [692,14,579,54,579], // MATHEMATICAL SANS-SERIF BOLD ITALIC THETA SYMBOL - 0x1D7C6: [473,10,646,-10,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC KAPPA SYMBOL - 0x1D7C7: [692,205,678,48,654], // MATHEMATICAL SANS-SERIF BOLD ITALIC PHI SYMBOL - 0x1D7C8: [473,205,544,38,520], // MATHEMATICAL SANS-SERIF BOLD ITALIC RHO SYMBOL - 0x1D7C9: [462,14,889,40,912] // MATHEMATICAL SANS-SERIF BOLD ITALIC PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/GreekSSBoldItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js deleted file mode 100644 index f6a37e34..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +++ /dev/null @@ -1,116 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x250: [473,14,512,13,492], // ?? - 0x251: [473,14,612,25,592], // ?? - 0x252: [473,14,612,25,592], // ?? - 0x253: [691,13,500,-14,449], // ?? - 0x254: [462,13,444,-5,392], // ?? - 0x255: [462,157,444,-5,406], // ?? - 0x256: [699,233,500,-21,517], // ?? - 0x257: [683,13,570,-21,653], // ?? - 0x258: [462,13,444,5,421], // ?? - 0x259: [462,13,444,5,398], // ?? - 0x25A: [462,13,626,5,626], // ?? - 0x25B: [475,14,444,5,482], // ?? - 0x25C: [475,14,480,5,469], // ?? - 0x25D: [475,14,689,5,689], // ?? - 0x25E: [475,14,486,7,475], // ?? - 0x25F: [462,207,367,-100,364], // ?? - 0x260: [683,245,720,-52,751], // ?? - 0x261: [472,245,549,-52,520], // ?? - 0x262: [462,11,561,21,544], // ?? - 0x263: [462,234,444,20,400], // ?? - 0x264: [450,10,493,10,488], // ?? - 0x265: [459,249,556,-13,498], // ?? - 0x266: [683,9,556,-13,498], // ?? - 0x267: [683,205,533,-13,475], // ?? - 0x268: [684,9,278,-10,262], // ?? - 0x269: [456,8,253,2,237], // ?? - 0x26A: [462,0,304,-32,321], // ?? - 0x26B: [699,9,320,9,368], // ?? - 0x26C: [699,9,445,17,417], // ?? - 0x26D: [699,233,291,-47,290], // ?? - 0x26E: [699,236,623,2,585], // ?? - 0x26F: [462,9,778,-14,723], // ?? - 0x270: [462,233,778,-14,723], // ?? - 0x271: [462,233,759,-14,704], // ?? - 0x272: [462,233,694,-109,632], // ?? - 0x273: [462,233,505,-6,486], // ?? - 0x274: [462,12,588,-27,614], // ?? - 0x275: [462,13,500,-3,441], // ?? - 0x276: [462,5,749,23,751], // ?? - 0x277: [477,2,685,-3,626], // ?? - 0x278: [685,231,691,-3,632], // ?? - 0x279: [462,0,427,0,410], // ?? - 0x27A: [699,0,493,0,476], // ?? - 0x27B: [462,233,436,0,417], // ?? - 0x27C: [462,233,389,-87,389], // ?? - 0x27D: [462,233,389,-47,389], // ?? - 0x27E: [484,0,360,-21,417], // ?? - 0x27F: [484,0,338,10,292], // ?? - 0x280: [464,0,498,8,515], // ?? - 0x281: [464,0,498,8,597], // ?? - 0x282: [462,218,389,-32,333], // ?? - 0x283: [683,233,424,-104,584], // ?? - 0x284: [683,207,394,-90,576], // ?? - 0x285: [470,233,415,79,344], // ?? - 0x286: [683,243,521,-40,641], // ?? - 0x287: [513,90,310,7,299], // ?? - 0x288: [594,233,311,-60,281], // ?? - 0x289: [462,9,556,-16,514], // ?? - 0x28A: [452,8,500,15,552], // ?? - 0x28B: [462,10,534,18,492], // ?? - 0x28C: [462,13,444,15,401], // ?? - 0x28D: [462,13,667,15,614], // ?? - 0x28E: [667,0,444,16,502], // ?? - 0x28F: [464,0,633,65,606], // ?? - 0x290: [449,218,440,-24,405], // ?? - 0x291: [449,97,411,-24,376], // ?? - 0x292: [450,236,499,-10,558], // ?? - 0x293: [450,307,499,-10,528], // ?? - 0x294: [685,0,530,25,520], // ?? - 0x295: [685,0,530,65,509], // ?? - 0x296: [669,14,487,25,453], // ?? - 0x297: [462,237,479,20,544], // ?? - 0x298: [680,17,723,13,734], // ?? - 0x299: [464,0,493,-10,486], // ?? - 0x29A: [475,14,465,16,504], // ?? - 0x29B: [538,11,580,29,690], // ?? - 0x29C: [464,0,582,21,676], // ?? - 0x29D: [685,233,475,-50,463], // ?? - 0x29E: [457,250,500,22,528], // ?? - 0x29F: [464,0,485,10,468], // ?? - 0x2A0: [582,205,488,1,674], // ?? - 0x2A1: [685,0,530,25,520], // ?? - 0x2A2: [685,0,530,65,507], // ?? - 0x2A3: [699,13,750,-21,735], // ?? - 0x2A4: [699,236,820,-21,813], // ?? - 0x2A5: [699,97,817,-21,743], // ?? - 0x2A6: [594,13,560,-3,524], // ?? - 0x2A7: [683,233,453,-30,670], // ?? - 0x2A8: [594,18,600,-3,618] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/IPAExtensions.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js deleted file mode 100644 index db95141c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +++ /dev/null @@ -1,123 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xA1: [494,205,389,19,320], // INVERTED EXCLAMATION MARK - 0xA2: [576,143,500,42,439], // CENT SIGN - 0xA3: [683,12,500,-32,510], // POUND SIGN - 0xA4: [542,10,500,-26,526], // CURRENCY SIGN - 0xA5: [669,0,500,33,628], // YEN SIGN - 0xA6: [685,18,220,66,154], // BROKEN BAR - 0xA7: [685,143,500,36,459], // SECTION SIGN - 0xA8: [655,-525,333,55,397], // DIAERESIS - 0xA9: [685,18,747,30,718], // COPYRIGHT SIGN - 0xAA: [685,-399,266,16,330], // FEMININE ORDINAL INDICATOR - 0xAB: [415,-32,500,12,468], // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK - 0xAC: [399,-108,606,51,555], // NOT SIGN - 0xAD: [282,-166,333,2,271], // SOFT HYPHEN - 0xAE: [685,18,747,30,718], // REGISTERED SIGN - 0xAF: [623,-553,333,51,393], // MACRON - 0xB0: [688,-402,400,83,369], // DEGREE SIGN - 0xB1: [568,0,570,33,537], // PLUS-MINUS SIGN - 0xB2: [683,-274,300,2,313], // SUPERSCRIPT TWO - 0xB3: [683,-265,300,17,321], // SUPERSCRIPT THREE - 0xB4: [697,-516,333,139,379], // ACUTE ACCENT - 0xB5: [449,207,576,-60,516], // MICRO SIGN - 0xB6: [669,193,617,60,679], // PILCROW SIGN - 0xB7: [405,-257,250,51,199], // MIDDLE DOT - 0xB8: [5,218,333,-80,156], // CEDILLA - 0xB9: [683,-274,300,30,301], // SUPERSCRIPT ONE - 0xBA: [685,-400,300,56,347], // MASCULINE ORDINAL INDICATOR - 0xBB: [415,-32,500,12,468], // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK - 0xBC: [683,14,750,7,721], // VULGAR FRACTION ONE QUARTER - 0xBD: [683,14,750,-9,723], // VULGAR FRACTION ONE HALF - 0xBE: [683,14,750,7,726], // VULGAR FRACTION THREE QUARTERS - 0xBF: [492,205,500,30,421], // INVERTED QUESTION MARK - 0xC0: [947,0,667,-68,593], // LATIN CAPITAL LETTER A WITH GRAVE - 0xC1: [947,0,667,-68,593], // LATIN CAPITAL LETTER A WITH ACUTE - 0xC2: [940,0,667,-68,593], // LATIN CAPITAL LETTER A WITH CIRCUMFLEX - 0xC3: [905,0,667,-68,612], // LATIN CAPITAL LETTER A WITH TILDE - 0xC4: [905,0,667,-68,599], // LATIN CAPITAL LETTER A WITH DIAERESIS - 0xC5: [1004,0,667,-68,593], // LATIN CAPITAL LETTER A WITH RING ABOVE - 0xC6: [669,0,944,-64,918], // LATIN CAPITAL LETTER AE - 0xC7: [685,218,667,32,677], // LATIN CAPITAL LETTER C WITH CEDILLA - 0xC8: [947,0,667,-27,653], // LATIN CAPITAL LETTER E WITH GRAVE - 0xC9: [947,0,667,-27,653], // LATIN CAPITAL LETTER E WITH ACUTE - 0xCA: [940,0,667,-27,653], // LATIN CAPITAL LETTER E WITH CIRCUMFLEX - 0xCB: [905,0,667,-27,653], // LATIN CAPITAL LETTER E WITH DIAERESIS - 0xCC: [947,0,389,-32,406], // LATIN CAPITAL LETTER I WITH GRAVE - 0xCD: [947,0,389,-32,440], // LATIN CAPITAL LETTER I WITH ACUTE - 0xCE: [940,0,389,-32,469], // LATIN CAPITAL LETTER I WITH CIRCUMFLEX - 0xCF: [905,0,389,-32,480], // LATIN CAPITAL LETTER I WITH DIAERESIS - 0xD0: [669,0,722,-31,700], // LATIN CAPITAL LETTER ETH - 0xD1: [905,15,722,-27,748], // LATIN CAPITAL LETTER N WITH TILDE - 0xD2: [947,18,722,27,691], // LATIN CAPITAL LETTER O WITH GRAVE - 0xD3: [947,18,722,27,691], // LATIN CAPITAL LETTER O WITH ACUTE - 0xD4: [940,18,722,27,691], // LATIN CAPITAL LETTER O WITH CIRCUMFLEX - 0xD5: [905,18,722,27,691], // LATIN CAPITAL LETTER O WITH TILDE - 0xD6: [905,18,722,27,691], // LATIN CAPITAL LETTER O WITH DIAERESIS - 0xD7: [490,-16,570,48,522], // MULTIPLICATION SIGN - 0xD8: [764,125,722,27,691], // LATIN CAPITAL LETTER O WITH STROKE - 0xD9: [947,18,722,67,744], // LATIN CAPITAL LETTER U WITH GRAVE - 0xDA: [947,18,722,67,744], // LATIN CAPITAL LETTER U WITH ACUTE - 0xDB: [940,18,722,67,744], // LATIN CAPITAL LETTER U WITH CIRCUMFLEX - 0xDC: [905,18,722,67,744], // LATIN CAPITAL LETTER U WITH DIAERESIS - 0xDD: [947,0,611,71,659], // LATIN CAPITAL LETTER Y WITH ACUTE - 0xDE: [669,0,611,-27,573], // LATIN CAPITAL LETTER THORN - 0xDF: [705,200,500,-200,473], // LATIN SMALL LETTER SHARP S - 0xE0: [697,14,500,-21,456], // LATIN SMALL LETTER A WITH GRAVE - 0xE1: [697,14,500,-21,456], // LATIN SMALL LETTER A WITH ACUTE - 0xE2: [690,14,500,-21,475], // LATIN SMALL LETTER A WITH CIRCUMFLEX - 0xE3: [655,14,500,-21,497], // LATIN SMALL LETTER A WITH TILDE - 0xE4: [655,14,500,-21,485], // LATIN SMALL LETTER A WITH DIAERESIS - 0xE5: [756,14,500,-21,456], // LATIN SMALL LETTER A WITH RING ABOVE - 0xE6: [462,13,722,-5,673], // LATIN SMALL LETTER AE - 0xE7: [462,218,444,-24,392], // LATIN SMALL LETTER C WITH CEDILLA - 0xE8: [697,13,444,5,398], // LATIN SMALL LETTER E WITH GRAVE - 0xE9: [697,13,444,5,419], // LATIN SMALL LETTER E WITH ACUTE - 0xEA: [690,13,444,5,462], // LATIN SMALL LETTER E WITH CIRCUMFLEX - 0xEB: [655,13,444,5,470], // LATIN SMALL LETTER E WITH DIAERESIS - 0xEC: [697,9,278,2,294], // LATIN SMALL LETTER I WITH GRAVE - 0xED: [697,9,278,2,310], // LATIN SMALL LETTER I WITH ACUTE - 0xEE: [690,9,278,2,353], // LATIN SMALL LETTER I WITH CIRCUMFLEX - 0xEF: [655,9,278,2,362], // LATIN SMALL LETTER I WITH DIAERESIS - 0xF0: [699,13,500,-3,454], // LATIN SMALL LETTER ETH - 0xF1: [655,9,556,-6,507], // LATIN SMALL LETTER N WITH TILDE - 0xF2: [697,13,500,-3,441], // LATIN SMALL LETTER O WITH GRAVE - 0xF3: [697,13,500,-3,441], // LATIN SMALL LETTER O WITH ACUTE - 0xF4: [690,13,500,-3,462], // LATIN SMALL LETTER O WITH CIRCUMFLEX - 0xF5: [655,13,500,-3,485], // LATIN SMALL LETTER O WITH TILDE - 0xF6: [655,13,500,-3,470], // LATIN SMALL LETTER O WITH DIAERESIS - 0xF7: [535,29,570,33,537], // DIVISION SIGN - 0xF8: [560,119,500,-3,441], // LATIN SMALL LETTER O WITH STROKE - 0xF9: [697,9,556,15,493], // LATIN SMALL LETTER U WITH GRAVE - 0xFA: [697,9,556,15,493], // LATIN SMALL LETTER U WITH ACUTE - 0xFB: [690,9,556,15,493], // LATIN SMALL LETTER U WITH CIRCUMFLEX - 0xFC: [655,9,556,15,493], // LATIN SMALL LETTER U WITH DIAERESIS - 0xFD: [697,205,444,-94,401], // LATIN SMALL LETTER Y WITH ACUTE - 0xFE: [699,205,500,-120,446], // LATIN SMALL LETTER THORN - 0xFF: [655,205,444,-94,460] // LATIN SMALL LETTER Y WITH DIAERESIS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/Latin1Supplement.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js deleted file mode 100644 index 0131f70a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +++ /dev/null @@ -1,155 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x100: [793,0,667,-68,593], // LATIN CAPITAL LETTER A WITH MACRON - 0x101: [586,14,500,-21,486], // LATIN SMALL LETTER A WITH MACRON - 0x102: [885,0,667,-68,593], // LATIN CAPITAL LETTER A WITH BREVE - 0x103: [678,14,500,-21,483], // LATIN SMALL LETTER A WITH BREVE - 0x104: [683,173,667,-68,640], // LATIN CAPITAL LETTER A WITH OGONEK - 0x105: [462,173,500,-21,507], // LATIN SMALL LETTER A WITH OGONEK - 0x106: [904,18,667,32,677], // LATIN CAPITAL LETTER C WITH ACUTE - 0x107: [697,13,444,-5,392], // LATIN SMALL LETTER C WITH ACUTE - 0x108: [897,18,667,32,677], // LATIN CAPITAL LETTER C WITH CIRCUMFLEX - 0x109: [690,13,444,-5,415], // LATIN SMALL LETTER C WITH CIRCUMFLEX - 0x10A: [862,18,667,32,677], // LATIN CAPITAL LETTER C WITH DOT ABOVE - 0x10B: [655,13,444,-5,392], // LATIN SMALL LETTER C WITH DOT ABOVE - 0x10C: [897,18,667,32,677], // LATIN CAPITAL LETTER C WITH CARON - 0x10D: [690,13,444,-5,437], // LATIN SMALL LETTER C WITH CARON - 0x10E: [897,0,722,-46,685], // LATIN CAPITAL LETTER D WITH CARON - 0x10F: [710,13,658,-21,726], // LATIN SMALL LETTER D WITH CARON - 0x110: [669,0,722,-31,700], // LATIN CAPITAL LETTER D WITH STROKE - 0x111: [699,13,500,-21,541], // LATIN SMALL LETTER D WITH STROKE - 0x112: [793,0,667,-27,653], // LATIN CAPITAL LETTER E WITH MACRON - 0x113: [586,13,444,5,431], // LATIN SMALL LETTER E WITH MACRON - 0x114: [885,0,667,-27,653], // LATIN CAPITAL LETTER E WITH BREVE - 0x115: [678,13,444,5,478], // LATIN SMALL LETTER E WITH BREVE - 0x116: [862,0,667,-27,653], // LATIN CAPITAL LETTER E WITH DOT ABOVE - 0x117: [655,13,444,5,398], // LATIN SMALL LETTER E WITH DOT ABOVE - 0x118: [669,182,667,-27,653], // LATIN CAPITAL LETTER E WITH OGONEK - 0x119: [462,182,444,5,398], // LATIN SMALL LETTER E WITH OGONEK - 0x11A: [897,0,667,-27,653], // LATIN CAPITAL LETTER E WITH CARON - 0x11B: [690,13,444,5,486], // LATIN SMALL LETTER E WITH CARON - 0x11C: [897,18,722,21,705], // LATIN CAPITAL LETTER G WITH CIRCUMFLEX - 0x11D: [690,203,500,-52,477], // LATIN SMALL LETTER G WITH CIRCUMFLEX - 0x11E: [885,18,722,21,705], // LATIN CAPITAL LETTER G WITH BREVE - 0x11F: [678,203,500,-52,477], // LATIN SMALL LETTER G WITH BREVE - 0x120: [862,18,722,21,705], // LATIN CAPITAL LETTER G WITH DOT ABOVE - 0x121: [655,203,500,-52,477], // LATIN SMALL LETTER G WITH DOT ABOVE - 0x122: [685,359,722,21,705], // LATIN CAPITAL LETTER G WITH CEDILLA - 0x123: [832,203,500,-52,477], // LATIN SMALL LETTER G WITH CEDILLA - 0x124: [897,0,778,-24,799], // LATIN CAPITAL LETTER H WITH CIRCUMFLEX - 0x125: [897,9,556,-13,498], // LATIN SMALL LETTER H WITH CIRCUMFLEX - 0x126: [669,0,778,-24,800], // LATIN CAPITAL LETTER H WITH STROKE - 0x127: [699,9,556,-13,498], // LATIN SMALL LETTER H WITH STROKE - 0x128: [862,0,389,-32,470], // LATIN CAPITAL LETTER I WITH TILDE - 0x129: [655,9,278,-9,350], // LATIN SMALL LETTER I WITH TILDE - 0x12A: [793,0,389,-32,451], // LATIN CAPITAL LETTER I WITH MACRON - 0x12B: [586,9,278,-11,331], // LATIN SMALL LETTER I WITH MACRON - 0x12C: [885,0,389,-32,458], // LATIN CAPITAL LETTER I WITH BREVE - 0x12D: [678,9,278,2,328], // LATIN SMALL LETTER I WITH BREVE - 0x12E: [669,173,389,-32,406], // LATIN CAPITAL LETTER I WITH OGONEK - 0x12F: [684,173,278,2,262], // LATIN SMALL LETTER I WITH OGONEK - 0x130: [862,0,389,-32,406], // LATIN CAPITAL LETTER I WITH DOT ABOVE - 0x131: [462,9,278,2,238], // LATIN SMALL LETTER DOTLESS I - 0x132: [669,99,823,-32,913], // LATIN CAPITAL LIGATURE IJ - 0x133: [685,207,552,2,544], // LATIN SMALL LIGATURE IJ - 0x134: [897,99,500,-46,554], // LATIN CAPITAL LETTER J WITH CIRCUMFLEX - 0x135: [690,207,278,-189,314], // LATIN SMALL LETTER J WITH CIRCUMFLEX - 0x136: [669,359,667,-21,702], // LATIN CAPITAL LETTER K WITH CEDILLA - 0x137: [699,359,500,-23,483], // LATIN SMALL LETTER K WITH CEDILLA - 0x138: [470,0,600,6,689], // LATIN SMALL LETTER KRA - 0x139: [904,0,611,-22,590], // LATIN CAPITAL LETTER L WITH ACUTE - 0x13A: [904,9,278,2,344], // LATIN SMALL LETTER L WITH ACUTE - 0x13B: [669,359,611,-22,590], // LATIN CAPITAL LETTER L WITH CEDILLA - 0x13C: [699,359,278,-62,290], // LATIN SMALL LETTER L WITH CEDILLA - 0x13D: [685,0,611,-22,667], // LATIN CAPITAL LETTER L WITH CARON - 0x13E: [710,9,451,2,499], // LATIN SMALL LETTER L WITH CARON - 0x13F: [669,0,611,-22,590], // LATIN CAPITAL LETTER L WITH MIDDLE DOT - 0x140: [699,9,375,2,382], // LATIN SMALL LETTER L WITH MIDDLE DOT - 0x141: [669,0,611,-22,590], // LATIN CAPITAL LETTER L WITH STROKE - 0x142: [699,9,278,-13,301], // LATIN SMALL LETTER L WITH STROKE - 0x143: [904,15,722,-27,748], // LATIN CAPITAL LETTER N WITH ACUTE - 0x144: [697,9,556,-6,494], // LATIN SMALL LETTER N WITH ACUTE - 0x145: [669,359,722,-27,748], // LATIN CAPITAL LETTER N WITH CEDILLA - 0x146: [462,359,556,-6,494], // LATIN SMALL LETTER N WITH CEDILLA - 0x147: [897,15,722,-27,748], // LATIN CAPITAL LETTER N WITH CARON - 0x148: [690,9,556,-6,506], // LATIN SMALL LETTER N WITH CARON - 0x149: [710,9,700,42,657], // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE - 0x14A: [669,203,722,-46,685], // LATIN CAPITAL LETTER ENG - 0x14B: [462,207,543,-6,474], // LATIN SMALL LETTER ENG - 0x14C: [793,18,722,27,691], // LATIN CAPITAL LETTER O WITH MACRON - 0x14D: [586,13,500,-3,461], // LATIN SMALL LETTER O WITH MACRON - 0x14E: [885,18,722,27,691], // LATIN CAPITAL LETTER O WITH BREVE - 0x14F: [678,13,500,-3,488], // LATIN SMALL LETTER O WITH BREVE - 0x150: [904,18,722,27,700], // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE - 0x151: [697,13,500,-3,519], // LATIN SMALL LETTER O WITH DOUBLE ACUTE - 0x152: [677,8,944,23,946], // LATIN CAPITAL LIGATURE OE - 0x153: [462,13,722,6,674], // LATIN SMALL LIGATURE OE - 0x154: [904,0,667,-28,623], // LATIN CAPITAL LETTER R WITH ACUTE - 0x155: [697,0,389,-21,389], // LATIN SMALL LETTER R WITH ACUTE - 0x156: [669,359,667,-28,623], // LATIN CAPITAL LETTER R WITH CEDILLA - 0x157: [462,359,389,-102,389], // LATIN SMALL LETTER R WITH CEDILLA - 0x158: [897,0,667,-28,623], // LATIN CAPITAL LETTER R WITH CARON - 0x159: [690,0,389,-21,411], // LATIN SMALL LETTER R WITH CARON - 0x15A: [904,18,556,2,526], // LATIN CAPITAL LETTER S WITH ACUTE - 0x15B: [697,13,389,-19,379], // LATIN SMALL LETTER S WITH ACUTE - 0x15C: [897,18,556,2,526], // LATIN CAPITAL LETTER S WITH CIRCUMFLEX - 0x15D: [690,13,389,-19,367], // LATIN SMALL LETTER S WITH CIRCUMFLEX - 0x15E: [685,218,556,2,526], // LATIN CAPITAL LETTER S WITH CEDILLA - 0x15F: [462,218,389,-19,333], // LATIN SMALL LETTER S WITH CEDILLA - 0x160: [897,18,556,2,526], // LATIN CAPITAL LETTER S WITH CARON - 0x161: [690,13,389,-19,411], // LATIN SMALL LETTER S WITH CARON - 0x162: [669,218,611,49,650], // LATIN CAPITAL LETTER T WITH CEDILLA - 0x163: [594,218,278,-75,289], // LATIN SMALL LETTER T WITH CEDILLA - 0x164: [897,0,611,49,650], // LATIN CAPITAL LETTER T WITH CARON - 0x165: [710,9,411,-11,499], // LATIN SMALL LETTER T WITH CARON - 0x166: [669,0,611,49,650], // LATIN CAPITAL LETTER T WITH STROKE - 0x167: [594,9,278,-30,281], // LATIN SMALL LETTER T WITH STROKE - 0x168: [841,18,722,67,744], // LATIN CAPITAL LETTER U WITH TILDE - 0x169: [655,9,556,15,493], // LATIN SMALL LETTER U WITH TILDE - 0x16A: [793,18,722,67,744], // LATIN CAPITAL LETTER U WITH MACRON - 0x16B: [586,9,556,15,493], // LATIN SMALL LETTER U WITH MACRON - 0x16C: [885,18,722,67,744], // LATIN CAPITAL LETTER U WITH BREVE - 0x16D: [678,9,556,15,493], // LATIN SMALL LETTER U WITH BREVE - 0x16E: [921,18,722,67,744], // LATIN CAPITAL LETTER U WITH RING ABOVE - 0x16F: [729,9,556,15,493], // LATIN SMALL LETTER U WITH RING ABOVE - 0x170: [889,18,722,67,744], // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE - 0x171: [697,9,556,15,527], // LATIN SMALL LETTER U WITH DOUBLE ACUTE - 0x172: [669,173,722,67,744], // LATIN CAPITAL LETTER U WITH OGONEK - 0x173: [462,173,556,15,531], // LATIN SMALL LETTER U WITH OGONEK - 0x174: [897,18,889,64,940], // LATIN CAPITAL LETTER W WITH CIRCUMFLEX - 0x175: [690,13,667,15,614], // LATIN SMALL LETTER W WITH CIRCUMFLEX - 0x176: [897,0,611,71,659], // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX - 0x177: [690,205,444,-94,393], // LATIN SMALL LETTER Y WITH CIRCUMFLEX - 0x178: [862,0,611,71,659], // LATIN CAPITAL LETTER Y WITH DIAERESIS - 0x179: [904,0,611,-12,589], // LATIN CAPITAL LETTER Z WITH ACUTE - 0x17A: [697,78,389,-43,379], // LATIN SMALL LETTER Z WITH ACUTE - 0x17B: [862,0,611,-12,589], // LATIN CAPITAL LETTER Z WITH DOT ABOVE - 0x17C: [655,78,389,-43,368], // LATIN SMALL LETTER Z WITH DOT ABOVE - 0x17D: [897,0,611,-12,589], // LATIN CAPITAL LETTER Z WITH CARON - 0x17E: [690,78,389,-43,411], // LATIN SMALL LETTER Z WITH CARON - 0x17F: [691,0,333,14,536] // LATIN SMALL LETTER LONG S - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/LatinExtendedA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js deleted file mode 100644 index 46f43533..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x1E80: [904,18,889,64,940], // LATIN CAPITAL LETTER W WITH GRAVE - 0x1E81: [697,13,667,15,614], // LATIN SMALL LETTER W WITH GRAVE - 0x1E82: [904,18,889,64,940], // LATIN CAPITAL LETTER W WITH ACUTE - 0x1E83: [697,13,667,15,614], // LATIN SMALL LETTER W WITH ACUTE - 0x1E84: [862,18,889,64,940], // LATIN CAPITAL LETTER W WITH DIAERESIS - 0x1E85: [655,13,667,15,614], // LATIN SMALL LETTER W WITH DIAERESIS - 0x1EF2: [904,0,611,71,659], // LATIN CAPITAL LETTER Y WITH GRAVE - 0x1EF3: [697,205,444,-94,392] // LATIN SMALL LETTER Y WITH GRAVE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/LatinExtendedAdditional.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js deleted file mode 100644 index a0ff8fdc..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +++ /dev/null @@ -1,59 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x180: [699,13,500,-14,444], // LATIN SMALL LETTER B WITH STROKE - 0x188: [576,13,560,-5,627], // LATIN SMALL LETTER C WITH HOOK - 0x190: [686,4,512,54,676], // LATIN CAPITAL LETTER OPEN E - 0x192: [707,156,500,-87,537], // LATIN SMALL LETTER F WITH HOOK - 0x195: [699,10,735,-13,692], // LATIN SMALL LETTER HV - 0x199: [691,8,500,-23,483], // LATIN SMALL LETTER K WITH HOOK - 0x19A: [699,9,278,2,290], // LATIN SMALL LETTER L WITH BAR - 0x19B: [666,0,480,16,452], // LATIN SMALL LETTER LAMBDA WITH STROKE - 0x19E: [462,205,536,-6,474], // LATIN SMALL LETTER N WITH LONG RIGHT LEG - 0x1A0: [716,18,722,27,806], // LATIN CAPITAL LETTER O WITH HORN - 0x1A1: [507,13,537,24,595], // LATIN SMALL LETTER O WITH HORN - 0x1A5: [673,205,520,-100,466], // LATIN SMALL LETTER P WITH HOOK - 0x1AA: [684,233,400,46,380], // LATIN LETTER REVERSED ESH LOOP - 0x1AB: [594,218,286,-49,289], // LATIN SMALL LETTER T WITH PALATAL HOOK - 0x1AD: [691,9,360,-3,450], // LATIN SMALL LETTER T WITH HOOK - 0x1AF: [803,18,775,67,893], // LATIN CAPITAL LETTER U WITH HORN - 0x1B0: [583,9,556,15,656], // LATIN SMALL LETTER U WITH HORN - 0x1BA: [450,237,496,-52,458], // LATIN SMALL LETTER EZH WITH TAIL - 0x1BB: [683,0,500,-27,469], // LATIN LETTER TWO WITH STROKE - 0x1BE: [541,10,500,37,463], // LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE - 0x1C0: [740,0,208,14,278], // LATIN LETTER DENTAL CLICK - 0x1C1: [740,0,345,14,415], // LATIN LETTER LATERAL CLICK - 0x1C2: [740,0,368,14,438], // LATIN LETTER ALVEOLAR CLICK - 0x1C3: [684,13,300,45,355], // LATIN LETTER RETROFLEX CLICK - 0x1F0: [690,207,350,-104,474], // LATIN SMALL LETTER J WITH CARON - 0x1FA: [972,0,667,-68,593], // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE - 0x1FB: [909,14,500,-21,456], // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE - 0x1FC: [904,0,944,-64,918], // LATIN CAPITAL LETTER AE WITH ACUTE - 0x1FD: [697,13,722,-5,673], // LATIN SMALL LETTER AE WITH ACUTE - 0x1FE: [904,125,722,27,691], // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE - 0x1FF: [697,119,500,-3,441], // LATIN SMALL LETTER O WITH STROKE AND ACUTE - 0x237: [462,207,278,-189,239] // LATIN SMALL LETTER DOTLESS J - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/LatinExtendedB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js deleted file mode 100644 index a5842e12..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +++ /dev/null @@ -1,56 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x2102: [685,14,713,35,704], // stix-mathematical bold oblique double-struck capital C - 0x2105: [683,14,847,52,795], // CARE OF - 0x210A: [462,224,819,27,771], // SCRIPT SMALL G - 0x210B: [699,21,1171,65,1154], // SCRIPT CAPITAL H - 0x210D: [669,0,773,21,808], // stix-mathematical bold oblique double-struck capital H - 0x2110: [699,21,997,47,977], // SCRIPT CAPITAL I - 0x2112: [699,21,1036,40,1015], // SCRIPT CAPITAL L - 0x2113: [699,14,500,43,632], // SCRIPT SMALL L - 0x2115: [669,0,760,27,783], // stix-mathematical bold oblique double-struck capital N - 0x2116: [675,15,1055,24,1031], // NUMERO SIGN - 0x2119: [669,0,497,18,715], // stix-mathematical bold oblique double-struck capital P - 0x211A: [685,74,754,35,734], // stix-mathematical bold oblique double-struck capital Q - 0x211B: [699,21,1048,55,973], // SCRIPT CAPITAL R - 0x211D: [669,0,727,18,718], // stix-mathematical bold oblique double-struck capital R - 0x2122: [676,-271,1000,24,977], // TRADE MARK SIGN - 0x2124: [669,0,807,23,837], // stix-mathematical bold oblique double-struck capital Z - 0x212C: [699,21,1060,55,985], // SCRIPT CAPITAL B - 0x212F: [462,14,726,35,648], // SCRIPT SMALL E - 0x2130: [699,21,826,95,791], // SCRIPT CAPITAL E - 0x2131: [699,21,1042,65,1025], // SCRIPT CAPITAL F - 0x2133: [699,21,1300,60,1245], // SCRIPT CAPITAL M - 0x2134: [462,14,848,35,780], // SCRIPT SMALL O - 0x213C: [449,13,730,32,715], // DOUBLE-STRUCK SMALL PI - 0x213F: [669,0,796,35,821], // DOUBLE-STRUCK CAPITAL PI - 0x2145: [669,0,748,18,733], // stix-mathematical bold double-struck capital D - 0x2146: [699,13,633,45,698], // stix-mathematical bold double-struck small letter d - 0x2147: [462,13,575,45,540], // stix-mathematical bold double-struck small letter e - 0x2148: [669,0,379,40,413], // stix-mathematical bold double-struck small letter i - 0x2149: [669,205,421,-93,455] // stix-mathematical bold double-struck small letter j - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/LetterlikeSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js deleted file mode 100644 index 0a7a82ba..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +++ /dev/null @@ -1,56 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'] = { - directory: 'General/BoldItalic', - family: 'STIXGeneral', - weight: 'bold', - style: 'italic', - Ranges: [ - [0x0,0x7F,"BasicLatin"], - [0xA0,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x180,0x24F,"LatinExtendedB"], - [0x250,0x2AF,"IPAExtensions"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x370,0x3FF,"GreekAndCoptic"], - [0x400,0x4FF,"Cyrillic"], - [0x1E00,0x1EFF,"LatinExtendedAdditional"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x20A0,0x20CF,"CurrencySymbols"], - [0x20D0,0x20FF,"CombDiactForSymbols"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2200,0x22FF,"MathOperators"], - [0x2400,0x243F,"ControlPictures"], - [0x2460,0x24FF,"EnclosedAlphanum"], - [0x2500,0x257F,"BoxDrawing"], - [0xFB00,0xFB4F,"AlphaPresentForms"], - [0x1D468,0x1D49B,"MathBoldItalic"], - [0x1D4D0,0x1D503,"MathBoldScript"], - [0x1D63C,0x1D66F,"MathSSItalicBold"], - [0x1D71C,0x1D755,"GreekBoldItalic"], - [0x1D790,0x1D7C9,"GreekSSBoldItalic"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXGeneral-bold-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js deleted file mode 100644 index a3ed8fa2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x1D468: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL A - 0x1D469: [669,0,726,42,715], // MATHEMATICAL BOLD ITALIC CAPITAL B - 0x1D46A: [685,12,701,55,745], // MATHEMATICAL BOLD ITALIC CAPITAL C - 0x1D46B: [669,0,818,42,790], // MATHEMATICAL BOLD ITALIC CAPITAL D - 0x1D46C: [669,0,732,42,754], // MATHEMATICAL BOLD ITALIC CAPITAL E - 0x1D46D: [669,0,635,44,750], // MATHEMATICAL BOLD ITALIC CAPITAL F - 0x1D46E: [685,12,768,55,768], // MATHEMATICAL BOLD ITALIC CAPITAL G - 0x1D46F: [669,0,891,42,946], // MATHEMATICAL BOLD ITALIC CAPITAL H - 0x1D470: [669,0,502,42,557], // MATHEMATICAL BOLD ITALIC CAPITAL I - 0x1D471: [669,12,558,66,646], // MATHEMATICAL BOLD ITALIC CAPITAL J - 0x1D472: [669,0,795,42,839], // MATHEMATICAL BOLD ITALIC CAPITAL K - 0x1D473: [669,0,744,42,700], // MATHEMATICAL BOLD ITALIC CAPITAL L - 0x1D474: [669,0,1016,42,1071], // MATHEMATICAL BOLD ITALIC CAPITAL M - 0x1D475: [669,0,869,42,924], // MATHEMATICAL BOLD ITALIC CAPITAL N - 0x1D476: [685,16,777,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL O - 0x1D477: [669,0,612,42,733], // MATHEMATICAL BOLD ITALIC CAPITAL P - 0x1D478: [685,154,810,55,756], // MATHEMATICAL BOLD ITALIC CAPITAL Q - 0x1D479: [669,0,801,42,784], // MATHEMATICAL BOLD ITALIC CAPITAL R - 0x1D47A: [685,10,671,55,704], // MATHEMATICAL BOLD ITALIC CAPITAL S - 0x1D47B: [669,0,568,28,700], // MATHEMATICAL BOLD ITALIC CAPITAL T - 0x1D47C: [669,10,733,72,810], // MATHEMATICAL BOLD ITALIC CAPITAL U - 0x1D47D: [669,15,593,66,797], // MATHEMATICAL BOLD ITALIC CAPITAL V - 0x1D47E: [669,17,925,66,1129], // MATHEMATICAL BOLD ITALIC CAPITAL W - 0x1D47F: [669,0,808,28,830], // MATHEMATICAL BOLD ITALIC CAPITAL X - 0x1D480: [669,0,549,39,725], // MATHEMATICAL BOLD ITALIC CAPITAL Y - 0x1D481: [669,0,797,66,830], // MATHEMATICAL BOLD ITALIC CAPITAL Z - 0x1D482: [462,10,581,44,548], // MATHEMATICAL BOLD ITALIC SMALL A - 0x1D483: [685,8,509,50,487], // MATHEMATICAL BOLD ITALIC SMALL B - 0x1D484: [462,10,477,44,460], // MATHEMATICAL BOLD ITALIC SMALL C - 0x1D485: [685,14,595,44,589], // MATHEMATICAL BOLD ITALIC SMALL D - 0x1D486: [462,10,498,44,459], // MATHEMATICAL BOLD ITALIC SMALL E - 0x1D487: [685,207,572,44,632], // MATHEMATICAL BOLD ITALIC SMALL F - 0x1D488: [462,203,527,22,527], // MATHEMATICAL BOLD ITALIC SMALL G - 0x1D489: [685,10,576,50,543], // MATHEMATICAL BOLD ITALIC SMALL H - 0x1D48A: [620,9,357,55,300], // MATHEMATICAL BOLD ITALIC SMALL I - 0x1D48B: [620,207,431,-18,414], // MATHEMATICAL BOLD ITALIC SMALL J - 0x1D48C: [685,11,580,55,563], // MATHEMATICAL BOLD ITALIC SMALL K - 0x1D48D: [685,9,346,50,310], // MATHEMATICAL BOLD ITALIC SMALL L - 0x1D48E: [467,9,760,33,727], // MATHEMATICAL BOLD ITALIC SMALL M - 0x1D48F: [467,10,559,33,526], // MATHEMATICAL BOLD ITALIC SMALL N - 0x1D490: [462,10,561,44,539], // MATHEMATICAL BOLD ITALIC SMALL O - 0x1D491: [469,205,571,-33,554], // MATHEMATICAL BOLD ITALIC SMALL P - 0x1D492: [462,205,526,44,532], // MATHEMATICAL BOLD ITALIC SMALL Q - 0x1D493: [467,0,441,33,424], // MATHEMATICAL BOLD ITALIC SMALL R - 0x1D494: [462,11,474,55,419], // MATHEMATICAL BOLD ITALIC SMALL S - 0x1D495: [592,10,351,44,318], // MATHEMATICAL BOLD ITALIC SMALL T - 0x1D496: [463,10,535,33,502], // MATHEMATICAL BOLD ITALIC SMALL U - 0x1D497: [473,14,554,52,539], // MATHEMATICAL BOLD ITALIC SMALL V - 0x1D498: [473,14,814,52,799], // MATHEMATICAL BOLD ITALIC SMALL W - 0x1D499: [462,8,587,33,543], // MATHEMATICAL BOLD ITALIC SMALL X - 0x1D49A: [462,205,519,35,522], // MATHEMATICAL BOLD ITALIC SMALL Y - 0x1D49B: [462,19,531,35,499] // MATHEMATICAL BOLD ITALIC SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/MathBoldItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js deleted file mode 100644 index fb7f143e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x1D4D0: [699,21,984,50,955], // MATHEMATICAL BOLD SCRIPT CAPITAL A - 0x1D4D1: [699,21,1060,55,985], // MATHEMATICAL BOLD SCRIPT CAPITAL B - 0x1D4D2: [699,21,912,60,877], // MATHEMATICAL BOLD SCRIPT CAPITAL C - 0x1D4D3: [699,21,991,60,906], // MATHEMATICAL BOLD SCRIPT CAPITAL D - 0x1D4D4: [699,21,826,95,791], // MATHEMATICAL BOLD SCRIPT CAPITAL E - 0x1D4D5: [699,21,1042,65,1025], // MATHEMATICAL BOLD SCRIPT CAPITAL F - 0x1D4D6: [699,21,834,82,799], // MATHEMATICAL BOLD SCRIPT CAPITAL G - 0x1D4D7: [699,21,1171,65,1154], // MATHEMATICAL BOLD SCRIPT CAPITAL H - 0x1D4D8: [699,21,997,47,977], // MATHEMATICAL BOLD SCRIPT CAPITAL I - 0x1D4D9: [699,224,906,19,886], // MATHEMATICAL BOLD SCRIPT CAPITAL J - 0x1D4DA: [699,21,1154,45,1130], // MATHEMATICAL BOLD SCRIPT CAPITAL K - 0x1D4DB: [699,21,1036,40,1015], // MATHEMATICAL BOLD SCRIPT CAPITAL L - 0x1D4DC: [699,21,1300,60,1245], // MATHEMATICAL BOLD SCRIPT CAPITAL M - 0x1D4DD: [699,21,1095,60,1078], // MATHEMATICAL BOLD SCRIPT CAPITAL N - 0x1D4DE: [699,21,809,72,749], // MATHEMATICAL BOLD SCRIPT CAPITAL O - 0x1D4DF: [699,21,1025,55,994], // MATHEMATICAL BOLD SCRIPT CAPITAL P - 0x1D4E0: [699,52,809,72,749], // MATHEMATICAL BOLD SCRIPT CAPITAL Q - 0x1D4E1: [699,21,1048,55,973], // MATHEMATICAL BOLD SCRIPT CAPITAL R - 0x1D4E2: [699,21,816,81,781], // MATHEMATICAL BOLD SCRIPT CAPITAL S - 0x1D4E3: [699,21,1030,65,1025], // MATHEMATICAL BOLD SCRIPT CAPITAL T - 0x1D4E4: [699,21,964,60,904], // MATHEMATICAL BOLD SCRIPT CAPITAL U - 0x1D4E5: [699,21,1040,60,1024], // MATHEMATICAL BOLD SCRIPT CAPITAL V - 0x1D4E6: [699,21,1320,60,1306], // MATHEMATICAL BOLD SCRIPT CAPITAL W - 0x1D4E7: [699,21,1033,64,1010], // MATHEMATICAL BOLD SCRIPT CAPITAL X - 0x1D4E8: [699,224,989,60,963], // MATHEMATICAL BOLD SCRIPT CAPITAL Y - 0x1D4E9: [699,21,996,50,976], // MATHEMATICAL BOLD SCRIPT CAPITAL Z - 0x1D4EA: [462,14,942,35,865], // MATHEMATICAL BOLD SCRIPT SMALL A - 0x1D4EB: [699,14,646,60,624], // MATHEMATICAL BOLD SCRIPT SMALL B - 0x1D4EC: [462,14,764,35,683], // MATHEMATICAL BOLD SCRIPT SMALL C - 0x1D4ED: [699,14,949,28,912], // MATHEMATICAL BOLD SCRIPT SMALL D - 0x1D4EE: [462,14,726,35,648], // MATHEMATICAL BOLD SCRIPT SMALL E - 0x1D4EF: [699,205,768,25,749], // MATHEMATICAL BOLD SCRIPT SMALL F - 0x1D4F0: [462,224,819,27,771], // MATHEMATICAL BOLD SCRIPT SMALL G - 0x1D4F1: [699,14,838,55,758], // MATHEMATICAL BOLD SCRIPT SMALL H - 0x1D4F2: [698,14,558,40,534], // MATHEMATICAL BOLD SCRIPT SMALL I - 0x1D4F3: [698,224,840,41,823], // MATHEMATICAL BOLD SCRIPT SMALL J - 0x1D4F4: [699,14,810,55,730], // MATHEMATICAL BOLD SCRIPT SMALL K - 0x1D4F5: [699,14,650,43,632], // MATHEMATICAL BOLD SCRIPT SMALL L - 0x1D4F6: [462,14,1137,45,1057], // MATHEMATICAL BOLD SCRIPT SMALL M - 0x1D4F7: [462,14,851,45,771], // MATHEMATICAL BOLD SCRIPT SMALL N - 0x1D4F8: [462,14,848,35,780], // MATHEMATICAL BOLD SCRIPT SMALL O - 0x1D4F9: [462,205,885,25,770], // MATHEMATICAL BOLD SCRIPT SMALL P - 0x1D4FA: [462,205,913,35,833], // MATHEMATICAL BOLD SCRIPT SMALL Q - 0x1D4FB: [462,0,677,40,648], // MATHEMATICAL BOLD SCRIPT SMALL R - 0x1D4FC: [557,14,562,51,449], // MATHEMATICAL BOLD SCRIPT SMALL S - 0x1D4FD: [669,14,618,47,612], // MATHEMATICAL BOLD SCRIPT SMALL T - 0x1D4FE: [449,14,842,31,762], // MATHEMATICAL BOLD SCRIPT SMALL U - 0x1D4FF: [458,14,732,40,670], // MATHEMATICAL BOLD SCRIPT SMALL V - 0x1D500: [458,14,1012,40,950], // MATHEMATICAL BOLD SCRIPT SMALL W - 0x1D501: [462,14,820,63,740], // MATHEMATICAL BOLD SCRIPT SMALL X - 0x1D502: [449,224,784,40,711], // MATHEMATICAL BOLD SCRIPT SMALL Y - 0x1D503: [493,14,782,61,702] // MATHEMATICAL BOLD SCRIPT SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/MathBoldScript.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js deleted file mode 100644 index 09187e15..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x2202: [686,10,559,44,559], // PARTIAL DIFFERENTIAL - 0x2212: [297,-209,606,51,555] // MINUS SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/MathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js deleted file mode 100644 index 659da3ef..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x1D63C: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL A - 0x1D63D: [676,0,636,80,691], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL B - 0x1D63E: [691,19,723,119,797], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL C - 0x1D63F: [676,0,709,80,772], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL D - 0x1D640: [676,0,635,80,728], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL E - 0x1D641: [676,0,582,80,725], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL F - 0x1D642: [691,19,746,107,785], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL G - 0x1D643: [676,0,715,80,803], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL H - 0x1D644: [676,0,440,79,534], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL I - 0x1D645: [676,96,481,15,574], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL J - 0x1D646: [676,0,712,80,816], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL K - 0x1D647: [676,0,603,80,612], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL L - 0x1D648: [676,0,913,80,1001], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL M - 0x1D649: [676,18,724,80,812], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL N - 0x1D64A: [692,18,778,106,840], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL O - 0x1D64B: [676,0,581,80,695], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL P - 0x1D64C: [691,176,779,105,839], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Q - 0x1D64D: [676,0,670,80,698], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL R - 0x1D64E: [691,19,554,66,637], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL S - 0x1D64F: [676,0,641,157,785], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL T - 0x1D650: [676,19,699,123,792], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL U - 0x1D651: [676,18,690,193,833], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL V - 0x1D652: [676,15,997,198,1135], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL W - 0x1D653: [676,0,740,40,853], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL X - 0x1D654: [676,0,694,188,842], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Y - 0x1D655: [676,0,653,25,769], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Z - 0x1D656: [473,14,489,48,507], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL A - 0x1D657: [676,13,512,51,558], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL B - 0x1D658: [473,14,462,71,524], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL C - 0x1D659: [676,14,518,69,625], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL D - 0x1D65A: [473,13,452,71,492], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL E - 0x1D65B: [692,0,340,72,533], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL F - 0x1D65C: [473,206,504,2,599], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL G - 0x1D65D: [676,0,510,55,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL H - 0x1D65E: [688,0,245,59,366], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL I - 0x1D65F: [688,202,324,-90,440], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL J - 0x1D660: [676,0,519,55,599], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL K - 0x1D661: [676,0,235,55,348], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL L - 0x1D662: [473,0,776,55,809], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL M - 0x1D663: [473,0,510,55,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL N - 0x1D664: [473,14,501,72,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL O - 0x1D665: [473,205,512,3,559], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL P - 0x1D666: [473,205,512,69,574], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Q - 0x1D667: [473,0,411,55,519], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL R - 0x1D668: [473,13,385,37,442], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL S - 0x1D669: [631,12,386,98,447], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL T - 0x1D66A: [462,15,518,81,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL U - 0x1D66B: [462,14,462,129,561], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL V - 0x1D66C: [462,14,701,131,798], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL W - 0x1D66D: [462,0,506,20,582], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL X - 0x1D66E: [462,204,472,-27,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Y - 0x1D66F: [462,0,441,21,530] // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/MathSSItalicBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js deleted file mode 100644 index f02ab4a8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +++ /dev/null @@ -1,54 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], - { - 0x2B0: [852,-328,380,7,365], // MODIFIER LETTER SMALL H - 0x2B1: [841,-329,380,7,365], // MODIFIER LETTER SMALL H WITH HOOK - 0x2B2: [1017,-331,350,24,384], // MODIFIER LETTER SMALL J - 0x2B3: [690,-344,389,21,384], // MODIFIER LETTER SMALL R - 0x2B4: [690,-344,389,2,365], // MODIFIER LETTER SMALL TURNED R - 0x2B5: [690,-171,389,2,371], // MODIFIER LETTER SMALL TURNED R WITH HOOK - 0x2B6: [684,-345,390,5,466], // MODIFIER LETTER SMALL CAPITAL INVERTED R - 0x2B7: [690,-331,450,15,467], // MODIFIER LETTER SMALL W - 0x2B8: [690,-176,350,11,386], // MODIFIER LETTER SMALL Y - 0x2BB: [685,-369,333,128,332], // MODIFIER LETTER TURNED COMMA - 0x2C0: [690,-240,343,-3,323], // MODIFIER LETTER GLOTTAL STOP - 0x2C1: [690,-240,326,20,364], // MODIFIER LETTER REVERSED GLOTTAL STOP - 0x2C6: [690,-516,333,40,367], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [690,-516,333,79,411], // CARON - 0x2D8: [678,-516,333,71,387], // BREVE - 0x2D9: [655,-525,333,163,293], // DOT ABOVE - 0x2DA: [754,-541,333,127,340], // RING ABOVE - 0x2DB: [44,173,333,-40,189], // OGONEK - 0x2DC: [655,-536,333,48,407], // SMALL TILDE - 0x2DD: [697,-516,333,69,498], // DOUBLE ACUTE ACCENT - 0x2E0: [684,-190,379,14,423], // MODIFIER LETTER SMALL GAMMA - 0x2E1: [857,-329,222,2,217], // MODIFIER LETTER SMALL L - 0x2E2: [690,-331,280,8,274], // MODIFIER LETTER SMALL S - 0x2E3: [690,-335,389,3,387], // MODIFIER LETTER SMALL X - 0x2E4: [849,-329,328,9,364], // MODIFIER LETTER SMALL REVERSED GLOTTAL STOP - 0x2EC: [70,167,314,5,309], // MODIFIER LETTER VOICING - 0x2ED: [720,-528,395,5,390] // MODIFIER LETTER UNASPIRATED - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/SpacingModLetters.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js deleted file mode 100644 index 505b9229..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +++ /dev/null @@ -1,32 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0xFB00: [678,207,527,-147,673], // LATIN SMALL LIGATURE FF - 0xFB01: [681,207,500,-141,481], // LATIN SMALL LIGATURE FI - 0xFB02: [682,204,500,-141,518], // LATIN SMALL LIGATURE FL - 0xFB03: [681,207,744,-147,725], // LATIN SMALL LIGATURE FFI - 0xFB04: [682,207,745,-147,763] // LATIN SMALL LIGATURE FFL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/AlphaPresentForms.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js deleted file mode 100644 index c27a42ff..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +++ /dev/null @@ -1,67 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x2500: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT HORIZONTAL - 0x2502: [910,303,708,317,390], // BOX DRAWINGS LIGHT VERTICAL - 0x250C: [340,303,708,317,720], // BOX DRAWINGS LIGHT DOWN AND RIGHT - 0x2510: [340,303,708,-11,390], // BOX DRAWINGS LIGHT DOWN AND LEFT - 0x2514: [910,-267,708,317,720], // BOX DRAWINGS LIGHT UP AND RIGHT - 0x2518: [910,-267,708,-11,390], // BOX DRAWINGS LIGHT UP AND LEFT - 0x251C: [910,303,708,317,719], // BOX DRAWINGS LIGHT VERTICAL AND RIGHT - 0x2524: [910,303,708,-11,390], // BOX DRAWINGS LIGHT VERTICAL AND LEFT - 0x252C: [340,303,708,-11,719], // BOX DRAWINGS LIGHT DOWN AND HORIZONTAL - 0x2534: [910,-267,708,-11,719], // BOX DRAWINGS LIGHT UP AND HORIZONTAL - 0x253C: [910,303,708,-11,719], // BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL - 0x2550: [433,-174,708,-11,719], // BOX DRAWINGS DOUBLE HORIZONTAL - 0x2551: [910,303,708,225,483], // BOX DRAWINGS DOUBLE VERTICAL - 0x2552: [433,303,708,317,720], // BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE - 0x2553: [340,303,708,225,720], // BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE - 0x2554: [433,303,708,225,719], // BOX DRAWINGS DOUBLE DOWN AND RIGHT - 0x2555: [433,303,708,-11,390], // BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE - 0x2556: [340,303,708,-11,483], // BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE - 0x2557: [433,303,708,-11,483], // BOX DRAWINGS DOUBLE DOWN AND LEFT - 0x2558: [910,-174,708,317,720], // BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE - 0x2559: [910,-267,708,225,720], // BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE - 0x255A: [910,-174,708,225,719], // BOX DRAWINGS DOUBLE UP AND RIGHT - 0x255B: [910,-174,708,-11,390], // BOX DRAWINGS UP SINGLE AND LEFT DOUBLE - 0x255C: [910,-267,708,-11,483], // BOX DRAWINGS UP DOUBLE AND LEFT SINGLE - 0x255D: [910,-174,708,-11,483], // BOX DRAWINGS DOUBLE UP AND LEFT - 0x255E: [910,303,708,317,720], // BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE - 0x255F: [910,303,708,225,720], // BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE - 0x2560: [910,303,708,225,720], // BOX DRAWINGS DOUBLE VERTICAL AND RIGHT - 0x2561: [910,303,708,-11,390], // BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE - 0x2562: [910,303,708,-11,483], // BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE - 0x2563: [910,303,708,-11,483], // BOX DRAWINGS DOUBLE VERTICAL AND LEFT - 0x2564: [433,303,708,-11,719], // BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE - 0x2565: [340,303,708,-11,719], // BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE - 0x2566: [433,303,708,-11,719], // BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL - 0x2567: [910,-174,708,-11,719], // BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE - 0x2568: [910,-267,708,-11,719], // BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE - 0x2569: [910,-174,708,-11,719], // BOX DRAWINGS DOUBLE UP AND HORIZONTAL - 0x256A: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE - 0x256B: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE - 0x256C: [910,303,708,-11,719] // BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/BoxDrawing.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js deleted file mode 100644 index 84021d77..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +++ /dev/null @@ -1,47 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x20D0: [760,-627,0,-453,-17], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [760,-627,0,-426,10], // COMBINING RIGHT HARPOON ABOVE - 0x20D2: [662,156,0,-300,-234], // COMBINING LONG VERTICAL LINE OVERLAY - 0x20D6: [760,-548,0,-453,-17], // COMBINING LEFT ARROW ABOVE - 0x20D7: [760,-548,0,-453,-17], // COMBINING RIGHT ARROW ABOVE - 0x20DB: [622,-523,0,-453,44], // COMBINING THREE DOTS ABOVE - 0x20DC: [622,-523,0,-582,114], // COMBINING FOUR DOTS ABOVE - 0x20DD: [725,221,0,-723,223], // COMBINING ENCLOSING CIRCLE - 0x20E1: [760,-548,0,-453,25], // COMBINING LEFT RIGHT ARROW ABOVE - 0x20E4: [1023,155,0,-970,490], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE - 0x20E5: [662,156,0,-430,-24], // COMBINING REVERSE SOLIDUS OVERLAY - 0x20E6: [662,156,0,-351,-86], // COMBINING DOUBLE VERTICAL STROKE OVERLAY - 0x20E7: [725,178,0,-595,221], // COMBINING ANNUITY SYMBOL - 0x20E8: [-119,218,0,-462,35], // COMBINING TRIPLE UNDERDOT - 0x20E9: [681,-538,0,-478,55], // COMBINING WIDE BRIDGE ABOVE - 0x20EA: [419,-87,0,-793,153], // COMBINING LEFTWARDS ARROW OVERLAY - 0x20EC: [681,-548,0,-453,-17], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [681,-548,0,-453,-17], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-40,252,0,-453,-17], // COMBINING LEFT ARROW BELOW - 0x20EF: [-40,252,0,-453,-17] // COMBINING RIGHT ARROW BELOW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/CombDiactForSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js deleted file mode 100644 index b3719f88..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x2423: [16,120,500,40,460] // stix-round space indicator - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/ControlPictures.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js deleted file mode 100644 index 04f03ded..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +++ /dev/null @@ -1,31 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x20A3: [653,0,611,8,645], // FRENCH FRANC SIGN - 0x20A4: [670,8,500,10,517], // LIRA SIGN - 0x20A7: [653,13,1149,0,1126], // PESETA SIGN - 0x20AC: [664,12,500,16,538] // EURO SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/CurrencySymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js deleted file mode 100644 index fcb36209..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +++ /dev/null @@ -1,129 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x401: [856,0,611,1,631], // CYRILLIC CAPITAL LETTER IO - 0x402: [653,208,723,70,663], // CYRILLIC CAPITAL LETTER DJE - 0x403: [914,0,569,-36,603], // CYRILLIC CAPITAL LETTER GJE - 0x404: [666,18,657,67,680], // CYRILLIC CAPITAL LETTER UKRAINIAN IE - 0x405: [667,18,500,7,498], // CYRILLIC CAPITAL LETTER DZE - 0x406: [653,0,333,-7,382], // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I - 0x407: [856,0,333,-31,433], // CYRILLIC CAPITAL LETTER YI - 0x408: [653,18,444,-34,463], // CYRILLIC CAPITAL LETTER JE - 0x409: [653,16,961,-35,901], // CYRILLIC CAPITAL LETTER LJE - 0x40A: [653,0,966,-28,906], // CYRILLIC CAPITAL LETTER NJE - 0x40B: [653,0,786,70,701], // CYRILLIC CAPITAL LETTER TSHE - 0x40C: [914,0,621,-28,657], // CYRILLIC CAPITAL LETTER KJE - 0x40E: [887,14,656,110,716], // CYRILLIC CAPITAL LETTER SHORT U - 0x40F: [653,179,722,-25,747], // CYRILLIC CAPITAL LETTER DZHE - 0x410: [668,0,611,-49,566], // CYRILLIC CAPITAL LETTER A - 0x411: [653,0,590,-28,603], // CYRILLIC CAPITAL LETTER BE - 0x412: [653,0,597,-23,571], // CYRILLIC CAPITAL LETTER VE - 0x413: [653,0,569,-36,603], // CYRILLIC CAPITAL LETTER GHE - 0x414: [653,179,655,-103,696], // CYRILLIC CAPITAL LETTER DE - 0x415: [653,0,611,1,631], // CYRILLIC CAPITAL LETTER IE - 0x416: [661,0,956,-55,972], // CYRILLIC CAPITAL LETTER ZHE - 0x417: [668,16,564,9,548], // CYRILLIC CAPITAL LETTER ZE - 0x418: [653,0,708,-25,749], // CYRILLIC CAPITAL LETTER I - 0x419: [887,0,708,-25,749], // CYRILLIC CAPITAL LETTER SHORT I - 0x41A: [661,0,621,-28,657], // CYRILLIC CAPITAL LETTER KA - 0x41B: [653,16,699,-35,740], // CYRILLIC CAPITAL LETTER EL - 0x41C: [653,0,814,-33,855], // CYRILLIC CAPITAL LETTER EM - 0x41D: [653,0,708,-26,749], // CYRILLIC CAPITAL LETTER EN - 0x41E: [667,18,712,60,699], // CYRILLIC CAPITAL LETTER O - 0x41F: [653,0,704,-29,745], // CYRILLIC CAPITAL LETTER PE - 0x420: [653,0,568,-24,578], // CYRILLIC CAPITAL LETTER ER - 0x421: [666,18,667,67,690], // CYRILLIC CAPITAL LETTER ES - 0x422: [653,0,556,70,644], // CYRILLIC CAPITAL LETTER TE - 0x423: [653,14,656,110,716], // CYRILLIC CAPITAL LETTER U - 0x424: [653,0,772,73,758], // CYRILLIC CAPITAL LETTER EF - 0x425: [653,0,575,-67,617], // CYRILLIC CAPITAL LETTER HA - 0x426: [653,179,706,-25,747], // CYRILLIC CAPITAL LETTER TSE - 0x427: [653,0,622,54,663], // CYRILLIC CAPITAL LETTER CHE - 0x428: [653,0,936,-14,977], // CYRILLIC CAPITAL LETTER SHA - 0x429: [653,179,936,-14,977], // CYRILLIC CAPITAL LETTER SHCHA - 0x42A: [653,0,695,63,652], // CYRILLIC CAPITAL LETTER HARD SIGN - 0x42B: [653,0,852,-28,893], // CYRILLIC CAPITAL LETTER YERU - 0x42C: [653,0,597,-28,537], // CYRILLIC CAPITAL LETTER SOFT SIGN - 0x42D: [666,18,658,15,636], // CYRILLIC CAPITAL LETTER E - 0x42E: [666,18,877,-32,850], // CYRILLIC CAPITAL LETTER YU - 0x42F: [653,0,635,-49,676], // CYRILLIC CAPITAL LETTER YA - 0x430: [441,11,514,23,482], // CYRILLIC SMALL LETTER A - 0x431: [683,11,498,36,535], // CYRILLIC SMALL LETTER BE - 0x432: [441,11,442,31,423], // CYRILLIC SMALL LETTER VE - 0x433: [441,11,390,1,384], // CYRILLIC SMALL LETTER GHE - 0x434: [683,11,489,30,470], // CYRILLIC SMALL LETTER DE - 0x435: [441,11,440,34,422], // CYRILLIC SMALL LETTER IE - 0x436: [441,11,799,0,791], // CYRILLIC SMALL LETTER ZHE - 0x437: [441,11,376,-18,357], // CYRILLIC SMALL LETTER ZE - 0x438: [441,11,527,29,495], // CYRILLIC SMALL LETTER I - 0x439: [667,11,527,29,495], // CYRILLIC SMALL LETTER SHORT I - 0x43A: [441,11,491,18,485], // CYRILLIC SMALL LETTER KA - 0x43B: [441,12,474,-44,442], // CYRILLIC SMALL LETTER EL - 0x43C: [432,12,633,-45,601], // CYRILLIC SMALL LETTER EM - 0x43D: [441,9,504,20,472], // CYRILLIC SMALL LETTER EN - 0x43E: [441,11,489,29,470], // CYRILLIC SMALL LETTER O - 0x43F: [441,9,511,19,479], // CYRILLIC SMALL LETTER PE - 0x440: [441,205,483,-77,464], // CYRILLIC SMALL LETTER ER - 0x441: [441,11,441,27,422], // CYRILLIC SMALL LETTER ES - 0x442: [441,9,741,17,709], // CYRILLIC SMALL LETTER TE - 0x443: [441,206,421,-61,389], // CYRILLIC SMALL LETTER U - 0x444: [683,205,702,29,677], // CYRILLIC SMALL LETTER EF - 0x445: [441,11,444,-35,439], // CYRILLIC SMALL LETTER HA - 0x446: [441,182,527,29,495], // CYRILLIC SMALL LETTER TSE - 0x447: [441,9,482,42,450], // CYRILLIC SMALL LETTER CHE - 0x448: [441,11,785,31,753], // CYRILLIC SMALL LETTER SHA - 0x449: [441,182,785,31,753], // CYRILLIC SMALL LETTER SHCHA - 0x44A: [441,11,567,12,528], // CYRILLIC SMALL LETTER HARD SIGN - 0x44B: [441,11,689,50,657], // CYRILLIC SMALL LETTER YERU - 0x44C: [441,11,471,50,433], // CYRILLIC SMALL LETTER SOFT SIGN - 0x44D: [441,11,408,7,391], // CYRILLIC SMALL LETTER E - 0x44E: [441,11,674,21,655], // CYRILLIC SMALL LETTER YU - 0x44F: [432,9,481,-25,449], // CYRILLIC SMALL LETTER YA - 0x451: [606,11,440,34,475], // CYRILLIC SMALL LETTER IO - 0x452: [683,208,479,20,448], // CYRILLIC SMALL LETTER DJE - 0x453: [664,11,390,1,455], // CYRILLIC SMALL LETTER GJE - 0x454: [441,11,428,26,441], // CYRILLIC SMALL LETTER UKRAINIAN IE - 0x455: [442,13,389,-9,341], // CYRILLIC SMALL LETTER DZE - 0x456: [654,11,278,43,258], // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I - 0x457: [606,11,278,43,357], // CYRILLIC SMALL LETTER YI - 0x458: [652,207,278,-172,231], // CYRILLIC SMALL LETTER JE - 0x459: [441,12,679,-44,631], // CYRILLIC SMALL LETTER LJE - 0x45A: [441,11,697,21,649], // CYRILLIC SMALL LETTER NJE - 0x45B: [683,9,511,20,479], // CYRILLIC SMALL LETTER TSHE - 0x45C: [664,11,491,18,485], // CYRILLIC SMALL LETTER KJE - 0x45E: [667,206,421,-61,417], // CYRILLIC SMALL LETTER SHORT U - 0x45F: [441,182,527,29,495], // CYRILLIC SMALL LETTER DZHE - 0x462: [653,0,681,19,621], // CYRILLIC CAPITAL LETTER YAT - 0x463: [683,11,542,13,504], // CYRILLIC SMALL LETTER YAT - 0x46A: [653,0,953,-55,893], // CYRILLIC CAPITAL LETTER BIG YUS - 0x46B: [432,11,741,0,686], // CYRILLIC SMALL LETTER BIG YUS - 0x472: [667,18,712,60,699], // CYRILLIC CAPITAL LETTER FITA - 0x473: [441,11,489,29,470], // CYRILLIC SMALL LETTER FITA - 0x474: [662,18,646,76,742], // CYRILLIC CAPITAL LETTER IZHITSA - 0x475: [441,18,464,34,528], // CYRILLIC SMALL LETTER IZHITSA - 0x490: [783,0,524,-30,622], // CYRILLIC CAPITAL LETTER GHE WITH UPTURN - 0x491: [507,11,337,42,404] // CYRILLIC SMALL LETTER GHE WITH UPTURN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/Cyrillic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js deleted file mode 100644 index 6d2afc08..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +++ /dev/null @@ -1,89 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x2460: [676,14,684,0,684], // CIRCLED DIGIT ONE - 0x2461: [676,14,684,0,684], // CIRCLED DIGIT TWO - 0x2462: [676,14,684,0,684], // CIRCLED DIGIT THREE - 0x2463: [676,14,684,0,684], // CIRCLED DIGIT FOUR - 0x2464: [676,14,684,0,684], // CIRCLED DIGIT FIVE - 0x2465: [676,14,684,0,684], // CIRCLED DIGIT SIX - 0x2466: [676,14,684,0,684], // CIRCLED DIGIT SEVEN - 0x2467: [676,14,684,0,684], // CIRCLED DIGIT EIGHT - 0x2468: [676,14,684,0,684], // CIRCLED DIGIT NINE - 0x24B6: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER A - 0x24B7: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER B - 0x24B8: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER C - 0x24B9: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER D - 0x24BA: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER E - 0x24BB: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER F - 0x24BC: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER G - 0x24BD: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER H - 0x24BE: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER I - 0x24BF: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER J - 0x24C0: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER K - 0x24C1: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER L - 0x24C2: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER M - 0x24C3: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER N - 0x24C4: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER O - 0x24C5: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER P - 0x24C6: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Q - 0x24C7: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER R - 0x24C8: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER S - 0x24C9: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER T - 0x24CA: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER U - 0x24CB: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER V - 0x24CC: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER W - 0x24CD: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER X - 0x24CE: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Y - 0x24CF: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Z - 0x24D0: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER A - 0x24D1: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER B - 0x24D2: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER C - 0x24D3: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER D - 0x24D4: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER E - 0x24D5: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER F - 0x24D6: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER G - 0x24D7: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER H - 0x24D8: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER I - 0x24D9: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER J - 0x24DA: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER K - 0x24DB: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER L - 0x24DC: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER M - 0x24DD: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER N - 0x24DE: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER O - 0x24DF: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER P - 0x24E0: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Q - 0x24E1: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER R - 0x24E2: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER S - 0x24E3: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER T - 0x24E4: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER U - 0x24E5: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER V - 0x24E6: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER W - 0x24E7: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER X - 0x24E8: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Y - 0x24E9: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Z - 0x24EA: [676,14,684,0,684] // CIRCLED DIGIT ZERO - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/EnclosedAlphanum.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js deleted file mode 100644 index 800c4000..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +++ /dev/null @@ -1,50 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x2010: [257,-191,333,49,282], // HYPHEN - 0x2011: [257,-191,333,49,282], // NON-BREAKING HYPHEN - 0x2012: [258,-192,500,-8,508], // FIGURE DASH - 0x2013: [243,-197,500,-6,505], // EN DASH - 0x2014: [243,-197,889,-6,894], // EM DASH - 0x2018: [666,-436,333,171,310], // LEFT SINGLE QUOTATION MARK - 0x2019: [666,-436,333,151,290], // RIGHT SINGLE QUOTATION MARK - 0x201A: [101,129,333,44,183], // SINGLE LOW-9 QUOTATION MARK - 0x201B: [666,-436,333,169,290], // SINGLE HIGH-REVERSED-9 QUOTATION MARK - 0x201C: [666,-436,556,166,514], // LEFT DOUBLE QUOTATION MARK - 0x201D: [666,-436,556,151,499], // RIGHT DOUBLE QUOTATION MARK - 0x201E: [101,129,556,57,405], // DOUBLE LOW-9 QUOTATION MARK - 0x201F: [666,-436,556,169,499], // DOUBLE HIGH-REVERSED-9 QUOTATION MARK - 0x2020: [666,159,500,101,488], // DAGGER - 0x2021: [666,143,500,22,491], // DOUBLE DAGGER - 0x2022: [444,-59,523,70,455], // BULLET - 0x2026: [100,11,889,57,762], // HORIZONTAL ELLIPSIS - 0x2030: [706,19,1117,80,1067], // PER MILLE SIGN - 0x2031: [706,19,1479,80,1429], // PER TEN THOUSAND SIGN - 0x2039: [403,-37,333,51,281], // SINGLE LEFT-POINTING ANGLE QUOTATION MARK - 0x203A: [403,-37,333,52,282], // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK - 0x203E: [582,-532,500,0,500], // OVERLINE - 0x2044: [676,10,167,-169,337] // FRACTION SLASH - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/GeneralPunctuation.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js deleted file mode 100644 index 3d29cc38..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +++ /dev/null @@ -1,78 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x384: [649,-494,289,160,322], // GREEK TONOS - 0x385: [649,-494,333,70,387], // GREEK DIALYTIKA TONOS - 0x386: [678,0,611,-51,564], // GREEK CAPITAL LETTER ALPHA WITH TONOS - 0x387: [441,-330,333,150,261], // GREEK ANO TELEIA - 0x388: [678,0,630,7,679], // GREEK CAPITAL LETTER EPSILON WITH TONOS - 0x389: [678,0,740,4,821], // GREEK CAPITAL LETTER ETA WITH TONOS - 0x38A: [678,0,350,3,429], // GREEK CAPITAL LETTER IOTA WITH TONOS - 0x38C: [678,18,722,58,699], // GREEK CAPITAL LETTER OMICRON WITH TONOS - 0x38E: [678,0,580,8,725], // GREEK CAPITAL LETTER UPSILON WITH TONOS - 0x38F: [678,0,762,-6,739], // GREEK CAPITAL LETTER OMEGA WITH TONOS - 0x390: [649,11,278,49,387], // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS - 0x391: [668,0,611,-51,564], // GREEK CAPITAL LETTER ALPHA - 0x392: [653,0,611,-8,588], // GREEK CAPITAL LETTER BETA - 0x395: [653,0,611,-1,634], // GREEK CAPITAL LETTER EPSILON - 0x396: [653,0,556,-6,606], // GREEK CAPITAL LETTER ZETA - 0x397: [653,0,722,-8,769], // GREEK CAPITAL LETTER ETA - 0x399: [653,0,333,-8,384], // GREEK CAPITAL LETTER IOTA - 0x39A: [653,0,667,7,722], // GREEK CAPITAL LETTER KAPPA - 0x39C: [653,0,833,-18,872], // GREEK CAPITAL LETTER MU - 0x39D: [653,15,667,-20,727], // GREEK CAPITAL LETTER NU - 0x39F: [667,18,722,60,699], // GREEK CAPITAL LETTER OMICRON - 0x3A1: [653,0,611,0,605], // GREEK CAPITAL LETTER RHO - 0x3A4: [653,0,556,59,633], // GREEK CAPITAL LETTER TAU - 0x3A7: [653,0,611,-29,655], // GREEK CAPITAL LETTER CHI - 0x3AA: [856,0,333,-8,460], // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA - 0x3AB: [856,0,556,78,648], // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA - 0x3AC: [649,11,552,27,549], // GREEK SMALL LETTER ALPHA WITH TONOS - 0x3AD: [649,11,444,30,425], // GREEK SMALL LETTER EPSILON WITH TONOS - 0x3AE: [649,205,474,14,442], // GREEK SMALL LETTER ETA WITH TONOS - 0x3AF: [649,11,278,49,288], // GREEK SMALL LETTER IOTA WITH TONOS - 0x3B0: [649,10,478,19,446], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS - 0x3CA: [606,11,278,49,359], // GREEK SMALL LETTER IOTA WITH DIALYTIKA - 0x3CB: [606,10,478,19,446], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA - 0x3CC: [649,11,500,27,468], // GREEK SMALL LETTER OMICRON WITH TONOS - 0x3CD: [649,10,478,19,446], // GREEK SMALL LETTER UPSILON WITH TONOS - 0x3CE: [649,11,686,27,654], // GREEK SMALL LETTER OMEGA WITH TONOS - 0x3D0: [694,10,456,45,436], // GREEK BETA SYMBOL - 0x3D2: [668,0,596,78,693], // GREEK UPSILON WITH HOOK SYMBOL - 0x3D8: [667,205,722,60,699], // GREEK LETTER ARCHAIC KOPPA - 0x3D9: [441,205,500,27,468], // GREEK SMALL LETTER ARCHAIC KOPPA - 0x3DA: [666,207,673,55,665], // GREEK LETTER STIGMA - 0x3DB: [458,185,444,30,482], // GREEK SMALL LETTER STIGMA - 0x3DC: [653,0,557,8,645], // GREEK LETTER DIGAMMA - 0x3DD: [433,190,487,32,472], // GREEK SMALL LETTER DIGAMMA - 0x3DE: [773,18,645,19,675], // GREEK LETTER KOPPA - 0x3DF: [683,0,457,31,445], // GREEK SMALL LETTER KOPPA - 0x3E0: [666,207,708,7,668], // GREEK LETTER SAMPI - 0x3E1: [552,210,528,93,448], // GREEK SMALL LETTER SAMPI - 0x3F0: [441,13,533,-16,559], // GREEK KAPPA SYMBOL - 0x3F4: [667,18,722,60,699], // GREEK CAPITAL THETA SYMBOL - 0x3F6: [441,11,444,24,414] // GREEK REVERSED LUNATE EPSILON SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/GreekAndCoptic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js deleted file mode 100644 index d6106d66..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x1D6E2: [667,0,717,35,685], // MATHEMATICAL ITALIC CAPITAL ALPHA - 0x1D6E3: [653,0,696,38,686], // MATHEMATICAL ITALIC CAPITAL BETA - 0x1D6E4: [653,0,616,38,721], // MATHEMATICAL ITALIC CAPITAL GAMMA - 0x1D6E5: [667,0,596,30,556], // MATHEMATICAL ITALIC CAPITAL DELTA - 0x1D6E6: [653,0,714,38,734], // MATHEMATICAL ITALIC CAPITAL EPSILON - 0x1D6E7: [653,0,772,60,802], // MATHEMATICAL ITALIC CAPITAL ZETA - 0x1D6E8: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL ETA - 0x1D6E9: [669,11,737,50,712], // MATHEMATICAL ITALIC CAPITAL THETA - 0x1D6EA: [653,0,480,38,530], // MATHEMATICAL ITALIC CAPITAL IOTA - 0x1D6EB: [653,0,762,38,802], // MATHEMATICAL ITALIC CAPITAL KAPPA - 0x1D6EC: [667,0,718,35,686], // MATHEMATICAL ITALIC CAPITAL LAMDA - 0x1D6ED: [653,0,1005,38,1055], // MATHEMATICAL ITALIC CAPITAL MU - 0x1D6EE: [653,0,851,38,901], // MATHEMATICAL ITALIC CAPITAL NU - 0x1D6EF: [653,0,706,52,741], // MATHEMATICAL ITALIC CAPITAL XI - 0x1D6F0: [669,11,732,50,712], // MATHEMATICAL ITALIC CAPITAL OMICRON - 0x1D6F1: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL PI - 0x1D6F2: [653,0,594,38,704], // MATHEMATICAL ITALIC CAPITAL RHO - 0x1D6F3: [669,11,737,50,712], // MATHEMATICAL ITALIC CAPITAL THETA SYMBOL - 0x1D6F4: [653,0,735,58,760], // MATHEMATICAL ITALIC CAPITAL SIGMA - 0x1D6F5: [653,0,550,25,670], // MATHEMATICAL ITALIC CAPITAL TAU - 0x1D6F6: [668,0,567,28,687], // MATHEMATICAL ITALIC CAPITAL UPSILON - 0x1D6F7: [653,0,772,25,747], // MATHEMATICAL ITALIC CAPITAL PHI - 0x1D6F8: [653,0,790,25,810], // MATHEMATICAL ITALIC CAPITAL CHI - 0x1D6F9: [667,0,670,28,743], // MATHEMATICAL ITALIC CAPITAL PSI - 0x1D6FA: [666,0,800,32,777], // MATHEMATICAL ITALIC CAPITAL OMEGA - 0x1D6FB: [653,15,627,42,600], // MATHEMATICAL ITALIC NABLA - 0x1D6FC: [441,10,524,40,529], // MATHEMATICAL ITALIC SMALL ALPHA - 0x1D6FD: [668,183,493,25,518], // MATHEMATICAL ITALIC SMALL BETA - 0x1D6FE: [441,187,428,35,458], // MATHEMATICAL ITALIC SMALL GAMMA - 0x1D6FF: [668,11,463,40,451], // MATHEMATICAL ITALIC SMALL DELTA - 0x1D700: [441,11,484,25,444], // MATHEMATICAL ITALIC SMALL EPSILON - 0x1D701: [668,183,435,40,480], // MATHEMATICAL ITALIC SMALL ZETA - 0x1D702: [441,183,460,30,455], // MATHEMATICAL ITALIC SMALL ETA - 0x1D703: [668,11,484,40,474], // MATHEMATICAL ITALIC SMALL THETA - 0x1D704: [441,11,267,50,227], // MATHEMATICAL ITALIC SMALL IOTA - 0x1D705: [441,0,534,50,549], // MATHEMATICAL ITALIC SMALL KAPPA - 0x1D706: [668,16,541,50,511], // MATHEMATICAL ITALIC SMALL LAMDA - 0x1D707: [428,183,579,30,549], // MATHEMATICAL ITALIC SMALL MU - 0x1D708: [446,9,452,50,462], // MATHEMATICAL ITALIC SMALL NU - 0x1D709: [668,183,433,25,443], // MATHEMATICAL ITALIC SMALL XI - 0x1D70A: [441,11,458,40,438], // MATHEMATICAL ITALIC SMALL OMICRON - 0x1D70B: [428,13,558,35,568], // MATHEMATICAL ITALIC SMALL PI - 0x1D70C: [441,183,502,30,472], // MATHEMATICAL ITALIC SMALL RHO - 0x1D70D: [490,183,439,35,464], // MATHEMATICAL ITALIC SMALL FINAL SIGMA - 0x1D70E: [428,11,537,40,547], // MATHEMATICAL ITALIC SMALL SIGMA - 0x1D70F: [428,5,442,30,472], // MATHEMATICAL ITALIC SMALL TAU - 0x1D710: [439,11,460,30,445], // MATHEMATICAL ITALIC SMALL UPSILON - 0x1D711: [441,183,666,50,631], // MATHEMATICAL ITALIC SMALL PHI - 0x1D712: [441,202,595,30,645], // MATHEMATICAL ITALIC SMALL CHI - 0x1D713: [441,183,661,30,711], // MATHEMATICAL ITALIC SMALL PSI - 0x1D714: [441,11,681,20,661], // MATHEMATICAL ITALIC SMALL OMEGA - 0x1D715: [668,11,471,40,471], // MATHEMATICAL ITALIC PARTIAL DIFFERENTIAL - 0x1D716: [441,11,430,40,430], // MATHEMATICAL ITALIC EPSILON SYMBOL - 0x1D717: [678,10,554,20,507], // MATHEMATICAL ITALIC THETA SYMBOL - 0x1D718: [441,13,561,12,587], // MATHEMATICAL ITALIC KAPPA SYMBOL - 0x1D719: [668,183,645,40,620], // MATHEMATICAL ITALIC PHI SYMBOL - 0x1D71A: [441,187,509,40,489], // MATHEMATICAL ITALIC RHO SYMBOL - 0x1D71B: [428,11,856,30,866] // MATHEMATICAL ITALIC PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/GreekItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js deleted file mode 100644 index 2bced3b4..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +++ /dev/null @@ -1,116 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x250: [460,10,444,19,421], // ?? - 0x251: [460,10,511,17,487], // ?? - 0x252: [460,10,511,17,487], // ?? - 0x253: [683,11,500,23,488], // ?? - 0x254: [441,11,444,30,425], // ?? - 0x255: [441,160,444,-3,425], // ?? - 0x256: [683,233,500,15,527], // ?? - 0x257: [683,13,500,15,748], // ?? - 0x258: [441,11,444,31,416], // ?? - 0x259: [441,11,444,31,412], // ?? - 0x25A: [441,11,639,31,639], // ?? - 0x25B: [475,14,444,31,467], // ?? - 0x25C: [475,14,480,31,447], // ?? - 0x25D: [475,14,666,31,666], // ?? - 0x25E: [475,14,490,30,458], // ?? - 0x25F: [441,207,357,-100,340], // ?? - 0x260: [683,212,714,8,799], // ?? - 0x261: [482,212,595,8,579], // ?? - 0x262: [441,11,562,52,562], // ?? - 0x263: [441,234,444,15,426], // ?? - 0x264: [450,10,480,4,475], // ?? - 0x265: [450,242,500,19,478], // ?? - 0x266: [683,9,500,19,494], // ?? - 0x267: [683,233,500,-6,494], // ?? - 0x268: [654,11,278,16,264], // ?? - 0x269: [454,10,333,51,266], // ?? - 0x26A: [441,0,247,-8,298], // ?? - 0x26B: [683,11,278,4,331], // ?? - 0x26C: [683,11,375,12,366], // ?? - 0x26D: [683,233,252,8,279], // ?? - 0x26E: [683,233,575,41,537], // ?? - 0x26F: [441,9,722,12,704], // ?? - 0x270: [441,233,722,12,704], // ?? - 0x271: [441,233,690,12,672], // ?? - 0x272: [441,233,606,-110,580], // ?? - 0x273: [441,233,498,14,487], // ?? - 0x274: [441,8,539,-20,599], // ?? - 0x275: [441,11,500,27,468], // ?? - 0x276: [441,6,718,49,738], // ?? - 0x277: [475,4,668,30,638], // ?? - 0x278: [683,233,660,30,630], // ?? - 0x279: [441,0,402,-45,322], // ?? - 0x27A: [683,0,383,-45,384], // ?? - 0x27B: [441,233,353,-45,342], // ?? - 0x27C: [441,233,333,-20,412], // ?? - 0x27D: [441,233,390,24,412], // ?? - 0x27E: [470,0,401,45,424], // ?? - 0x27F: [470,0,338,66,293], // ?? - 0x280: [464,0,475,25,501], // ?? - 0x281: [464,0,475,25,581], // ?? - 0x282: [442,218,389,9,376], // ?? - 0x283: [683,233,415,-110,577], // ?? - 0x284: [683,233,453,-110,595], // ?? - 0x285: [470,233,339,79,355], // ?? - 0x286: [683,243,439,-62,602], // ?? - 0x287: [460,97,330,38,296], // ?? - 0x288: [546,233,278,6,308], // ?? - 0x289: [441,11,500,9,479], // ?? - 0x28A: [450,10,537,49,552], // ?? - 0x28B: [441,10,500,52,475], // ?? - 0x28C: [441,18,444,20,426], // ?? - 0x28D: [441,18,667,15,648], // ?? - 0x28E: [647,0,444,10,460], // ?? - 0x28F: [464,0,633,62,603], // ?? - 0x290: [428,218,405,17,429], // ?? - 0x291: [428,47,393,17,380], // ?? - 0x292: [450,233,413,21,517], // ?? - 0x293: [450,305,457,7,544], // ?? - 0x294: [683,0,500,55,509], // ?? - 0x295: [683,0,500,55,495], // ?? - 0x296: [662,14,393,-25,413], // ?? - 0x297: [441,238,450,24,459], // ?? - 0x298: [679,17,723,22,704], // ?? - 0x299: [464,0,460,19,505], // ?? - 0x29A: [475,14,479,20,470], // ?? - 0x29B: [515,11,570,29,650], // ?? - 0x29C: [464,0,572,25,671], // ?? - 0x29D: [652,233,403,-80,394], // ?? - 0x29E: [439,255,463,26,473], // ?? - 0x29F: [464,0,470,25,473], // ?? - 0x2A0: [582,209,480,25,666], // ?? - 0x2A1: [683,0,500,55,509], // ?? - 0x2A2: [683,0,500,55,495], // ?? - 0x2A3: [683,13,743,15,741], // ?? - 0x2A4: [683,233,743,15,780], // ?? - 0x2A5: [683,47,754,15,741], // ?? - 0x2A6: [546,11,500,38,523], // ?? - 0x2A7: [683,233,517,-32,655], // ?? - 0x2A8: [546,16,632,38,612] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/IPAExtensions.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js deleted file mode 100644 index 77ae0a2e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +++ /dev/null @@ -1,123 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xA1: [474,205,389,59,321], // INVERTED EXCLAMATION MARK - 0xA2: [560,143,500,77,472], // CENT SIGN - 0xA3: [670,8,500,10,517], // POUND SIGN - 0xA4: [534,10,500,-22,522], // CURRENCY SIGN - 0xA5: [653,0,500,28,605], // YEN SIGN - 0xA6: [666,18,275,105,171], // BROKEN BAR - 0xA7: [666,162,500,53,461], // SECTION SIGN - 0xA8: [606,-508,333,107,405], // DIAERESIS - 0xA9: [666,18,760,41,719], // COPYRIGHT SIGN - 0xAA: [676,-406,276,42,352], // FEMININE ORDINAL INDICATOR - 0xAB: [403,-37,500,53,445], // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK - 0xAC: [386,-108,675,86,590], // NOT SIGN - 0xAD: [255,-192,333,49,282], // SOFT HYPHEN - 0xAE: [666,18,760,41,719], // REGISTERED SIGN - 0xAF: [583,-532,333,99,411], // MACRON - 0xB0: [676,-390,400,101,387], // DEGREE SIGN - 0xB1: [568,0,675,86,590], // PLUS-MINUS SIGN - 0xB2: [676,-271,300,33,324], // SUPERSCRIPT TWO - 0xB3: [676,-268,300,43,339], // SUPERSCRIPT THREE - 0xB4: [664,-494,333,180,403], // ACUTE ACCENT - 0xB5: [428,209,500,-30,497], // MICRO SIGN - 0xB6: [653,123,559,60,621], // PILCROW SIGN - 0xB7: [310,-199,250,70,181], // MIDDLE DOT - 0xB8: [0,217,333,-30,182], // CEDILLA - 0xB9: [676,-271,300,43,284], // SUPERSCRIPT ONE - 0xBA: [676,-406,310,67,362], // MASCULINE ORDINAL INDICATOR - 0xBB: [403,-37,500,55,447], // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK - 0xBC: [676,10,750,33,736], // VULGAR FRACTION ONE QUARTER - 0xBD: [676,10,750,34,749], // VULGAR FRACTION ONE HALF - 0xBE: [676,10,750,23,736], // VULGAR FRACTION THREE QUARTERS - 0xBF: [473,205,500,28,367], // INVERTED QUESTION MARK - 0xC0: [914,0,611,-51,564], // LATIN CAPITAL LETTER A WITH GRAVE - 0xC1: [914,0,611,-51,564], // LATIN CAPITAL LETTER A WITH ACUTE - 0xC2: [911,0,611,-51,564], // LATIN CAPITAL LETTER A WITH CIRCUMFLEX - 0xC3: [874,0,611,-51,572], // LATIN CAPITAL LETTER A WITH TILDE - 0xC4: [856,0,611,-51,564], // LATIN CAPITAL LETTER A WITH DIAERESIS - 0xC5: [957,0,611,-51,564], // LATIN CAPITAL LETTER A WITH RING ABOVE - 0xC6: [653,0,889,-27,911], // LATIN CAPITAL LETTER AE - 0xC7: [666,217,667,66,689], // LATIN CAPITAL LETTER C WITH CEDILLA - 0xC8: [914,0,611,-1,634], // LATIN CAPITAL LETTER E WITH GRAVE - 0xC9: [914,0,611,-1,634], // LATIN CAPITAL LETTER E WITH ACUTE - 0xCA: [911,0,611,-1,634], // LATIN CAPITAL LETTER E WITH CIRCUMFLEX - 0xCB: [856,0,611,-1,634], // LATIN CAPITAL LETTER E WITH DIAERESIS - 0xCC: [914,0,333,-8,398], // LATIN CAPITAL LETTER I WITH GRAVE - 0xCD: [914,0,333,-8,414], // LATIN CAPITAL LETTER I WITH ACUTE - 0xCE: [911,0,333,-8,450], // LATIN CAPITAL LETTER I WITH CIRCUMFLEX - 0xCF: [856,0,333,-8,457], // LATIN CAPITAL LETTER I WITH DIAERESIS - 0xD0: [653,0,722,-8,700], // LATIN CAPITAL LETTER ETH - 0xD1: [874,15,667,-20,727], // LATIN CAPITAL LETTER N WITH TILDE - 0xD2: [914,18,722,60,699], // LATIN CAPITAL LETTER O WITH GRAVE - 0xD3: [914,18,722,60,699], // LATIN CAPITAL LETTER O WITH ACUTE - 0xD4: [911,18,722,60,699], // LATIN CAPITAL LETTER O WITH CIRCUMFLEX - 0xD5: [874,18,722,60,699], // LATIN CAPITAL LETTER O WITH TILDE - 0xD6: [856,18,722,60,699], // LATIN CAPITAL LETTER O WITH DIAERESIS - 0xD7: [497,-8,675,93,582], // MULTIPLICATION SIGN - 0xD8: [722,105,722,60,699], // LATIN CAPITAL LETTER O WITH STROKE - 0xD9: [914,18,722,102,765], // LATIN CAPITAL LETTER U WITH GRAVE - 0xDA: [914,18,722,102,765], // LATIN CAPITAL LETTER U WITH ACUTE - 0xDB: [911,18,722,102,765], // LATIN CAPITAL LETTER U WITH CIRCUMFLEX - 0xDC: [856,18,722,102,765], // LATIN CAPITAL LETTER U WITH DIAERESIS - 0xDD: [914,0,556,78,633], // LATIN CAPITAL LETTER Y WITH ACUTE - 0xDE: [653,0,611,0,569], // LATIN CAPITAL LETTER THORN - 0xDF: [679,207,500,-168,493], // LATIN SMALL LETTER SHARP S - 0xE0: [664,11,501,17,476], // LATIN SMALL LETTER A WITH GRAVE - 0xE1: [664,11,501,17,476], // LATIN SMALL LETTER A WITH ACUTE - 0xE2: [661,11,501,17,497], // LATIN SMALL LETTER A WITH CIRCUMFLEX - 0xE3: [624,11,501,17,521], // LATIN SMALL LETTER A WITH TILDE - 0xE4: [606,11,501,17,503], // LATIN SMALL LETTER A WITH DIAERESIS - 0xE5: [709,11,501,17,476], // LATIN SMALL LETTER A WITH RING ABOVE - 0xE6: [441,11,667,23,640], // LATIN SMALL LETTER AE - 0xE7: [441,217,444,26,425], // LATIN SMALL LETTER C WITH CEDILLA - 0xE8: [664,11,444,31,414], // LATIN SMALL LETTER E WITH GRAVE - 0xE9: [664,11,444,31,431], // LATIN SMALL LETTER E WITH ACUTE - 0xEA: [661,11,444,31,466], // LATIN SMALL LETTER E WITH CIRCUMFLEX - 0xEB: [606,11,444,31,475], // LATIN SMALL LETTER E WITH DIAERESIS - 0xEC: [664,11,278,47,302], // LATIN SMALL LETTER I WITH GRAVE - 0xED: [664,11,278,47,318], // LATIN SMALL LETTER I WITH ACUTE - 0xEE: [661,11,278,47,351], // LATIN SMALL LETTER I WITH CIRCUMFLEX - 0xEF: [606,11,278,47,361], // LATIN SMALL LETTER I WITH DIAERESIS - 0xF0: [683,11,500,27,482], // LATIN SMALL LETTER ETH - 0xF1: [624,9,500,14,488], // LATIN SMALL LETTER N WITH TILDE - 0xF2: [664,11,500,27,468], // LATIN SMALL LETTER O WITH GRAVE - 0xF3: [664,11,500,27,468], // LATIN SMALL LETTER O WITH ACUTE - 0xF4: [661,11,500,27,468], // LATIN SMALL LETTER O WITH CIRCUMFLEX - 0xF5: [624,11,500,27,494], // LATIN SMALL LETTER O WITH TILDE - 0xF6: [606,11,500,27,474], // LATIN SMALL LETTER O WITH DIAERESIS - 0xF7: [517,11,675,86,590], // DIVISION SIGN - 0xF8: [554,135,500,28,469], // LATIN SMALL LETTER O WITH STROKE - 0xF9: [664,11,500,42,475], // LATIN SMALL LETTER U WITH GRAVE - 0xFA: [664,11,500,42,475], // LATIN SMALL LETTER U WITH ACUTE - 0xFB: [661,11,500,42,475], // LATIN SMALL LETTER U WITH CIRCUMFLEX - 0xFC: [606,11,500,42,475], // LATIN SMALL LETTER U WITH DIAERESIS - 0xFD: [664,206,444,-24,426], // LATIN SMALL LETTER Y WITH ACUTE - 0xFE: [683,205,500,-75,469], // LATIN SMALL LETTER THORN - 0xFF: [606,206,444,-24,442] // LATIN SMALL LETTER Y WITH DIAERESIS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/Latin1Supplement.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js deleted file mode 100644 index 4f75f49b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +++ /dev/null @@ -1,154 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x100: [757,0,611,-51,564], // LATIN CAPITAL LETTER A WITH MACRON - 0x101: [543,11,501,17,481], // LATIN SMALL LETTER A WITH MACRON - 0x102: [862,0,611,-51,564], // LATIN CAPITAL LETTER A WITH BREVE - 0x103: [650,11,501,17,481], // LATIN SMALL LETTER A WITH BREVE - 0x104: [668,169,611,-51,626], // LATIN CAPITAL LETTER A WITH OGONEK - 0x105: [441,169,501,17,529], // LATIN SMALL LETTER A WITH OGONEK - 0x106: [876,18,667,66,689], // LATIN CAPITAL LETTER C WITH ACUTE - 0x107: [664,11,444,30,431], // LATIN SMALL LETTER C WITH ACUTE - 0x108: [875,18,667,66,689], // LATIN CAPITAL LETTER C WITH CIRCUMFLEX - 0x109: [661,11,444,30,427], // LATIN SMALL LETTER C WITH CIRCUMFLEX - 0x10A: [818,18,667,66,689], // LATIN CAPITAL LETTER C WITH DOT ABOVE - 0x10B: [606,11,444,30,425], // LATIN SMALL LETTER C WITH DOT ABOVE - 0x10C: [875,18,667,66,689], // LATIN CAPITAL LETTER C WITH CARON - 0x10D: [661,11,444,30,473], // LATIN SMALL LETTER C WITH CARON - 0x10E: [875,0,722,-8,700], // LATIN CAPITAL LETTER D WITH CARON - 0x10F: [691,13,609,15,697], // LATIN SMALL LETTER D WITH CARON - 0x110: [653,0,722,-8,700], // LATIN CAPITAL LETTER D WITH STROKE - 0x111: [683,13,500,15,580], // LATIN SMALL LETTER D WITH STROKE - 0x112: [757,0,611,-1,634], // LATIN CAPITAL LETTER E WITH MACRON - 0x113: [542,11,444,31,466], // LATIN SMALL LETTER E WITH MACRON - 0x114: [866,0,611,-1,634], // LATIN CAPITAL LETTER E WITH BREVE - 0x115: [650,11,444,31,471], // LATIN SMALL LETTER E WITH BREVE - 0x116: [818,0,611,-1,634], // LATIN CAPITAL LETTER E WITH DOT ABOVE - 0x117: [606,11,444,31,412], // LATIN SMALL LETTER E WITH DOT ABOVE - 0x118: [653,175,611,-1,634], // LATIN CAPITAL LETTER E WITH OGONEK - 0x119: [441,175,444,31,412], // LATIN SMALL LETTER E WITH OGONEK - 0x11A: [875,0,611,-1,634], // LATIN CAPITAL LETTER E WITH CARON - 0x11B: [661,11,444,31,502], // LATIN SMALL LETTER E WITH CARON - 0x11C: [877,18,722,52,722], // LATIN CAPITAL LETTER G WITH CIRCUMFLEX - 0x11D: [661,206,500,8,471], // LATIN SMALL LETTER G WITH CIRCUMFLEX - 0x11E: [866,18,722,52,722], // LATIN CAPITAL LETTER G WITH BREVE - 0x11F: [650,206,500,8,476], // LATIN SMALL LETTER G WITH BREVE - 0x120: [818,18,722,52,722], // LATIN CAPITAL LETTER G WITH DOT ABOVE - 0x121: [606,206,500,8,471], // LATIN SMALL LETTER G WITH DOT ABOVE - 0x122: [666,267,722,52,722], // LATIN CAPITAL LETTER G WITH CEDILLA - 0x123: [724,206,500,8,471], // LATIN SMALL LETTER G WITH CEDILLA - 0x124: [875,0,722,-8,769], // LATIN CAPITAL LETTER H WITH CIRCUMFLEX - 0x125: [875,9,500,19,478], // LATIN SMALL LETTER H WITH CIRCUMFLEX - 0x126: [653,0,722,-8,769], // LATIN CAPITAL LETTER H WITH STROKE - 0x127: [683,9,500,19,478], // LATIN SMALL LETTER H WITH STROKE - 0x128: [836,0,333,-8,444], // LATIN CAPITAL LETTER I WITH TILDE - 0x129: [624,11,278,30,357], // LATIN SMALL LETTER I WITH TILDE - 0x12A: [757,0,333,-8,439], // LATIN CAPITAL LETTER I WITH MACRON - 0x12B: [543,11,278,29,341], // LATIN SMALL LETTER I WITH MACRON - 0x12C: [866,0,333,-8,448], // LATIN CAPITAL LETTER I WITH BREVE - 0x12D: [650,11,278,46,347], // LATIN SMALL LETTER I WITH BREVE - 0x12E: [653,169,333,-8,384], // LATIN CAPITAL LETTER I WITH OGONEK - 0x12F: [654,169,278,49,303], // LATIN SMALL LETTER I WITH OGONEK - 0x130: [818,0,333,-8,384], // LATIN CAPITAL LETTER I WITH DOT ABOVE - 0x132: [653,18,750,-8,783], // LATIN CAPITAL LIGATURE IJ - 0x133: [654,207,500,49,500], // LATIN SMALL LIGATURE IJ - 0x134: [877,18,444,-6,536], // LATIN CAPITAL LETTER J WITH CIRCUMFLEX - 0x135: [661,207,278,-124,353], // LATIN SMALL LETTER J WITH CIRCUMFLEX - 0x136: [653,267,667,7,722], // LATIN CAPITAL LETTER K WITH CEDILLA - 0x137: [683,267,444,14,461], // LATIN SMALL LETTER K WITH CEDILLA - 0x138: [459,0,542,5,601], // LATIN SMALL LETTER KRA - 0x139: [876,0,556,-8,559], // LATIN CAPITAL LETTER L WITH ACUTE - 0x13A: [876,11,278,41,348], // LATIN SMALL LETTER L WITH ACUTE - 0x13B: [653,267,556,-8,559], // LATIN CAPITAL LETTER L WITH CEDILLA - 0x13C: [683,267,278,7,279], // LATIN SMALL LETTER L WITH CEDILLA - 0x13D: [666,0,556,-8,595], // LATIN CAPITAL LETTER L WITH CARON - 0x13E: [693,11,278,41,448], // LATIN SMALL LETTER L WITH CARON - 0x13F: [653,0,556,-8,559], // LATIN CAPITAL LETTER L WITH MIDDLE DOT - 0x140: [683,11,323,41,386], // LATIN SMALL LETTER L WITH MIDDLE DOT - 0x141: [653,0,556,-8,559], // LATIN CAPITAL LETTER L WITH STROKE - 0x142: [683,11,278,37,307], // LATIN SMALL LETTER L WITH STROKE - 0x143: [876,15,667,-20,727], // LATIN CAPITAL LETTER N WITH ACUTE - 0x144: [664,9,500,14,474], // LATIN SMALL LETTER N WITH ACUTE - 0x145: [653,267,667,-20,727], // LATIN CAPITAL LETTER N WITH CEDILLA - 0x146: [441,267,500,14,474], // LATIN SMALL LETTER N WITH CEDILLA - 0x147: [875,15,667,-20,727], // LATIN CAPITAL LETTER N WITH CARON - 0x148: [661,9,500,14,475], // LATIN SMALL LETTER N WITH CARON - 0x149: [691,9,577,58,540], // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE - 0x14A: [666,18,722,-8,700], // LATIN CAPITAL LETTER ENG - 0x14B: [441,208,500,14,442], // LATIN SMALL LETTER ENG - 0x14C: [757,18,722,60,699], // LATIN CAPITAL LETTER O WITH MACRON - 0x14D: [543,11,500,27,511], // LATIN SMALL LETTER O WITH MACRON - 0x14E: [866,18,722,60,709], // LATIN CAPITAL LETTER O WITH BREVE - 0x14F: [650,11,500,27,533], // LATIN SMALL LETTER O WITH BREVE - 0x150: [876,18,722,60,720], // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE - 0x151: [664,11,500,27,541], // LATIN SMALL LETTER O WITH DOUBLE ACUTE - 0x152: [666,8,944,49,964], // LATIN CAPITAL LIGATURE OE - 0x153: [441,12,667,20,646], // LATIN SMALL LIGATURE OE - 0x154: [876,0,611,-13,588], // LATIN CAPITAL LETTER R WITH ACUTE - 0x155: [664,0,389,45,412], // LATIN SMALL LETTER R WITH ACUTE - 0x156: [653,267,611,-13,588], // LATIN CAPITAL LETTER R WITH CEDILLA - 0x157: [441,267,389,-2,412], // LATIN SMALL LETTER R WITH CEDILLA - 0x158: [875,0,611,-13,588], // LATIN CAPITAL LETTER R WITH CARON - 0x159: [663,0,389,45,426], // LATIN SMALL LETTER R WITH CARON - 0x15A: [876,18,500,17,508], // LATIN CAPITAL LETTER S WITH ACUTE - 0x15B: [664,13,389,16,403], // LATIN SMALL LETTER S WITH ACUTE - 0x15C: [877,18,500,17,508], // LATIN CAPITAL LETTER S WITH CIRCUMFLEX - 0x15D: [661,13,389,16,385], // LATIN SMALL LETTER S WITH CIRCUMFLEX - 0x15E: [667,217,500,17,508], // LATIN CAPITAL LETTER S WITH CEDILLA - 0x15F: [442,217,389,16,366], // LATIN SMALL LETTER S WITH CEDILLA - 0x160: [875,18,500,17,532], // LATIN CAPITAL LETTER S WITH CARON - 0x161: [663,13,389,16,426], // LATIN SMALL LETTER S WITH CARON - 0x162: [653,217,556,59,633], // LATIN CAPITAL LETTER T WITH CEDILLA - 0x163: [546,217,278,-38,296], // LATIN SMALL LETTER T WITH CEDILLA - 0x164: [875,0,556,59,633], // LATIN CAPITAL LETTER T WITH CARON - 0x165: [693,11,278,38,453], // LATIN SMALL LETTER T WITH CARON - 0x166: [653,0,556,59,633], // LATIN CAPITAL LETTER T WITH STROKE - 0x167: [546,11,278,28,296], // LATIN SMALL LETTER T WITH STROKE - 0x168: [836,18,722,102,765], // LATIN CAPITAL LETTER U WITH TILDE - 0x169: [624,11,500,42,475], // LATIN SMALL LETTER U WITH TILDE - 0x16A: [757,18,722,102,765], // LATIN CAPITAL LETTER U WITH MACRON - 0x16B: [543,11,500,42,475], // LATIN SMALL LETTER U WITH MACRON - 0x16C: [866,18,722,102,765], // LATIN CAPITAL LETTER U WITH BREVE - 0x16D: [650,11,500,42,480], // LATIN SMALL LETTER U WITH BREVE - 0x16E: [907,18,722,102,765], // LATIN CAPITAL LETTER U WITH RING ABOVE - 0x16F: [691,11,500,42,475], // LATIN SMALL LETTER U WITH RING ABOVE - 0x170: [876,18,722,102,765], // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE - 0x171: [664,11,500,42,511], // LATIN SMALL LETTER U WITH DOUBLE ACUTE - 0x172: [653,169,722,102,765], // LATIN CAPITAL LETTER U WITH OGONEK - 0x173: [441,169,500,42,538], // LATIN SMALL LETTER U WITH OGONEK - 0x174: [877,18,833,71,906], // LATIN CAPITAL LETTER W WITH CIRCUMFLEX - 0x175: [661,18,667,15,648], // LATIN SMALL LETTER W WITH CIRCUMFLEX - 0x176: [877,0,556,78,633], // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX - 0x177: [661,206,444,-24,426], // LATIN SMALL LETTER Y WITH CIRCUMFLEX - 0x178: [818,0,556,78,633], // LATIN CAPITAL LETTER Y WITH DIAERESIS - 0x179: [876,0,556,-6,606], // LATIN CAPITAL LETTER Z WITH ACUTE - 0x17A: [664,81,389,-2,390], // LATIN SMALL LETTER Z WITH ACUTE - 0x17B: [818,0,556,-6,606], // LATIN CAPITAL LETTER Z WITH DOT ABOVE - 0x17C: [606,81,389,-2,380], // LATIN SMALL LETTER Z WITH DOT ABOVE - 0x17D: [875,0,556,-6,606], // LATIN CAPITAL LETTER Z WITH CARON - 0x17E: [663,81,389,-2,426], // LATIN SMALL LETTER Z WITH CARON - 0x17F: [683,0,383,13,513] // LATIN SMALL LETTER LONG S - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/LatinExtendedA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js deleted file mode 100644 index f77339b8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x1E80: [880,18,833,71,906], // LATIN CAPITAL LETTER W WITH GRAVE - 0x1E81: [664,18,667,15,648], // LATIN SMALL LETTER W WITH GRAVE - 0x1E82: [876,18,833,71,906], // LATIN CAPITAL LETTER W WITH ACUTE - 0x1E83: [664,18,667,15,648], // LATIN SMALL LETTER W WITH ACUTE - 0x1E84: [818,18,833,71,906], // LATIN CAPITAL LETTER W WITH DIAERESIS - 0x1E85: [606,18,667,15,648], // LATIN SMALL LETTER W WITH DIAERESIS - 0x1EF2: [880,0,556,78,633], // LATIN CAPITAL LETTER Y WITH GRAVE - 0x1EF3: [664,206,444,-24,426] // LATIN SMALL LETTER Y WITH GRAVE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/LatinExtendedAdditional.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js deleted file mode 100644 index c72db5ab..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +++ /dev/null @@ -1,58 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x180: [683,11,500,23,473], // LATIN SMALL LETTER B WITH STROKE - 0x188: [548,11,500,30,577], // LATIN SMALL LETTER C WITH HOOK - 0x190: [684,6,667,66,671], // LATIN CAPITAL LETTER OPEN E - 0x192: [706,159,472,-62,494], // LATIN SMALL LETTER F WITH HOOK - 0x195: [683,10,672,19,654], // LATIN SMALL LETTER HV - 0x199: [683,11,500,14,490], // LATIN SMALL LETTER K WITH HOOK - 0x19A: [683,11,278,41,279], // LATIN SMALL LETTER L WITH BAR - 0x19B: [668,0,490,30,478], // LATIN SMALL LETTER LAMBDA WITH STROKE - 0x19E: [441,233,500,14,442], // LATIN SMALL LETTER N WITH LONG RIGHT LEG - 0x1A0: [691,18,722,60,783], // LATIN CAPITAL LETTER O WITH HORN - 0x1A1: [467,11,534,27,583], // LATIN SMALL LETTER O WITH HORN - 0x1A5: [669,205,504,-75,472], // LATIN SMALL LETTER P WITH HOOK - 0x1AA: [685,233,340,31,319], // LATIN LETTER REVERSED ESH LOOP - 0x1AB: [546,218,278,-54,296], // LATIN SMALL LETTER T WITH PALATAL HOOK - 0x1AD: [683,11,310,38,452], // LATIN SMALL LETTER T WITH HOOK - 0x1AF: [765,18,754,102,881], // LATIN CAPITAL LETTER U WITH HORN - 0x1B0: [543,11,573,42,607], // LATIN SMALL LETTER U WITH HORN - 0x1BA: [450,234,500,8,462], // LATIN SMALL LETTER EZH WITH TAIL - 0x1BB: [676,0,500,12,500], // LATIN LETTER TWO WITH STROKE - 0x1BE: [539,12,500,47,453], // LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE - 0x1C0: [736,0,170,15,258], // LATIN LETTER DENTAL CLICK - 0x1C1: [736,0,290,15,379], // LATIN LETTER LATERAL CLICK - 0x1C2: [736,0,340,15,429], // LATIN LETTER ALVEOLAR CLICK - 0x1C3: [667,11,333,39,304], // LATIN LETTER RETROFLEX CLICK - 0x1F0: [661,207,278,-124,397], // LATIN SMALL LETTER J WITH CARON - 0x1FA: [950,0,611,-51,564], // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE - 0x1FB: [860,11,501,17,476], // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE - 0x1FC: [876,0,889,-27,911], // LATIN CAPITAL LETTER AE WITH ACUTE - 0x1FD: [664,11,667,23,640], // LATIN SMALL LETTER AE WITH ACUTE - 0x1FE: [876,105,722,60,699], // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE - 0x1FF: [664,135,500,28,469] // LATIN SMALL LETTER O WITH STROKE AND ACUTE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/LatinExtendedB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js deleted file mode 100644 index 94d91cda..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +++ /dev/null @@ -1,56 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x2102: [666,18,702,35,702], // stix-mathematical bold oblique double-struck capital C - 0x2105: [676,14,855,47,808], // CARE OF - 0x210A: [441,219,738,30,678], // SCRIPT SMALL G - 0x210B: [687,15,997,53,991], // SCRIPT CAPITAL H - 0x210D: [653,0,732,17,767], // stix-mathematical bold oblique double-struck capital H - 0x210E: [668,11,513,45,483], // PLANCK CONSTANT - 0x2110: [675,15,897,26,888], // SCRIPT CAPITAL I - 0x2112: [687,15,946,33,931], // SCRIPT CAPITAL L - 0x2115: [653,0,727,25,755], // stix-mathematical bold oblique double-struck capital N - 0x2116: [668,15,1046,19,1031], // NUMERO SIGN - 0x2119: [653,0,687,17,686], // stix-mathematical bold oblique double-struck capital P - 0x211A: [666,71,723,35,713], // stix-mathematical bold oblique double-struck capital Q - 0x211B: [687,15,944,34,876], // SCRIPT CAPITAL R - 0x211D: [653,0,687,17,686], // stix-mathematical bold oblique double-struck capital R - 0x2122: [653,-247,980,30,957], // TRADE MARK SIGN - 0x2124: [653,0,754,7,750], // stix-mathematical bold oblique double-struck capital Z - 0x212C: [687,15,950,34,902], // SCRIPT CAPITAL B - 0x212F: [441,11,627,30,554], // SCRIPT SMALL E - 0x2130: [687,15,750,100,734], // SCRIPT CAPITAL E - 0x2131: [680,0,919,43,907], // SCRIPT CAPITAL F - 0x2133: [674,15,1072,38,1056], // SCRIPT CAPITAL M - 0x2134: [441,11,697,30,680], // SCRIPT SMALL O - 0x213C: [428,12,635,40,630], // DOUBLE-STRUCK SMALL PI - 0x213F: [653,0,750,30,780], // DOUBLE-STRUCK CAPITAL PI - 0x2145: [653,0,713,17,703], // stix-mathematical bold double-struck capital D - 0x2146: [683,11,581,40,634], // stix-mathematical bold double-struck small letter d - 0x2147: [441,11,515,40,485], // stix-mathematical bold double-struck small letter e - 0x2148: [653,0,293,27,346], // stix-mathematical bold double-struck small letter i - 0x2149: [653,217,341,-104,394] // stix-mathematical bold double-struck small letter j - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/LetterlikeSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js deleted file mode 100644 index 6ee9d2d5..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +++ /dev/null @@ -1,192 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'] = { - directory: 'General/Italic', - family: 'STIXGeneral', - style: 'italic', - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x180,0x24F,"LatinExtendedB"], - [0x250,0x2AF,"IPAExtensions"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x370,0x3FF,"GreekAndCoptic"], - [0x400,0x4FF,"Cyrillic"], - [0x1E00,0x1EFF,"LatinExtendedAdditional"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x20A0,0x20CF,"CurrencySymbols"], - [0x20D0,0x20FF,"CombDiactForSymbols"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2200,0x22FF,"MathOperators"], - [0x2400,0x243F,"ControlPictures"], - [0x2460,0x24FF,"EnclosedAlphanum"], - [0x2500,0x257F,"BoxDrawing"], - [0xFB00,0xFB4F,"AlphaPresentForms"], - [0x1D434,0x1D467,"MathItalic"], - [0x1D49C,0x1D4CF,"MathScript"], - [0x1D608,0x1D63B,"MathSSItalic"], - [0x1D6A4,0x1D6A5,"ij"], - [0x1D6E2,0x1D71B,"GreekItalic"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [667,11,333,39,304], // EXCLAMATION MARK - 0x22: [666,-421,420,144,432], // QUOTATION MARK - 0x23: [676,0,501,2,540], // NUMBER SIGN - 0x24: [731,89,500,32,497], // DOLLAR SIGN - 0x25: [706,19,755,80,705], // PERCENT SIGN - 0x26: [666,18,778,76,723], // AMPERSAND - 0x27: [666,-421,214,132,241], // APOSTROPHE - 0x28: [669,181,333,42,315], // LEFT PARENTHESIS - 0x29: [669,180,333,16,289], // RIGHT PARENTHESIS - 0x2A: [666,-255,500,128,492], // ASTERISK - 0x2B: [506,0,675,86,590], // PLUS SIGN - 0x2C: [101,129,250,-5,135], // COMMA - 0x2D: [255,-192,333,49,282], // HYPHEN-MINUS - 0x2E: [100,11,250,27,138], // FULL STOP - 0x2F: [666,18,278,-65,386], // SOLIDUS - 0x30: [676,7,500,32,497], // DIGIT ZERO - 0x31: [676,0,500,50,409], // DIGIT ONE - 0x32: [676,0,500,12,452], // DIGIT TWO - 0x33: [676,7,500,16,465], // DIGIT THREE - 0x34: [676,0,500,1,479], // DIGIT FOUR - 0x35: [666,7,500,15,491], // DIGIT FIVE - 0x36: [686,7,500,30,521], // DIGIT SIX - 0x37: [666,8,500,75,537], // DIGIT SEVEN - 0x38: [676,7,500,30,493], // DIGIT EIGHT - 0x39: [676,17,500,23,492], // DIGIT NINE - 0x3A: [441,11,333,50,261], // COLON - 0x3B: [441,129,333,26,261], // SEMICOLON - 0x3C: [516,10,675,84,592], // LESS-THAN SIGN - 0x3D: [386,-120,675,86,590], // EQUALS SIGN - 0x3E: [516,10,675,84,592], // GREATER-THAN SIGN - 0x3F: [664,12,500,132,472], // QUESTION MARK - 0x40: [666,18,920,118,806], // COMMERCIAL AT - 0x41: [668,0,611,-51,564], // LATIN CAPITAL LETTER A - 0x42: [653,0,611,-8,588], // LATIN CAPITAL LETTER B - 0x43: [666,18,667,66,689], // LATIN CAPITAL LETTER C - 0x44: [653,0,722,-8,700], // LATIN CAPITAL LETTER D - 0x45: [653,0,611,-1,634], // LATIN CAPITAL LETTER E - 0x46: [653,0,611,8,645], // LATIN CAPITAL LETTER F - 0x47: [666,18,722,52,722], // LATIN CAPITAL LETTER G - 0x48: [653,0,722,-8,769], // LATIN CAPITAL LETTER H - 0x49: [653,0,333,-8,384], // LATIN CAPITAL LETTER I - 0x4A: [653,18,444,-6,491], // LATIN CAPITAL LETTER J - 0x4B: [653,0,667,7,722], // LATIN CAPITAL LETTER K - 0x4C: [653,0,556,-8,559], // LATIN CAPITAL LETTER L - 0x4D: [653,0,833,-18,872], // LATIN CAPITAL LETTER M - 0x4E: [653,15,667,-20,727], // LATIN CAPITAL LETTER N - 0x4F: [667,18,722,60,699], // LATIN CAPITAL LETTER O - 0x50: [653,0,611,0,605], // LATIN CAPITAL LETTER P - 0x51: [666,182,722,59,699], // LATIN CAPITAL LETTER Q - 0x52: [653,0,611,-13,588], // LATIN CAPITAL LETTER R - 0x53: [667,18,500,17,508], // LATIN CAPITAL LETTER S - 0x54: [653,0,556,59,633], // LATIN CAPITAL LETTER T - 0x55: [653,18,722,102,765], // LATIN CAPITAL LETTER U - 0x56: [653,18,611,76,688], // LATIN CAPITAL LETTER V - 0x57: [653,18,833,71,906], // LATIN CAPITAL LETTER W - 0x58: [653,0,611,-29,655], // LATIN CAPITAL LETTER X - 0x59: [653,0,556,78,633], // LATIN CAPITAL LETTER Y - 0x5A: [653,0,556,-6,606], // LATIN CAPITAL LETTER Z - 0x5B: [663,153,389,21,391], // LEFT SQUARE BRACKET - 0x5C: [666,18,278,-41,319], // REVERSE SOLIDUS - 0x5D: [663,153,389,12,382], // RIGHT SQUARE BRACKET - 0x5E: [666,-301,422,0,422], // CIRCUMFLEX ACCENT - 0x5F: [-75,125,500,0,500], // LOW LINE - 0x60: [664,-492,333,120,311], // GRAVE ACCENT - 0x61: [441,11,501,17,476], // LATIN SMALL LETTER A - 0x62: [683,11,500,23,473], // LATIN SMALL LETTER B - 0x63: [441,11,444,30,425], // LATIN SMALL LETTER C - 0x64: [683,13,500,15,527], // LATIN SMALL LETTER D - 0x65: [441,11,444,31,412], // LATIN SMALL LETTER E - 0x66: [678,207,278,-147,424], // LATIN SMALL LETTER F - 0x67: [441,206,500,8,471], // LATIN SMALL LETTER G - 0x68: [683,9,500,19,478], // LATIN SMALL LETTER H - 0x69: [654,11,278,49,264], // LATIN SMALL LETTER I - 0x6A: [652,207,278,-124,279], // LATIN SMALL LETTER J - 0x6B: [683,11,444,14,461], // LATIN SMALL LETTER K - 0x6C: [683,11,278,41,279], // LATIN SMALL LETTER L - 0x6D: [441,9,722,12,704], // LATIN SMALL LETTER M - 0x6E: [441,9,500,14,474], // LATIN SMALL LETTER N - 0x6F: [441,11,500,27,468], // LATIN SMALL LETTER O - 0x70: [441,205,504,-75,472], // LATIN SMALL LETTER P - 0x71: [441,209,500,25,484], // LATIN SMALL LETTER Q - 0x72: [441,0,389,45,412], // LATIN SMALL LETTER R - 0x73: [442,13,389,16,366], // LATIN SMALL LETTER S - 0x74: [546,11,278,38,296], // LATIN SMALL LETTER T - 0x75: [441,11,500,42,475], // LATIN SMALL LETTER U - 0x76: [441,18,444,20,426], // LATIN SMALL LETTER V - 0x77: [441,18,667,15,648], // LATIN SMALL LETTER W - 0x78: [441,11,444,-27,447], // LATIN SMALL LETTER X - 0x79: [441,206,444,-24,426], // LATIN SMALL LETTER Y - 0x7A: [428,81,389,-2,380], // LATIN SMALL LETTER Z - 0x7B: [687,177,400,51,407], // LEFT CURLY BRACKET - 0x7C: [666,18,275,105,171], // VERTICAL LINE - 0x7D: [687,177,400,-7,349], // RIGHT CURLY BRACKET - 0x7E: [323,-183,541,40,502], // TILDE - 0x131: [441,11,278,47,235], // LATIN SMALL LETTER DOTLESS I - 0x237: [441,207,278,-124,246], // LATIN SMALL LETTER DOTLESS J - 0x393: [653,0,611,8,645], // GREEK CAPITAL LETTER GAMMA - 0x394: [668,0,611,-32,526], // GREEK CAPITAL LETTER DELTA - 0x398: [667,18,722,60,699], // GREEK CAPITAL LETTER THETA - 0x39B: [668,0,611,-51,564], // GREEK CAPITAL LETTER LAMDA - 0x39E: [653,0,651,-6,680], // GREEK CAPITAL LETTER XI - 0x3A0: [653,0,722,-8,769], // GREEK CAPITAL LETTER PI - 0x3A3: [653,0,620,-6,659], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [668,0,556,78,648], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [653,0,741,50,731], // GREEK CAPITAL LETTER PHI - 0x3A8: [667,0,675,77,778], // GREEK CAPITAL LETTER PSI - 0x3A9: [666,0,762,-6,739], // GREEK CAPITAL LETTER OMEGA - 0x3B1: [441,11,552,27,549], // GREEK SMALL LETTER ALPHA - 0x3B2: [678,205,506,-40,514], // GREEK SMALL LETTER BETA - 0x3B3: [435,206,410,19,438], // GREEK SMALL LETTER GAMMA - 0x3B4: [668,11,460,24,460], // GREEK SMALL LETTER DELTA - 0x3B5: [441,11,444,30,425], // GREEK SMALL LETTER EPSILON - 0x3B6: [683,185,454,30,475], // GREEK SMALL LETTER ZETA - 0x3B7: [441,205,474,14,442], // GREEK SMALL LETTER ETA - 0x3B8: [678,11,480,27,494], // GREEK SMALL LETTER THETA - 0x3B9: [441,11,278,49,235], // GREEK SMALL LETTER IOTA - 0x3BA: [441,13,444,14,465], // GREEK SMALL LETTER KAPPA - 0x3BB: [678,16,458,-12,431], // GREEK SMALL LETTER LAMDA - 0x3BC: [428,205,526,-33,483], // GREEK SMALL LETTER MU - 0x3BD: [441,18,470,20,459], // GREEK SMALL LETTER NU - 0x3BE: [683,185,454,30,446], // GREEK SMALL LETTER XI - 0x3BF: [441,11,500,27,468], // GREEK SMALL LETTER OMICRON - 0x3C0: [428,18,504,19,536], // GREEK SMALL LETTER PI - 0x3C1: [441,205,504,-40,471], // GREEK SMALL LETTER RHO - 0x3C2: [441,185,454,30,453], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [428,11,498,27,531], // GREEK SMALL LETTER SIGMA - 0x3C4: [428,11,410,12,426], // GREEK SMALL LETTER TAU - 0x3C5: [441,10,478,19,446], // GREEK SMALL LETTER UPSILON - 0x3C6: [441,205,622,27,590], // GREEK SMALL LETTER PHI - 0x3C7: [441,207,457,-108,498], // GREEK SMALL LETTER CHI - 0x3C8: [441,205,584,15,668], // GREEK SMALL LETTER PSI - 0x3C9: [439,11,686,27,654], // GREEK SMALL LETTER OMEGA - 0x3D1: [678,10,556,19,526], // GREEK THETA SYMBOL - 0x3D5: [683,205,627,27,595], // GREEK PHI SYMBOL - 0x3D6: [428,11,792,17,832], // GREEK PI SYMBOL - 0x3F1: [441,205,516,27,484], // GREEK RHO SYMBOL - 0x3F5: [441,11,444,30,420], // GREEK LUNATE EPSILON SYMBOL - 0x2113: [687,11,579,48,571] // SCRIPT SMALL L -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXGeneral-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js deleted file mode 100644 index f3c3adaa..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +++ /dev/null @@ -1,78 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x1D434: [667,0,717,35,685], // MATHEMATICAL ITALIC CAPITAL A - 0x1D435: [653,0,696,38,686], // MATHEMATICAL ITALIC CAPITAL B - 0x1D436: [659,12,671,50,711], // MATHEMATICAL ITALIC CAPITAL C - 0x1D437: [653,0,790,38,765], // MATHEMATICAL ITALIC CAPITAL D - 0x1D438: [653,0,714,38,734], // MATHEMATICAL ITALIC CAPITAL E - 0x1D439: [653,0,618,38,723], // MATHEMATICAL ITALIC CAPITAL F - 0x1D43A: [668,12,734,50,734], // MATHEMATICAL ITALIC CAPITAL G - 0x1D43B: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL H - 0x1D43C: [653,0,480,38,530], // MATHEMATICAL ITALIC CAPITAL I - 0x1D43D: [653,12,540,60,620], // MATHEMATICAL ITALIC CAPITAL J - 0x1D43E: [653,0,762,38,802], // MATHEMATICAL ITALIC CAPITAL K - 0x1D43F: [653,0,708,38,668], // MATHEMATICAL ITALIC CAPITAL L - 0x1D440: [653,0,1005,38,1055], // MATHEMATICAL ITALIC CAPITAL M - 0x1D441: [653,0,851,38,901], // MATHEMATICAL ITALIC CAPITAL N - 0x1D442: [669,11,732,50,712], // MATHEMATICAL ITALIC CAPITAL O - 0x1D443: [653,0,594,38,704], // MATHEMATICAL ITALIC CAPITAL P - 0x1D444: [667,152,781,50,731], // MATHEMATICAL ITALIC CAPITAL Q - 0x1D445: [653,0,740,38,725], // MATHEMATICAL ITALIC CAPITAL R - 0x1D446: [668,10,650,50,680], // MATHEMATICAL ITALIC CAPITAL S - 0x1D447: [653,0,550,25,670], // MATHEMATICAL ITALIC CAPITAL T - 0x1D448: [653,13,705,65,775], // MATHEMATICAL ITALIC CAPITAL U - 0x1D449: [653,16,575,60,760], // MATHEMATICAL ITALIC CAPITAL V - 0x1D44A: [653,16,916,60,1101], // MATHEMATICAL ITALIC CAPITAL W - 0x1D44B: [653,0,790,25,810], // MATHEMATICAL ITALIC CAPITAL X - 0x1D44C: [653,0,535,35,695], // MATHEMATICAL ITALIC CAPITAL Y - 0x1D44D: [653,0,772,60,802], // MATHEMATICAL ITALIC CAPITAL Z - 0x1D44E: [441,10,502,40,472], // MATHEMATICAL ITALIC SMALL A - 0x1D44F: [668,11,470,45,450], // MATHEMATICAL ITALIC SMALL B - 0x1D450: [441,11,415,40,400], // MATHEMATICAL ITALIC SMALL C - 0x1D451: [668,12,532,40,527], // MATHEMATICAL ITALIC SMALL D - 0x1D452: [441,11,445,40,410], // MATHEMATICAL ITALIC SMALL E - 0x1D453: [668,187,555,40,615], // MATHEMATICAL ITALIC SMALL F - 0x1D454: [441,187,492,20,492], // MATHEMATICAL ITALIC SMALL G - 0x1D456: [616,11,311,50,257], // MATHEMATICAL ITALIC SMALL I - 0x1D457: [616,187,389,-16,372], // MATHEMATICAL ITALIC SMALL J - 0x1D458: [668,11,542,45,527], // MATHEMATICAL ITALIC SMALL K - 0x1D459: [668,10,318,45,278], // MATHEMATICAL ITALIC SMALL L - 0x1D45A: [441,8,710,30,680], // MATHEMATICAL ITALIC SMALL M - 0x1D45B: [441,8,497,30,467], // MATHEMATICAL ITALIC SMALL N - 0x1D45C: [441,11,458,40,438], // MATHEMATICAL ITALIC SMALL O - 0x1D45D: [441,183,489,-30,474], // MATHEMATICAL ITALIC SMALL P - 0x1D45E: [441,183,458,40,463], // MATHEMATICAL ITALIC SMALL Q - 0x1D45F: [441,0,408,30,393], // MATHEMATICAL ITALIC SMALL R - 0x1D460: [441,11,440,50,390], // MATHEMATICAL ITALIC SMALL S - 0x1D461: [567,9,313,40,283], // MATHEMATICAL ITALIC SMALL T - 0x1D462: [441,9,474,30,444], // MATHEMATICAL ITALIC SMALL U - 0x1D463: [458,9,506,72,479], // MATHEMATICAL ITALIC SMALL V - 0x1D464: [460,9,775,72,748], // MATHEMATICAL ITALIC SMALL W - 0x1D465: [441,9,550,30,510], // MATHEMATICAL ITALIC SMALL X - 0x1D466: [440,183,496,30,496], // MATHEMATICAL ITALIC SMALL Y - 0x1D467: [450,14,499,42,467] // MATHEMATICAL ITALIC SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/MathItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js deleted file mode 100644 index 1b81422d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x2202: [668,11,471,40,471], // PARTIAL DIFFERENTIAL - 0x2212: [286,-220,675,86,590] // MINUS SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/MathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js deleted file mode 100644 index 9424ad6f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x1D608: [674,0,666,31,635], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL A - 0x1D609: [662,0,604,74,641], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL B - 0x1D60A: [676,14,671,96,755], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL C - 0x1D60B: [662,0,692,74,751], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL D - 0x1D60C: [662,0,583,74,678], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL E - 0x1D60D: [662,0,535,74,679], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL F - 0x1D60E: [676,14,695,97,755], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL G - 0x1D60F: [662,0,658,74,749], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL H - 0x1D610: [662,0,401,59,512], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL I - 0x1D611: [662,14,398,22,470], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL J - 0x1D612: [662,0,634,74,729], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL K - 0x1D613: [662,0,559,74,564], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL L - 0x1D614: [662,0,843,75,933], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL M - 0x1D615: [662,14,675,74,766], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL N - 0x1D616: [676,14,714,99,779], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL O - 0x1D617: [662,0,525,74,638], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL P - 0x1D618: [676,175,716,99,779], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Q - 0x1D619: [662,0,589,74,639], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL R - 0x1D61A: [676,14,541,62,597], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL S - 0x1D61B: [662,0,608,161,748], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL T - 0x1D61C: [662,14,661,117,757], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL U - 0x1D61D: [662,11,654,196,788], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL V - 0x1D61E: [662,11,921,194,1057], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL W - 0x1D61F: [662,0,700,31,806], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL X - 0x1D620: [662,0,630,186,774], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Y - 0x1D621: [662,0,637,28,763], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Z - 0x1D622: [463,10,448,55,467], // MATHEMATICAL SANS-SERIF ITALIC SMALL A - 0x1D623: [684,10,496,74,535], // MATHEMATICAL SANS-SERIF ITALIC SMALL B - 0x1D624: [463,10,456,67,503], // MATHEMATICAL SANS-SERIF ITALIC SMALL C - 0x1D625: [684,11,494,72,600], // MATHEMATICAL SANS-SERIF ITALIC SMALL D - 0x1D626: [463,10,444,69,487], // MATHEMATICAL SANS-SERIF ITALIC SMALL E - 0x1D627: [683,0,336,101,526], // MATHEMATICAL SANS-SERIF ITALIC SMALL F - 0x1D628: [463,216,496,-7,575], // MATHEMATICAL SANS-SERIF ITALIC SMALL G - 0x1D629: [684,0,487,63,510], // MATHEMATICAL SANS-SERIF ITALIC SMALL H - 0x1D62A: [679,0,220,69,325], // MATHEMATICAL SANS-SERIF ITALIC SMALL I - 0x1D62B: [679,216,254,-118,354], // MATHEMATICAL SANS-SERIF ITALIC SMALL J - 0x1D62C: [684,0,453,63,556], // MATHEMATICAL SANS-SERIF ITALIC SMALL K - 0x1D62D: [684,0,205,61,313], // MATHEMATICAL SANS-SERIF ITALIC SMALL L - 0x1D62E: [464,0,756,65,775], // MATHEMATICAL SANS-SERIF ITALIC SMALL M - 0x1D62F: [464,0,487,63,510], // MATHEMATICAL SANS-SERIF ITALIC SMALL N - 0x1D630: [463,10,499,76,536], // MATHEMATICAL SANS-SERIF ITALIC SMALL O - 0x1D631: [464,216,498,14,538], // MATHEMATICAL SANS-SERIF ITALIC SMALL P - 0x1D632: [464,216,498,72,549], // MATHEMATICAL SANS-SERIF ITALIC SMALL Q - 0x1D633: [464,0,336,63,439], // MATHEMATICAL SANS-SERIF ITALIC SMALL R - 0x1D634: [463,10,389,61,432], // MATHEMATICAL SANS-SERIF ITALIC SMALL S - 0x1D635: [580,10,291,96,376], // MATHEMATICAL SANS-SERIF ITALIC SMALL T - 0x1D636: [453,11,491,89,536], // MATHEMATICAL SANS-SERIF ITALIC SMALL U - 0x1D637: [453,14,474,143,555], // MATHEMATICAL SANS-SERIF ITALIC SMALL V - 0x1D638: [453,14,702,140,787], // MATHEMATICAL SANS-SERIF ITALIC SMALL W - 0x1D639: [453,0,482,30,544], // MATHEMATICAL SANS-SERIF ITALIC SMALL X - 0x1D63A: [453,216,484,-19,565], // MATHEMATICAL SANS-SERIF ITALIC SMALL Y - 0x1D63B: [453,0,447,25,517] // MATHEMATICAL SANS-SERIF ITALIC SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/MathSSItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js deleted file mode 100644 index 3392e333..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +++ /dev/null @@ -1,68 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x1D49C: [674,15,855,31,846], // MATHEMATICAL SCRIPT CAPITAL A - 0x1D49E: [687,15,797,37,781], // MATHEMATICAL SCRIPT CAPITAL C - 0x1D49F: [687,15,885,36,818], // MATHEMATICAL SCRIPT CAPITAL D - 0x1D4A2: [687,15,773,83,740], // MATHEMATICAL SCRIPT CAPITAL G - 0x1D4A5: [674,177,802,9,792], // MATHEMATICAL SCRIPT CAPITAL J - 0x1D4A6: [687,15,1009,40,1004], // MATHEMATICAL SCRIPT CAPITAL K - 0x1D4A9: [687,15,970,38,956], // MATHEMATICAL SCRIPT CAPITAL N - 0x1D4AA: [680,15,692,82,663], // MATHEMATICAL SCRIPT CAPITAL O - 0x1D4AB: [687,15,910,38,886], // MATHEMATICAL SCRIPT CAPITAL P - 0x1D4AC: [680,38,692,82,663], // MATHEMATICAL SCRIPT CAPITAL Q - 0x1D4AE: [680,15,743,67,701], // MATHEMATICAL SCRIPT CAPITAL S - 0x1D4AF: [687,15,912,43,907], // MATHEMATICAL SCRIPT CAPITAL T - 0x1D4B0: [687,15,842,36,805], // MATHEMATICAL SCRIPT CAPITAL U - 0x1D4B1: [687,15,932,35,922], // MATHEMATICAL SCRIPT CAPITAL V - 0x1D4B2: [687,15,1078,35,1070], // MATHEMATICAL SCRIPT CAPITAL W - 0x1D4B3: [687,15,891,36,873], // MATHEMATICAL SCRIPT CAPITAL X - 0x1D4B4: [687,226,926,91,916], // MATHEMATICAL SCRIPT CAPITAL Y - 0x1D4B5: [687,15,932,59,912], // MATHEMATICAL SCRIPT CAPITAL Z - 0x1D4B6: [441,11,819,30,758], // MATHEMATICAL SCRIPT SMALL A - 0x1D4B7: [687,12,580,47,559], // MATHEMATICAL SCRIPT SMALL B - 0x1D4B8: [441,11,662,30,589], // MATHEMATICAL SCRIPT SMALL C - 0x1D4B9: [687,11,845,30,827], // MATHEMATICAL SCRIPT SMALL D - 0x1D4BB: [687,209,685,27,673], // MATHEMATICAL SCRIPT SMALL F - 0x1D4BD: [687,11,753,38,690], // MATHEMATICAL SCRIPT SMALL H - 0x1D4BE: [653,11,496,83,484], // MATHEMATICAL SCRIPT SMALL I - 0x1D4BF: [653,219,730,9,718], // MATHEMATICAL SCRIPT SMALL J - 0x1D4C0: [687,11,726,40,666], // MATHEMATICAL SCRIPT SMALL K - 0x1D4C1: [687,11,579,48,571], // MATHEMATICAL SCRIPT SMALL L - 0x1D4C2: [441,11,1038,49,978], // MATHEMATICAL SCRIPT SMALL M - 0x1D4C3: [441,11,761,49,701], // MATHEMATICAL SCRIPT SMALL N - 0x1D4C5: [441,209,773,23,694], // MATHEMATICAL SCRIPT SMALL P - 0x1D4C6: [441,209,780,30,743], // MATHEMATICAL SCRIPT SMALL Q - 0x1D4C7: [444,0,580,48,572], // MATHEMATICAL SCRIPT SMALL R - 0x1D4C8: [531,11,515,62,412], // MATHEMATICAL SCRIPT SMALL S - 0x1D4C9: [658,11,551,30,532], // MATHEMATICAL SCRIPT SMALL T - 0x1D4CA: [424,11,753,30,693], // MATHEMATICAL SCRIPT SMALL U - 0x1D4CB: [441,11,618,30,582], // MATHEMATICAL SCRIPT SMALL V - 0x1D4CC: [441,11,888,30,852], // MATHEMATICAL SCRIPT SMALL W - 0x1D4CD: [441,11,752,65,675], // MATHEMATICAL SCRIPT SMALL X - 0x1D4CE: [424,219,658,30,617], // MATHEMATICAL SCRIPT SMALL Y - 0x1D4CF: [478,11,691,52,617] // MATHEMATICAL SCRIPT SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/MathScript.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js deleted file mode 100644 index 402aa7c6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +++ /dev/null @@ -1,54 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x2B0: [838,-326,378,7,391], // MODIFIER LETTER SMALL H - 0x2B1: [838,-326,378,7,414], // MODIFIER LETTER SMALL H WITH HOOK - 0x2B2: [851,-199,300,44,350], // MODIFIER LETTER SMALL J - 0x2B3: [690,-345,320,2,320], // MODIFIER LETTER SMALL R - 0x2B4: [690,-345,320,0,318], // MODIFIER LETTER SMALL TURNED R - 0x2B5: [690,-163,320,0,335], // MODIFIER LETTER SMALL TURNED R WITH HOOK - 0x2B6: [684,-345,390,6,462], // MODIFIER LETTER SMALL CAPITAL INVERTED R - 0x2B7: [690,-327,500,15,515], // MODIFIER LETTER SMALL W - 0x2B8: [693,-202,330,16,357], // MODIFIER LETTER SMALL Y - 0x2BB: [686,-443,333,79,236], // MODIFIER LETTER TURNED COMMA - 0x2C0: [690,-295,326,30,307], // MODIFIER LETTER GLOTTAL STOP - 0x2C1: [690,-295,326,23,343], // MODIFIER LETTER REVERSED GLOTTAL STOP - 0x2C6: [661,-492,333,91,385], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [661,-492,333,121,426], // CARON - 0x2D8: [650,-492,333,117,418], // BREVE - 0x2D9: [606,-508,333,207,305], // DOT ABOVE - 0x2DA: [707,-508,333,155,355], // RING ABOVE - 0x2DB: [40,169,333,-20,200], // OGONEK - 0x2DC: [624,-517,333,100,427], // SMALL TILDE - 0x2DD: [664,-494,333,93,486], // DOUBLE ACUTE ACCENT - 0x2E0: [684,-218,315,23,335], // MODIFIER LETTER SMALL GAMMA - 0x2E1: [837,-333,220,41,214], // MODIFIER LETTER SMALL L - 0x2E2: [691,-335,300,16,290], // MODIFIER LETTER SMALL S - 0x2E3: [691,-333,380,4,379], // MODIFIER LETTER SMALL X - 0x2E4: [847,-333,318,8,345], // MODIFIER LETTER SMALL REVERSED GLOTTAL STOP - 0x2EC: [70,147,320,15,305], // MODIFIER LETTER VOICING - 0x2ED: [665,-507,405,10,395] // MODIFIER LETTER UNASPIRATED - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/SpacingModLetters.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js deleted file mode 100644 index 59c4a7be..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], - { - 0x1D6A4: [441,11,278,47,235], // MATHEMATICAL ITALIC SMALL DOTLESS I - 0x1D6A5: [441,207,278,-124,246] // MATHEMATICAL ITALIC SMALL DOTLESS J - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/ij.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js deleted file mode 100644 index 5b3c84dd..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +++ /dev/null @@ -1,32 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0xFB00: [683,0,605,20,655], // LATIN SMALL LIGATURE FF - 0xFB01: [683,0,558,32,523], // LATIN SMALL LIGATURE FI - 0xFB02: [683,0,556,31,522], // LATIN SMALL LIGATURE FL - 0xFB03: [683,0,832,20,797], // LATIN SMALL LIGATURE FFI - 0xFB04: [683,0,830,20,796] // LATIN SMALL LIGATURE FFL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/AlphaPresentForms.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js deleted file mode 100644 index 072b5f09..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +++ /dev/null @@ -1,106 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x219A: [450,-58,926,60,866], // LEFTWARDS ARROW WITH STROKE - 0x219B: [450,-58,926,60,866], // RIGHTWARDS ARROW WITH STROKE - 0x219C: [411,-102,926,70,856], // LEFTWARDS WAVE ARROW - 0x219D: [411,-102,926,70,856], // RIGHTWARDS WAVE ARROW - 0x219E: [449,-58,926,70,856], // LEFTWARDS TWO HEADED ARROW - 0x219F: [662,154,511,60,451], // UPWARDS TWO HEADED ARROW - 0x21A0: [449,-58,926,70,856], // RIGHTWARDS TWO HEADED ARROW - 0x21A1: [662,154,511,60,451], // DOWNWARDS TWO HEADED ARROW - 0x21A2: [449,-58,926,70,856], // LEFTWARDS ARROW WITH TAIL - 0x21A3: [449,-58,926,70,856], // RIGHTWARDS ARROW WITH TAIL - 0x21A4: [450,-57,926,70,857], // LEFTWARDS ARROW FROM BAR - 0x21A5: [662,154,511,60,451], // UPWARDS ARROW FROM BAR - 0x21A7: [662,154,511,59,451], // DOWNWARDS ARROW FROM BAR - 0x21A8: [662,154,511,59,451], // UP DOWN ARROW WITH BASE - 0x21AB: [553,0,926,70,856], // LEFTWARDS ARROW WITH LOOP - 0x21AC: [553,0,926,70,856], // RIGHTWARDS ARROW WITH LOOP - 0x21AD: [449,-58,1200,49,1151], // LEFT RIGHT WAVE ARROW - 0x21AE: [450,-58,926,38,888], // LEFT RIGHT ARROW WITH STROKE - 0x21AF: [662,154,511,60,451], // DOWNWARDS ZIGZAG ARROW - 0x21B0: [662,156,463,30,424], // UPWARDS ARROW WITH TIP LEFTWARDS - 0x21B1: [662,156,463,39,433], // UPWARDS ARROW WITH TIP RIGHTWARDS - 0x21B2: [662,154,463,25,419], // DOWNWARDS ARROW WITH TIP LEFTWARDS - 0x21B3: [662,154,463,39,433], // DOWNWARDS ARROW WITH TIP RIGHTWARDS - 0x21B4: [662,154,926,70,856], // RIGHTWARDS ARROW WITH CORNER DOWNWARDS - 0x21B5: [662,156,926,70,856], // DOWNWARDS ARROW WITH CORNER LEFTWARDS - 0x21B6: [534,0,926,44,882], // ANTICLOCKWISE TOP SEMICIRCLE ARROW - 0x21B7: [534,0,926,44,882], // CLOCKWISE TOP SEMICIRCLE ARROW - 0x21B8: [732,156,926,55,872], // NORTH WEST ARROW TO LONG BAR - 0x21B9: [598,92,926,60,866], // LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR - 0x21BA: [686,116,974,116,858], // ANTICLOCKWISE OPEN CIRCLE ARROW - 0x21BB: [686,116,974,116,858], // CLOCKWISE OPEN CIRCLE ARROW - 0x21BE: [662,156,511,222,441], // UPWARDS HARPOON WITH BARB RIGHTWARDS - 0x21BF: [662,156,511,69,288], // UPWARDS HARPOON WITH BARB LEFTWARDS - 0x21C2: [662,156,511,222,441], // DOWNWARDS HARPOON WITH BARB RIGHTWARDS - 0x21C3: [662,156,511,69,288], // DOWNWARDS HARPOON WITH BARB LEFTWARDS - 0x21C4: [598,92,926,71,856], // RIGHTWARDS ARROW OVER LEFTWARDS ARROW - 0x21C5: [662,156,773,31,742], // UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW - 0x21C6: [598,92,926,71,856], // LEFTWARDS ARROW OVER RIGHTWARDS ARROW - 0x21C7: [599,92,926,70,856], // LEFTWARDS PAIRED ARROWS - 0x21C8: [662,156,773,41,732], // UPWARDS PAIRED ARROWS - 0x21C9: [599,92,926,70,856], // RIGHTWARDS PAIRED ARROWS - 0x21CA: [662,156,773,41,732], // DOWNWARDS PAIRED ARROWS - 0x21CB: [539,33,926,70,856], // LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON - 0x21CD: [551,45,926,60,866], // LEFTWARDS DOUBLE ARROW WITH STROKE - 0x21CE: [517,10,926,20,906], // LEFT RIGHT DOUBLE ARROW WITH STROKE - 0x21CF: [551,45,926,60,866], // RIGHTWARDS DOUBLE ARROW WITH STROKE - 0x21D6: [662,156,926,55,874], // NORTH WEST DOUBLE ARROW - 0x21D7: [662,156,926,55,874], // NORTH EAST DOUBLE ARROW - 0x21D8: [662,156,926,55,874], // SOUTH EAST DOUBLE ARROW - 0x21D9: [662,156,926,55,874], // SOUTH WEST DOUBLE ARROW - 0x21DA: [644,139,926,46,852], // LEFTWARDS TRIPLE ARROW - 0x21DB: [645,138,926,74,880], // RIGHTWARDS TRIPLE ARROW - 0x21DC: [449,-58,926,60,866], // LEFTWARDS SQUIGGLE ARROW - 0x21DD: [449,-58,926,60,866], // RIGHTWARDS SQUIGGLE ARROW - 0x21DE: [662,156,511,60,451], // UPWARDS ARROW WITH DOUBLE STROKE - 0x21DF: [662,156,511,60,451], // DOWNWARDS ARROW WITH DOUBLE STROKE - 0x21E0: [449,-58,926,60,866], // LEFTWARDS DASHED ARROW - 0x21E1: [662,156,511,60,451], // UPWARDS DASHED ARROW - 0x21E2: [449,-58,926,60,866], // RIGHTWARDS DASHED ARROW - 0x21E3: [662,156,511,60,451], // DOWNWARDS DASHED ARROW - 0x21E4: [450,-58,926,60,866], // LEFTWARDS ARROW TO BAR - 0x21E5: [450,-58,926,60,866], // RIGHTWARDS ARROW TO BAR - 0x21E6: [551,45,926,60,866], // LEFTWARDS WHITE ARROW - 0x21E7: [662,156,685,45,641], // UPWARDS WHITE ARROW - 0x21E8: [551,45,926,60,866], // RIGHTWARDS WHITE ARROW - 0x21E9: [662,156,685,45,641], // DOWNWARDS WHITE ARROW - 0x21EA: [690,184,685,45,641], // UPWARDS WHITE ARROW FROM BAR - 0x21F4: [448,-57,926,70,856], // RIGHT ARROW WITH SMALL CIRCLE - 0x21F5: [662,156,773,31,742], // DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW - 0x21F6: [739,232,926,60,866], // THREE RIGHTWARDS ARROWS - 0x21F7: [450,-58,926,60,866], // LEFTWARDS ARROW WITH VERTICAL STROKE - 0x21F8: [450,-58,926,55,861], // RIGHTWARDS ARROW WITH VERTICAL STROKE - 0x21F9: [450,-58,926,48,878], // LEFT RIGHT ARROW WITH VERTICAL STROKE - 0x21FA: [450,-58,926,60,866], // LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE - 0x21FB: [450,-58,926,60,866], // RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE - 0x21FC: [450,-58,926,38,888], // LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE - 0x21FD: [449,-57,926,60,866], // LEFTWARDS OPEN-HEADED ARROW - 0x21FE: [449,-57,926,60,866], // RIGHTWARDS OPEN-HEADED ARROW - 0x21FF: [449,-57,926,20,906] // LEFT RIGHT OPEN-HEADED ARROW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Arrows.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js deleted file mode 100644 index 3d0d77c8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +++ /dev/null @@ -1,82 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D538: [662,0,741,50,691], // MATHEMATICAL DOUBLE-STRUCK CAPITAL A - 0x1D539: [662,0,676,70,626], // MATHEMATICAL DOUBLE-STRUCK CAPITAL B - 0x1D53B: [662,0,722,70,677], // MATHEMATICAL DOUBLE-STRUCK CAPITAL D - 0x1D53C: [662,0,622,70,567], // MATHEMATICAL DOUBLE-STRUCK CAPITAL E - 0x1D53D: [662,0,469,70,567], // MATHEMATICAL DOUBLE-STRUCK CAPITAL F - 0x1D53E: [676,13,706,45,664], // MATHEMATICAL DOUBLE-STRUCK CAPITAL G - 0x1D540: [662,0,322,78,244], // MATHEMATICAL DOUBLE-STRUCK CAPITAL I - 0x1D541: [662,14,560,40,495], // MATHEMATICAL DOUBLE-STRUCK CAPITAL J - 0x1D542: [674,0,735,70,729], // MATHEMATICAL DOUBLE-STRUCK CAPITAL K - 0x1D543: [662,0,591,70,571], // MATHEMATICAL DOUBLE-STRUCK CAPITAL L - 0x1D544: [662,0,855,70,785], // MATHEMATICAL DOUBLE-STRUCK CAPITAL M - 0x1D546: [676,14,760,45,715], // MATHEMATICAL DOUBLE-STRUCK CAPITAL O - 0x1D54A: [676,14,636,35,597], // MATHEMATICAL DOUBLE-STRUCK CAPITAL S - 0x1D54B: [662,0,527,20,622], // MATHEMATICAL DOUBLE-STRUCK CAPITAL T - 0x1D54C: [662,14,698,65,633], // MATHEMATICAL DOUBLE-STRUCK CAPITAL U - 0x1D54D: [662,0,568,12,653], // MATHEMATICAL DOUBLE-STRUCK CAPITAL V - 0x1D54E: [662,0,920,12,949], // MATHEMATICAL DOUBLE-STRUCK CAPITAL W - 0x1D54F: [662,0,768,35,733], // MATHEMATICAL DOUBLE-STRUCK CAPITAL X - 0x1D550: [662,0,563,12,685], // MATHEMATICAL DOUBLE-STRUCK CAPITAL Y - 0x1D552: [460,10,561,45,506], // MATHEMATICAL DOUBLE-STRUCK SMALL A - 0x1D553: [683,10,565,50,524], // MATHEMATICAL DOUBLE-STRUCK SMALL B - 0x1D554: [460,10,520,45,475], // MATHEMATICAL DOUBLE-STRUCK SMALL C - 0x1D555: [683,10,574,45,519], // MATHEMATICAL DOUBLE-STRUCK SMALL D - 0x1D556: [460,10,523,45,478], // MATHEMATICAL DOUBLE-STRUCK SMALL E - 0x1D557: [683,0,368,25,431], // MATHEMATICAL DOUBLE-STRUCK SMALL F - 0x1D558: [460,218,574,45,519], // MATHEMATICAL DOUBLE-STRUCK SMALL G - 0x1D559: [683,0,544,55,489], // MATHEMATICAL DOUBLE-STRUCK SMALL H - 0x1D55A: [683,0,258,55,203], // MATHEMATICAL DOUBLE-STRUCK SMALL I - 0x1D55B: [683,217,305,-15,250], // MATHEMATICAL DOUBLE-STRUCK SMALL J - 0x1D55C: [683,0,551,50,539], // MATHEMATICAL DOUBLE-STRUCK SMALL K - 0x1D55D: [683,0,258,55,203], // MATHEMATICAL DOUBLE-STRUCK SMALL L - 0x1D55E: [460,0,830,55,775], // MATHEMATICAL DOUBLE-STRUCK SMALL M - 0x1D55F: [460,0,544,55,489], // MATHEMATICAL DOUBLE-STRUCK SMALL N - 0x1D560: [458,12,553,45,508], // MATHEMATICAL DOUBLE-STRUCK SMALL O - 0x1D561: [460,218,574,55,529], // MATHEMATICAL DOUBLE-STRUCK SMALL P - 0x1D562: [460,218,574,45,519], // MATHEMATICAL DOUBLE-STRUCK SMALL Q - 0x1D563: [463,0,301,55,407], // MATHEMATICAL DOUBLE-STRUCK SMALL R - 0x1D564: [460,10,519,36,483], // MATHEMATICAL DOUBLE-STRUCK SMALL S - 0x1D565: [633,10,329,20,297], // MATHEMATICAL DOUBLE-STRUCK SMALL T - 0x1D566: [450,10,544,55,489], // MATHEMATICAL DOUBLE-STRUCK SMALL U - 0x1D567: [450,0,443,20,479], // MATHEMATICAL DOUBLE-STRUCK SMALL V - 0x1D568: [450,0,676,20,695], // MATHEMATICAL DOUBLE-STRUCK SMALL W - 0x1D569: [450,0,560,30,530], // MATHEMATICAL DOUBLE-STRUCK SMALL X - 0x1D56A: [450,218,468,20,510], // MATHEMATICAL DOUBLE-STRUCK SMALL Y - 0x1D56B: [450,0,519,43,476], // MATHEMATICAL DOUBLE-STRUCK SMALL Z - 0x1D7D8: [676,14,540,28,512], // MATHEMATICAL DOUBLE-STRUCK DIGIT ZERO - 0x1D7D9: [693,0,540,91,355], // MATHEMATICAL DOUBLE-STRUCK DIGIT ONE - 0x1D7DA: [676,0,547,48,514], // MATHEMATICAL DOUBLE-STRUCK DIGIT TWO - 0x1D7DB: [676,14,540,49,478], // MATHEMATICAL DOUBLE-STRUCK DIGIT THREE - 0x1D7DC: [676,0,540,20,524], // MATHEMATICAL DOUBLE-STRUCK DIGIT FOUR - 0x1D7DD: [662,14,540,35,489], // MATHEMATICAL DOUBLE-STRUCK DIGIT FIVE - 0x1D7DE: [676,14,540,28,512], // MATHEMATICAL DOUBLE-STRUCK DIGIT SIX - 0x1D7DF: [662,0,540,24,511], // MATHEMATICAL DOUBLE-STRUCK DIGIT SEVEN - 0x1D7E0: [676,14,540,28,512], // MATHEMATICAL DOUBLE-STRUCK DIGIT EIGHT - 0x1D7E1: [676,12,540,28,512] // MATHEMATICAL DOUBLE-STRUCK DIGIT NINE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BBBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js deleted file mode 100644 index 7972c0b9..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2580: [910,-304,1213,0,1213], // UPPER HALF BLOCK - 0x2584: [303,303,1213,0,1213], // LOWER HALF BLOCK - 0x2588: [910,303,1213,0,1213], // FULL BLOCK - 0x258C: [910,303,1212,0,606], // LEFT HALF BLOCK - 0x2590: [910,303,1212,606,1212], // RIGHT HALF BLOCK - 0x2591: [860,258,1200,0,1200], // LIGHT SHADE - 0x2592: [874,273,1200,0,1200], // MEDIUM SHADE - 0x2593: [874,273,1200,0,1200] // DARK SHADE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BlockElements.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js deleted file mode 100644 index 6246764c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D56C: [701,25,856,50,805], // MATHEMATICAL BOLD FRAKTUR CAPITAL A - 0x1D56D: [701,19,849,50,794], // MATHEMATICAL BOLD FRAKTUR CAPITAL B - 0x1D56E: [701,19,773,54,731], // MATHEMATICAL BOLD FRAKTUR CAPITAL C - 0x1D56F: [701,19,891,54,836], // MATHEMATICAL BOLD FRAKTUR CAPITAL D - 0x1D570: [701,19,788,54,731], // MATHEMATICAL BOLD FRAKTUR CAPITAL E - 0x1D571: [701,205,803,54,748], // MATHEMATICAL BOLD FRAKTUR CAPITAL F - 0x1D572: [701,19,833,54,781], // MATHEMATICAL BOLD FRAKTUR CAPITAL G - 0x1D573: [701,205,843,42,795], // MATHEMATICAL BOLD FRAKTUR CAPITAL H - 0x1D574: [701,25,790,54,735], // MATHEMATICAL BOLD FRAKTUR CAPITAL I - 0x1D575: [701,205,803,54,748], // MATHEMATICAL BOLD FRAKTUR CAPITAL J - 0x1D576: [701,25,864,42,814], // MATHEMATICAL BOLD FRAKTUR CAPITAL K - 0x1D577: [701,25,699,51,645], // MATHEMATICAL BOLD FRAKTUR CAPITAL L - 0x1D578: [701,25,1133,50,1081], // MATHEMATICAL BOLD FRAKTUR CAPITAL M - 0x1D579: [701,25,862,50,810], // MATHEMATICAL BOLD FRAKTUR CAPITAL N - 0x1D57A: [701,19,909,54,854], // MATHEMATICAL BOLD FRAKTUR CAPITAL O - 0x1D57B: [701,205,850,50,795], // MATHEMATICAL BOLD FRAKTUR CAPITAL P - 0x1D57C: [701,59,930,54,902], // MATHEMATICAL BOLD FRAKTUR CAPITAL Q - 0x1D57D: [701,25,884,50,841], // MATHEMATICAL BOLD FRAKTUR CAPITAL R - 0x1D57E: [701,19,852,54,802], // MATHEMATICAL BOLD FRAKTUR CAPITAL S - 0x1D57F: [701,25,793,54,740], // MATHEMATICAL BOLD FRAKTUR CAPITAL T - 0x1D580: [701,25,860,54,809], // MATHEMATICAL BOLD FRAKTUR CAPITAL U - 0x1D581: [701,19,855,50,800], // MATHEMATICAL BOLD FRAKTUR CAPITAL V - 0x1D582: [701,19,1121,50,1066], // MATHEMATICAL BOLD FRAKTUR CAPITAL W - 0x1D583: [701,25,819,50,775], // MATHEMATICAL BOLD FRAKTUR CAPITAL X - 0x1D584: [701,205,837,50,782], // MATHEMATICAL BOLD FRAKTUR CAPITAL Y - 0x1D585: [701,195,755,44,703], // MATHEMATICAL BOLD FRAKTUR CAPITAL Z - 0x1D586: [475,24,600,55,545], // MATHEMATICAL BOLD FRAKTUR SMALL A - 0x1D587: [695,24,559,45,504], // MATHEMATICAL BOLD FRAKTUR SMALL B - 0x1D588: [475,24,464,55,412], // MATHEMATICAL BOLD FRAKTUR SMALL C - 0x1D589: [694,25,557,48,502], // MATHEMATICAL BOLD FRAKTUR SMALL D - 0x1D58A: [475,24,476,55,427], // MATHEMATICAL BOLD FRAKTUR SMALL E - 0x1D58B: [700,214,370,33,352], // MATHEMATICAL BOLD FRAKTUR SMALL F - 0x1D58C: [475,219,566,55,506], // MATHEMATICAL BOLD FRAKTUR SMALL G - 0x1D58D: [695,219,576,45,516], // MATHEMATICAL BOLD FRAKTUR SMALL H - 0x1D58E: [697,24,429,35,379], // MATHEMATICAL BOLD FRAKTUR SMALL I - 0x1D58F: [697,219,389,40,337], // MATHEMATICAL BOLD FRAKTUR SMALL J - 0x1D590: [695,24,456,48,402], // MATHEMATICAL BOLD FRAKTUR SMALL K - 0x1D591: [695,24,433,45,379], // MATHEMATICAL BOLD FRAKTUR SMALL L - 0x1D592: [475,24,984,40,932], // MATHEMATICAL BOLD FRAKTUR SMALL M - 0x1D593: [475,24,696,40,644], // MATHEMATICAL BOLD FRAKTUR SMALL N - 0x1D594: [475,24,554,45,499], // MATHEMATICAL BOLD FRAKTUR SMALL O - 0x1D595: [593,219,640,36,585], // MATHEMATICAL BOLD FRAKTUR SMALL P - 0x1D596: [475,219,574,55,522], // MATHEMATICAL BOLD FRAKTUR SMALL Q - 0x1D597: [475,24,525,40,493], // MATHEMATICAL BOLD FRAKTUR SMALL R - 0x1D598: [643,31,557,52,505], // MATHEMATICAL BOLD FRAKTUR SMALL S - 0x1D599: [656,23,438,45,378], // MATHEMATICAL BOLD FRAKTUR SMALL T - 0x1D59A: [475,24,681,35,629], // MATHEMATICAL BOLD FRAKTUR SMALL U - 0x1D59B: [593,24,573,55,526], // MATHEMATICAL BOLD FRAKTUR SMALL V - 0x1D59C: [593,24,850,55,795], // MATHEMATICAL BOLD FRAKTUR SMALL W - 0x1D59D: [475,209,521,50,489], // MATHEMATICAL BOLD FRAKTUR SMALL X - 0x1D59E: [593,219,596,55,536], // MATHEMATICAL BOLD FRAKTUR SMALL Y - 0x1D59F: [475,219,484,36,437] // MATHEMATICAL BOLD FRAKTUR SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BoldFraktur.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js deleted file mode 100644 index d675eabe..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +++ /dev/null @@ -1,72 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2500: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT HORIZONTAL - 0x2502: [910,303,708,317,390], // BOX DRAWINGS LIGHT VERTICAL - 0x2506: [910,303,708,317,390], // BOX DRAWINGS LIGHT TRIPLE DASH VERTICAL - 0x2508: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT QUADRUPLE DASH HORIZONTAL - 0x250A: [910,303,708,317,390], // BOX DRAWINGS LIGHT QUADRUPLE DASH VERTICAL - 0x250C: [340,303,708,317,720], // BOX DRAWINGS LIGHT DOWN AND RIGHT - 0x2510: [340,303,708,-11,390], // BOX DRAWINGS LIGHT DOWN AND LEFT - 0x2514: [910,-267,708,317,720], // BOX DRAWINGS LIGHT UP AND RIGHT - 0x2518: [910,-267,708,-11,390], // BOX DRAWINGS LIGHT UP AND LEFT - 0x251C: [910,303,708,317,719], // BOX DRAWINGS LIGHT VERTICAL AND RIGHT - 0x2524: [910,303,708,-11,390], // BOX DRAWINGS LIGHT VERTICAL AND LEFT - 0x252C: [340,303,708,-11,719], // BOX DRAWINGS LIGHT DOWN AND HORIZONTAL - 0x2534: [910,-267,708,-11,719], // BOX DRAWINGS LIGHT UP AND HORIZONTAL - 0x253C: [910,303,708,-11,719], // BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL - 0x2550: [433,-174,708,-11,719], // BOX DRAWINGS DOUBLE HORIZONTAL - 0x2551: [910,303,708,225,483], // BOX DRAWINGS DOUBLE VERTICAL - 0x2552: [433,303,708,317,720], // BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE - 0x2553: [340,303,708,225,720], // BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE - 0x2554: [433,303,708,225,719], // BOX DRAWINGS DOUBLE DOWN AND RIGHT - 0x2555: [433,303,708,-11,390], // BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE - 0x2556: [340,303,708,-11,483], // BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE - 0x2557: [433,303,708,-11,483], // BOX DRAWINGS DOUBLE DOWN AND LEFT - 0x2558: [910,-174,708,317,720], // BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE - 0x2559: [910,-267,708,225,720], // BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE - 0x255A: [910,-174,708,225,719], // BOX DRAWINGS DOUBLE UP AND RIGHT - 0x255B: [910,-174,708,-11,390], // BOX DRAWINGS UP SINGLE AND LEFT DOUBLE - 0x255C: [910,-267,708,-11,483], // BOX DRAWINGS UP DOUBLE AND LEFT SINGLE - 0x255D: [910,-174,708,-11,483], // BOX DRAWINGS DOUBLE UP AND LEFT - 0x255E: [910,303,708,317,720], // BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE - 0x255F: [910,303,708,225,720], // BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE - 0x2560: [910,303,708,225,720], // BOX DRAWINGS DOUBLE VERTICAL AND RIGHT - 0x2561: [910,303,708,-11,390], // BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE - 0x2562: [910,303,708,-11,483], // BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE - 0x2563: [910,303,708,-11,483], // BOX DRAWINGS DOUBLE VERTICAL AND LEFT - 0x2564: [433,303,708,-11,719], // BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE - 0x2565: [340,303,708,-11,719], // BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE - 0x2566: [433,303,708,-11,719], // BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL - 0x2567: [910,-174,708,-11,719], // BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE - 0x2568: [910,-267,708,-11,719], // BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE - 0x2569: [910,-174,708,-11,719], // BOX DRAWINGS DOUBLE UP AND HORIZONTAL - 0x256A: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE - 0x256B: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE - 0x256C: [910,303,708,-11,719], // BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL - 0x2571: [910,303,708,-15,723], // BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT - 0x2572: [910,303,708,-15,723] // BOX DRAWINGS LIGHT DIAGONAL UPPER LEFT TO LOWER RIGHT - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BoxDrawing.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js deleted file mode 100644 index 085e13c0..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x3012: [662,0,685,10,672], // POSTAL MARK - 0x3030: [417,-93,1412,45,1367] // WAVY DASH - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/CJK.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js deleted file mode 100644 index cac5342c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +++ /dev/null @@ -1,86 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x305: [820,-770,0,-480,20], // COMBINING OVERLINE - 0x309: [751,-492,0,-307,-118], // COMBINING HOOK ABOVE - 0x30D: [700,-500,0,-250,-195], // COMBINING VERTICAL LINE ABOVE - 0x30E: [700,-500,0,-326,-133], // COMBINING DOUBLE VERTICAL LINE ABOVE - 0x30F: [678,-507,0,-401,-22], // COMBINING DOUBLE GRAVE ACCENT - 0x310: [767,-507,0,-373,-92], // COMBINING CANDRABINDU - 0x311: [664,-507,0,-373,-92], // COMBINING INVERTED BREVE - 0x312: [745,-502,0,-299,-160], // COMBINING TURNED COMMA ABOVE - 0x313: [745,-502,0,-299,-160], // COMBINING COMMA ABOVE - 0x314: [745,-502,0,-299,-160], // COMBINING REVERSED COMMA ABOVE - 0x315: [745,-502,0,-85,54], // COMBINING COMMA ABOVE RIGHT - 0x316: [-53,224,0,-351,-127], // COMBINING GRAVE ACCENT BELOW - 0x317: [-53,224,0,-371,-147], // COMBINING ACUTE ACCENT BELOW - 0x318: [-53,283,0,-397,-210], // COMBINING LEFT TACK BELOW - 0x319: [-53,283,0,-267,-80], // COMBINING RIGHT TACK BELOW - 0x31A: [735,-531,0,-380,-80], // COMBINING LEFT ANGLE ABOVE - 0x31B: [474,-345,0,-44,51], // COMBINING HORN - 0x31C: [-71,266,0,-360,-232], // COMBINING LEFT HALF RING BELOW - 0x31D: [-53,240,0,-345,-115], // COMBINING UP TACK BELOW - 0x31E: [-53,240,0,-345,-115], // COMBINING DOWN TACK BELOW - 0x31F: [-53,250,0,-326,-134], // COMBINING PLUS SIGN BELOW - 0x320: [-124,168,0,-326,-134], // COMBINING MINUS SIGN BELOW - 0x321: [75,287,0,-235,1], // COMBINING PALATALIZED HOOK BELOW - 0x322: [75,287,0,-54,182], // COMBINING RETROFLEX HOOK BELOW - 0x323: [-118,217,0,-280,-181], // COMBINING DOT BELOW - 0x324: [-119,218,0,-379,-81], // COMBINING DIAERESIS BELOW - 0x325: [-69,268,0,-329,-130], // COMBINING RING BELOW - 0x326: [-110,353,0,-299,-160], // COMBINING COMMA BELOW - 0x327: [0,215,0,-334,-125], // COMBINING CEDILLA - 0x328: [0,165,0,-322,-137], // COMBINING OGONEK - 0x329: [-102,234,0,-250,-210], // COMBINING VERTICAL LINE BELOW - 0x32A: [-98,235,0,-385,-73], // COMBINING BRIDGE BELOW - 0x32B: [-110,227,0,-380,-75], // COMBINING INVERTED DOUBLE ARCH BELOW - 0x32C: [-73,240,0,-385,-74], // COMBINING CARON BELOW - 0x32D: [-73,240,0,-385,-74], // COMBINING CIRCUMFLEX ACCENT BELOW - 0x32E: [-68,225,0,-370,-89], // COMBINING BREVE BELOW - 0x32F: [-59,216,0,-370,-89], // COMBINING INVERTED BREVE BELOW - 0x330: [-113,219,0,-395,-65], // COMBINING TILDE BELOW - 0x331: [-141,195,0,-385,-74], // COMBINING MACRON BELOW - 0x332: [-141,191,0,-480,20], // COMBINING LOW LINE - 0x333: [-141,300,0,-480,20], // COMBINING DOUBLE LOW LINE - 0x334: [320,-214,0,-401,-71], // COMBINING TILDE OVERLAY - 0x335: [274,-230,0,-384,-78], // COMBINING SHORT STROKE OVERLAY - 0x336: [274,-230,0,-480,20], // COMBINING LONG STROKE OVERLAY - 0x337: [580,74,0,-380,-41], // COMBINING SHORT SOLIDUS OVERLAY - 0x339: [-71,266,0,-280,-152], // COMBINING RIGHT HALF RING BELOW - 0x33A: [-53,190,0,-385,-73], // COMBINING INVERTED BRIDGE BELOW - 0x33B: [-53,227,0,-313,-147], // COMBINING SQUARE BELOW - 0x33C: [-65,189,0,-380,-79], // COMBINING SEAGULL BELOW - 0x33D: [715,-525,0,-326,-135], // COMBINING X ABOVE - 0x33E: [829,-499,0,-283,-177], // COMBINING VERTICAL TILDE - 0x33F: [928,-770,0,-480,20], // COMBINING DOUBLE OVERLINE - 0x346: [681,-538,0,-350,-68], // COMBINING BRIDGE ABOVE - 0x34C: [777,-532,0,-386,-56], // COMBINING ALMOST EQUAL TO ABOVE - 0x359: [-65,367,0,-357,-87], // COMBINING ASTERISK BELOW - 0x35C: [-76,233,0,-373,295], // COMBINING DOUBLE BREVE BELOW - 0x360: [633,-517,0,-395,365], // COMBINING DOUBLE TILDE - 0x361: [664,-507,0,-373,295], // COMBINING DOUBLE INVERTED BREVE - 0x362: [-65,270,0,-395,355] // COMBINING DOUBLE RIGHTWARDS ARROW BELOW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js deleted file mode 100644 index c25e5fd8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +++ /dev/null @@ -1,50 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x20D0: [760,-627,0,-453,-17], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [760,-627,0,-453,-17], // COMBINING RIGHT HARPOON ABOVE - 0x20D2: [662,156,0,-242,-192], // COMBINING LONG VERTICAL LINE OVERLAY - 0x20D6: [760,-548,0,-453,-17], // COMBINING LEFT ARROW ABOVE - 0x20DB: [622,-523,0,-462,35], // COMBINING THREE DOTS ABOVE - 0x20DC: [622,-523,0,-600,96], // COMBINING FOUR DOTS ABOVE - 0x20DD: [725,221,0,-723,223], // COMBINING ENCLOSING CIRCLE - 0x20DE: [780,180,0,-730,230], // COMBINING ENCLOSING SQUARE - 0x20DF: [843,341,0,-840,344], // COMBINING ENCLOSING DIAMOND - 0x20E1: [760,-548,0,-453,25], // COMBINING LEFT RIGHT ARROW ABOVE - 0x20E4: [1023,155,0,-970,490], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE - 0x20E5: [662,156,0,-430,-40], // COMBINING REVERSE SOLIDUS OVERLAY - 0x20E6: [662,156,0,-335,-102], // COMBINING DOUBLE VERTICAL STROKE OVERLAY - 0x20E7: [725,178,0,-650,166], // COMBINING ANNUITY SYMBOL - 0x20E8: [-119,218,0,-462,35], // COMBINING TRIPLE UNDERDOT - 0x20E9: [681,-538,0,-480,53], // COMBINING WIDE BRIDGE ABOVE - 0x20EA: [419,-87,0,-658,118], // COMBINING LEFTWARDS ARROW OVERLAY - 0x20EB: [756,217,0,-448,193], // COMBINING LONG DOUBLE SOLIDUS OVERLAY - 0x20EC: [-119,252,0,-453,-17], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-119,252,0,-453,-17], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-40,252,0,-453,-17], // COMBINING LEFT ARROW BELOW - 0x20EF: [-40,252,0,-453,-17], // COMBINING RIGHT ARROW BELOW - 0x20F0: [819,-517,0,-357,-87] // COMBINING ASTERISK ABOVE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/CombDiactForSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js deleted file mode 100644 index b738a43c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2423: [16,120,500,40,460] // stix-round space indicator - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/ControlPictures.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js deleted file mode 100644 index fb870193..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +++ /dev/null @@ -1,31 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x20A3: [662,0,556,11,546], // FRENCH FRANC SIGN - 0x20A4: [676,8,500,12,490], // LIRA SIGN - 0x20A7: [662,10,1182,16,1141], // PESETA SIGN - 0x20AC: [664,12,500,38,462] // EURO SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/CurrencySymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js deleted file mode 100644 index 275025a5..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +++ /dev/null @@ -1,129 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x401: [872,0,629,22,607], // CYRILLIC CAPITAL LETTER IO - 0x402: [662,189,756,18,700], // CYRILLIC CAPITAL LETTER DJE - 0x403: [928,0,571,19,544], // CYRILLIC CAPITAL LETTER GJE - 0x404: [676,14,651,38,621], // CYRILLIC CAPITAL LETTER UKRAINIAN IE - 0x405: [676,14,556,62,510], // CYRILLIC CAPITAL LETTER DZE - 0x406: [662,0,333,18,315], // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I - 0x407: [872,0,333,25,323], // CYRILLIC CAPITAL LETTER YI - 0x408: [662,14,373,-6,354], // CYRILLIC CAPITAL LETTER JE - 0x409: [662,14,988,10,954], // CYRILLIC CAPITAL LETTER LJE - 0x40A: [662,0,1017,19,983], // CYRILLIC CAPITAL LETTER NJE - 0x40B: [662,0,803,18,786], // CYRILLIC CAPITAL LETTER TSHE - 0x40C: [928,0,690,19,686], // CYRILLIC CAPITAL LETTER KJE - 0x40E: [915,15,711,15,694], // CYRILLIC CAPITAL LETTER SHORT U - 0x40F: [662,153,715,19,696], // CYRILLIC CAPITAL LETTER DZHE - 0x410: [674,0,713,9,701], // CYRILLIC CAPITAL LETTER A - 0x411: [662,0,611,19,577], // CYRILLIC CAPITAL LETTER BE - 0x412: [662,0,651,19,595], // CYRILLIC CAPITAL LETTER VE - 0x413: [662,0,571,19,544], // CYRILLIC CAPITAL LETTER GHE - 0x414: [662,153,665,14,646], // CYRILLIC CAPITAL LETTER DE - 0x415: [662,0,629,22,607], // CYRILLIC CAPITAL LETTER IE - 0x416: [676,0,1021,8,1013], // CYRILLIC CAPITAL LETTER ZHE - 0x417: [676,14,576,28,545], // CYRILLIC CAPITAL LETTER ZE - 0x418: [662,0,723,19,704], // CYRILLIC CAPITAL LETTER I - 0x419: [915,0,723,19,704], // CYRILLIC CAPITAL LETTER SHORT I - 0x41A: [676,0,690,19,686], // CYRILLIC CAPITAL LETTER KA - 0x41B: [662,14,683,9,664], // CYRILLIC CAPITAL LETTER EL - 0x41C: [662,0,893,19,871], // CYRILLIC CAPITAL LETTER EM - 0x41D: [662,0,726,19,704], // CYRILLIC CAPITAL LETTER EN - 0x41E: [676,14,729,36,690], // CYRILLIC CAPITAL LETTER O - 0x41F: [662,0,724,19,705], // CYRILLIC CAPITAL LETTER PE - 0x420: [662,0,571,19,535], // CYRILLIC CAPITAL LETTER ER - 0x421: [676,14,677,36,641], // CYRILLIC CAPITAL LETTER ES - 0x422: [662,0,618,30,592], // CYRILLIC CAPITAL LETTER TE - 0x423: [662,15,711,15,694], // CYRILLIC CAPITAL LETTER U - 0x424: [662,0,769,38,731], // CYRILLIC CAPITAL LETTER EF - 0x425: [662,0,716,9,703], // CYRILLIC CAPITAL LETTER HA - 0x426: [662,153,715,19,696], // CYRILLIC CAPITAL LETTER TSE - 0x427: [662,0,657,3,639], // CYRILLIC CAPITAL LETTER CHE - 0x428: [662,0,994,29,965], // CYRILLIC CAPITAL LETTER SHA - 0x429: [662,153,994,29,965], // CYRILLIC CAPITAL LETTER SHCHA - 0x42A: [662,0,737,13,703], // CYRILLIC CAPITAL LETTER HARD SIGN - 0x42B: [662,0,884,19,865], // CYRILLIC CAPITAL LETTER YERU - 0x42C: [662,0,612,19,578], // CYRILLIC CAPITAL LETTER SOFT SIGN - 0x42D: [676,14,651,30,613], // CYRILLIC CAPITAL LETTER E - 0x42E: [676,14,902,19,863], // CYRILLIC CAPITAL LETTER YU - 0x42F: [662,0,637,3,618], // CYRILLIC CAPITAL LETTER YA - 0x430: [460,10,450,37,446], // CYRILLIC SMALL LETTER A - 0x431: [685,10,507,39,478], // CYRILLIC SMALL LETTER BE - 0x432: [450,0,474,24,438], // CYRILLIC SMALL LETTER VE - 0x433: [450,0,394,17,387], // CYRILLIC SMALL LETTER GHE - 0x434: [450,137,462,14,439], // CYRILLIC SMALL LETTER DE - 0x435: [460,10,466,38,437], // CYRILLIC SMALL LETTER IE - 0x436: [456,0,721,14,707], // CYRILLIC SMALL LETTER ZHE - 0x437: [460,10,390,14,357], // CYRILLIC SMALL LETTER ZE - 0x438: [450,0,525,23,502], // CYRILLIC SMALL LETTER I - 0x439: [704,0,525,23,502], // CYRILLIC SMALL LETTER SHORT I - 0x43A: [456,0,503,23,495], // CYRILLIC SMALL LETTER KA - 0x43B: [450,10,499,8,476], // CYRILLIC SMALL LETTER EL - 0x43C: [450,0,617,23,594], // CYRILLIC SMALL LETTER EM - 0x43D: [450,0,525,23,502], // CYRILLIC SMALL LETTER EN - 0x43E: [460,10,512,35,476], // CYRILLIC SMALL LETTER O - 0x43F: [450,0,525,23,502], // CYRILLIC SMALL LETTER PE - 0x440: [460,217,499,-2,463], // CYRILLIC SMALL LETTER ER - 0x441: [460,10,456,41,428], // CYRILLIC SMALL LETTER ES - 0x442: [450,0,434,8,426], // CYRILLIC SMALL LETTER TE - 0x443: [450,218,491,8,483], // CYRILLIC SMALL LETTER U - 0x444: [662,217,678,43,635], // CYRILLIC SMALL LETTER EF - 0x445: [450,0,489,14,476], // CYRILLIC SMALL LETTER HA - 0x446: [450,137,525,23,502], // CYRILLIC SMALL LETTER TSE - 0x447: [450,0,512,18,489], // CYRILLIC SMALL LETTER CHE - 0x448: [450,0,768,23,745], // CYRILLIC SMALL LETTER SHA - 0x449: [450,137,768,23,745], // CYRILLIC SMALL LETTER SHCHA - 0x44A: [450,0,539,8,507], // CYRILLIC SMALL LETTER HARD SIGN - 0x44B: [450,0,670,23,646], // CYRILLIC SMALL LETTER YERU - 0x44C: [450,0,457,23,425], // CYRILLIC SMALL LETTER SOFT SIGN - 0x44D: [460,10,444,14,410], // CYRILLIC SMALL LETTER E - 0x44E: [460,10,738,23,703], // CYRILLIC SMALL LETTER YU - 0x44F: [450,0,471,4,448], // CYRILLIC SMALL LETTER YA - 0x451: [622,10,466,38,437], // CYRILLIC SMALL LETTER IO - 0x452: [683,218,512,6,439], // CYRILLIC SMALL LETTER DJE - 0x453: [679,0,394,17,387], // CYRILLIC SMALL LETTER GJE - 0x454: [460,10,444,34,430], // CYRILLIC SMALL LETTER UKRAINIAN IE - 0x455: [459,10,389,49,346], // CYRILLIC SMALL LETTER DZE - 0x456: [683,0,278,29,266], // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I - 0x457: [622,0,278,1,299], // CYRILLIC SMALL LETTER YI - 0x458: [683,218,278,-77,187], // CYRILLIC SMALL LETTER JE - 0x459: [450,10,702,8,670], // CYRILLIC SMALL LETTER LJE - 0x45A: [450,0,721,23,689], // CYRILLIC SMALL LETTER NJE - 0x45B: [683,0,512,6,499], // CYRILLIC SMALL LETTER TSHE - 0x45C: [679,0,503,23,495], // CYRILLIC SMALL LETTER KJE - 0x45E: [704,218,491,8,483], // CYRILLIC SMALL LETTER SHORT U - 0x45F: [450,137,518,23,495], // CYRILLIC SMALL LETTER DZHE - 0x462: [662,0,746,26,713], // CYRILLIC CAPITAL LETTER YAT - 0x463: [683,0,539,8,507], // CYRILLIC SMALL LETTER YAT - 0x46A: [662,0,998,6,992], // CYRILLIC CAPITAL LETTER BIG YUS - 0x46B: [450,0,722,14,708], // CYRILLIC SMALL LETTER BIG YUS - 0x472: [676,14,729,36,690], // CYRILLIC CAPITAL LETTER FITA - 0x473: [460,10,512,35,476], // CYRILLIC SMALL LETTER FITA - 0x474: [676,11,766,16,760], // CYRILLIC CAPITAL LETTER IZHITSA - 0x475: [456,14,539,19,532], // CYRILLIC SMALL LETTER IZHITSA - 0x490: [803,0,571,19,544], // CYRILLIC CAPITAL LETTER GHE WITH UPTURN - 0x491: [558,0,394,17,387] // CYRILLIC SMALL LETTER GHE WITH UPTURN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Cyrillic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js deleted file mode 100644 index 900e1dcf..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +++ /dev/null @@ -1,57 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2702: [612,-82,961,35,905], // BLACK SCISSORS - 0x2709: [555,-138,690,34,638], // ENVELOPE - 0x2713: [707,12,755,34,704], // CHECK MARK - 0x2720: [592,87,767,53,714], // MALTESE CROSS - 0x272A: [613,106,789,35,733], // CIRCLED WHITE STAR - 0x2736: [616,108,695,35,642], // SIX POINTED BLACK STAR - 0x273D: [612,108,682,35,626], // HEAVY TEARDROP-SPOKED ASTERISK - 0x2772: [719,213,488,188,466], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT - 0x2773: [719,213,488,22,300], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT - 0x2780: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT ONE - 0x2781: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT TWO - 0x2782: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT THREE - 0x2783: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT FOUR - 0x2784: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT FIVE - 0x2785: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT SIX - 0x2786: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT SEVEN - 0x2787: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT EIGHT - 0x2788: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT NINE - 0x2789: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF NUMBER TEN - 0x278A: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE - 0x278B: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT TWO - 0x278C: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT THREE - 0x278D: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT FOUR - 0x278E: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT FIVE - 0x278F: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT SIX - 0x2790: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT SEVEN - 0x2791: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT EIGHT - 0x2792: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT NINE - 0x2793: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF NUMBER TEN - 0x279B: [433,-70,918,35,861] // DRAFTING POINT RIGHTWARDS ARROW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Dingbats.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js deleted file mode 100644 index acc9d647..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +++ /dev/null @@ -1,89 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2460: [676,14,684,0,684], // CIRCLED DIGIT ONE - 0x2461: [676,14,684,0,684], // CIRCLED DIGIT TWO - 0x2462: [676,14,684,0,684], // CIRCLED DIGIT THREE - 0x2463: [676,14,684,0,684], // CIRCLED DIGIT FOUR - 0x2464: [676,14,684,0,684], // CIRCLED DIGIT FIVE - 0x2465: [676,14,684,0,684], // CIRCLED DIGIT SIX - 0x2466: [676,14,684,0,684], // CIRCLED DIGIT SEVEN - 0x2467: [676,14,684,0,684], // CIRCLED DIGIT EIGHT - 0x2468: [676,14,684,0,684], // CIRCLED DIGIT NINE - 0x24B6: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER A - 0x24B7: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER B - 0x24B8: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER C - 0x24B9: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER D - 0x24BA: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER E - 0x24BB: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER F - 0x24BC: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER G - 0x24BD: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER H - 0x24BE: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER I - 0x24BF: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER J - 0x24C0: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER K - 0x24C1: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER L - 0x24C2: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER M - 0x24C3: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER N - 0x24C4: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER O - 0x24C5: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER P - 0x24C6: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Q - 0x24C7: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER R - 0x24C8: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER S - 0x24C9: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER T - 0x24CA: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER U - 0x24CB: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER V - 0x24CC: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER W - 0x24CD: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER X - 0x24CE: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Y - 0x24CF: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Z - 0x24D0: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER A - 0x24D1: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER B - 0x24D2: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER C - 0x24D3: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER D - 0x24D4: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER E - 0x24D5: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER F - 0x24D6: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER G - 0x24D7: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER H - 0x24D8: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER I - 0x24D9: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER J - 0x24DA: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER K - 0x24DB: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER L - 0x24DC: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER M - 0x24DD: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER N - 0x24DE: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER O - 0x24DF: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER P - 0x24E0: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Q - 0x24E1: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER R - 0x24E2: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER S - 0x24E3: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER T - 0x24E4: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER U - 0x24E5: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER V - 0x24E6: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER W - 0x24E7: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER X - 0x24E8: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Y - 0x24E9: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Z - 0x24EA: [676,14,684,0,684] // CIRCLED DIGIT ZERO - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/EnclosedAlphanum.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js deleted file mode 100644 index e2855380..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D504: [695,22,785,47,742], // MATHEMATICAL FRAKTUR CAPITAL A - 0x1D505: [704,24,822,48,774], // MATHEMATICAL FRAKTUR CAPITAL B - 0x1D507: [695,24,868,50,817], // MATHEMATICAL FRAKTUR CAPITAL D - 0x1D508: [695,24,729,50,678], // MATHEMATICAL FRAKTUR CAPITAL E - 0x1D509: [695,204,767,50,716], // MATHEMATICAL FRAKTUR CAPITAL F - 0x1D50A: [695,24,806,50,755], // MATHEMATICAL FRAKTUR CAPITAL G - 0x1D50D: [695,204,772,50,721], // MATHEMATICAL FRAKTUR CAPITAL J - 0x1D50E: [695,22,846,50,801], // MATHEMATICAL FRAKTUR CAPITAL K - 0x1D50F: [695,24,669,47,626], // MATHEMATICAL FRAKTUR CAPITAL L - 0x1D510: [695,22,1083,50,1031], // MATHEMATICAL FRAKTUR CAPITAL M - 0x1D511: [695,22,827,50,775], // MATHEMATICAL FRAKTUR CAPITAL N - 0x1D512: [695,24,837,37,786], // MATHEMATICAL FRAKTUR CAPITAL O - 0x1D513: [695,204,823,40,773], // MATHEMATICAL FRAKTUR CAPITAL P - 0x1D514: [695,64,865,37,814], // MATHEMATICAL FRAKTUR CAPITAL Q - 0x1D516: [695,24,856,55,801], // MATHEMATICAL FRAKTUR CAPITAL S - 0x1D517: [695,24,766,47,722], // MATHEMATICAL FRAKTUR CAPITAL T - 0x1D518: [696,22,787,50,744], // MATHEMATICAL FRAKTUR CAPITAL U - 0x1D519: [695,24,831,48,781], // MATHEMATICAL FRAKTUR CAPITAL V - 0x1D51A: [695,24,1075,48,1025], // MATHEMATICAL FRAKTUR CAPITAL W - 0x1D51B: [695,31,763,46,735], // MATHEMATICAL FRAKTUR CAPITAL X - 0x1D51C: [695,204,766,47,714], // MATHEMATICAL FRAKTUR CAPITAL Y - 0x1D51E: [468,18,530,51,479], // MATHEMATICAL FRAKTUR SMALL A - 0x1D51F: [695,18,513,46,462], // MATHEMATICAL FRAKTUR SMALL B - 0x1D520: [468,18,385,57,344], // MATHEMATICAL FRAKTUR SMALL C - 0x1D521: [695,18,506,45,455], // MATHEMATICAL FRAKTUR SMALL D - 0x1D522: [468,18,420,47,379], // MATHEMATICAL FRAKTUR SMALL E - 0x1D523: [694,209,327,27,316], // MATHEMATICAL FRAKTUR SMALL F - 0x1D524: [468,209,499,51,461], // MATHEMATICAL FRAKTUR SMALL G - 0x1D525: [695,209,528,48,476], // MATHEMATICAL FRAKTUR SMALL H - 0x1D526: [694,18,384,42,338], // MATHEMATICAL FRAKTUR SMALL I - 0x1D527: [695,209,345,44,311], // MATHEMATICAL FRAKTUR SMALL J - 0x1D528: [695,18,420,48,368], // MATHEMATICAL FRAKTUR SMALL K - 0x1D529: [695,18,398,46,350], // MATHEMATICAL FRAKTUR SMALL L - 0x1D52A: [468,25,910,59,856], // MATHEMATICAL FRAKTUR SMALL M - 0x1D52B: [468,25,636,60,582], // MATHEMATICAL FRAKTUR SMALL N - 0x1D52C: [468,18,503,50,452], // MATHEMATICAL FRAKTUR SMALL O - 0x1D52D: [586,209,555,38,504], // MATHEMATICAL FRAKTUR SMALL P - 0x1D52E: [468,209,507,51,459], // MATHEMATICAL FRAKTUR SMALL Q - 0x1D52F: [468,18,463,38,426], // MATHEMATICAL FRAKTUR SMALL R - 0x1D530: [623,24,518,49,469], // MATHEMATICAL FRAKTUR SMALL S - 0x1D531: [656,18,374,38,337], // MATHEMATICAL FRAKTUR SMALL T - 0x1D532: [478,18,647,60,593], // MATHEMATICAL FRAKTUR SMALL U - 0x1D533: [586,18,515,47,464], // MATHEMATICAL FRAKTUR SMALL V - 0x1D534: [586,25,759,41,708], // MATHEMATICAL FRAKTUR SMALL W - 0x1D535: [468,189,456,45,406], // MATHEMATICAL FRAKTUR SMALL X - 0x1D536: [586,209,516,48,464], // MATHEMATICAL FRAKTUR SMALL Y - 0x1D537: [468,209,457,43,407] // MATHEMATICAL FRAKTUR SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Fraktur.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js deleted file mode 100644 index e40fe80d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +++ /dev/null @@ -1,68 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2010: [259,-193,333,39,285], // HYPHEN - 0x2011: [257,-194,333,39,285], // NON-BREAKING HYPHEN - 0x2012: [259,-193,500,0,500], // FIGURE DASH - 0x2013: [250,-201,500,0,500], // EN DASH - 0x2014: [250,-201,1000,0,1000], // EM DASH - 0x2015: [250,-201,2000,0,2000], // HORIZONTAL BAR - 0x2016: [690,189,523,129,394], // DOUBLE VERTICAL LINE - 0x2017: [-141,300,500,0,500], // DOUBLE LOW LINE - 0x2018: [676,-433,333,115,254], // LEFT SINGLE QUOTATION MARK - 0x2019: [676,-433,333,79,218], // RIGHT SINGLE QUOTATION MARK - 0x201A: [102,141,333,79,218], // SINGLE LOW-9 QUOTATION MARK - 0x201B: [676,-433,333,79,218], // SINGLE HIGH-REVERSED-9 QUOTATION MARK - 0x201C: [676,-433,444,43,414], // LEFT DOUBLE QUOTATION MARK - 0x201D: [676,-433,444,30,401], // RIGHT DOUBLE QUOTATION MARK - 0x201E: [102,141,444,45,416], // DOUBLE LOW-9 QUOTATION MARK - 0x201F: [676,-433,444,30,401], // DOUBLE HIGH-REVERSED-9 QUOTATION MARK - 0x2022: [444,-59,523,70,455], // BULLET - 0x2025: [100,11,667,111,555], // TWO DOT LEADER - 0x2030: [706,19,1109,61,1048], // PER MILLE SIGN - 0x2031: [706,19,1471,61,1410], // PER TEN THOUSAND SIGN - 0x2033: [678,-401,426,75,351], // DOUBLE PRIME - 0x2034: [678,-401,563,75,488], // TRIPLE PRIME - 0x2035: [678,-402,289,75,214], // REVERSED PRIME - 0x2036: [678,-401,426,75,351], // REVERSED DOUBLE PRIME - 0x2037: [678,-401,563,75,488], // REVERSED TRIPLE PRIME - 0x2038: [102,156,511,59,454], // CARET - 0x2039: [416,-33,333,63,285], // SINGLE LEFT-POINTING ANGLE QUOTATION MARK - 0x203A: [416,-33,333,48,270], // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK - 0x203B: [547,41,685,48,635], // REFERENCE MARK - 0x203C: [676,9,549,130,452], // DOUBLE EXCLAMATION MARK - 0x2040: [709,-512,798,72,726], // CHARACTER TIE - 0x2043: [332,-172,333,39,285], // HYPHEN BULLET - 0x2044: [676,14,167,-168,331], // FRACTION SLASH - 0x2047: [676,8,839,68,809], // DOUBLE QUESTION MARK - 0x204E: [240,171,500,68,433], // LOW ASTERISK - 0x204F: [459,141,278,60,199], // REVERSED SEMICOLON - 0x2050: [691,40,790,55,735], // CLOSE UP - 0x2051: [676,171,501,68,433], // TWO ASTERISKS ALIGNED VERTICALLY - 0x2052: [706,200,471,54,417], // COMMERCIAL MINUS SIGN - 0x2057: [678,-401,710,75,635], // QUADRUPLE PRIME - 0x205F: [0,0,1000,0,0] // MEDIUM MATHEMATICAL SPACE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GeneralPunctuation.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js deleted file mode 100644 index d5a9f141..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +++ /dev/null @@ -1,118 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x25A0: [662,158,910,45,865], // BLACK SQUARE - 0x25A1: [662,158,910,45,865], // WHITE SQUARE - 0x25A2: [662,158,910,45,865], // WHITE SQUARE WITH ROUNDED CORNERS - 0x25A3: [662,158,910,45,865], // WHITE SQUARE CONTAINING BLACK SMALL SQUARE - 0x25A4: [662,158,910,45,865], // SQUARE WITH HORIZONTAL FILL - 0x25A5: [662,158,910,45,865], // SQUARE WITH VERTICAL FILL - 0x25A6: [662,158,910,45,865], // SQUARE WITH ORTHOGONAL CROSSHATCH FILL - 0x25A7: [662,158,910,45,865], // SQUARE WITH UPPER LEFT TO LOWER RIGHT FILL - 0x25A8: [662,158,910,45,865], // SQUARE WITH UPPER RIGHT TO LOWER LEFT FILL - 0x25A9: [662,158,910,45,865], // SQUARE WITH DIAGONAL CROSSHATCH FILL - 0x25AA: [460,-40,484,32,452], // BLACK SMALL SQUARE - 0x25AB: [460,-40,484,32,452], // WHITE SMALL SQUARE - 0x25AC: [469,11,1020,38,982], // BLACK RECTANGLE - 0x25AD: [469,11,1020,38,982], // WHITE RECTANGLE - 0x25AE: [724,220,560,40,520], // BLACK VERTICAL RECTANGLE - 0x25AF: [724,220,560,40,520], // WHITE VERTICAL RECTANGLE - 0x25B0: [514,11,1140,28,1112], // BLACK PARALLELOGRAM - 0x25B1: [514,11,1140,29,1111], // WHITE PARALLELOGRAM - 0x25B2: [811,127,1145,35,1110], // BLACK UP-POINTING TRIANGLE - 0x25B4: [553,-28,660,27,632], // BLACK UP-POINTING SMALL TRIANGLE - 0x25B5: [553,-28,660,27,632], // WHITE UP-POINTING SMALL TRIANGLE - 0x25B6: [790,285,1043,70,1008], // BLACK RIGHT-POINTING TRIANGLE - 0x25B7: [791,284,1043,70,1008], // WHITE RIGHT-POINTING TRIANGLE - 0x25B8: [556,49,660,80,605], // BLACK RIGHT-POINTING SMALL TRIANGLE - 0x25BA: [555,50,930,65,885], // BLACK RIGHT-POINTING POINTER - 0x25BB: [555,50,930,65,885], // WHITE RIGHT-POINTING POINTER - 0x25BC: [811,127,1145,35,1110], // BLACK DOWN-POINTING TRIANGLE - 0x25BE: [477,48,660,27,632], // BLACK DOWN-POINTING SMALL TRIANGLE - 0x25BF: [477,48,660,27,632], // WHITE DOWN-POINTING SMALL TRIANGLE - 0x25C0: [790,285,1043,35,973], // BLACK LEFT-POINTING TRIANGLE - 0x25C1: [791,284,1043,70,1008], // WHITE LEFT-POINTING TRIANGLE - 0x25C2: [555,50,660,55,580], // BLACK LEFT-POINTING SMALL TRIANGLE - 0x25C4: [555,50,930,45,865], // BLACK LEFT-POINTING POINTER - 0x25C5: [555,50,930,45,865], // WHITE LEFT-POINTING POINTER - 0x25C6: [744,242,1064,39,1025], // BLACK DIAMOND - 0x25C7: [744,242,1064,39,1025], // WHITE DIAMOND - 0x25C8: [744,242,1064,39,1025], // WHITE DIAMOND CONTAINING BLACK SMALL DIAMOND - 0x25C9: [623,119,842,50,792], // FISHEYE - 0x25CA: [795,289,790,45,745], // LOZENGE - 0x25CB: [623,119,842,50,792], // WHITE CIRCLE - 0x25CC: [680,176,910,29,881], // DOTTED CIRCLE - 0x25CD: [680,176,910,27,884], // CIRCLE WITH VERTICAL FILL - 0x25CE: [623,119,842,50,792], // BULLSEYE - 0x25CF: [623,119,842,50,792], // BLACK CIRCLE - 0x25D0: [623,119,842,50,792], // CIRCLE WITH LEFT HALF BLACK - 0x25D1: [623,119,842,50,792], // CIRCLE WITH RIGHT HALF BLACK - 0x25D2: [623,119,842,50,792], // CIRCLE WITH LOWER HALF BLACK - 0x25D3: [623,119,842,50,792], // CIRCLE WITH UPPER HALF BLACK - 0x25D4: [623,119,842,50,792], // CIRCLE WITH UPPER RIGHT QUADRANT BLACK - 0x25D5: [623,119,842,50,792], // CIRCLE WITH ALL BUT UPPER LEFT QUADRANT BLACK - 0x25D6: [680,176,580,66,494], // LEFT HALF BLACK CIRCLE - 0x25D7: [680,176,580,86,514], // RIGHT HALF BLACK CIRCLE - 0x25D8: [662,158,910,45,865], // INVERSE BULLET - 0x25D9: [662,158,910,45,865], // INVERSE WHITE CIRCLE - 0x25DA: [662,-252,910,45,865], // UPPER HALF INVERSE WHITE CIRCLE - 0x25DB: [252,158,910,45,865], // LOWER HALF INVERSE WHITE CIRCLE - 0x25DC: [680,-252,910,27,455], // UPPER LEFT QUADRANT CIRCULAR ARC - 0x25DD: [680,-252,910,455,884], // UPPER RIGHT QUADRANT CIRCULAR ARC - 0x25DE: [252,176,910,455,884], // LOWER RIGHT QUADRANT CIRCULAR ARC - 0x25DF: [252,176,910,26,455], // LOWER LEFT QUADRANT CIRCULAR ARC - 0x25E0: [680,-251,910,27,884], // UPPER HALF CIRCLE - 0x25E1: [252,176,910,27,884], // LOWER HALF CIRCLE - 0x25E2: [662,158,911,45,865], // BLACK LOWER RIGHT TRIANGLE - 0x25E3: [662,158,911,45,865], // BLACK LOWER LEFT TRIANGLE - 0x25E4: [662,158,911,45,865], // BLACK UPPER LEFT TRIANGLE - 0x25E5: [662,158,911,45,865], // BLACK UPPER RIGHT TRIANGLE - 0x25E6: [444,-59,523,70,455], // WHITE BULLET - 0x25E7: [662,157,910,45,865], // SQUARE WITH LEFT HALF BLACK - 0x25E8: [662,157,910,45,865], // SQUARE WITH RIGHT HALF BLACK - 0x25E9: [662,157,910,45,865], // SQUARE WITH UPPER LEFT DIAGONAL HALF BLACK - 0x25EA: [662,157,910,45,865], // SQUARE WITH LOWER RIGHT DIAGONAL HALF BLACK - 0x25EB: [662,157,910,45,865], // WHITE SQUARE WITH VERTICAL BISECTING LINE - 0x25EC: [811,127,1145,35,1110], // WHITE UP-POINTING TRIANGLE WITH DOT - 0x25ED: [811,127,1145,35,1110], // UP-POINTING TRIANGLE WITH LEFT HALF BLACK - 0x25EE: [811,127,1145,35,1110], // UP-POINTING TRIANGLE WITH RIGHT HALF BLACK - 0x25F0: [662,158,910,45,865], // WHITE SQUARE WITH UPPER LEFT QUADRANT - 0x25F1: [662,158,910,45,865], // WHITE SQUARE WITH LOWER LEFT QUADRANT - 0x25F2: [662,158,910,45,865], // WHITE SQUARE WITH LOWER RIGHT QUADRANT - 0x25F3: [662,158,910,45,865], // WHITE SQUARE WITH UPPER RIGHT QUADRANT - 0x25F4: [623,119,842,50,792], // WHITE CIRCLE WITH UPPER LEFT QUADRANT - 0x25F5: [623,119,842,50,792], // WHITE CIRCLE WITH LOWER LEFT QUADRANT - 0x25F6: [623,119,842,50,792], // WHITE CIRCLE WITH LOWER RIGHT QUADRANT - 0x25F7: [623,119,842,50,792], // WHITE CIRCLE WITH UPPER RIGHT QUADRANT - 0x25F8: [662,158,911,45,865], // UPPER LEFT TRIANGLE - 0x25F9: [662,158,911,45,865], // UPPER RIGHT TRIANGLE - 0x25FA: [662,158,911,45,865], // LOWER LEFT TRIANGLE - 0x25FB: [580,76,746,45,701], // WHITE MEDIUM SQUARE - 0x25FC: [580,76,746,45,701], // BLACK MEDIUM SQUARE - 0x25FD: [513,12,601,38,563], // WHITE MEDIUM SMALL SQUARE - 0x25FE: [514,11,601,38,563], // BLACK MEDIUM SMALL SQUARE - 0x25FF: [662,158,911,45,865] // LOWER RIGHT TRIANGLE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GeometricShapes.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js deleted file mode 100644 index 13d9721e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +++ /dev/null @@ -1,109 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x37E: [459,141,278,80,219], // GREEK QUESTION MARK - 0x384: [662,-507,277,113,240], // GREEK TONOS - 0x385: [662,-507,333,18,316], // GREEK DIALYTIKA TONOS - 0x386: [683,0,722,15,707], // GREEK CAPITAL LETTER ALPHA WITH TONOS - 0x387: [459,-348,278,81,192], // GREEK ANO TELEIA - 0x388: [683,0,750,8,737], // GREEK CAPITAL LETTER EPSILON WITH TONOS - 0x389: [683,0,850,8,836], // GREEK CAPITAL LETTER ETA WITH TONOS - 0x38A: [683,0,470,8,449], // GREEK CAPITAL LETTER IOTA WITH TONOS - 0x38C: [683,14,722,8,688], // GREEK CAPITAL LETTER OMICRON WITH TONOS - 0x38E: [683,0,840,8,818], // GREEK CAPITAL LETTER UPSILON WITH TONOS - 0x38F: [683,0,744,8,715], // GREEK CAPITAL LETTER OMEGA WITH TONOS - 0x390: [662,10,340,18,316], // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS - 0x391: [674,0,722,15,707], // GREEK CAPITAL LETTER ALPHA - 0x392: [662,0,667,17,593], // GREEK CAPITAL LETTER BETA - 0x395: [662,0,611,12,597], // GREEK CAPITAL LETTER EPSILON - 0x396: [662,0,612,10,598], // GREEK CAPITAL LETTER ZETA - 0x397: [662,0,722,18,703], // GREEK CAPITAL LETTER ETA - 0x399: [662,0,333,18,315], // GREEK CAPITAL LETTER IOTA - 0x39A: [662,0,731,33,723], // GREEK CAPITAL LETTER KAPPA - 0x39C: [662,0,889,12,864], // GREEK CAPITAL LETTER MU - 0x39D: [662,11,722,12,707], // GREEK CAPITAL LETTER NU - 0x39F: [676,14,722,34,688], // GREEK CAPITAL LETTER OMICRON - 0x3A1: [662,0,557,16,542], // GREEK CAPITAL LETTER RHO - 0x3A4: [662,0,611,17,593], // GREEK CAPITAL LETTER TAU - 0x3A7: [662,0,722,10,704], // GREEK CAPITAL LETTER CHI - 0x3AA: [873,0,333,18,316], // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA - 0x3AB: [873,0,722,29,703], // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA - 0x3AC: [662,10,543,29,529], // GREEK SMALL LETTER ALPHA WITH TONOS - 0x3AD: [662,10,439,25,407], // GREEK SMALL LETTER EPSILON WITH TONOS - 0x3AE: [662,217,512,10,452], // GREEK SMALL LETTER ETA WITH TONOS - 0x3AF: [662,10,275,20,267], // GREEK SMALL LETTER IOTA WITH TONOS - 0x3B0: [662,10,524,16,494], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS - 0x3B1: [460,10,543,29,529], // GREEK SMALL LETTER ALPHA - 0x3B2: [683,217,496,55,466], // GREEK SMALL LETTER BETA - 0x3B3: [457,218,474,10,444], // GREEK SMALL LETTER GAMMA - 0x3B4: [683,10,500,29,470], // GREEK SMALL LETTER DELTA - 0x3B5: [460,10,439,25,407], // GREEK SMALL LETTER EPSILON - 0x3B6: [683,218,441,35,407], // GREEK SMALL LETTER ZETA - 0x3B7: [460,217,512,10,452], // GREEK SMALL LETTER ETA - 0x3B8: [683,10,496,27,468], // GREEK SMALL LETTER THETA - 0x3B9: [460,10,275,20,267], // GREEK SMALL LETTER IOTA - 0x3BA: [460,0,500,7,503], // GREEK SMALL LETTER KAPPA - 0x3BB: [683,11,497,12,492], // GREEK SMALL LETTER LAMDA - 0x3BC: [450,217,528,55,516], // GREEK SMALL LETTER MU - 0x3BD: [460,14,455,20,443], // GREEK SMALL LETTER NU - 0x3BE: [683,218,441,35,407], // GREEK SMALL LETTER XI - 0x3BF: [460,10,505,35,473], // GREEK SMALL LETTER OMICRON - 0x3C0: [450,14,501,9,482], // GREEK SMALL LETTER PI - 0x3C1: [460,217,496,55,466], // GREEK SMALL LETTER RHO - 0x3C2: [460,218,441,35,432], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [450,10,548,29,518], // GREEK SMALL LETTER SIGMA - 0x3C4: [450,10,477,3,442], // GREEK SMALL LETTER TAU - 0x3C5: [460,10,524,16,494], // GREEK SMALL LETTER UPSILON - 0x3C6: [460,217,623,29,593], // GREEK SMALL LETTER PHI - 0x3C7: [460,220,500,11,486], // GREEK SMALL LETTER CHI - 0x3C8: [460,217,694,20,684], // GREEK SMALL LETTER PSI - 0x3C9: [460,10,625,29,595], // GREEK SMALL LETTER OMEGA - 0x3CA: [622,10,340,18,316], // GREEK SMALL LETTER IOTA WITH DIALYTIKA - 0x3CB: [622,10,524,16,494], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA - 0x3CC: [662,10,505,35,473], // GREEK SMALL LETTER OMICRON WITH TONOS - 0x3CD: [662,10,524,16,494], // GREEK SMALL LETTER UPSILON WITH TONOS - 0x3CE: [662,10,625,29,595], // GREEK SMALL LETTER OMEGA WITH TONOS - 0x3D0: [693,10,450,54,411], // GREEK BETA SYMBOL - 0x3D1: [683,10,554,0,544], // GREEK THETA SYMBOL - 0x3D2: [676,0,722,29,698], // GREEK UPSILON WITH HOOK SYMBOL - 0x3D5: [683,217,623,29,593], // GREEK PHI SYMBOL - 0x3D6: [450,10,762,6,726], // GREEK PI SYMBOL - 0x3D8: [676,217,722,34,688], // GREEK LETTER ARCHAIC KOPPA - 0x3D9: [460,217,500,29,470], // GREEK SMALL LETTER ARCHAIC KOPPA - 0x3DA: [676,218,667,28,622], // GREEK LETTER STIGMA - 0x3DB: [490,218,461,35,436], // GREEK SMALL LETTER STIGMA - 0x3DC: [662,0,556,11,546], // GREEK LETTER DIGAMMA - 0x3DD: [450,190,470,80,435], // GREEK SMALL LETTER DIGAMMA - 0x3DE: [797,14,703,13,678], // GREEK LETTER KOPPA - 0x3DF: [662,0,511,64,455], // GREEK SMALL LETTER KOPPA - 0x3E0: [676,218,801,11,767], // GREEK LETTER SAMPI - 0x3E1: [573,216,528,-6,487], // GREEK SMALL LETTER SAMPI - 0x3F0: [460,10,551,42,515], // GREEK KAPPA SYMBOL - 0x3F1: [460,215,500,29,470], // GREEK RHO SYMBOL - 0x3F4: [676,14,722,34,688], // GREEK CAPITAL THETA SYMBOL - 0x3F5: [460,10,439,25,407], // GREEK LUNATE EPSILON SYMBOL - 0x3F6: [460,10,444,32,414] // GREEK REVERSED LUNATE EPSILON SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekAndCoptic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js deleted file mode 100644 index 46014955..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D6A8: [690,0,735,9,689], // MATHEMATICAL BOLD CAPITAL ALPHA - 0x1D6A9: [676,0,667,16,619], // MATHEMATICAL BOLD CAPITAL BETA - 0x1D6AA: [676,0,620,16,593], // MATHEMATICAL BOLD CAPITAL GAMMA - 0x1D6AB: [690,0,691,16,656], // MATHEMATICAL BOLD CAPITAL DELTA - 0x1D6AC: [676,0,679,16,641], // MATHEMATICAL BOLD CAPITAL EPSILON - 0x1D6AD: [676,0,693,28,634], // MATHEMATICAL BOLD CAPITAL ZETA - 0x1D6AE: [676,0,810,21,759], // MATHEMATICAL BOLD CAPITAL ETA - 0x1D6AF: [692,18,778,35,743], // MATHEMATICAL BOLD CAPITAL THETA - 0x1D6B0: [676,0,421,20,370], // MATHEMATICAL BOLD CAPITAL IOTA - 0x1D6B1: [676,0,820,30,769], // MATHEMATICAL BOLD CAPITAL KAPPA - 0x1D6B2: [690,0,707,9,674], // MATHEMATICAL BOLD CAPITAL LAMDA - 0x1D6B3: [676,0,972,14,921], // MATHEMATICAL BOLD CAPITAL MU - 0x1D6B4: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL NU - 0x1D6B5: [676,0,623,28,595], // MATHEMATICAL BOLD CAPITAL XI - 0x1D6B6: [691,19,778,35,743], // MATHEMATICAL BOLD CAPITAL OMICRON - 0x1D6B7: [676,0,780,21,759], // MATHEMATICAL BOLD CAPITAL PI - 0x1D6B8: [676,0,611,16,600], // MATHEMATICAL BOLD CAPITAL RHO - 0x1D6B9: [692,18,778,35,743], // MATHEMATICAL BOLD CAPITAL THETA SYMBOL - 0x1D6BA: [676,0,665,14,627], // MATHEMATICAL BOLD CAPITAL SIGMA - 0x1D6BB: [676,0,667,31,636], // MATHEMATICAL BOLD CAPITAL TAU - 0x1D6BC: [692,0,722,3,699], // MATHEMATICAL BOLD CAPITAL UPSILON - 0x1D6BD: [676,0,836,18,818], // MATHEMATICAL BOLD CAPITAL PHI - 0x1D6BE: [676,0,747,16,699], // MATHEMATICAL BOLD CAPITAL CHI - 0x1D6BF: [692,0,800,3,785], // MATHEMATICAL BOLD CAPITAL PSI - 0x1D6C0: [692,0,778,35,723], // MATHEMATICAL BOLD CAPITAL OMEGA - 0x1D6C1: [676,14,691,16,656], // MATHEMATICAL BOLD NABLA - 0x1D6C2: [473,14,644,25,618], // MATHEMATICAL BOLD SMALL ALPHA - 0x1D6C3: [692,205,556,45,524], // MATHEMATICAL BOLD SMALL BETA - 0x1D6C4: [473,205,518,12,501], // MATHEMATICAL BOLD SMALL GAMMA - 0x1D6C5: [692,14,502,26,477], // MATHEMATICAL BOLD SMALL DELTA - 0x1D6C6: [473,14,444,28,429], // MATHEMATICAL BOLD SMALL EPSILON - 0x1D6C7: [692,205,459,23,437], // MATHEMATICAL BOLD SMALL ZETA - 0x1D6C8: [473,205,580,12,545], // MATHEMATICAL BOLD SMALL ETA - 0x1D6C9: [692,14,501,25,476], // MATHEMATICAL BOLD SMALL THETA - 0x1D6CA: [461,14,326,15,304], // MATHEMATICAL BOLD SMALL IOTA - 0x1D6CB: [473,0,581,21,559], // MATHEMATICAL BOLD SMALL KAPPA - 0x1D6CC: [692,18,546,19,527], // MATHEMATICAL BOLD SMALL LAMDA - 0x1D6CD: [461,205,610,45,588], // MATHEMATICAL BOLD SMALL MU - 0x1D6CE: [473,14,518,15,495], // MATHEMATICAL BOLD SMALL NU - 0x1D6CF: [692,205,465,23,439], // MATHEMATICAL BOLD SMALL XI - 0x1D6D0: [473,14,500,25,476], // MATHEMATICAL BOLD SMALL OMICRON - 0x1D6D1: [461,18,631,20,609], // MATHEMATICAL BOLD SMALL PI - 0x1D6D2: [473,205,547,45,515], // MATHEMATICAL BOLD SMALL RHO - 0x1D6D3: [473,203,464,23,444], // MATHEMATICAL BOLD SMALL FINAL SIGMA - 0x1D6D4: [461,14,568,25,529], // MATHEMATICAL BOLD SMALL SIGMA - 0x1D6D5: [461,14,492,18,457], // MATHEMATICAL BOLD SMALL TAU - 0x1D6D6: [473,14,576,12,551], // MATHEMATICAL BOLD SMALL UPSILON - 0x1D6D7: [473,205,653,24,629], // MATHEMATICAL BOLD SMALL PHI - 0x1D6D8: [473,205,612,21,586], // MATHEMATICAL BOLD SMALL CHI - 0x1D6D9: [473,205,763,12,751], // MATHEMATICAL BOLD SMALL PSI - 0x1D6DA: [473,14,734,26,708], // MATHEMATICAL BOLD SMALL OMEGA - 0x1D6DB: [707,14,515,25,491], // MATHEMATICAL BOLD PARTIAL DIFFERENTIAL - 0x1D6DC: [473,14,444,25,430], // MATHEMATICAL BOLD EPSILON SYMBOL - 0x1D6DD: [692,14,647,12,620], // MATHEMATICAL BOLD THETA SYMBOL - 0x1D6DE: [473,19,563,12,546], // MATHEMATICAL BOLD KAPPA SYMBOL - 0x1D6DF: [676,205,653,24,629], // MATHEMATICAL BOLD PHI SYMBOL - 0x1D6E0: [473,205,511,25,486], // MATHEMATICAL BOLD RHO SYMBOL - 0x1D6E1: [461,14,864,9,851] // MATHEMATICAL BOLD PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js deleted file mode 100644 index 82b0e4c3..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D71C: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL ALPHA - 0x1D71D: [669,0,726,42,715], // MATHEMATICAL BOLD ITALIC CAPITAL BETA - 0x1D71E: [669,0,634,42,749], // MATHEMATICAL BOLD ITALIC CAPITAL GAMMA - 0x1D71F: [685,0,632,32,589], // MATHEMATICAL BOLD ITALIC CAPITAL DELTA - 0x1D720: [669,0,732,42,754], // MATHEMATICAL BOLD ITALIC CAPITAL EPSILON - 0x1D721: [669,0,797,66,830], // MATHEMATICAL BOLD ITALIC CAPITAL ZETA - 0x1D722: [669,0,891,42,946], // MATHEMATICAL BOLD ITALIC CAPITAL ETA - 0x1D723: [685,16,783,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL THETA - 0x1D724: [669,0,502,42,557], // MATHEMATICAL BOLD ITALIC CAPITAL IOTA - 0x1D725: [669,0,795,42,839], // MATHEMATICAL BOLD ITALIC CAPITAL KAPPA - 0x1D726: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL LAMDA - 0x1D727: [669,0,1016,42,1071], // MATHEMATICAL BOLD ITALIC CAPITAL MU - 0x1D728: [669,0,869,42,924], // MATHEMATICAL BOLD ITALIC CAPITAL NU - 0x1D729: [669,0,718,57,757], // MATHEMATICAL BOLD ITALIC CAPITAL XI - 0x1D72A: [685,16,777,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL OMICRON - 0x1D72B: [669,0,887,39,942], // MATHEMATICAL BOLD ITALIC CAPITAL PI - 0x1D72C: [669,0,612,42,733], // MATHEMATICAL BOLD ITALIC CAPITAL RHO - 0x1D72D: [685,16,783,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL THETA SYMBOL - 0x1D72E: [669,0,759,64,787], // MATHEMATICAL BOLD ITALIC CAPITAL SIGMA - 0x1D72F: [669,0,568,28,700], // MATHEMATICAL BOLD ITALIC CAPITAL TAU - 0x1D730: [685,0,589,31,721], // MATHEMATICAL BOLD ITALIC CAPITAL UPSILON - 0x1D731: [669,0,827,28,799], // MATHEMATICAL BOLD ITALIC CAPITAL PHI - 0x1D732: [669,0,808,28,830], // MATHEMATICAL BOLD ITALIC CAPITAL CHI - 0x1D733: [685,0,694,30,781], // MATHEMATICAL BOLD ITALIC CAPITAL PSI - 0x1D734: [685,0,826,57,815], // MATHEMATICAL BOLD ITALIC CAPITAL OMEGA - 0x1D735: [669,16,632,43,600], // MATHEMATICAL BOLD ITALIC NABLA - 0x1D736: [461,12,624,44,630], // MATHEMATICAL BOLD ITALIC SMALL ALPHA - 0x1D737: [685,205,555,28,583], // MATHEMATICAL BOLD ITALIC SMALL BETA - 0x1D738: [462,202,490,44,503], // MATHEMATICAL BOLD ITALIC SMALL GAMMA - 0x1D739: [685,8,538,44,538], // MATHEMATICAL BOLD ITALIC SMALL DELTA - 0x1D73A: [462,10,495,28,451], // MATHEMATICAL BOLD ITALIC SMALL EPSILON - 0x1D73B: [685,203,472,44,522], // MATHEMATICAL BOLD ITALIC SMALL ZETA - 0x1D73C: [462,205,517,33,511], // MATHEMATICAL BOLD ITALIC SMALL ETA - 0x1D73D: [686,11,566,44,555], // MATHEMATICAL BOLD ITALIC SMALL THETA - 0x1D73E: [462,9,318,55,274], // MATHEMATICAL BOLD ITALIC SMALL IOTA - 0x1D73F: [462,0,560,55,577], // MATHEMATICAL BOLD ITALIC SMALL KAPPA - 0x1D740: [685,16,570,55,537], // MATHEMATICAL BOLD ITALIC SMALL LAMDA - 0x1D741: [450,205,636,33,603], // MATHEMATICAL BOLD ITALIC SMALL MU - 0x1D742: [459,10,523,55,534], // MATHEMATICAL BOLD ITALIC SMALL NU - 0x1D743: [685,203,476,28,487], // MATHEMATICAL BOLD ITALIC SMALL XI - 0x1D744: [462,10,561,44,539], // MATHEMATICAL BOLD ITALIC SMALL OMICRON - 0x1D745: [450,13,579,39,590], // MATHEMATICAL BOLD ITALIC SMALL PI - 0x1D746: [462,205,595,33,562], // MATHEMATICAL BOLD ITALIC SMALL RHO - 0x1D747: [462,203,480,39,508], // MATHEMATICAL BOLD ITALIC SMALL FINAL SIGMA - 0x1D748: [450,10,592,44,603], // MATHEMATICAL BOLD ITALIC SMALL SIGMA - 0x1D749: [450,7,469,33,502], // MATHEMATICAL BOLD ITALIC SMALL TAU - 0x1D74A: [462,10,552,33,535], // MATHEMATICAL BOLD ITALIC SMALL UPSILON - 0x1D74B: [462,205,706,55,667], // MATHEMATICAL BOLD ITALIC SMALL PHI - 0x1D74C: [462,204,621,33,676], // MATHEMATICAL BOLD ITALIC SMALL CHI - 0x1D74D: [462,205,701,33,756], // MATHEMATICAL BOLD ITALIC SMALL PSI - 0x1D74E: [462,10,687,22,665], // MATHEMATICAL BOLD ITALIC SMALL OMEGA - 0x1D74F: [686,10,559,44,559], // MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL - 0x1D750: [461,10,481,44,481], // MATHEMATICAL BOLD ITALIC EPSILON SYMBOL - 0x1D751: [698,13,607,33,584], // MATHEMATICAL BOLD ITALIC THETA SYMBOL - 0x1D752: [462,15,607,-12,630], // MATHEMATICAL BOLD ITALIC KAPPA SYMBOL - 0x1D753: [685,205,683,44,655], // MATHEMATICAL BOLD ITALIC PHI SYMBOL - 0x1D754: [462,205,585,44,563], // MATHEMATICAL BOLD ITALIC RHO SYMBOL - 0x1D755: [450,10,868,33,879] // MATHEMATICAL BOLD ITALIC PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekBoldItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js deleted file mode 100644 index 68ae1a7d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D6E2: [667,0,717,35,685], // MATHEMATICAL ITALIC CAPITAL ALPHA - 0x1D6E3: [653,0,696,38,686], // MATHEMATICAL ITALIC CAPITAL BETA - 0x1D6E4: [653,0,616,38,721], // MATHEMATICAL ITALIC CAPITAL GAMMA - 0x1D6E5: [667,0,596,30,556], // MATHEMATICAL ITALIC CAPITAL DELTA - 0x1D6E6: [653,0,714,38,734], // MATHEMATICAL ITALIC CAPITAL EPSILON - 0x1D6E7: [653,0,772,60,802], // MATHEMATICAL ITALIC CAPITAL ZETA - 0x1D6E8: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL ETA - 0x1D6E9: [669,11,737,50,712], // MATHEMATICAL ITALIC CAPITAL THETA - 0x1D6EA: [653,0,480,38,530], // MATHEMATICAL ITALIC CAPITAL IOTA - 0x1D6EB: [653,0,762,38,802], // MATHEMATICAL ITALIC CAPITAL KAPPA - 0x1D6EC: [667,0,718,35,686], // MATHEMATICAL ITALIC CAPITAL LAMDA - 0x1D6ED: [653,0,1005,38,1055], // MATHEMATICAL ITALIC CAPITAL MU - 0x1D6EE: [653,0,851,38,901], // MATHEMATICAL ITALIC CAPITAL NU - 0x1D6EF: [653,0,706,52,741], // MATHEMATICAL ITALIC CAPITAL XI - 0x1D6F0: [669,11,732,50,712], // MATHEMATICAL ITALIC CAPITAL OMICRON - 0x1D6F1: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL PI - 0x1D6F2: [653,0,594,38,704], // MATHEMATICAL ITALIC CAPITAL RHO - 0x1D6F3: [669,11,737,50,712], // MATHEMATICAL ITALIC CAPITAL THETA SYMBOL - 0x1D6F4: [653,0,735,58,760], // MATHEMATICAL ITALIC CAPITAL SIGMA - 0x1D6F5: [653,0,550,25,670], // MATHEMATICAL ITALIC CAPITAL TAU - 0x1D6F6: [668,0,567,28,687], // MATHEMATICAL ITALIC CAPITAL UPSILON - 0x1D6F7: [653,0,772,25,747], // MATHEMATICAL ITALIC CAPITAL PHI - 0x1D6F8: [653,0,790,25,810], // MATHEMATICAL ITALIC CAPITAL CHI - 0x1D6F9: [667,0,670,28,743], // MATHEMATICAL ITALIC CAPITAL PSI - 0x1D6FA: [666,0,800,32,777], // MATHEMATICAL ITALIC CAPITAL OMEGA - 0x1D6FB: [653,15,627,42,600], // MATHEMATICAL ITALIC NABLA - 0x1D6FC: [441,10,524,40,529], // MATHEMATICAL ITALIC SMALL ALPHA - 0x1D6FD: [668,183,493,25,518], // MATHEMATICAL ITALIC SMALL BETA - 0x1D6FE: [441,187,428,35,458], // MATHEMATICAL ITALIC SMALL GAMMA - 0x1D6FF: [668,11,463,40,451], // MATHEMATICAL ITALIC SMALL DELTA - 0x1D700: [441,11,484,25,444], // MATHEMATICAL ITALIC SMALL EPSILON - 0x1D701: [668,183,435,40,480], // MATHEMATICAL ITALIC SMALL ZETA - 0x1D702: [441,183,460,30,455], // MATHEMATICAL ITALIC SMALL ETA - 0x1D703: [668,11,484,40,474], // MATHEMATICAL ITALIC SMALL THETA - 0x1D704: [441,11,267,50,227], // MATHEMATICAL ITALIC SMALL IOTA - 0x1D705: [441,0,534,50,549], // MATHEMATICAL ITALIC SMALL KAPPA - 0x1D706: [668,16,541,50,511], // MATHEMATICAL ITALIC SMALL LAMDA - 0x1D707: [428,183,579,30,549], // MATHEMATICAL ITALIC SMALL MU - 0x1D708: [446,9,452,50,462], // MATHEMATICAL ITALIC SMALL NU - 0x1D709: [668,183,433,25,443], // MATHEMATICAL ITALIC SMALL XI - 0x1D70A: [441,11,458,40,438], // MATHEMATICAL ITALIC SMALL OMICRON - 0x1D70B: [428,13,558,35,568], // MATHEMATICAL ITALIC SMALL PI - 0x1D70C: [441,183,502,30,472], // MATHEMATICAL ITALIC SMALL RHO - 0x1D70D: [490,183,439,35,464], // MATHEMATICAL ITALIC SMALL FINAL SIGMA - 0x1D70E: [428,11,537,40,547], // MATHEMATICAL ITALIC SMALL SIGMA - 0x1D70F: [428,5,442,30,472], // MATHEMATICAL ITALIC SMALL TAU - 0x1D710: [439,11,460,30,445], // MATHEMATICAL ITALIC SMALL UPSILON - 0x1D711: [441,183,666,50,631], // MATHEMATICAL ITALIC SMALL PHI - 0x1D712: [441,202,595,30,645], // MATHEMATICAL ITALIC SMALL CHI - 0x1D713: [441,183,661,30,711], // MATHEMATICAL ITALIC SMALL PSI - 0x1D714: [441,11,681,20,661], // MATHEMATICAL ITALIC SMALL OMEGA - 0x1D715: [668,11,471,40,471], // MATHEMATICAL ITALIC PARTIAL DIFFERENTIAL - 0x1D716: [441,11,430,40,430], // MATHEMATICAL ITALIC EPSILON SYMBOL - 0x1D717: [678,10,554,20,507], // MATHEMATICAL ITALIC THETA SYMBOL - 0x1D718: [441,13,561,12,587], // MATHEMATICAL ITALIC KAPPA SYMBOL - 0x1D719: [668,183,645,40,620], // MATHEMATICAL ITALIC PHI SYMBOL - 0x1D71A: [441,187,509,40,489], // MATHEMATICAL ITALIC RHO SYMBOL - 0x1D71B: [428,11,856,30,866] // MATHEMATICAL ITALIC PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js deleted file mode 100644 index 8307e1c7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D756: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ALPHA - 0x1D757: [676,0,636,80,594], // MATHEMATICAL SANS-SERIF BOLD CAPITAL BETA - 0x1D758: [676,0,591,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL GAMMA - 0x1D759: [690,0,720,40,680], // MATHEMATICAL SANS-SERIF BOLD CAPITAL DELTA - 0x1D75A: [676,0,635,80,597], // MATHEMATICAL SANS-SERIF BOLD CAPITAL EPSILON - 0x1D75B: [676,0,653,25,623], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ZETA - 0x1D75C: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ETA - 0x1D75D: [691,19,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA - 0x1D75E: [676,0,440,65,375], // MATHEMATICAL SANS-SERIF BOLD CAPITAL IOTA - 0x1D75F: [676,0,712,80,707], // MATHEMATICAL SANS-SERIF BOLD CAPITAL KAPPA - 0x1D760: [690,0,706,40,666], // MATHEMATICAL SANS-SERIF BOLD CAPITAL LAMDA - 0x1D761: [676,0,913,80,833], // MATHEMATICAL SANS-SERIF BOLD CAPITAL MU - 0x1D762: [676,18,724,80,644], // MATHEMATICAL SANS-SERIF BOLD CAPITAL NU - 0x1D763: [676,0,640,35,605], // MATHEMATICAL SANS-SERIF BOLD CAPITAL XI - 0x1D764: [692,18,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMICRON - 0x1D765: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PI - 0x1D766: [676,0,581,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL RHO - 0x1D767: [691,19,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA SYMBOL - 0x1D768: [676,0,674,28,632], // MATHEMATICAL SANS-SERIF BOLD CAPITAL SIGMA - 0x1D769: [676,0,641,14,627], // MATHEMATICAL SANS-SERIF BOLD CAPITAL TAU - 0x1D76A: [691,0,748,20,728], // MATHEMATICAL SANS-SERIF BOLD CAPITAL UPSILON - 0x1D76B: [676,0,800,25,775], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PHI - 0x1D76C: [676,0,740,40,700], // MATHEMATICAL SANS-SERIF BOLD CAPITAL CHI - 0x1D76D: [691,0,806,15,791], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PSI - 0x1D76E: [691,0,752,32,720], // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMEGA - 0x1D76F: [664,30,735,45,685], // MATHEMATICAL SANS-SERIF BOLD NABLA - 0x1D770: [473,14,662,40,629], // MATHEMATICAL SANS-SERIF BOLD SMALL ALPHA - 0x1D771: [692,205,512,39,487], // MATHEMATICAL SANS-SERIF BOLD SMALL BETA - 0x1D772: [473,205,502,10,477], // MATHEMATICAL SANS-SERIF BOLD SMALL GAMMA - 0x1D773: [692,14,502,25,477], // MATHEMATICAL SANS-SERIF BOLD SMALL DELTA - 0x1D774: [473,14,451,25,434], // MATHEMATICAL SANS-SERIF BOLD SMALL EPSILON - 0x1D775: [692,205,500,28,488], // MATHEMATICAL SANS-SERIF BOLD SMALL ZETA - 0x1D776: [473,205,510,35,474], // MATHEMATICAL SANS-SERIF BOLD SMALL ETA - 0x1D777: [692,14,500,23,477], // MATHEMATICAL SANS-SERIF BOLD SMALL THETA - 0x1D778: [461,14,319,53,296], // MATHEMATICAL SANS-SERIF BOLD SMALL IOTA - 0x1D779: [473,0,527,55,512], // MATHEMATICAL SANS-SERIF BOLD SMALL KAPPA - 0x1D77A: [692,14,554,18,520], // MATHEMATICAL SANS-SERIF BOLD SMALL LAMDA - 0x1D77B: [461,205,550,39,517], // MATHEMATICAL SANS-SERIF BOLD SMALL MU - 0x1D77C: [473,14,492,55,472], // MATHEMATICAL SANS-SERIF BOLD SMALL NU - 0x1D77D: [692,205,501,28,489], // MATHEMATICAL SANS-SERIF BOLD SMALL XI - 0x1D77E: [473,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD SMALL OMICRON - 0x1D77F: [461,14,594,10,572], // MATHEMATICAL SANS-SERIF BOLD SMALL PI - 0x1D780: [473,205,511,38,486], // MATHEMATICAL SANS-SERIF BOLD SMALL RHO - 0x1D781: [473,205,498,26,486], // MATHEMATICAL SANS-SERIF BOLD SMALL FINAL SIGMA - 0x1D782: [461,14,520,25,552], // MATHEMATICAL SANS-SERIF BOLD SMALL SIGMA - 0x1D783: [461,14,479,6,472], // MATHEMATICAL SANS-SERIF BOLD SMALL TAU - 0x1D784: [473,14,514,35,489], // MATHEMATICAL SANS-SERIF BOLD SMALL UPSILON - 0x1D785: [473,205,634,25,609], // MATHEMATICAL SANS-SERIF BOLD SMALL PHI - 0x1D786: [473,205,573,9,553], // MATHEMATICAL SANS-SERIF BOLD SMALL CHI - 0x1D787: [473,205,680,25,699], // MATHEMATICAL SANS-SERIF BOLD SMALL PSI - 0x1D788: [461,14,740,42,689], // MATHEMATICAL SANS-SERIF BOLD SMALL OMEGA - 0x1D789: [691,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD PARTIAL DIFFERENTIAL - 0x1D78A: [473,14,462,25,440], // MATHEMATICAL SANS-SERIF BOLD EPSILON SYMBOL - 0x1D78B: [692,14,536,35,522], // MATHEMATICAL SANS-SERIF BOLD THETA SYMBOL - 0x1D78C: [473,14,570,14,554], // MATHEMATICAL SANS-SERIF BOLD KAPPA SYMBOL - 0x1D78D: [692,205,634,25,609], // MATHEMATICAL SANS-SERIF BOLD PHI SYMBOL - 0x1D78E: [473,205,494,25,469], // MATHEMATICAL SANS-SERIF BOLD RHO SYMBOL - 0x1D78F: [461,14,848,6,839] // MATHEMATICAL SANS-SERIF BOLD PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekSSBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js deleted file mode 100644 index 495d3939..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D790: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ALPHA - 0x1D791: [676,0,706,60,671], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL BETA - 0x1D792: [676,0,602,60,705], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL GAMMA - 0x1D793: [690,0,720,40,680], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL DELTA - 0x1D794: [676,0,683,60,708], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL EPSILON - 0x1D795: [676,0,707,25,769], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ZETA - 0x1D796: [676,0,748,60,783], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ETA - 0x1D797: [691,19,847,90,822], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA - 0x1D798: [676,0,435,50,505], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL IOTA - 0x1D799: [676,0,712,60,796], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL KAPPA - 0x1D79A: [690,0,686,20,646], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL LAMDA - 0x1D79B: [676,0,933,60,981], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL MU - 0x1D79C: [676,18,744,60,792], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL NU - 0x1D79D: [676,0,690,47,737], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL XI - 0x1D79E: [692,18,849,90,824], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMICRON - 0x1D79F: [676,0,745,60,783], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PI - 0x1D7A0: [676,0,581,60,675], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL RHO - 0x1D7A1: [691,19,847,90,822], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA SYMBOL - 0x1D7A2: [676,0,696,21,748], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL SIGMA - 0x1D7A3: [676,0,641,87,715], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL TAU - 0x1D7A4: [691,0,671,91,799], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL UPSILON - 0x1D7A5: [676,0,835,72,835], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PHI - 0x1D7A6: [676,0,740,20,833], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL CHI - 0x1D7A7: [691,0,791,125,901], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PSI - 0x1D7A8: [691,0,816,47,816], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMEGA - 0x1D7A9: [664,30,780,120,760], // MATHEMATICAL SANS-SERIF BOLD ITALIC NABLA - 0x1D7AA: [473,14,678,47,703], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ALPHA - 0x1D7AB: [692,205,552,-12,581], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL BETA - 0x1D7AC: [473,204,525,84,571], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL GAMMA - 0x1D7AD: [692,14,507,30,547], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL DELTA - 0x1D7AE: [473,14,504,45,508], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL EPSILON - 0x1D7AF: [692,205,480,49,539], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ZETA - 0x1D7B0: [473,205,532,38,525], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ETA - 0x1D7B1: [692,14,560,65,553], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL THETA - 0x1D7B2: [462,14,325,56,302], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL IOTA - 0x1D7B3: [473,0,537,38,582], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL KAPPA - 0x1D7B4: [692,14,574,18,540], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL LAMDA - 0x1D7B5: [462,205,594,-12,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL MU - 0x1D7B6: [473,14,525,41,565], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL NU - 0x1D7B7: [692,205,481,43,525], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL XI - 0x1D7B8: [473,14,543,45,515], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMICRON - 0x1D7B9: [462,14,632,45,656], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PI - 0x1D7BA: [473,205,560,-33,536], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL RHO - 0x1D7BB: [473,205,517,52,554], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL FINAL SIGMA - 0x1D7BC: [462,14,614,45,639], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL SIGMA - 0x1D7BD: [462,14,523,42,547], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL TAU - 0x1D7BE: [473,14,550,61,526], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL UPSILON - 0x1D7BF: [473,205,683,55,659], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PHI - 0x1D7C0: [473,205,575,-80,626], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL CHI - 0x1D7C1: [473,205,703,75,751], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PSI - 0x1D7C2: [461,14,756,64,732], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMEGA - 0x1D7C3: [691,14,548,45,539], // MATHEMATICAL SANS-SERIF BOLD ITALIC PARTIAL DIFFERENTIAL - 0x1D7C4: [473,14,468,45,470], // MATHEMATICAL SANS-SERIF BOLD ITALIC EPSILON SYMBOL - 0x1D7C5: [692,14,579,54,579], // MATHEMATICAL SANS-SERIF BOLD ITALIC THETA SYMBOL - 0x1D7C6: [473,10,646,-10,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC KAPPA SYMBOL - 0x1D7C7: [692,205,678,48,654], // MATHEMATICAL SANS-SERIF BOLD ITALIC PHI SYMBOL - 0x1D7C8: [473,205,544,38,520], // MATHEMATICAL SANS-SERIF BOLD ITALIC RHO SYMBOL - 0x1D7C9: [462,14,889,40,912] // MATHEMATICAL SANS-SERIF BOLD ITALIC PI SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekSSBoldItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js deleted file mode 100644 index 1905b14d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x306E: [661,41,901,37,840] // HIRAGANA LETTER NO - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Hiragana.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js deleted file mode 100644 index 6e7da625..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +++ /dev/null @@ -1,118 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x250: [460,10,444,8,413], // ?? - 0x251: [460,10,500,27,491], // ?? - 0x252: [460,10,500,27,491], // ?? - 0x253: [683,10,500,69,468], // ?? - 0x254: [459,11,444,10,397], // ?? - 0x255: [460,160,444,25,417], // ?? - 0x256: [683,233,553,27,599], // ?? - 0x257: [683,10,587,27,602], // ?? - 0x258: [460,10,444,20,419], // ?? - 0x259: [460,10,444,14,413], // ?? - 0x25A: [460,13,657,36,651], // ?? - 0x25B: [475,14,438,20,389], // ?? - 0x25C: [475,14,438,20,389], // ?? - 0x25D: [475,14,623,20,603], // ?? - 0x25E: [475,14,479,20,430], // ?? - 0x25F: [460,218,315,-49,296], // ?? - 0x260: [683,212,594,32,634], // ?? - 0x261: [482,212,537,32,455], // ?? - 0x262: [450,11,570,30,539], // ?? - 0x263: [450,234,500,19,480], // ?? - 0x264: [450,10,500,13,486], // ?? - 0x265: [450,233,500,13,491], // ?? - 0x266: [683,0,500,9,487], // ?? - 0x267: [683,233,481,9,427], // ?? - 0x268: [683,0,278,16,253], // ?? - 0x269: [454,10,333,17,311], // ?? - 0x26A: [450,0,258,21,231], // ?? - 0x26B: [683,0,350,10,340], // ?? - 0x26C: [683,0,375,12,362], // ?? - 0x26D: [683,233,302,10,352], // ?? - 0x26E: [683,233,549,19,538], // ?? - 0x26F: [450,10,778,11,770], // ?? - 0x270: [450,233,803,11,785], // ?? - 0x271: [460,233,778,16,706], // ?? - 0x272: [460,233,529,-70,514], // ?? - 0x273: [460,233,533,16,603], // ?? - 0x274: [450,8,602,29,561], // ?? - 0x275: [460,10,500,29,470], // ?? - 0x276: [450,6,720,23,697], // ?? - 0x277: [475,4,667,37,629], // ?? - 0x278: [683,233,667,40,626], // ?? - 0x279: [450,10,370,30,360], // ?? - 0x27A: [683,10,370,30,364], // ?? - 0x27B: [450,233,418,30,468], // ?? - 0x27C: [460,233,333,5,335], // ?? - 0x27D: [460,233,370,7,339], // ?? - 0x27E: [470,0,315,10,337], // ?? - 0x27F: [470,0,350,5,332], // ?? - 0x280: [464,0,475,21,470], // ?? - 0x281: [464,0,475,21,470], // ?? - 0x282: [458,218,389,50,348], // ?? - 0x283: [683,233,322,-70,372], // ?? - 0x284: [683,218,304,-70,372], // ?? - 0x285: [470,233,400,15,457], // ?? - 0x286: [683,243,437,-23,422], // ?? - 0x287: [460,129,278,16,282], // ?? - 0x288: [579,233,270,13,283], // ?? - 0x289: [450,10,500,9,480], // ?? - 0x28A: [450,10,537,46,490], // ?? - 0x28B: [460,10,500,32,476], // ?? - 0x28C: [464,0,500,-4,454], // ?? - 0x28D: [464,0,722,21,694], // ?? - 0x28E: [668,0,444,-2,459], // ?? - 0x28F: [464,0,587,23,564], // ?? - 0x290: [450,218,528,27,569], // ?? - 0x291: [450,150,507,27,487], // ?? - 0x292: [450,233,413,12,392], // ?? - 0x293: [450,305,431,12,410], // ?? - 0x294: [683,0,450,47,400], // ?? - 0x295: [683,0,450,48,401], // ?? - 0x296: [662,14,450,47,400], // ?? - 0x297: [460,230,450,80,410], // ?? - 0x298: [679,17,723,33,690], // ?? - 0x299: [464,0,460,15,444], // ?? - 0x29A: [475,14,479,20,430], // ?? - 0x29B: [523,11,600,29,583], // ?? - 0x29C: [464,0,572,21,560], // ?? - 0x29D: [683,233,387,-23,412], // ?? - 0x29E: [450,233,519,1,499], // ?? - 0x29F: [464,0,470,21,441], // ?? - 0x2A0: [582,217,600,24,590], // ?? - 0x2A1: [683,0,450,48,401], // ?? - 0x2A2: [683,0,450,48,401], // ?? - 0x2A3: [683,10,802,27,775], // ?? - 0x2A4: [683,233,743,27,722], // ?? - 0x2A5: [683,160,864,27,844], // ?? - 0x2A6: [579,10,536,13,495], // ?? - 0x2A7: [683,233,483,13,540], // ?? - 0x2A8: [579,10,650,13,641], // ?? - 0x2AE: [469,232,619,15,612], // ?? - 0x2AF: [469,233,679,15,729] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/IPAExtensions.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js deleted file mode 100644 index 618716c5..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +++ /dev/null @@ -1,115 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0xA1: [468,218,330,96,202], // INVERTED EXCLAMATION MARK - 0xA2: [579,138,500,53,448], // CENT SIGN - 0xA3: [676,8,500,12,490], // POUND SIGN - 0xA4: [534,10,500,-22,522], // CURRENCY SIGN - 0xA5: [662,0,500,-53,512], // YEN SIGN - 0xA6: [676,14,200,67,133], // BROKEN BAR - 0xA7: [676,148,500,70,426], // SECTION SIGN - 0xA9: [676,14,760,38,722], // COPYRIGHT SIGN - 0xAA: [676,-394,276,4,270], // FEMININE ORDINAL INDICATOR - 0xAB: [416,-33,500,42,456], // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK - 0xAD: [257,-194,333,39,285], // SOFT HYPHEN - 0xAE: [676,14,760,38,722], // REGISTERED SIGN - 0xB0: [676,-390,400,57,343], // DEGREE SIGN - 0xB2: [676,-270,300,1,296], // SUPERSCRIPT TWO - 0xB3: [676,-262,300,13,291], // SUPERSCRIPT THREE - 0xB4: [678,-507,333,93,317], // ACUTE ACCENT - 0xB5: [450,218,500,36,512], // MICRO SIGN - 0xB6: [662,154,592,60,532], // PILCROW SIGN - 0xB8: [0,215,333,52,261], // CEDILLA - 0xB9: [676,-270,300,57,248], // SUPERSCRIPT ONE - 0xBA: [676,-394,310,6,304], // MASCULINE ORDINAL INDICATOR - 0xBB: [416,-33,500,43,458], // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK - 0xBC: [676,14,750,42,713], // VULGAR FRACTION ONE QUARTER - 0xBD: [676,14,750,36,741], // VULGAR FRACTION ONE HALF - 0xBE: [676,14,750,13,718], // VULGAR FRACTION THREE QUARTERS - 0xBF: [467,218,444,30,376], // INVERTED QUESTION MARK - 0xC0: [928,0,722,15,707], // LATIN CAPITAL LETTER A WITH GRAVE - 0xC1: [928,0,722,15,707], // LATIN CAPITAL LETTER A WITH ACUTE - 0xC2: [924,0,722,15,707], // LATIN CAPITAL LETTER A WITH CIRCUMFLEX - 0xC3: [888,0,722,15,707], // LATIN CAPITAL LETTER A WITH TILDE - 0xC4: [872,0,722,15,707], // LATIN CAPITAL LETTER A WITH DIAERESIS - 0xC5: [961,0,722,15,707], // LATIN CAPITAL LETTER A WITH RING ABOVE - 0xC6: [662,0,889,0,863], // LATIN CAPITAL LETTER AE - 0xC7: [676,215,667,28,633], // LATIN CAPITAL LETTER C WITH CEDILLA - 0xC8: [928,0,611,12,597], // LATIN CAPITAL LETTER E WITH GRAVE - 0xC9: [928,0,611,12,597], // LATIN CAPITAL LETTER E WITH ACUTE - 0xCA: [924,0,611,12,597], // LATIN CAPITAL LETTER E WITH CIRCUMFLEX - 0xCB: [872,0,611,12,597], // LATIN CAPITAL LETTER E WITH DIAERESIS - 0xCC: [928,0,333,18,315], // LATIN CAPITAL LETTER I WITH GRAVE - 0xCD: [928,0,333,18,315], // LATIN CAPITAL LETTER I WITH ACUTE - 0xCE: [924,0,333,10,321], // LATIN CAPITAL LETTER I WITH CIRCUMFLEX - 0xCF: [872,0,333,17,315], // LATIN CAPITAL LETTER I WITH DIAERESIS - 0xD0: [662,0,722,16,685], // LATIN CAPITAL LETTER ETH - 0xD1: [888,11,722,12,707], // LATIN CAPITAL LETTER N WITH TILDE - 0xD2: [928,14,722,34,688], // LATIN CAPITAL LETTER O WITH GRAVE - 0xD3: [928,14,722,34,688], // LATIN CAPITAL LETTER O WITH ACUTE - 0xD4: [924,14,722,34,688], // LATIN CAPITAL LETTER O WITH CIRCUMFLEX - 0xD5: [888,14,722,34,688], // LATIN CAPITAL LETTER O WITH TILDE - 0xD6: [872,14,722,34,688], // LATIN CAPITAL LETTER O WITH DIAERESIS - 0xD8: [734,80,722,34,688], // LATIN CAPITAL LETTER O WITH STROKE - 0xD9: [928,14,722,14,705], // LATIN CAPITAL LETTER U WITH GRAVE - 0xDA: [928,14,722,14,705], // LATIN CAPITAL LETTER U WITH ACUTE - 0xDB: [924,14,722,14,705], // LATIN CAPITAL LETTER U WITH CIRCUMFLEX - 0xDC: [872,14,722,14,705], // LATIN CAPITAL LETTER U WITH DIAERESIS - 0xDD: [928,0,722,22,703], // LATIN CAPITAL LETTER Y WITH ACUTE - 0xDE: [662,0,556,16,542], // LATIN CAPITAL LETTER THORN - 0xDF: [683,9,500,12,468], // LATIN SMALL LETTER SHARP S - 0xE0: [678,10,444,37,442], // LATIN SMALL LETTER A WITH GRAVE - 0xE1: [678,10,444,37,442], // LATIN SMALL LETTER A WITH ACUTE - 0xE2: [674,10,444,37,442], // LATIN SMALL LETTER A WITH CIRCUMFLEX - 0xE3: [638,10,444,37,442], // LATIN SMALL LETTER A WITH TILDE - 0xE4: [622,10,444,37,442], // LATIN SMALL LETTER A WITH DIAERESIS - 0xE5: [713,10,444,37,442], // LATIN SMALL LETTER A WITH RING ABOVE - 0xE6: [460,7,667,38,632], // LATIN SMALL LETTER AE - 0xE7: [460,215,444,25,412], // LATIN SMALL LETTER C WITH CEDILLA - 0xE8: [678,10,444,25,424], // LATIN SMALL LETTER E WITH GRAVE - 0xE9: [678,10,444,25,424], // LATIN SMALL LETTER E WITH ACUTE - 0xEA: [674,10,444,25,424], // LATIN SMALL LETTER E WITH CIRCUMFLEX - 0xEB: [622,10,444,25,424], // LATIN SMALL LETTER E WITH DIAERESIS - 0xEC: [678,0,278,6,243], // LATIN SMALL LETTER I WITH GRAVE - 0xED: [678,0,278,16,273], // LATIN SMALL LETTER I WITH ACUTE - 0xEE: [674,0,278,-17,294], // LATIN SMALL LETTER I WITH CIRCUMFLEX - 0xEF: [622,0,278,-10,288], // LATIN SMALL LETTER I WITH DIAERESIS - 0xF0: [686,10,500,29,471], // LATIN SMALL LETTER ETH - 0xF1: [638,0,500,16,485], // LATIN SMALL LETTER N WITH TILDE - 0xF2: [678,10,500,29,470], // LATIN SMALL LETTER O WITH GRAVE - 0xF3: [678,10,500,29,470], // LATIN SMALL LETTER O WITH ACUTE - 0xF4: [674,10,500,29,470], // LATIN SMALL LETTER O WITH CIRCUMFLEX - 0xF5: [638,10,500,29,470], // LATIN SMALL LETTER O WITH TILDE - 0xF6: [622,10,500,29,470], // LATIN SMALL LETTER O WITH DIAERESIS - 0xF8: [551,112,500,29,470], // LATIN SMALL LETTER O WITH STROKE - 0xF9: [678,10,500,9,480], // LATIN SMALL LETTER U WITH GRAVE - 0xFA: [678,10,500,9,480], // LATIN SMALL LETTER U WITH ACUTE - 0xFB: [674,10,500,9,480], // LATIN SMALL LETTER U WITH CIRCUMFLEX - 0xFC: [622,10,500,9,480], // LATIN SMALL LETTER U WITH DIAERESIS - 0xFD: [678,218,500,14,475], // LATIN SMALL LETTER Y WITH ACUTE - 0xFE: [683,217,500,5,470], // LATIN SMALL LETTER THORN - 0xFF: [622,218,500,14,475] // LATIN SMALL LETTER Y WITH DIAERESIS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Latin1Supplement.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js deleted file mode 100644 index 4b4b9a12..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +++ /dev/null @@ -1,154 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x100: [773,0,722,15,707], // LATIN CAPITAL LETTER A WITH MACRON - 0x101: [561,10,444,37,442], // LATIN SMALL LETTER A WITH MACRON - 0x102: [876,0,722,15,707], // LATIN CAPITAL LETTER A WITH BREVE - 0x103: [664,10,444,37,442], // LATIN SMALL LETTER A WITH BREVE - 0x104: [674,165,722,15,707], // LATIN CAPITAL LETTER A WITH OGONEK - 0x105: [460,165,444,37,472], // LATIN SMALL LETTER A WITH OGONEK - 0x106: [890,14,667,28,633], // LATIN CAPITAL LETTER C WITH ACUTE - 0x107: [678,10,444,25,412], // LATIN SMALL LETTER C WITH ACUTE - 0x108: [886,14,667,28,633], // LATIN CAPITAL LETTER C WITH CIRCUMFLEX - 0x109: [674,10,444,25,412], // LATIN SMALL LETTER C WITH CIRCUMFLEX - 0x10A: [834,14,667,28,633], // LATIN CAPITAL LETTER C WITH DOT ABOVE - 0x10B: [622,10,444,25,412], // LATIN SMALL LETTER C WITH DOT ABOVE - 0x10C: [886,14,667,28,633], // LATIN CAPITAL LETTER C WITH CARON - 0x10D: [674,10,444,25,412], // LATIN SMALL LETTER C WITH CARON - 0x10E: [886,0,722,16,685], // LATIN CAPITAL LETTER D WITH CARON - 0x10F: [701,10,586,27,604], // LATIN SMALL LETTER D WITH CARON - 0x110: [662,0,722,16,685], // LATIN CAPITAL LETTER D WITH STROKE - 0x111: [683,10,500,27,507], // LATIN SMALL LETTER D WITH STROKE - 0x112: [773,0,611,12,597], // LATIN CAPITAL LETTER E WITH MACRON - 0x113: [561,10,444,25,424], // LATIN SMALL LETTER E WITH MACRON - 0x114: [876,0,611,12,597], // LATIN CAPITAL LETTER E WITH BREVE - 0x115: [664,10,444,25,424], // LATIN SMALL LETTER E WITH BREVE - 0x116: [834,0,611,12,597], // LATIN CAPITAL LETTER E WITH DOT ABOVE - 0x117: [622,10,444,25,424], // LATIN SMALL LETTER E WITH DOT ABOVE - 0x118: [662,165,611,12,597], // LATIN CAPITAL LETTER E WITH OGONEK - 0x119: [460,165,444,25,424], // LATIN SMALL LETTER E WITH OGONEK - 0x11A: [886,0,611,12,597], // LATIN CAPITAL LETTER E WITH CARON - 0x11B: [674,10,444,25,424], // LATIN SMALL LETTER E WITH CARON - 0x11C: [886,14,722,32,709], // LATIN CAPITAL LETTER G WITH CIRCUMFLEX - 0x11D: [674,218,500,28,470], // LATIN SMALL LETTER G WITH CIRCUMFLEX - 0x11E: [876,14,722,32,709], // LATIN CAPITAL LETTER G WITH BREVE - 0x11F: [664,218,500,28,470], // LATIN SMALL LETTER G WITH BREVE - 0x120: [834,14,722,32,709], // LATIN CAPITAL LETTER G WITH DOT ABOVE - 0x121: [622,218,500,28,470], // LATIN SMALL LETTER G WITH DOT ABOVE - 0x122: [676,280,722,32,709], // LATIN CAPITAL LETTER G WITH CEDILLA - 0x123: [766,218,500,28,470], // LATIN SMALL LETTER G WITH CEDILLA - 0x124: [886,0,722,18,703], // LATIN CAPITAL LETTER H WITH CIRCUMFLEX - 0x125: [886,0,500,9,487], // LATIN SMALL LETTER H WITH CIRCUMFLEX - 0x126: [662,0,723,17,702], // LATIN CAPITAL LETTER H WITH STROKE - 0x127: [683,0,500,8,487], // LATIN SMALL LETTER H WITH STROKE - 0x128: [850,0,333,1,331], // LATIN CAPITAL LETTER I WITH TILDE - 0x129: [638,0,278,-25,305], // LATIN SMALL LETTER I WITH TILDE - 0x12A: [773,0,333,11,322], // LATIN CAPITAL LETTER I WITH MACRON - 0x12B: [561,0,278,-21,290], // LATIN SMALL LETTER I WITH MACRON - 0x12C: [876,0,333,18,315], // LATIN CAPITAL LETTER I WITH BREVE - 0x12D: [664,0,278,-1,280], // LATIN SMALL LETTER I WITH BREVE - 0x12E: [662,165,333,18,315], // LATIN CAPITAL LETTER I WITH OGONEK - 0x12F: [683,165,278,16,277], // LATIN SMALL LETTER I WITH OGONEK - 0x130: [834,0,333,18,315], // LATIN CAPITAL LETTER I WITH DOT ABOVE - 0x132: [662,14,747,18,728], // LATIN CAPITAL LIGATURE IJ - 0x133: [683,218,538,16,454], // LATIN SMALL LIGATURE IJ - 0x134: [886,14,373,-6,367], // LATIN CAPITAL LETTER J WITH CIRCUMFLEX - 0x135: [674,218,278,-70,295], // LATIN SMALL LETTER J WITH CIRCUMFLEX - 0x136: [662,280,722,33,723], // LATIN CAPITAL LETTER K WITH CEDILLA - 0x137: [683,280,500,7,505], // LATIN SMALL LETTER K WITH CEDILLA - 0x138: [459,0,542,5,532], // LATIN SMALL LETTER KRA - 0x139: [890,0,611,12,598], // LATIN CAPITAL LETTER L WITH ACUTE - 0x13A: [890,0,278,19,257], // LATIN SMALL LETTER L WITH ACUTE - 0x13B: [662,280,611,12,598], // LATIN CAPITAL LETTER L WITH CEDILLA - 0x13C: [683,280,278,19,257], // LATIN SMALL LETTER L WITH CEDILLA - 0x13D: [683,0,611,12,598], // LATIN CAPITAL LETTER L WITH CARON - 0x13E: [702,0,381,19,362], // LATIN SMALL LETTER L WITH CARON - 0x13F: [662,0,620,29,615], // LATIN CAPITAL LETTER L WITH MIDDLE DOT - 0x140: [683,0,370,19,354], // LATIN SMALL LETTER L WITH MIDDLE DOT - 0x141: [662,0,611,10,597], // LATIN CAPITAL LETTER L WITH STROKE - 0x142: [683,0,278,19,259], // LATIN SMALL LETTER L WITH STROKE - 0x143: [890,11,722,12,707], // LATIN CAPITAL LETTER N WITH ACUTE - 0x144: [678,0,500,16,485], // LATIN SMALL LETTER N WITH ACUTE - 0x145: [662,280,722,12,707], // LATIN CAPITAL LETTER N WITH CEDILLA - 0x146: [460,280,500,16,485], // LATIN SMALL LETTER N WITH CEDILLA - 0x147: [886,11,722,12,707], // LATIN CAPITAL LETTER N WITH CARON - 0x148: [674,0,500,16,485], // LATIN SMALL LETTER N WITH CARON - 0x149: [702,0,590,20,566], // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE - 0x14A: [678,18,710,16,673], // LATIN CAPITAL LETTER ENG - 0x14B: [460,218,504,16,424], // LATIN SMALL LETTER ENG - 0x14C: [773,14,722,34,688], // LATIN CAPITAL LETTER O WITH MACRON - 0x14D: [561,10,500,29,470], // LATIN SMALL LETTER O WITH MACRON - 0x14E: [876,14,722,34,688], // LATIN CAPITAL LETTER O WITH BREVE - 0x14F: [664,10,500,29,470], // LATIN SMALL LETTER O WITH BREVE - 0x150: [890,14,722,34,688], // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE - 0x151: [678,10,500,29,470], // LATIN SMALL LETTER O WITH DOUBLE ACUTE - 0x152: [668,6,889,30,885], // LATIN CAPITAL LIGATURE OE - 0x153: [460,10,722,30,690], // LATIN SMALL LIGATURE OE - 0x154: [890,0,667,17,660], // LATIN CAPITAL LETTER R WITH ACUTE - 0x155: [678,0,333,5,335], // LATIN SMALL LETTER R WITH ACUTE - 0x156: [662,280,667,17,660], // LATIN CAPITAL LETTER R WITH CEDILLA - 0x157: [460,280,333,5,335], // LATIN SMALL LETTER R WITH CEDILLA - 0x158: [886,0,667,17,660], // LATIN CAPITAL LETTER R WITH CARON - 0x159: [674,0,333,5,335], // LATIN SMALL LETTER R WITH CARON - 0x15A: [890,14,556,43,491], // LATIN CAPITAL LETTER S WITH ACUTE - 0x15B: [678,10,389,51,348], // LATIN SMALL LETTER S WITH ACUTE - 0x15C: [886,14,556,43,491], // LATIN CAPITAL LETTER S WITH CIRCUMFLEX - 0x15D: [674,10,389,40,351], // LATIN SMALL LETTER S WITH CIRCUMFLEX - 0x15E: [676,215,556,43,491], // LATIN CAPITAL LETTER S WITH CEDILLA - 0x15F: [459,215,389,51,348], // LATIN SMALL LETTER S WITH CEDILLA - 0x160: [924,14,556,43,491], // LATIN CAPITAL LETTER S WITH CARON - 0x161: [674,10,389,38,349], // LATIN SMALL LETTER S WITH CARON - 0x162: [662,215,611,17,593], // LATIN CAPITAL LETTER T WITH CEDILLA - 0x163: [579,215,278,13,279], // LATIN SMALL LETTER T WITH CEDILLA - 0x164: [886,0,611,17,593], // LATIN CAPITAL LETTER T WITH CARON - 0x165: [701,10,315,13,333], // LATIN SMALL LETTER T WITH CARON - 0x166: [662,0,613,17,593], // LATIN CAPITAL LETTER T WITH STROKE - 0x167: [584,5,279,11,280], // LATIN SMALL LETTER T WITH STROKE - 0x168: [849,14,722,14,705], // LATIN CAPITAL LETTER U WITH TILDE - 0x169: [638,10,500,9,480], // LATIN SMALL LETTER U WITH TILDE - 0x16A: [773,14,722,14,705], // LATIN CAPITAL LETTER U WITH MACRON - 0x16B: [561,10,500,9,480], // LATIN SMALL LETTER U WITH MACRON - 0x16C: [876,14,722,14,705], // LATIN CAPITAL LETTER U WITH BREVE - 0x16D: [664,10,500,9,480], // LATIN SMALL LETTER U WITH BREVE - 0x16E: [898,14,722,14,705], // LATIN CAPITAL LETTER U WITH RING ABOVE - 0x16F: [711,10,500,9,480], // LATIN SMALL LETTER U WITH RING ABOVE - 0x170: [890,14,722,14,705], // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE - 0x171: [678,10,500,9,480], // LATIN SMALL LETTER U WITH DOUBLE ACUTE - 0x172: [662,165,722,14,705], // LATIN CAPITAL LETTER U WITH OGONEK - 0x173: [450,156,500,9,480], // LATIN SMALL LETTER U WITH OGONEK - 0x174: [886,11,944,5,932], // LATIN CAPITAL LETTER W WITH CIRCUMFLEX - 0x175: [674,14,722,21,694], // LATIN SMALL LETTER W WITH CIRCUMFLEX - 0x176: [886,0,722,22,703], // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX - 0x177: [674,218,500,14,475], // LATIN SMALL LETTER Y WITH CIRCUMFLEX - 0x178: [872,0,722,22,703], // LATIN CAPITAL LETTER Y WITH DIAERESIS - 0x179: [890,0,612,10,598], // LATIN CAPITAL LETTER Z WITH ACUTE - 0x17A: [678,0,444,27,418], // LATIN SMALL LETTER Z WITH ACUTE - 0x17B: [834,0,612,10,598], // LATIN CAPITAL LETTER Z WITH DOT ABOVE - 0x17C: [622,0,444,27,418], // LATIN SMALL LETTER Z WITH DOT ABOVE - 0x17D: [924,0,612,10,598], // LATIN CAPITAL LETTER Z WITH CARON - 0x17E: [674,0,444,27,418], // LATIN SMALL LETTER Z WITH CARON - 0x17F: [683,0,334,20,383] // LATIN SMALL LETTER LONG S - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LatinExtendedA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js deleted file mode 100644 index 87aa959f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1E80: [890,11,944,5,932], // LATIN CAPITAL LETTER W WITH GRAVE - 0x1E81: [678,14,722,21,694], // LATIN SMALL LETTER W WITH GRAVE - 0x1E82: [890,11,944,5,932], // LATIN CAPITAL LETTER W WITH ACUTE - 0x1E83: [678,14,722,21,694], // LATIN SMALL LETTER W WITH ACUTE - 0x1E84: [834,11,944,5,932], // LATIN CAPITAL LETTER W WITH DIAERESIS - 0x1E85: [622,14,722,21,694], // LATIN SMALL LETTER W WITH DIAERESIS - 0x1EF2: [890,0,722,22,703], // LATIN CAPITAL LETTER Y WITH GRAVE - 0x1EF3: [678,218,500,14,475] // LATIN SMALL LETTER Y WITH GRAVE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LatinExtendedAdditional.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js deleted file mode 100644 index 3fb11692..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +++ /dev/null @@ -1,63 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x180: [683,10,500,-19,472], // LATIN SMALL LETTER B WITH STROKE - 0x188: [559,10,500,25,511], // LATIN SMALL LETTER C WITH HOOK - 0x190: [684,6,580,33,562], // LATIN CAPITAL LETTER OPEN E - 0x192: [706,159,434,6,426], // LATIN SMALL LETTER F WITH HOOK - 0x195: [683,10,735,9,710], // LATIN SMALL LETTER HV - 0x199: [683,0,500,7,505], // LATIN SMALL LETTER K WITH HOOK - 0x19A: [683,0,278,19,257], // LATIN SMALL LETTER L WITH BAR - 0x19B: [668,0,520,55,516], // LATIN SMALL LETTER LAMBDA WITH STROKE - 0x19E: [460,233,500,16,485], // LATIN SMALL LETTER N WITH LONG RIGHT LEG - 0x1A0: [754,14,722,34,688], // LATIN CAPITAL LETTER O WITH HORN - 0x1A1: [474,10,545,29,531], // LATIN SMALL LETTER O WITH HORN - 0x1A5: [669,217,500,5,470], // LATIN SMALL LETTER P WITH HOOK - 0x1AA: [684,233,432,20,412], // LATIN LETTER REVERSED ESH LOOP - 0x1AB: [579,218,290,13,279], // LATIN SMALL LETTER T WITH PALATAL HOOK - 0x1AD: [683,10,310,14,333], // LATIN SMALL LETTER T WITH HOOK - 0x1AF: [774,14,766,14,810], // LATIN CAPITAL LETTER U WITH HORN - 0x1B0: [561,10,500,9,539], // LATIN SMALL LETTER U WITH HORN - 0x1B5: [662,0,612,10,598], // LATIN CAPITAL LETTER Z WITH STROKE - 0x1BA: [450,234,381,4,360], // LATIN SMALL LETTER EZH WITH TAIL - 0x1BB: [676,0,500,22,482], // LATIN LETTER TWO WITH STROKE - 0x1BE: [539,12,500,73,427], // LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE - 0x1C0: [736,0,160,54,105], // LATIN LETTER DENTAL CLICK - 0x1C1: [736,0,280,54,225], // LATIN LETTER LATERAL CLICK - 0x1C2: [736,0,435,34,400], // LATIN LETTER ALVEOLAR CLICK - 0x1C3: [676,9,333,130,236], // LATIN LETTER RETROFLEX CLICK - 0x1F0: [674,218,278,-70,294], // LATIN SMALL LETTER J WITH CARON - 0x1FA: [938,0,722,15,707], // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE - 0x1FB: [890,10,444,37,442], // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE - 0x1FC: [890,0,889,0,863], // LATIN CAPITAL LETTER AE WITH ACUTE - 0x1FD: [678,7,667,38,632], // LATIN SMALL LETTER AE WITH ACUTE - 0x1FE: [890,80,722,34,688], // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE - 0x1FF: [678,112,500,29,470], // LATIN SMALL LETTER O WITH STROKE AND ACUTE - 0x221: [683,150,671,27,652], // LATIN SMALL LETTER D WITH CURL - 0x234: [683,150,429,19,410], // LATIN SMALL LETTER L WITH CURL - 0x235: [460,150,672,16,653], // LATIN SMALL LETTER N WITH CURL - 0x236: [580,150,401,13,382] // LATIN SMALL LETTER T WITH CURL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LatinExtendedB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js deleted file mode 100644 index c7db763b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0xA727: [683,233,481,9,427] // stix-heng (phonetic symbol) - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LatinExtendedD.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js deleted file mode 100644 index 9c775deb..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +++ /dev/null @@ -1,82 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2102: [676,14,705,45,663], // stix-mathematical bold oblique double-struck capital C - 0x2105: [676,14,837,48,795], // CARE OF - 0x2107: [676,14,598,28,561], // EULER CONSTANT - 0x210A: [441,219,738,30,678], // SCRIPT SMALL G - 0x210B: [687,15,997,53,991], // SCRIPT CAPITAL H - 0x210C: [695,204,824,43,773], // BLACK-LETTER CAPITAL H - 0x210D: [662,0,718,70,648], // stix-mathematical bold oblique double-struck capital H - 0x210E: [683,10,577,47,545], // PLANCK CONSTANT - 0x210F: [683,10,579,47,547], // stix-/hbar - Planck's over 2pi - 0x2110: [675,15,897,26,888], // SCRIPT CAPITAL I - 0x2112: [687,15,946,33,931], // SCRIPT CAPITAL L - 0x2115: [662,0,698,70,628], // stix-mathematical bold oblique double-struck capital N - 0x2116: [676,14,1012,7,966], // NUMERO SIGN - 0x2117: [676,14,760,38,722], // SOUND RECORDING COPYRIGHT - 0x2119: [662,0,678,70,628], // stix-mathematical bold oblique double-struck capital P - 0x211A: [676,65,765,45,715], // stix-mathematical bold oblique double-struck capital Q - 0x211B: [687,15,944,34,876], // SCRIPT CAPITAL R - 0x211D: [662,0,747,70,712], // stix-mathematical bold oblique double-struck capital R - 0x211E: [667,101,780,69,763], // PRESCRIPTION TAKE - 0x2122: [662,-256,980,30,957], // TRADE MARK SIGN - 0x2124: [662,0,727,50,677], // stix-mathematical bold oblique double-struck capital Z - 0x2125: [662,218,424,35,391], // OUNCE SIGN - 0x2126: [676,0,744,29,715], // OHM SIGN - 0x2127: [662,14,744,29,715], // INVERTED OHM SIGN - 0x2128: [695,204,726,50,676], // BLACK-LETTER CAPITAL Z - 0x2129: [463,0,360,32,276], // TURNED GREEK SMALL LETTER IOTA - 0x212B: [871,0,722,15,707], // ANGSTROM SIGN - 0x212C: [687,15,950,34,902], // SCRIPT CAPITAL B - 0x212D: [695,24,717,47,675], // BLACK-LETTER CAPITAL C - 0x212E: [676,17,843,35,808], // ESTIMATED SYMBOL - 0x212F: [441,11,627,30,554], // SCRIPT SMALL E - 0x2130: [687,15,750,100,734], // SCRIPT CAPITAL E - 0x2131: [680,0,919,43,907], // SCRIPT CAPITAL F - 0x2132: [662,0,535,13,462], // TURNED CAPITAL F - 0x2133: [674,15,1072,38,1056], // SCRIPT CAPITAL M - 0x2134: [441,11,697,30,680], // SCRIPT SMALL O - 0x2136: [677,19,639,57,572], // BET SYMBOL - 0x2137: [677,19,505,40,463], // GIMEL SYMBOL - 0x2138: [677,19,599,52,495], // DALET SYMBOL - 0x213C: [450,12,673,25,645], // DOUBLE-STRUCK SMALL PI - 0x213D: [460,218,540,0,526], // DOUBLE-STRUCK SMALL GAMMA - 0x213E: [662,0,469,70,567], // DOUBLE-STRUCK CAPITAL GAMMA - 0x213F: [662,0,718,70,648], // DOUBLE-STRUCK CAPITAL PI - 0x2140: [763,259,923,61,882], // DOUBLE-STRUCK N-ARY SUMMATION - 0x2141: [676,14,695,68,668], // TURNED SANS-SERIF CAPITAL G - 0x2142: [662,0,559,13,485], // TURNED SANS-SERIF CAPITAL L - 0x2143: [662,0,559,13,485], // REVERSED SANS-SERIF CAPITAL L - 0x2144: [662,0,630,21,609], // TURNED SANS-SERIF CAPITAL Y - 0x2145: [662,0,722,70,677], // stix-mathematical bold double-struck capital D - 0x2146: [683,10,574,45,519], // stix-mathematical bold double-struck small letter d - 0x2147: [460,10,523,45,478], // stix-mathematical bold double-struck small letter e - 0x2148: [683,0,258,55,203], // stix-mathematical bold double-struck small letter i - 0x2149: [683,217,305,-15,250], // stix-mathematical bold double-struck small letter j - 0x214A: [692,0,664,45,602], // PROPERTY LINE - 0x214B: [676,13,778,28,736] // TURNED AMPERSAND - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LetterlikeSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js deleted file mode 100644 index 93500af7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +++ /dev/null @@ -1,380 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'] = { - directory: 'General/Regular', - family: 'STIXGeneral', - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x180,0x24F,"LatinExtendedB"], - [0x250,0x2AF,"IPAExtensions"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x300,0x36F,"CombDiacritMarks"], - [0x370,0x3FF,"GreekAndCoptic"], - [0x400,0x4FF,"Cyrillic"], - [0x1D00,0x1DBF,"PhoneticExtensions"], - [0x1E00,0x1EFF,"LatinExtendedAdditional"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x2070,0x209F,"SuperAndSubscripts"], - [0x20A0,0x20CF,"CurrencySymbols"], - [0x20D0,0x20FF,"CombDiactForSymbols"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2150,0x218F,"NumberForms"], - [0x2190,0x21FF,"Arrows"], - [0x2200,0x22FF,"MathOperators"], - [0x2300,0x23FF,"MiscTechnical"], - [0x2400,0x243F,"ControlPictures"], - [0x2460,0x24FF,"EnclosedAlphanum"], - [0x2500,0x257F,"BoxDrawing"], - [0x2580,0x259F,"BlockElements"], - [0x25A0,0x25FF,"GeometricShapes"], - [0x2600,0x26FF,"MiscSymbols"], - [0x2700,0x27BF,"Dingbats"], - [0x27C0,0x27EF,"MiscMathSymbolsA"], - [0x27F0,0x27FF,"SupplementalArrowsA"], - [0x2900,0x297F,"SupplementalArrowsB"], - [0x2980,0x29FF,"MiscMathSymbolsB"], - [0x2A00,0x2AFF,"SuppMathOperators"], - [0x2B00,0x2BFF,"MiscSymbolsAndArrows"], - [0x3000,0x303F,"CJK"], - [0x3040,0x309F,"Hiragana"], - [0xA720,0xA7FF,"LatinExtendedD"], - [0xFB00,0xFB4F,"AlphaPresentForms"], - [0xFFF0,0xFFFF,"Specials"], - [0x1D400,0x1D433,"MathBold"], - [0x1D434,0x1D467,"MathItalic"], - [0x1D468,0x1D49B,"MathBoldItalic"], - [0x1D49C,0x1D4CF,"MathScript"], - [0x1D4D0,0x1D503,"MathBoldScript"], - [0x1D504,0x1D537,"Fraktur"], - [0x1D538,0x1D56B,"BBBold"], - [0x1D56C,0x1D59F,"BoldFraktur"], - [0x1D5A0,0x1D5D3,"MathSS"], - [0x1D5D4,0x1D607,"MathSSBold"], - [0x1D608,0x1D63B,"MathSSItalic"], - [0x1D63C,0x1D66F,"MathSSItalicBold"], - [0x1D670,0x1D6A3,"MathTT"], - [0x1D6A4,0x1D6A5,"ij"], - [0x1D6A8,0x1D6E1,"GreekBold"], - [0x1D6E2,0x1D71B,"GreekItalic"], - [0x1D71C,0x1D755,"GreekBoldItalic"], - [0x1D756,0x1D78F,"GreekSSBold"], - [0x1D790,0x1D7C9,"GreekSSBoldItalic"], - [0x1D7CE,0x1D7D7,"MathBold"], - [0x1D7D8,0x1D7E1,"BBBold"], - [0x1D7E2,0x1D7EB,"MathSS"], - [0x1D7EC,0x1D7F6,"MathSSBold"], - [0x1D7F6,0x1D7FF,"MathTT"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [676,9,333,130,236], // EXCLAMATION MARK - 0x22: [676,-431,408,77,331], // QUOTATION MARK - 0x23: [662,0,500,6,495], // NUMBER SIGN - 0x24: [727,87,500,44,458], // DOLLAR SIGN - 0x25: [706,19,747,61,686], // PERCENT SIGN - 0x26: [676,13,778,42,750], // AMPERSAND - 0x27: [676,-431,180,48,133], // APOSTROPHE - 0x28: [676,177,333,48,304], // LEFT PARENTHESIS - 0x29: [676,177,333,29,285], // RIGHT PARENTHESIS - 0x2A: [676,-265,500,68,433], // ASTERISK - 0x2B: [547,41,685,48,636], // PLUS SIGN - 0x2C: [102,141,250,55,195], // COMMA - 0x2D: [257,-194,333,39,285], // HYPHEN-MINUS - 0x2E: [100,11,250,70,181], // FULL STOP - 0x2F: [676,14,278,-9,287], // SOLIDUS - 0x30: [676,14,500,24,476], // DIGIT ZERO - 0x31: [676,0,500,111,394], // DIGIT ONE - 0x32: [676,0,500,29,474], // DIGIT TWO - 0x33: [676,14,500,41,431], // DIGIT THREE - 0x34: [676,0,500,12,473], // DIGIT FOUR - 0x35: [688,14,500,31,438], // DIGIT FIVE - 0x36: [684,14,500,34,468], // DIGIT SIX - 0x37: [662,8,500,20,449], // DIGIT SEVEN - 0x38: [676,14,500,56,445], // DIGIT EIGHT - 0x39: [676,22,500,30,459], // DIGIT NINE - 0x3A: [459,11,278,81,192], // COLON - 0x3B: [459,141,278,80,219], // SEMICOLON - 0x3C: [534,24,685,56,621], // LESS-THAN SIGN - 0x3D: [386,-120,685,48,637], // EQUALS SIGN - 0x3E: [534,24,685,56,621], // GREATER-THAN SIGN - 0x3F: [676,8,444,68,414], // QUESTION MARK - 0x40: [676,14,921,116,809], // COMMERCIAL AT - 0x41: [674,0,722,15,707], // LATIN CAPITAL LETTER A - 0x42: [662,0,667,17,593], // LATIN CAPITAL LETTER B - 0x43: [676,14,667,28,633], // LATIN CAPITAL LETTER C - 0x44: [662,0,722,16,685], // LATIN CAPITAL LETTER D - 0x45: [662,0,611,12,597], // LATIN CAPITAL LETTER E - 0x46: [662,0,556,11,546], // LATIN CAPITAL LETTER F - 0x47: [676,14,722,32,709], // LATIN CAPITAL LETTER G - 0x48: [662,0,722,18,703], // LATIN CAPITAL LETTER H - 0x49: [662,0,333,18,315], // LATIN CAPITAL LETTER I - 0x4A: [662,14,373,-6,354], // LATIN CAPITAL LETTER J - 0x4B: [662,0,722,33,723], // LATIN CAPITAL LETTER K - 0x4C: [662,0,611,12,598], // LATIN CAPITAL LETTER L - 0x4D: [662,0,889,12,864], // LATIN CAPITAL LETTER M - 0x4E: [662,11,722,12,707], // LATIN CAPITAL LETTER N - 0x4F: [676,14,722,34,688], // LATIN CAPITAL LETTER O - 0x50: [662,0,557,16,542], // LATIN CAPITAL LETTER P - 0x51: [676,177,722,34,701], // LATIN CAPITAL LETTER Q - 0x52: [662,0,667,17,660], // LATIN CAPITAL LETTER R - 0x53: [676,14,556,43,491], // LATIN CAPITAL LETTER S - 0x54: [662,0,611,17,593], // LATIN CAPITAL LETTER T - 0x55: [662,14,722,14,705], // LATIN CAPITAL LETTER U - 0x56: [662,11,722,16,697], // LATIN CAPITAL LETTER V - 0x57: [662,11,944,5,932], // LATIN CAPITAL LETTER W - 0x58: [662,0,722,10,704], // LATIN CAPITAL LETTER X - 0x59: [662,0,722,22,703], // LATIN CAPITAL LETTER Y - 0x5A: [662,0,612,10,598], // LATIN CAPITAL LETTER Z - 0x5B: [662,156,333,88,299], // LEFT SQUARE BRACKET - 0x5C: [676,14,278,-9,287], // REVERSE SOLIDUS - 0x5D: [662,156,333,34,245], // RIGHT SQUARE BRACKET - 0x5E: [662,-297,469,24,446], // CIRCUMFLEX ACCENT - 0x5F: [-75,125,500,0,500], // LOW LINE - 0x60: [678,-507,333,18,242], // GRAVE ACCENT - 0x61: [460,10,444,37,442], // LATIN SMALL LETTER A - 0x62: [683,10,500,3,468], // LATIN SMALL LETTER B - 0x63: [460,10,444,25,412], // LATIN SMALL LETTER C - 0x64: [683,10,500,27,491], // LATIN SMALL LETTER D - 0x65: [460,10,444,25,424], // LATIN SMALL LETTER E - 0x66: [683,0,333,20,383], // LATIN SMALL LETTER F - 0x67: [460,218,500,28,470], // LATIN SMALL LETTER G - 0x68: [683,0,500,9,487], // LATIN SMALL LETTER H - 0x69: [683,0,278,16,253], // LATIN SMALL LETTER I - 0x6A: [683,218,278,-70,194], // LATIN SMALL LETTER J - 0x6B: [683,0,500,7,505], // LATIN SMALL LETTER K - 0x6C: [683,0,278,19,257], // LATIN SMALL LETTER L - 0x6D: [460,0,778,16,775], // LATIN SMALL LETTER M - 0x6E: [460,0,500,16,485], // LATIN SMALL LETTER N - 0x6F: [460,10,500,29,470], // LATIN SMALL LETTER O - 0x70: [460,217,500,5,470], // LATIN SMALL LETTER P - 0x71: [460,217,500,24,488], // LATIN SMALL LETTER Q - 0x72: [460,0,333,5,335], // LATIN SMALL LETTER R - 0x73: [459,10,389,51,348], // LATIN SMALL LETTER S - 0x74: [579,10,278,13,279], // LATIN SMALL LETTER T - 0x75: [450,10,500,9,480], // LATIN SMALL LETTER U - 0x76: [450,14,500,19,477], // LATIN SMALL LETTER V - 0x77: [450,14,722,21,694], // LATIN SMALL LETTER W - 0x78: [450,0,500,17,479], // LATIN SMALL LETTER X - 0x79: [450,218,500,14,475], // LATIN SMALL LETTER Y - 0x7A: [450,0,444,27,418], // LATIN SMALL LETTER Z - 0x7B: [680,181,480,100,350], // LEFT CURLY BRACKET - 0x7C: [676,14,200,67,133], // VERTICAL LINE - 0x7D: [680,181,480,130,380], // RIGHT CURLY BRACKET - 0x7E: [325,-183,541,40,502], // TILDE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xA8: [622,-523,333,18,316], // DIAERESIS - 0xAC: [393,-115,600,48,552], // NOT SIGN - 0xAF: [601,-547,333,11,322], // MACRON - 0xB1: [502,87,685,48,637], // PLUS-MINUS SIGN - 0xB7: [310,-199,250,70,181], // MIDDLE DOT - 0xD7: [529,25,640,43,597], // MULTIPLICATION SIGN - 0xF7: [516,10,564,30,534], // DIVISION SIGN - 0x131: [460,0,278,16,253], // LATIN SMALL LETTER DOTLESS I - 0x237: [460,218,278,-70,193], // LATIN SMALL LETTER DOTLESS J - 0x2C6: [674,-507,333,11,322], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [674,-507,333,11,322], // CARON - 0x2C9: [601,-547,334,11,322], // MODIFIER LETTER MACRON - 0x2CA: [679,-509,333,93,320], // MODIFIER LETTER ACUTE ACCENT - 0x2CB: [679,-509,333,22,249], // MODIFIER LETTER GRAVE ACCENT - 0x2D8: [664,-507,335,27,308], // BREVE - 0x2D9: [622,-523,333,118,217], // DOT ABOVE - 0x2DC: [638,-532,333,1,331], // SMALL TILDE - 0x300: [678,-507,0,-371,-147], // COMBINING GRAVE ACCENT - 0x301: [678,-507,0,-371,-147], // COMBINING ACUTE ACCENT - 0x302: [674,-507,0,-386,-75], // COMBINING CIRCUMFLEX ACCENT - 0x303: [638,-532,0,-395,-65], // COMBINING TILDE - 0x304: [601,-547,0,-385,-74], // COMBINING MACRON - 0x306: [664,-507,0,-373,-92], // COMBINING BREVE - 0x307: [622,-523,0,-280,-181], // COMBINING DOT ABOVE - 0x308: [622,-523,0,-379,-81], // COMBINING DIAERESIS - 0x30A: [711,-512,0,-329,-130], // COMBINING RING ABOVE - 0x30B: [678,-507,0,-401,-22], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [674,-507,0,-385,-74], // COMBINING CARON - 0x338: [662,156,0,-380,31], // COMBINING LONG SOLIDUS OVERLAY - 0x393: [662,0,587,11,577], // GREEK CAPITAL LETTER GAMMA - 0x394: [674,0,722,48,675], // GREEK CAPITAL LETTER DELTA - 0x398: [676,14,722,34,688], // GREEK CAPITAL LETTER THETA - 0x39B: [674,0,702,15,687], // GREEK CAPITAL LETTER LAMDA - 0x39E: [662,0,643,29,614], // GREEK CAPITAL LETTER XI - 0x3A0: [662,0,722,18,703], // GREEK CAPITAL LETTER PI - 0x3A3: [662,0,624,30,600], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [674,0,722,29,703], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [662,0,763,35,728], // GREEK CAPITAL LETTER PHI - 0x3A8: [690,0,746,22,724], // GREEK CAPITAL LETTER PSI - 0x3A9: [676,0,744,29,715], // GREEK CAPITAL LETTER OMEGA - 0x2020: [676,149,500,59,442], // DAGGER - 0x2021: [676,153,500,58,442], // DOUBLE DAGGER - 0x2026: [100,11,1000,111,888], // HORIZONTAL ELLIPSIS - 0x2032: [678,-402,289,75,214], // PRIME - 0x203E: [820,-770,500,0,500], // OVERLINE - 0x20D7: [760,-548,0,-453,-17], // COMBINING RIGHT ARROW ABOVE - 0x2111: [695,34,762,45,711], // BLACK-LETTER CAPITAL I - 0x2118: [547,217,826,52,799], // SCRIPT CAPITAL P - 0x211C: [704,22,874,50,829], // BLACK-LETTER CAPITAL R - 0x2135: [677,13,682,43,634], // ALEF SYMBOL - 0x2190: [449,-58,926,71,857], // LEFTWARDS ARROW - 0x2191: [662,156,511,60,451], // UPWARDS ARROW - 0x2192: [448,-57,926,70,856], // RIGHTWARDS ARROW - 0x2193: [662,156,511,60,451], // DOWNWARDS ARROW - 0x2194: [449,-57,926,38,888], // LEFT RIGHT ARROW - 0x2195: [730,224,511,60,451], // UP DOWN ARROW - 0x2196: [662,156,926,70,856], // NORTH WEST ARROW - 0x2197: [662,156,926,70,856], // NORTH EAST ARROW - 0x2198: [662,156,926,70,856], // SOUTH EAST ARROW - 0x2199: [662,156,926,70,856], // SOUTH WEST ARROW - 0x21A6: [450,-57,926,70,857], // RIGHTWARDS ARROW FROM BAR - 0x21A9: [553,-57,926,70,856], // LEFTWARDS ARROW WITH HOOK - 0x21AA: [553,-57,926,70,856], // RIGHTWARDS ARROW WITH HOOK - 0x21BC: [494,-220,955,54,901], // LEFTWARDS HARPOON WITH BARB UPWARDS - 0x21BD: [286,-12,955,54,901], // LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x21C0: [494,-220,955,54,901], // RIGHTWARDS HARPOON WITH BARB UPWARDS - 0x21C1: [286,-12,955,54,901], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x21CC: [539,33,926,70,856], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON - 0x21D0: [551,45,926,60,866], // LEFTWARDS DOUBLE ARROW - 0x21D1: [662,156,685,45,641], // UPWARDS DOUBLE ARROW - 0x21D2: [551,45,926,60,866], // RIGHTWARDS DOUBLE ARROW - 0x21D3: [662,156,685,45,641], // DOWNWARDS DOUBLE ARROW - 0x21D4: [517,10,926,20,906], // LEFT RIGHT DOUBLE ARROW - 0x21D5: [730,224,685,45,641], // UP DOWN DOUBLE ARROW - 0x2200: [662,0,560,2,558], // FOR ALL - 0x2202: [668,11,471,40,471], // PARTIAL DIFFERENTIAL - 0x2203: [662,0,560,73,487], // THERE EXISTS - 0x2205: [583,79,762,50,712], // EMPTY SET - 0x2207: [662,12,731,63,667], // NABLA - 0x2208: [531,27,685,60,625], // ELEMENT OF - 0x2209: [662,157,685,60,625], // stix-negated (vert) set membership, variant - 0x220B: [531,27,685,60,625], // CONTAINS AS MEMBER - 0x220F: [763,259,1000,52,948], // N-ARY PRODUCT - 0x2210: [763,259,1000,52,948], // N-ARY COPRODUCT - 0x2211: [763,259,914,58,856], // N-ARY SUMMATION - 0x2212: [286,-220,685,64,621], // MINUS SIGN - 0x2213: [502,87,685,48,637], // MINUS-OR-PLUS SIGN - 0x2215: [710,222,523,46,478], // DIVISION SLASH - 0x2216: [411,-93,428,25,403], // SET MINUS - 0x2217: [471,-33,523,67,457], // ASTERISK OPERATOR - 0x2218: [387,-117,350,40,310], // RING OPERATOR - 0x2219: [387,-117,350,40,310], // BULLET OPERATOR - 0x221A: [973,259,928,112,963], // SQUARE ROOT - 0x221D: [430,0,685,41,643], // PROPORTIONAL TO - 0x221E: [430,0,926,70,854], // INFINITY - 0x2220: [547,0,685,23,643], // ANGLE - 0x2223: [690,189,266,100,166], // DIVIDES - 0x2225: [690,189,523,129,394], // PARALLEL TO - 0x2227: [536,29,620,31,589], // LOGICAL AND - 0x2228: [536,29,620,31,589], // LOGICAL OR - 0x2229: [536,31,620,48,572], // stix-intersection, serifs - 0x222A: [536,31,620,48,572], // stix-union, serifs - 0x222B: [824,320,459,32,639], // INTEGRAL - 0x223C: [362,-148,685,48,637], // TILDE OPERATOR - 0x2240: [547,42,286,35,249], // WREATH PRODUCT - 0x2243: [445,-55,685,48,637], // ASYMPTOTICALLY EQUAL TO - 0x2245: [532,27,685,48,637], // APPROXIMATELY EQUAL TO - 0x2248: [475,-25,685,48,637], // ALMOST EQUAL TO - 0x224D: [498,-8,685,48,637], // EQUIVALENT TO - 0x2250: [611,-120,685,48,637], // APPROACHES THE LIMIT - 0x2260: [662,156,685,48,637], // stix-not (vert) equals - 0x2261: [478,-28,685,48,637], // IDENTICAL TO - 0x2264: [609,103,685,64,629], // LESS-THAN OR EQUAL TO - 0x2265: [609,103,685,64,629], // GREATER-THAN OR EQUAL TO - 0x226A: [532,26,933,25,908], // MUCH LESS-THAN - 0x226B: [532,26,933,25,908], // MUCH GREATER-THAN - 0x227A: [532,26,685,64,621], // PRECEDES - 0x227B: [532,26,685,64,621], // SUCCEEDS - 0x227C: [628,120,685,64,621], // PRECEDES OR EQUAL TO - 0x227D: [629,119,685,64,621], // SUCCEEDS OR EQUAL TO - 0x2282: [531,25,685,64,621], // SUBSET OF - 0x2283: [531,25,685,64,621], // SUPERSET OF - 0x2286: [607,103,685,64,621], // SUBSET OF OR EQUAL TO - 0x2287: [607,103,685,64,621], // SUPERSET OF OR EQUAL TO - 0x228E: [536,31,620,48,572], // MULTISET UNION - 0x2291: [607,103,685,64,621], // SQUARE IMAGE OF OR EQUAL TO - 0x2292: [607,103,685,64,621], // SQUARE ORIGINAL OF OR EQUAL TO - 0x2293: [536,31,620,48,572], // stix-square intersection, serifs - 0x2294: [536,31,620,48,572], // stix-square union, serifs - 0x2295: [623,119,842,50,792], // stix-circled plus (with rim) - 0x2296: [623,119,842,50,792], // CIRCLED MINUS - 0x2297: [623,119,842,50,792], // stix-circled times (with rim) - 0x2298: [623,119,842,50,792], // CIRCLED DIVISION SLASH - 0x2299: [583,79,762,50,712], // CIRCLED DOT OPERATOR - 0x22A2: [662,0,685,64,621], // RIGHT TACK - 0x22A3: [662,0,685,64,621], // LEFT TACK - 0x22A4: [662,0,685,48,637], // DOWN TACK - 0x22A5: [662,0,685,48,637], // UP TACK - 0x22A8: [662,0,685,64,621], // TRUE - 0x22C0: [763,259,924,54,870], // N-ARY LOGICAL AND - 0x22C1: [763,259,924,54,870], // N-ARY LOGICAL OR - 0x22C2: [778,254,924,94,830], // N-ARY INTERSECTION - 0x22C3: [768,264,924,94,830], // N-ARY UNION - 0x22C4: [488,-16,523,26,497], // DIAMOND OPERATOR - 0x22C5: [313,-193,286,83,203], // DOT OPERATOR - 0x22C6: [597,13,700,35,665], // STAR OPERATOR - 0x22C8: [582,80,810,54,756], // BOWTIE - 0x22EE: [606,104,511,192,319], // VERTICAL ELLIPSIS - 0x22EF: [316,-189,926,108,818], // MIDLINE HORIZONTAL ELLIPSIS - 0x22F1: [520,18,926,194,732], // DOWN RIGHT DIAGONAL ELLIPSIS - 0x2308: [713,213,469,188,447], // LEFT CEILING - 0x2309: [713,213,469,27,286], // RIGHT CEILING - 0x230A: [713,213,469,188,447], // LEFT FLOOR - 0x230B: [713,213,469,27,286], // RIGHT FLOOR - 0x2322: [360,-147,1019,54,965], // stix-small down curve - 0x2323: [360,-147,1019,54,965], // stix-small up curve - 0x23AF: [286,-220,315,0,315], // HORIZONTAL LINE EXTENSION - 0x23D0: [405,-101,511,222,288], // VERTICAL LINE EXTENSION (used to extend arrows) - 0x25B3: [811,127,1145,35,1110], // WHITE UP-POINTING TRIANGLE - 0x25B9: [555,50,660,80,605], // WHITE RIGHT-POINTING SMALL TRIANGLE - 0x25BD: [811,127,1145,35,1110], // WHITE DOWN-POINTING TRIANGLE - 0x25C3: [554,51,660,55,580], // WHITE LEFT-POINTING SMALL TRIANGLE - 0x25EF: [785,282,1207,70,1137], // LARGE CIRCLE - 0x2660: [609,99,685,34,651], // BLACK SPADE SUIT - 0x2661: [603,105,685,34,651], // WHITE HEART SUIT - 0x2662: [609,105,685,41,643], // WHITE DIAMOND SUIT - 0x2663: [603,99,685,34,651], // BLACK CLUB SUIT - 0x266D: [768,10,426,57,346], // MUSIC FLAT SIGN - 0x266E: [768,181,426,75,350], // MUSIC NATURAL SIGN - 0x266F: [768,181,426,41,386], // MUSIC SHARP SIGN - 0x27E8: [713,213,400,77,335], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [713,213,400,65,323], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x27EE: [676,177,233,56,211], // MATHEMATICAL LEFT FLATTENED PARENTHESIS - 0x27EF: [676,177,233,22,177], // MATHEMATICAL RIGHT FLATTENED PARENTHESIS - 0x27F5: [449,-58,1574,55,1519], // LONG LEFTWARDS ARROW - 0x27F6: [449,-57,1574,55,1519], // LONG RIGHTWARDS ARROW - 0x27F7: [449,-57,1574,55,1519], // LONG LEFT RIGHT ARROW - 0x27F8: [551,45,1574,55,1519], // LONG LEFTWARDS DOUBLE ARROW - 0x27F9: [551,45,1574,55,1519], // LONG RIGHTWARDS DOUBLE ARROW - 0x27FA: [517,10,1574,55,1519], // LONG LEFT RIGHT DOUBLE ARROW - 0x27FB: [450,-57,1574,55,1519], // LONG LEFTWARDS ARROW FROM BAR - 0x27FC: [450,-57,1574,55,1519], // LONG RIGHTWARDS ARROW FROM BAR - 0x29F5: [710,222,523,46,478], // REVERSE SOLIDUS OPERATOR - 0x2A00: [763,259,1126,53,1073], // N-ARY CIRCLED DOT OPERATOR - 0x2A01: [763,259,1126,53,1073], // N-ARY CIRCLED PLUS OPERATOR - 0x2A02: [763,259,1126,53,1073], // N-ARY CIRCLED TIMES OPERATOR - 0x2A03: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH DOT - 0x2A04: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH PLUS - 0x2A05: [763,259,924,94,830], // N-ARY SQUARE INTERSECTION OPERATOR - 0x2A06: [763,259,924,94,830], // N-ARY SQUARE UNION OPERATOR - 0x2A3F: [662,0,694,30,664], // AMALGAMATION OR COPRODUCT - 0x2AAF: [609,103,685,64,621], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN - 0x2AB0: [609,103,685,64,621] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXGeneral"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js deleted file mode 100644 index 96c6be8a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +++ /dev/null @@ -1,89 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D400: [690,0,722,9,689], // MATHEMATICAL BOLD CAPITAL A - 0x1D401: [676,0,667,16,619], // MATHEMATICAL BOLD CAPITAL B - 0x1D402: [691,19,722,49,687], // MATHEMATICAL BOLD CAPITAL C - 0x1D403: [676,0,722,14,690], // MATHEMATICAL BOLD CAPITAL D - 0x1D404: [676,0,667,16,641], // MATHEMATICAL BOLD CAPITAL E - 0x1D405: [676,0,611,16,583], // MATHEMATICAL BOLD CAPITAL F - 0x1D406: [691,19,778,37,755], // MATHEMATICAL BOLD CAPITAL G - 0x1D407: [676,0,778,21,759], // MATHEMATICAL BOLD CAPITAL H - 0x1D408: [676,0,389,20,370], // MATHEMATICAL BOLD CAPITAL I - 0x1D409: [676,96,500,3,478], // MATHEMATICAL BOLD CAPITAL J - 0x1D40A: [676,0,778,30,769], // MATHEMATICAL BOLD CAPITAL K - 0x1D40B: [676,0,667,19,638], // MATHEMATICAL BOLD CAPITAL L - 0x1D40C: [676,0,944,14,921], // MATHEMATICAL BOLD CAPITAL M - 0x1D40D: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL N - 0x1D40E: [691,19,778,35,743], // MATHEMATICAL BOLD CAPITAL O - 0x1D40F: [676,0,611,16,600], // MATHEMATICAL BOLD CAPITAL P - 0x1D410: [691,176,778,35,743], // MATHEMATICAL BOLD CAPITAL Q - 0x1D411: [676,0,722,26,716], // MATHEMATICAL BOLD CAPITAL R - 0x1D412: [692,19,556,35,513], // MATHEMATICAL BOLD CAPITAL S - 0x1D413: [676,0,667,31,636], // MATHEMATICAL BOLD CAPITAL T - 0x1D414: [676,19,722,16,701], // MATHEMATICAL BOLD CAPITAL U - 0x1D415: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL V - 0x1D416: [676,15,1000,19,981], // MATHEMATICAL BOLD CAPITAL W - 0x1D417: [676,0,722,16,699], // MATHEMATICAL BOLD CAPITAL X - 0x1D418: [676,0,722,15,699], // MATHEMATICAL BOLD CAPITAL Y - 0x1D419: [676,0,667,28,634], // MATHEMATICAL BOLD CAPITAL Z - 0x1D41A: [473,14,500,25,488], // MATHEMATICAL BOLD SMALL A - 0x1D41B: [676,14,556,17,521], // MATHEMATICAL BOLD SMALL B - 0x1D41C: [473,14,444,25,430], // MATHEMATICAL BOLD SMALL C - 0x1D41D: [676,14,556,25,534], // MATHEMATICAL BOLD SMALL D - 0x1D41E: [473,14,444,25,427], // MATHEMATICAL BOLD SMALL E - 0x1D41F: [691,0,333,14,389], // MATHEMATICAL BOLD SMALL F - 0x1D420: [472,206,500,28,483], // MATHEMATICAL BOLD SMALL G - 0x1D421: [676,0,556,15,534], // MATHEMATICAL BOLD SMALL H - 0x1D422: [691,0,278,15,256], // MATHEMATICAL BOLD SMALL I - 0x1D423: [691,203,333,-57,263], // MATHEMATICAL BOLD SMALL J - 0x1D424: [676,0,556,22,543], // MATHEMATICAL BOLD SMALL K - 0x1D425: [676,0,278,15,256], // MATHEMATICAL BOLD SMALL L - 0x1D426: [473,0,833,15,814], // MATHEMATICAL BOLD SMALL M - 0x1D427: [473,0,556,21,539], // MATHEMATICAL BOLD SMALL N - 0x1D428: [473,14,500,25,476], // MATHEMATICAL BOLD SMALL O - 0x1D429: [473,205,556,19,524], // MATHEMATICAL BOLD SMALL P - 0x1D42A: [473,205,556,34,536], // MATHEMATICAL BOLD SMALL Q - 0x1D42B: [473,0,444,28,434], // MATHEMATICAL BOLD SMALL R - 0x1D42C: [473,14,389,25,361], // MATHEMATICAL BOLD SMALL S - 0x1D42D: [630,12,333,19,332], // MATHEMATICAL BOLD SMALL T - 0x1D42E: [461,14,556,16,538], // MATHEMATICAL BOLD SMALL U - 0x1D42F: [461,14,500,21,485], // MATHEMATICAL BOLD SMALL V - 0x1D430: [461,14,722,23,707], // MATHEMATICAL BOLD SMALL W - 0x1D431: [461,0,500,12,484], // MATHEMATICAL BOLD SMALL X - 0x1D432: [461,205,500,16,482], // MATHEMATICAL BOLD SMALL Y - 0x1D433: [461,0,444,21,420], // MATHEMATICAL BOLD SMALL Z - 0x1D7CE: [688,13,500,24,476], // MATHEMATICAL BOLD DIGIT ZERO - 0x1D7CF: [688,0,500,65,441], // MATHEMATICAL BOLD DIGIT ONE - 0x1D7D0: [688,0,500,17,478], // MATHEMATICAL BOLD DIGIT TWO - 0x1D7D1: [688,14,500,16,468], // MATHEMATICAL BOLD DIGIT THREE - 0x1D7D2: [688,0,500,19,476], // MATHEMATICAL BOLD DIGIT FOUR - 0x1D7D3: [676,8,500,22,470], // MATHEMATICAL BOLD DIGIT FIVE - 0x1D7D4: [688,13,500,28,475], // MATHEMATICAL BOLD DIGIT SIX - 0x1D7D5: [676,0,500,17,477], // MATHEMATICAL BOLD DIGIT SEVEN - 0x1D7D6: [688,13,500,28,472], // MATHEMATICAL BOLD DIGIT EIGHT - 0x1D7D7: [688,13,500,26,473] // MATHEMATICAL BOLD DIGIT NINE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js deleted file mode 100644 index 26797108..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D468: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL A - 0x1D469: [669,0,726,42,715], // MATHEMATICAL BOLD ITALIC CAPITAL B - 0x1D46A: [685,12,701,55,745], // MATHEMATICAL BOLD ITALIC CAPITAL C - 0x1D46B: [669,0,818,42,790], // MATHEMATICAL BOLD ITALIC CAPITAL D - 0x1D46C: [669,0,732,42,754], // MATHEMATICAL BOLD ITALIC CAPITAL E - 0x1D46D: [669,0,635,44,750], // MATHEMATICAL BOLD ITALIC CAPITAL F - 0x1D46E: [685,12,768,55,768], // MATHEMATICAL BOLD ITALIC CAPITAL G - 0x1D46F: [669,0,891,42,946], // MATHEMATICAL BOLD ITALIC CAPITAL H - 0x1D470: [669,0,502,42,557], // MATHEMATICAL BOLD ITALIC CAPITAL I - 0x1D471: [669,12,558,66,646], // MATHEMATICAL BOLD ITALIC CAPITAL J - 0x1D472: [669,0,795,42,839], // MATHEMATICAL BOLD ITALIC CAPITAL K - 0x1D473: [669,0,744,42,700], // MATHEMATICAL BOLD ITALIC CAPITAL L - 0x1D474: [669,0,1016,42,1071], // MATHEMATICAL BOLD ITALIC CAPITAL M - 0x1D475: [669,0,869,42,924], // MATHEMATICAL BOLD ITALIC CAPITAL N - 0x1D476: [685,16,777,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL O - 0x1D477: [669,0,612,42,733], // MATHEMATICAL BOLD ITALIC CAPITAL P - 0x1D478: [685,154,810,55,756], // MATHEMATICAL BOLD ITALIC CAPITAL Q - 0x1D479: [669,0,801,42,784], // MATHEMATICAL BOLD ITALIC CAPITAL R - 0x1D47A: [685,10,671,55,704], // MATHEMATICAL BOLD ITALIC CAPITAL S - 0x1D47B: [669,0,568,28,700], // MATHEMATICAL BOLD ITALIC CAPITAL T - 0x1D47C: [669,10,733,72,810], // MATHEMATICAL BOLD ITALIC CAPITAL U - 0x1D47D: [669,15,593,66,797], // MATHEMATICAL BOLD ITALIC CAPITAL V - 0x1D47E: [669,17,925,66,1129], // MATHEMATICAL BOLD ITALIC CAPITAL W - 0x1D47F: [669,0,808,28,830], // MATHEMATICAL BOLD ITALIC CAPITAL X - 0x1D480: [669,0,549,39,725], // MATHEMATICAL BOLD ITALIC CAPITAL Y - 0x1D481: [669,0,797,66,830], // MATHEMATICAL BOLD ITALIC CAPITAL Z - 0x1D482: [462,10,581,44,548], // MATHEMATICAL BOLD ITALIC SMALL A - 0x1D483: [685,8,509,50,487], // MATHEMATICAL BOLD ITALIC SMALL B - 0x1D484: [462,10,477,44,460], // MATHEMATICAL BOLD ITALIC SMALL C - 0x1D485: [685,14,595,44,589], // MATHEMATICAL BOLD ITALIC SMALL D - 0x1D486: [462,10,498,44,459], // MATHEMATICAL BOLD ITALIC SMALL E - 0x1D487: [685,206,572,44,632], // MATHEMATICAL BOLD ITALIC SMALL F - 0x1D488: [462,203,527,22,527], // MATHEMATICAL BOLD ITALIC SMALL G - 0x1D489: [685,10,576,50,543], // MATHEMATICAL BOLD ITALIC SMALL H - 0x1D48A: [620,9,357,55,300], // MATHEMATICAL BOLD ITALIC SMALL I - 0x1D48B: [620,207,431,-18,414], // MATHEMATICAL BOLD ITALIC SMALL J - 0x1D48C: [686,11,580,55,563], // MATHEMATICAL BOLD ITALIC SMALL K - 0x1D48D: [685,9,346,50,310], // MATHEMATICAL BOLD ITALIC SMALL L - 0x1D48E: [467,9,760,33,727], // MATHEMATICAL BOLD ITALIC SMALL M - 0x1D48F: [467,10,559,33,526], // MATHEMATICAL BOLD ITALIC SMALL N - 0x1D490: [462,10,561,44,539], // MATHEMATICAL BOLD ITALIC SMALL O - 0x1D491: [469,205,571,-33,554], // MATHEMATICAL BOLD ITALIC SMALL P - 0x1D492: [462,205,526,44,532], // MATHEMATICAL BOLD ITALIC SMALL Q - 0x1D493: [467,0,441,33,424], // MATHEMATICAL BOLD ITALIC SMALL R - 0x1D494: [462,11,474,55,419], // MATHEMATICAL BOLD ITALIC SMALL S - 0x1D495: [592,10,351,44,318], // MATHEMATICAL BOLD ITALIC SMALL T - 0x1D496: [463,10,535,33,502], // MATHEMATICAL BOLD ITALIC SMALL U - 0x1D497: [473,14,554,52,539], // MATHEMATICAL BOLD ITALIC SMALL V - 0x1D498: [473,14,814,52,799], // MATHEMATICAL BOLD ITALIC SMALL W - 0x1D499: [462,8,587,33,543], // MATHEMATICAL BOLD ITALIC SMALL X - 0x1D49A: [462,205,519,35,522], // MATHEMATICAL BOLD ITALIC SMALL Y - 0x1D49B: [461,19,531,35,499] // MATHEMATICAL BOLD ITALIC SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathBoldItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js deleted file mode 100644 index f4067e65..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D4D0: [699,21,984,50,955], // MATHEMATICAL BOLD SCRIPT CAPITAL A - 0x1D4D1: [699,21,1060,55,985], // MATHEMATICAL BOLD SCRIPT CAPITAL B - 0x1D4D2: [699,21,912,60,877], // MATHEMATICAL BOLD SCRIPT CAPITAL C - 0x1D4D3: [699,21,991,60,906], // MATHEMATICAL BOLD SCRIPT CAPITAL D - 0x1D4D4: [699,21,826,95,791], // MATHEMATICAL BOLD SCRIPT CAPITAL E - 0x1D4D5: [699,21,1042,65,1025], // MATHEMATICAL BOLD SCRIPT CAPITAL F - 0x1D4D6: [699,21,834,82,799], // MATHEMATICAL BOLD SCRIPT CAPITAL G - 0x1D4D7: [699,21,1171,65,1154], // MATHEMATICAL BOLD SCRIPT CAPITAL H - 0x1D4D8: [699,21,997,47,977], // MATHEMATICAL BOLD SCRIPT CAPITAL I - 0x1D4D9: [699,224,906,19,886], // MATHEMATICAL BOLD SCRIPT CAPITAL J - 0x1D4DA: [699,21,1154,45,1130], // MATHEMATICAL BOLD SCRIPT CAPITAL K - 0x1D4DB: [699,21,1036,40,1015], // MATHEMATICAL BOLD SCRIPT CAPITAL L - 0x1D4DC: [699,21,1300,60,1245], // MATHEMATICAL BOLD SCRIPT CAPITAL M - 0x1D4DD: [699,21,1095,60,1078], // MATHEMATICAL BOLD SCRIPT CAPITAL N - 0x1D4DE: [699,21,809,72,749], // MATHEMATICAL BOLD SCRIPT CAPITAL O - 0x1D4DF: [699,21,1025,55,994], // MATHEMATICAL BOLD SCRIPT CAPITAL P - 0x1D4E0: [699,52,809,72,749], // MATHEMATICAL BOLD SCRIPT CAPITAL Q - 0x1D4E1: [699,21,1048,55,973], // MATHEMATICAL BOLD SCRIPT CAPITAL R - 0x1D4E2: [699,21,816,81,781], // MATHEMATICAL BOLD SCRIPT CAPITAL S - 0x1D4E3: [699,21,1030,65,1025], // MATHEMATICAL BOLD SCRIPT CAPITAL T - 0x1D4E4: [699,21,964,60,904], // MATHEMATICAL BOLD SCRIPT CAPITAL U - 0x1D4E5: [699,21,1040,60,1024], // MATHEMATICAL BOLD SCRIPT CAPITAL V - 0x1D4E6: [699,21,1320,60,1306], // MATHEMATICAL BOLD SCRIPT CAPITAL W - 0x1D4E7: [699,21,1033,64,1010], // MATHEMATICAL BOLD SCRIPT CAPITAL X - 0x1D4E8: [699,224,989,60,963], // MATHEMATICAL BOLD SCRIPT CAPITAL Y - 0x1D4E9: [699,21,996,50,976], // MATHEMATICAL BOLD SCRIPT CAPITAL Z - 0x1D4EA: [462,14,942,35,865], // MATHEMATICAL BOLD SCRIPT SMALL A - 0x1D4EB: [699,14,646,60,624], // MATHEMATICAL BOLD SCRIPT SMALL B - 0x1D4EC: [462,14,764,35,683], // MATHEMATICAL BOLD SCRIPT SMALL C - 0x1D4ED: [699,14,949,28,912], // MATHEMATICAL BOLD SCRIPT SMALL D - 0x1D4EE: [462,14,726,35,648], // MATHEMATICAL BOLD SCRIPT SMALL E - 0x1D4EF: [699,205,768,25,749], // MATHEMATICAL BOLD SCRIPT SMALL F - 0x1D4F0: [462,224,819,27,771], // MATHEMATICAL BOLD SCRIPT SMALL G - 0x1D4F1: [699,14,838,55,758], // MATHEMATICAL BOLD SCRIPT SMALL H - 0x1D4F2: [698,14,558,40,534], // MATHEMATICAL BOLD SCRIPT SMALL I - 0x1D4F3: [698,223,840,41,823], // MATHEMATICAL BOLD SCRIPT SMALL J - 0x1D4F4: [699,14,810,55,730], // MATHEMATICAL BOLD SCRIPT SMALL K - 0x1D4F5: [699,14,650,43,632], // MATHEMATICAL BOLD SCRIPT SMALL L - 0x1D4F6: [462,14,1137,45,1057], // MATHEMATICAL BOLD SCRIPT SMALL M - 0x1D4F7: [462,14,851,45,771], // MATHEMATICAL BOLD SCRIPT SMALL N - 0x1D4F8: [462,14,848,35,780], // MATHEMATICAL BOLD SCRIPT SMALL O - 0x1D4F9: [462,205,885,25,770], // MATHEMATICAL BOLD SCRIPT SMALL P - 0x1D4FA: [462,205,913,35,833], // MATHEMATICAL BOLD SCRIPT SMALL Q - 0x1D4FB: [462,0,677,40,648], // MATHEMATICAL BOLD SCRIPT SMALL R - 0x1D4FC: [557,14,562,51,449], // MATHEMATICAL BOLD SCRIPT SMALL S - 0x1D4FD: [669,14,618,47,612], // MATHEMATICAL BOLD SCRIPT SMALL T - 0x1D4FE: [450,14,842,31,762], // MATHEMATICAL BOLD SCRIPT SMALL U - 0x1D4FF: [458,14,732,40,670], // MATHEMATICAL BOLD SCRIPT SMALL V - 0x1D500: [458,14,1012,40,950], // MATHEMATICAL BOLD SCRIPT SMALL W - 0x1D501: [462,14,820,63,740], // MATHEMATICAL BOLD SCRIPT SMALL X - 0x1D502: [450,224,784,40,711], // MATHEMATICAL BOLD SCRIPT SMALL Y - 0x1D503: [493,14,782,61,702] // MATHEMATICAL BOLD SCRIPT SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathBoldScript.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js deleted file mode 100644 index 227c3003..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +++ /dev/null @@ -1,78 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D434: [667,0,717,35,685], // MATHEMATICAL ITALIC CAPITAL A - 0x1D435: [653,0,696,38,686], // MATHEMATICAL ITALIC CAPITAL B - 0x1D436: [659,12,671,50,711], // MATHEMATICAL ITALIC CAPITAL C - 0x1D437: [653,0,790,38,765], // MATHEMATICAL ITALIC CAPITAL D - 0x1D438: [653,0,714,38,734], // MATHEMATICAL ITALIC CAPITAL E - 0x1D439: [653,0,618,38,723], // MATHEMATICAL ITALIC CAPITAL F - 0x1D43A: [668,12,734,50,734], // MATHEMATICAL ITALIC CAPITAL G - 0x1D43B: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL H - 0x1D43C: [653,0,480,38,530], // MATHEMATICAL ITALIC CAPITAL I - 0x1D43D: [653,12,540,60,620], // MATHEMATICAL ITALIC CAPITAL J - 0x1D43E: [653,0,762,38,802], // MATHEMATICAL ITALIC CAPITAL K - 0x1D43F: [653,0,708,38,668], // MATHEMATICAL ITALIC CAPITAL L - 0x1D440: [653,0,1005,38,1055], // MATHEMATICAL ITALIC CAPITAL M - 0x1D441: [653,0,851,38,901], // MATHEMATICAL ITALIC CAPITAL N - 0x1D442: [669,11,732,50,712], // MATHEMATICAL ITALIC CAPITAL O - 0x1D443: [653,0,594,38,704], // MATHEMATICAL ITALIC CAPITAL P - 0x1D444: [667,152,781,50,731], // MATHEMATICAL ITALIC CAPITAL Q - 0x1D445: [653,0,740,38,725], // MATHEMATICAL ITALIC CAPITAL R - 0x1D446: [668,10,650,50,680], // MATHEMATICAL ITALIC CAPITAL S - 0x1D447: [653,0,550,25,670], // MATHEMATICAL ITALIC CAPITAL T - 0x1D448: [653,13,705,65,775], // MATHEMATICAL ITALIC CAPITAL U - 0x1D449: [653,16,575,60,760], // MATHEMATICAL ITALIC CAPITAL V - 0x1D44A: [653,16,916,60,1101], // MATHEMATICAL ITALIC CAPITAL W - 0x1D44B: [653,0,790,25,810], // MATHEMATICAL ITALIC CAPITAL X - 0x1D44C: [653,0,535,35,695], // MATHEMATICAL ITALIC CAPITAL Y - 0x1D44D: [653,0,772,60,802], // MATHEMATICAL ITALIC CAPITAL Z - 0x1D44E: [441,10,502,40,472], // MATHEMATICAL ITALIC SMALL A - 0x1D44F: [668,11,470,45,450], // MATHEMATICAL ITALIC SMALL B - 0x1D450: [441,11,415,40,400], // MATHEMATICAL ITALIC SMALL C - 0x1D451: [668,12,532,40,527], // MATHEMATICAL ITALIC SMALL D - 0x1D452: [441,11,445,40,410], // MATHEMATICAL ITALIC SMALL E - 0x1D453: [668,187,555,40,615], // MATHEMATICAL ITALIC SMALL F - 0x1D454: [441,187,492,20,492], // MATHEMATICAL ITALIC SMALL G - 0x1D456: [616,11,311,50,257], // MATHEMATICAL ITALIC SMALL I - 0x1D457: [616,187,389,-16,372], // MATHEMATICAL ITALIC SMALL J - 0x1D458: [668,11,542,45,527], // MATHEMATICAL ITALIC SMALL K - 0x1D459: [668,10,318,45,278], // MATHEMATICAL ITALIC SMALL L - 0x1D45A: [441,8,710,30,680], // MATHEMATICAL ITALIC SMALL M - 0x1D45B: [441,8,497,30,467], // MATHEMATICAL ITALIC SMALL N - 0x1D45C: [441,11,458,40,438], // MATHEMATICAL ITALIC SMALL O - 0x1D45D: [441,183,489,-30,474], // MATHEMATICAL ITALIC SMALL P - 0x1D45E: [441,183,458,40,463], // MATHEMATICAL ITALIC SMALL Q - 0x1D45F: [441,0,408,30,393], // MATHEMATICAL ITALIC SMALL R - 0x1D460: [441,11,440,50,390], // MATHEMATICAL ITALIC SMALL S - 0x1D461: [567,9,313,40,283], // MATHEMATICAL ITALIC SMALL T - 0x1D462: [441,9,474,30,444], // MATHEMATICAL ITALIC SMALL U - 0x1D463: [458,9,506,72,479], // MATHEMATICAL ITALIC SMALL V - 0x1D464: [460,9,775,72,748], // MATHEMATICAL ITALIC SMALL W - 0x1D465: [441,9,550,30,510], // MATHEMATICAL ITALIC SMALL X - 0x1D466: [440,183,496,30,496], // MATHEMATICAL ITALIC SMALL Y - 0x1D467: [450,14,499,42,467] // MATHEMATICAL ITALIC SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js deleted file mode 100644 index 6f60fc61..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +++ /dev/null @@ -1,207 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2201: [760,15,463,59,404], // COMPLEMENT - 0x2204: [775,122,560,71,487], // THERE DOES NOT EXIST - 0x2206: [674,0,731,63,665], // INCREMENT - 0x220A: [459,-45,486,64,422], // SMALL ELEMENT OF - 0x220C: [662,157,685,60,625], // stix-negated (vert) contains - 0x220D: [459,-45,486,64,422], // SMALL CONTAINS AS MEMBER - 0x220E: [640,0,545,60,485], // END OF PROOF - 0x2214: [741,41,685,48,636], // DOT PLUS - 0x221B: [973,259,928,112,963], // CUBE ROOT - 0x221C: [973,259,928,112,963], // FOURTH ROOT - 0x221F: [584,0,685,50,634], // RIGHT ANGLE - 0x2221: [547,72,685,22,642], // MEASURED ANGLE - 0x2222: [519,11,685,56,653], // SPHERICAL ANGLE - 0x2224: [690,189,404,23,381], // DOES NOT DIVIDE - 0x2226: [690,189,609,23,586], // NOT PARALLEL TO - 0x222C: [824,320,701,32,881], // DOUBLE INTEGRAL - 0x222D: [824,320,943,32,1123], // TRIPLE INTEGRAL - 0x222E: [824,320,499,32,639], // CONTOUR INTEGRAL - 0x222F: [824,320,741,32,881], // SURFACE INTEGRAL - 0x2230: [824,320,982,32,1122], // VOLUME INTEGRAL - 0x2231: [824,320,499,32,639], // CLOCKWISE INTEGRAL - 0x2232: [824,320,499,32,639], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [824,320,499,32,639], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2234: [521,16,620,38,582], // THEREFORE - 0x2235: [521,16,620,38,582], // BECAUSE - 0x2236: [521,13,511,192,319], // RATIO - 0x2237: [521,13,685,82,602], // PROPORTION - 0x2238: [511,-220,685,48,637], // DOT MINUS - 0x2239: [511,5,685,48,637], // EXCESS - 0x223A: [511,5,685,48,637], // GEOMETRIC PROPORTION - 0x223B: [521,13,685,48,637], // HOMOTHETIC - 0x223D: [362,-148,685,48,637], // REVERSED TILDE - 0x223E: [413,-90,685,48,637], // stix-most positive - 0x223F: [467,-39,685,49,637], // stix-reverse sine wave - 0x2241: [424,-88,685,48,637], // stix-not, vert, similar - 0x2242: [445,-55,685,48,637], // MINUS TILDE - 0x2244: [519,35,685,48,637], // stix-not (vert) similar or equal - 0x2246: [604,107,685,47,637], // APPROXIMATELY BUT NOT ACTUALLY EQUAL TO - 0x2247: [647,202,685,48,637], // stix-not (vert) similar over two-line equals - 0x2249: [549,49,685,48,637], // stix-not, vert, approximate - 0x224A: [552,45,685,48,637], // ALMOST EQUAL OR EQUAL TO - 0x224B: [532,26,685,48,638], // TRIPLE TILDE - 0x224C: [532,27,685,48,637], // stix-all equal to (lazy S over equals) (formerly 224C; that shape changed) - 0x224E: [471,-35,685,48,637], // GEOMETRICALLY EQUIVALENT TO - 0x224F: [471,-120,685,48,637], // DIFFERENCE BETWEEN - 0x2251: [611,106,685,48,637], // GEOMETRICALLY EQUAL TO - 0x2252: [611,105,685,48,637], // APPROXIMATELY EQUAL TO OR THE IMAGE OF - 0x2253: [611,106,685,48,637], // IMAGE OF OR APPROXIMATELY EQUAL TO - 0x2254: [417,-89,824,48,776], // COLON EQUALS - 0x2255: [417,-89,824,48,776], // EQUALS COLON - 0x2256: [416,-90,685,48,637], // RING IN EQUAL TO - 0x2257: [752,-120,685,48,637], // RING EQUAL TO - 0x2258: [729,-120,685,48,637], // CORRESPONDS TO - 0x2259: [853,-120,685,48,637], // ESTIMATES - 0x225A: [853,-120,685,48,637], // EQUIANGULAR TO - 0x225B: [756,-120,685,48,637], // STAR EQUALS - 0x225C: [853,-120,685,48,637], // DELTA EQUAL TO - 0x225D: [823,-120,685,7,678], // EQUAL TO BY DEFINITION - 0x225E: [703,-120,685,48,637], // MEASURED BY - 0x225F: [863,-120,685,48,637], // QUESTIONED EQUAL TO - 0x2262: [662,156,685,48,637], // stix-not (vert) three-line equals - 0x2263: [544,38,685,48,637], // STRICTLY EQUIVALENT TO - 0x2266: [718,211,685,57,622], // LESS-THAN OVER EQUAL TO - 0x2267: [718,211,685,57,622], // GREATER-THAN OVER EQUAL TO - 0x2268: [746,260,685,56,621], // stix-less, vert, not double equals - 0x2269: [746,260,685,56,621], // stix-gt, vert, not double equals - 0x226C: [730,224,466,85,381], // BETWEEN - 0x226D: [572,66,685,48,637], // stix-not (vert) asymptotically equal to - 0x226E: [662,156,685,56,621], // stix-not, vert, less-than - 0x226F: [662,156,685,56,621], // stix-not, vert, greater-than - 0x2270: [730,229,685,56,621], // stix-not, vert, less-than-or-equal - 0x2271: [730,229,685,56,622], // stix-not, vert, greater-than-or-equal - 0x2272: [664,164,685,48,637], // stix-less-than or (contour) similar - 0x2273: [664,164,685,48,637], // stix-greater-than or (contour) similar - 0x2274: [731,228,685,48,637], // stix-not, vert, less, similar - 0x2275: [730,229,685,48,637], // stix-not, vert, greater, similar - 0x2276: [705,204,685,56,621], // LESS-THAN OR GREATER-THAN - 0x2277: [705,204,685,56,621], // GREATER-THAN OR LESS-THAN - 0x2278: [750,250,685,48,637], // stix-not, vert, less, greater - 0x2279: [750,250,685,48,637], // stix-not, vert, greater, less - 0x227E: [664,164,685,48,637], // PRECEDES OR EQUIVALENT TO - 0x227F: [664,164,685,48,637], // SUCCEEDS OR EQUIVALENT TO - 0x2280: [662,156,685,64,621], // DOES NOT PRECEDE - 0x2281: [662,156,685,64,621], // stix-not (vert) succeeds - 0x2284: [662,156,685,65,623], // stix-not subset [vertical negation] - 0x2285: [662,156,685,65,623], // stix-not superset [vertical negation] - 0x2288: [730,229,685,64,621], // stix-/nsubseteq N: not (vert) subset, equals - 0x2289: [730,229,685,64,621], // stix-/nsupseteq N: not (vert) superset, equals - 0x228A: [627,216,685,64,621], // stix-subset, not equals, variant - 0x228B: [627,216,685,64,621], // stix-superset, not equals, variant - 0x228C: [536,31,620,48,572], // MULTISET - 0x228D: [536,31,620,48,572], // MULTISET MULTIPLICATION - 0x228F: [531,25,685,64,621], // SQUARE IMAGE OF - 0x2290: [531,25,685,64,621], // SQUARE ORIGINAL OF - 0x229A: [623,119,842,50,792], // CIRCLED RING OPERATOR - 0x229B: [623,119,842,50,792], // CIRCLED ASTERISK OPERATOR - 0x229C: [623,119,842,50,792], // stix-two horizontal bars in circle - 0x229D: [623,119,842,50,792], // CIRCLED DASH - 0x229E: [662,158,910,45,865], // SQUARED PLUS - 0x229F: [662,158,910,45,865], // SQUARED MINUS - 0x22A0: [662,158,910,45,865], // SQUARED TIMES - 0x22A1: [662,157,910,45,865], // SQUARED DOT OPERATOR - 0x22A6: [662,0,497,64,433], // ASSERTION - 0x22A7: [662,0,498,64,434], // MODELS - 0x22A9: [662,0,860,57,814], // FORCES - 0x22AA: [662,0,860,45,815], // TRIPLE VERTICAL BAR RIGHT TURNSTILE - 0x22AB: [662,0,860,57,814], // DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE - 0x22AC: [662,0,786,9,723], // DOES NOT PROVE - 0x22AD: [662,0,786,9,723], // NOT TRUE - 0x22AE: [662,0,968,9,922], // DOES NOT FORCE - 0x22AF: [662,0,968,9,922], // NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE - 0x22B0: [551,45,685,64,621], // PRECEDES UNDER RELATION - 0x22B1: [551,45,685,64,621], // SUCCEEDS UNDER RELATION - 0x22B2: [531,25,685,24,631], // NORMAL SUBGROUP OF - 0x22B3: [531,25,685,54,661], // CONTAINS AS NORMAL SUBGROUP - 0x22B4: [607,103,685,24,631], // NORMAL SUBGROUP OF OR EQUAL TO - 0x22B5: [607,103,685,54,661], // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO - 0x22B6: [403,-103,1145,50,1095], // ORIGINAL OF - 0x22B7: [403,-103,1145,50,1095], // IMAGE OF - 0x22B8: [403,-103,849,50,799], // MULTIMAP - 0x22B9: [547,41,685,48,636], // HERMITIAN CONJUGATE MATRIX - 0x22BA: [450,212,480,74,406], // INTERCALATE - 0x22BB: [536,139,620,32,590], // XOR - 0x22BC: [646,29,620,32,590], // NAND - 0x22BD: [646,29,620,32,590], // NOR - 0x22BE: [584,0,685,50,634], // RIGHT ANGLE WITH ARC - 0x22BF: [662,158,911,45,865], // RIGHT TRIANGLE - 0x22C7: [545,38,685,51,634], // DIVISION TIMES - 0x22C9: [582,80,810,93,716], // LEFT NORMAL FACTOR SEMIDIRECT PRODUCT - 0x22CA: [582,80,810,93,716], // RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT - 0x22CB: [582,80,810,74,736], // LEFT SEMIDIRECT PRODUCT - 0x22CC: [582,80,810,74,736], // RIGHT SEMIDIRECT PRODUCT - 0x22CD: [445,-55,685,48,637], // REVERSED TILDE EQUALS - 0x22CE: [532,25,580,31,549], // CURLY LOGICAL OR - 0x22CF: [532,25,580,31,549], // CURLY LOGICAL AND - 0x22D0: [531,25,685,64,621], // DOUBLE SUBSET - 0x22D1: [531,25,685,64,621], // DOUBLE SUPERSET - 0x22D2: [536,31,620,48,572], // DOUBLE INTERSECTION - 0x22D3: [536,31,620,48,572], // DOUBLE UNION - 0x22D4: [631,31,620,48,572], // PITCHFORK - 0x22D5: [690,189,685,48,637], // EQUAL AND PARALLEL TO - 0x22D6: [534,24,685,56,621], // LESS-THAN WITH DOT - 0x22D7: [534,24,685,56,621], // GREATER-THAN WITH DOT - 0x22D8: [534,24,1274,45,1229], // VERY MUCH LESS-THAN - 0x22D9: [534,24,1274,45,1229], // VERY MUCH GREATER-THAN - 0x22DA: [830,324,685,56,621], // stix-less, equal, slanted, greater - 0x22DB: [830,324,685,56,621], // stix-greater, equal, slanted, less - 0x22DC: [607,103,685,64,621], // EQUAL TO OR LESS-THAN - 0x22DD: [607,103,685,64,621], // EQUAL TO OR GREATER-THAN - 0x22DE: [627,121,685,64,621], // EQUAL TO OR PRECEDES - 0x22DF: [627,121,685,64,621], // EQUAL TO OR SUCCEEDS - 0x22E0: [730,229,685,64,621], // stix-not (vert) precedes or contour equals - 0x22E1: [730,229,685,64,621], // stix-not (vert) succeeds or contour equals - 0x22E2: [730,229,685,65,622], // NOT SQUARE IMAGE OF OR EQUAL TO - 0x22E3: [730,229,685,65,622], // NOT SQUARE ORIGINAL OF OR EQUAL TO - 0x22E4: [627,216,685,64,621], // SQUARE IMAGE OF OR NOT EQUAL TO - 0x22E5: [627,216,685,64,621], // SQUARE ORIGINAL OF OR NOT EQUAL TO - 0x22E6: [669,279,685,48,637], // LESS-THAN BUT NOT EQUIVALENT TO - 0x22E7: [669,279,685,48,637], // GREATER-THAN BUT NOT EQUIVALENT TO - 0x22E8: [670,279,685,48,637], // PRECEDES BUT NOT EQUIVALENT TO - 0x22E9: [670,279,685,48,637], // SUCCEEDS BUT NOT EQUIVALENT TO - 0x22EA: [662,156,635,24,581], // NOT NORMAL SUBGROUP OF - 0x22EB: [662,156,635,54,611], // DOES NOT CONTAIN AS NORMAL SUBGROUP - 0x22EC: [730,229,635,24,581], // stix-not, vert, left triangle, equals - 0x22ED: [730,229,635,54,611], // stix-not, vert, right triangle, equals - 0x22F0: [520,18,926,194,732], // UP RIGHT DIAGONAL ELLIPSIS - 0x22F2: [531,27,823,55,763], // ELEMENT OF WITH LONG HORIZONTAL STROKE - 0x22F3: [531,27,685,60,625], // ELEMENT OF WITH VERTICAL BAR AT END OF HORIZONTAL STROKE - 0x22F4: [459,-45,486,62,420], // SMALL ELEMENT OF WITH VERTICAL BAR AT END OF HORIZONTAL STROKE - 0x22F5: [716,27,685,60,625], // ELEMENT OF WITH DOT ABOVE - 0x22F6: [685,27,685,60,625], // ELEMENT OF WITH OVERBAR - 0x22F7: [613,-45,486,62,420], // SMALL ELEMENT OF WITH OVERBAR - 0x22F8: [532,180,685,60,625], // ELEMENT OF WITH UNDERBAR - 0x22F9: [531,27,685,61,625], // ELEMENT OF WITH TWO HORIZONTAL STROKES - 0x22FA: [531,27,823,55,763], // CONTAINS WITH LONG HORIZONTAL STROKE - 0x22FB: [531,27,685,59,624], // CONTAINS WITH VERTICAL BAR AT END OF HORIZONTAL STROKE - 0x22FC: [459,-45,486,62,420], // SMALL CONTAINS WITH VERTICAL BAR AT END OF HORIZONTAL STROKE - 0x22FD: [685,27,685,61,626], // CONTAINS WITH OVERBAR - 0x22FE: [613,-45,486,67,425], // SMALL CONTAINS WITH OVERBAR - 0x22FF: [662,0,560,73,487] // Z NOTATION BAG MEMBERSHIP - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js deleted file mode 100644 index bd85faf6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +++ /dev/null @@ -1,89 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D5A0: [674,0,666,31,635], // MATHEMATICAL SANS-SERIF CAPITAL A - 0x1D5A1: [662,0,604,74,547], // MATHEMATICAL SANS-SERIF CAPITAL B - 0x1D5A2: [676,14,671,27,637], // MATHEMATICAL SANS-SERIF CAPITAL C - 0x1D5A3: [662,0,692,74,656], // MATHEMATICAL SANS-SERIF CAPITAL D - 0x1D5A4: [662,0,583,74,540], // MATHEMATICAL SANS-SERIF CAPITAL E - 0x1D5A5: [662,0,535,74,523], // MATHEMATICAL SANS-SERIF CAPITAL F - 0x1D5A6: [676,14,695,27,627], // MATHEMATICAL SANS-SERIF CAPITAL G - 0x1D5A7: [662,0,658,74,584], // MATHEMATICAL SANS-SERIF CAPITAL H - 0x1D5A8: [662,0,401,45,356], // MATHEMATICAL SANS-SERIF CAPITAL I - 0x1D5A9: [662,14,398,12,305], // MATHEMATICAL SANS-SERIF CAPITAL J - 0x1D5AA: [662,0,634,74,630], // MATHEMATICAL SANS-SERIF CAPITAL K - 0x1D5AB: [662,0,559,74,546], // MATHEMATICAL SANS-SERIF CAPITAL L - 0x1D5AC: [662,0,843,75,768], // MATHEMATICAL SANS-SERIF CAPITAL M - 0x1D5AD: [662,14,675,74,601], // MATHEMATICAL SANS-SERIF CAPITAL N - 0x1D5AE: [676,14,714,30,684], // MATHEMATICAL SANS-SERIF CAPITAL O - 0x1D5AF: [662,0,525,74,512], // MATHEMATICAL SANS-SERIF CAPITAL P - 0x1D5B0: [676,175,716,30,691], // MATHEMATICAL SANS-SERIF CAPITAL Q - 0x1D5B1: [662,0,589,74,581], // MATHEMATICAL SANS-SERIF CAPITAL R - 0x1D5B2: [676,14,541,32,481], // MATHEMATICAL SANS-SERIF CAPITAL S - 0x1D5B3: [662,0,608,15,593], // MATHEMATICAL SANS-SERIF CAPITAL T - 0x1D5B4: [662,14,661,69,592], // MATHEMATICAL SANS-SERIF CAPITAL U - 0x1D5B5: [662,11,654,31,623], // MATHEMATICAL SANS-SERIF CAPITAL V - 0x1D5B6: [662,11,921,29,892], // MATHEMATICAL SANS-SERIF CAPITAL W - 0x1D5B7: [662,0,700,31,669], // MATHEMATICAL SANS-SERIF CAPITAL X - 0x1D5B8: [662,0,630,21,609], // MATHEMATICAL SANS-SERIF CAPITAL Y - 0x1D5B9: [662,0,637,28,603], // MATHEMATICAL SANS-SERIF CAPITAL Z - 0x1D5BA: [463,10,448,35,391], // MATHEMATICAL SANS-SERIF SMALL A - 0x1D5BB: [684,10,496,63,466], // MATHEMATICAL SANS-SERIF SMALL B - 0x1D5BC: [463,10,456,23,432], // MATHEMATICAL SANS-SERIF SMALL C - 0x1D5BD: [684,11,494,28,437], // MATHEMATICAL SANS-SERIF SMALL D - 0x1D5BE: [463,10,444,23,428], // MATHEMATICAL SANS-SERIF SMALL E - 0x1D5BF: [683,0,336,20,369], // MATHEMATICAL SANS-SERIF SMALL F - 0x1D5C0: [463,216,496,21,467], // MATHEMATICAL SANS-SERIF SMALL G - 0x1D5C1: [684,0,487,63,424], // MATHEMATICAL SANS-SERIF SMALL H - 0x1D5C2: [679,0,220,64,156], // MATHEMATICAL SANS-SERIF SMALL I - 0x1D5C3: [679,216,254,-74,185], // MATHEMATICAL SANS-SERIF SMALL J - 0x1D5C4: [684,0,453,63,452], // MATHEMATICAL SANS-SERIF SMALL K - 0x1D5C5: [684,0,205,61,144], // MATHEMATICAL SANS-SERIF SMALL L - 0x1D5C6: [464,0,756,65,691], // MATHEMATICAL SANS-SERIF SMALL M - 0x1D5C7: [464,0,487,63,424], // MATHEMATICAL SANS-SERIF SMALL N - 0x1D5C8: [463,10,499,28,471], // MATHEMATICAL SANS-SERIF SMALL O - 0x1D5C9: [464,216,498,67,470], // MATHEMATICAL SANS-SERIF SMALL P - 0x1D5CA: [464,216,498,28,435], // MATHEMATICAL SANS-SERIF SMALL Q - 0x1D5CB: [464,0,336,63,328], // MATHEMATICAL SANS-SERIF SMALL R - 0x1D5CC: [463,10,389,49,350], // MATHEMATICAL SANS-SERIF SMALL S - 0x1D5CD: [580,10,291,1,287], // MATHEMATICAL SANS-SERIF SMALL T - 0x1D5CE: [453,11,491,63,430], // MATHEMATICAL SANS-SERIF SMALL U - 0x1D5CF: [453,14,474,31,443], // MATHEMATICAL SANS-SERIF SMALL V - 0x1D5D0: [453,14,702,28,675], // MATHEMATICAL SANS-SERIF SMALL W - 0x1D5D1: [453,0,482,30,452], // MATHEMATICAL SANS-SERIF SMALL X - 0x1D5D2: [453,216,484,28,453], // MATHEMATICAL SANS-SERIF SMALL Y - 0x1D5D3: [453,0,447,25,417], // MATHEMATICAL SANS-SERIF SMALL Z - 0x1D7E2: [676,14,500,23,477], // MATHEMATICAL SANS-SERIF DIGIT ZERO - 0x1D7E3: [677,0,500,108,302], // MATHEMATICAL SANS-SERIF DIGIT ONE - 0x1D7E4: [676,0,500,35,469], // MATHEMATICAL SANS-SERIF DIGIT TWO - 0x1D7E5: [676,14,500,31,441], // MATHEMATICAL SANS-SERIF DIGIT THREE - 0x1D7E6: [676,0,500,11,489], // MATHEMATICAL SANS-SERIF DIGIT FOUR - 0x1D7E7: [676,14,500,36,458], // MATHEMATICAL SANS-SERIF DIGIT FIVE - 0x1D7E8: [684,14,500,32,470], // MATHEMATICAL SANS-SERIF DIGIT SIX - 0x1D7E9: [662,8,500,38,451], // MATHEMATICAL SANS-SERIF DIGIT SEVEN - 0x1D7EA: [676,14,500,49,447], // MATHEMATICAL SANS-SERIF DIGIT EIGHT - 0x1D7EB: [676,21,500,28,466] // MATHEMATICAL SANS-SERIF DIGIT NINE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathSS.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js deleted file mode 100644 index f125b8dc..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +++ /dev/null @@ -1,90 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D5D4: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL A - 0x1D5D5: [676,0,636,80,594], // MATHEMATICAL SANS-SERIF BOLD CAPITAL B - 0x1D5D6: [691,19,723,49,688], // MATHEMATICAL SANS-SERIF BOLD CAPITAL C - 0x1D5D7: [676,0,709,80,674], // MATHEMATICAL SANS-SERIF BOLD CAPITAL D - 0x1D5D8: [676,0,635,80,597], // MATHEMATICAL SANS-SERIF BOLD CAPITAL E - 0x1D5D9: [676,0,582,80,570], // MATHEMATICAL SANS-SERIF BOLD CAPITAL F - 0x1D5DA: [691,19,746,37,671], // MATHEMATICAL SANS-SERIF BOLD CAPITAL G - 0x1D5DB: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL H - 0x1D5DC: [676,0,440,65,375], // MATHEMATICAL SANS-SERIF BOLD CAPITAL I - 0x1D5DD: [676,96,481,15,406], // MATHEMATICAL SANS-SERIF BOLD CAPITAL J - 0x1D5DE: [676,0,712,80,707], // MATHEMATICAL SANS-SERIF BOLD CAPITAL K - 0x1D5DF: [676,0,603,80,587], // MATHEMATICAL SANS-SERIF BOLD CAPITAL L - 0x1D5E0: [676,0,913,80,833], // MATHEMATICAL SANS-SERIF BOLD CAPITAL M - 0x1D5E1: [676,18,724,80,644], // MATHEMATICAL SANS-SERIF BOLD CAPITAL N - 0x1D5E2: [692,18,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL O - 0x1D5E3: [676,0,581,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL P - 0x1D5E4: [691,176,779,35,754], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Q - 0x1D5E5: [676,0,670,80,657], // MATHEMATICAL SANS-SERIF BOLD CAPITAL R - 0x1D5E6: [691,19,554,35,511], // MATHEMATICAL SANS-SERIF BOLD CAPITAL S - 0x1D5E7: [676,0,641,14,627], // MATHEMATICAL SANS-SERIF BOLD CAPITAL T - 0x1D5E8: [676,19,699,75,624], // MATHEMATICAL SANS-SERIF BOLD CAPITAL U - 0x1D5E9: [676,18,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL V - 0x1D5EA: [676,15,997,30,967], // MATHEMATICAL SANS-SERIF BOLD CAPITAL W - 0x1D5EB: [676,0,740,40,700], // MATHEMATICAL SANS-SERIF BOLD CAPITAL X - 0x1D5EC: [676,0,694,20,674], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Y - 0x1D5ED: [676,0,653,25,623], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Z - 0x1D5EE: [473,14,489,23,428], // MATHEMATICAL SANS-SERIF BOLD SMALL A - 0x1D5EF: [676,13,512,55,487], // MATHEMATICAL SANS-SERIF BOLD SMALL B - 0x1D5F0: [473,14,462,25,442], // MATHEMATICAL SANS-SERIF BOLD SMALL C - 0x1D5F1: [676,14,518,25,463], // MATHEMATICAL SANS-SERIF BOLD SMALL D - 0x1D5F2: [473,13,452,25,433], // MATHEMATICAL SANS-SERIF BOLD SMALL E - 0x1D5F3: [691,0,340,14,374], // MATHEMATICAL SANS-SERIF BOLD SMALL F - 0x1D5F4: [472,206,504,28,490], // MATHEMATICAL SANS-SERIF BOLD SMALL G - 0x1D5F5: [676,0,510,55,455], // MATHEMATICAL SANS-SERIF BOLD SMALL H - 0x1D5F6: [688,0,245,50,195], // MATHEMATICAL SANS-SERIF BOLD SMALL I - 0x1D5F7: [688,203,324,-57,269], // MATHEMATICAL SANS-SERIF BOLD SMALL J - 0x1D5F8: [676,0,519,55,506], // MATHEMATICAL SANS-SERIF BOLD SMALL K - 0x1D5F9: [676,0,235,55,180], // MATHEMATICAL SANS-SERIF BOLD SMALL L - 0x1D5FA: [473,0,776,55,721], // MATHEMATICAL SANS-SERIF BOLD SMALL M - 0x1D5FB: [473,0,510,55,455], // MATHEMATICAL SANS-SERIF BOLD SMALL N - 0x1D5FC: [473,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD SMALL O - 0x1D5FD: [473,205,512,55,487], // MATHEMATICAL SANS-SERIF BOLD SMALL P - 0x1D5FE: [473,205,512,25,457], // MATHEMATICAL SANS-SERIF BOLD SMALL Q - 0x1D5FF: [473,0,411,55,406], // MATHEMATICAL SANS-SERIF BOLD SMALL R - 0x1D600: [473,13,385,25,357], // MATHEMATICAL SANS-SERIF BOLD SMALL S - 0x1D601: [630,12,386,7,371], // MATHEMATICAL SANS-SERIF BOLD SMALL T - 0x1D602: [461,15,518,55,463], // MATHEMATICAL SANS-SERIF BOLD SMALL U - 0x1D603: [461,14,462,15,447], // MATHEMATICAL SANS-SERIF BOLD SMALL V - 0x1D604: [461,14,701,17,684], // MATHEMATICAL SANS-SERIF BOLD SMALL W - 0x1D605: [461,0,506,20,486], // MATHEMATICAL SANS-SERIF BOLD SMALL X - 0x1D606: [461,205,472,18,455], // MATHEMATICAL SANS-SERIF BOLD SMALL Y - 0x1D607: [461,0,441,21,417], // MATHEMATICAL SANS-SERIF BOLD SMALL Z - 0x1D7EC: [688,13,500,24,476], // MATHEMATICAL SANS-SERIF BOLD DIGIT ZERO - 0x1D7ED: [688,0,500,82,334], // MATHEMATICAL SANS-SERIF BOLD DIGIT ONE - 0x1D7EE: [688,0,500,20,474], // MATHEMATICAL SANS-SERIF BOLD DIGIT TWO - 0x1D7EF: [688,13,500,18,479], // MATHEMATICAL SANS-SERIF BOLD DIGIT THREE - 0x1D7F0: [688,0,500,19,484], // MATHEMATICAL SANS-SERIF BOLD DIGIT FOUR - 0x1D7F1: [676,13,500,13,483], // MATHEMATICAL SANS-SERIF BOLD DIGIT FIVE - 0x1D7F2: [688,13,500,26,475], // MATHEMATICAL SANS-SERIF BOLD DIGIT SIX - 0x1D7F3: [676,0,500,35,471], // MATHEMATICAL SANS-SERIF BOLD DIGIT SEVEN - 0x1D7F4: [688,13,500,28,472], // MATHEMATICAL SANS-SERIF BOLD DIGIT EIGHT - 0x1D7F5: [688,13,500,26,475], // MATHEMATICAL SANS-SERIF BOLD DIGIT NINE - 0x1D7F6: [681,11,525,55,467] // MATHEMATICAL MONOSPACE DIGIT ZERO - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathSSBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js deleted file mode 100644 index 24d46dc8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D608: [674,0,666,31,635], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL A - 0x1D609: [662,0,604,74,641], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL B - 0x1D60A: [676,14,671,96,755], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL C - 0x1D60B: [662,0,692,74,751], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL D - 0x1D60C: [662,0,583,74,678], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL E - 0x1D60D: [662,0,535,74,679], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL F - 0x1D60E: [676,14,695,97,755], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL G - 0x1D60F: [662,0,658,74,749], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL H - 0x1D610: [662,0,401,59,512], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL I - 0x1D611: [662,14,398,22,470], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL J - 0x1D612: [662,0,634,74,729], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL K - 0x1D613: [662,0,559,74,564], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL L - 0x1D614: [662,0,843,75,933], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL M - 0x1D615: [662,14,675,74,766], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL N - 0x1D616: [676,14,714,99,779], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL O - 0x1D617: [662,0,525,74,638], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL P - 0x1D618: [676,175,716,99,779], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Q - 0x1D619: [662,0,589,74,639], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL R - 0x1D61A: [676,14,541,62,597], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL S - 0x1D61B: [662,0,608,161,748], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL T - 0x1D61C: [662,14,661,117,757], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL U - 0x1D61D: [662,11,654,196,788], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL V - 0x1D61E: [662,11,921,194,1057], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL W - 0x1D61F: [662,0,700,31,806], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL X - 0x1D620: [662,0,630,186,774], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Y - 0x1D621: [662,0,637,28,763], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Z - 0x1D622: [463,10,448,55,467], // MATHEMATICAL SANS-SERIF ITALIC SMALL A - 0x1D623: [684,10,496,74,535], // MATHEMATICAL SANS-SERIF ITALIC SMALL B - 0x1D624: [463,10,456,67,503], // MATHEMATICAL SANS-SERIF ITALIC SMALL C - 0x1D625: [684,11,494,72,600], // MATHEMATICAL SANS-SERIF ITALIC SMALL D - 0x1D626: [463,10,444,69,487], // MATHEMATICAL SANS-SERIF ITALIC SMALL E - 0x1D627: [683,0,336,101,526], // MATHEMATICAL SANS-SERIF ITALIC SMALL F - 0x1D628: [463,216,496,-7,575], // MATHEMATICAL SANS-SERIF ITALIC SMALL G - 0x1D629: [684,0,487,63,510], // MATHEMATICAL SANS-SERIF ITALIC SMALL H - 0x1D62A: [679,0,220,69,325], // MATHEMATICAL SANS-SERIF ITALIC SMALL I - 0x1D62B: [679,216,254,-118,354], // MATHEMATICAL SANS-SERIF ITALIC SMALL J - 0x1D62C: [684,0,453,63,556], // MATHEMATICAL SANS-SERIF ITALIC SMALL K - 0x1D62D: [684,0,205,61,313], // MATHEMATICAL SANS-SERIF ITALIC SMALL L - 0x1D62E: [464,0,756,65,775], // MATHEMATICAL SANS-SERIF ITALIC SMALL M - 0x1D62F: [464,0,487,63,510], // MATHEMATICAL SANS-SERIF ITALIC SMALL N - 0x1D630: [463,10,499,76,536], // MATHEMATICAL SANS-SERIF ITALIC SMALL O - 0x1D631: [464,216,498,14,538], // MATHEMATICAL SANS-SERIF ITALIC SMALL P - 0x1D632: [464,216,498,72,549], // MATHEMATICAL SANS-SERIF ITALIC SMALL Q - 0x1D633: [464,0,336,63,439], // MATHEMATICAL SANS-SERIF ITALIC SMALL R - 0x1D634: [463,10,389,61,432], // MATHEMATICAL SANS-SERIF ITALIC SMALL S - 0x1D635: [580,10,291,96,376], // MATHEMATICAL SANS-SERIF ITALIC SMALL T - 0x1D636: [453,11,491,89,536], // MATHEMATICAL SANS-SERIF ITALIC SMALL U - 0x1D637: [453,14,474,143,555], // MATHEMATICAL SANS-SERIF ITALIC SMALL V - 0x1D638: [453,14,702,140,787], // MATHEMATICAL SANS-SERIF ITALIC SMALL W - 0x1D639: [453,0,482,30,544], // MATHEMATICAL SANS-SERIF ITALIC SMALL X - 0x1D63A: [453,216,484,-19,565], // MATHEMATICAL SANS-SERIF ITALIC SMALL Y - 0x1D63B: [453,0,447,25,517] // MATHEMATICAL SANS-SERIF ITALIC SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathSSItalic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js deleted file mode 100644 index 8dfcf064..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D63C: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL A - 0x1D63D: [676,0,636,80,691], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL B - 0x1D63E: [691,19,723,119,797], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL C - 0x1D63F: [676,0,709,80,772], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL D - 0x1D640: [676,0,635,80,728], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL E - 0x1D641: [676,0,582,80,725], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL F - 0x1D642: [691,19,746,107,785], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL G - 0x1D643: [676,0,715,80,803], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL H - 0x1D644: [676,0,440,79,534], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL I - 0x1D645: [676,96,481,15,574], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL J - 0x1D646: [676,0,712,80,816], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL K - 0x1D647: [676,0,603,80,612], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL L - 0x1D648: [676,0,913,80,1001], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL M - 0x1D649: [676,18,724,80,812], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL N - 0x1D64A: [692,18,778,106,840], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL O - 0x1D64B: [676,0,581,80,695], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL P - 0x1D64C: [691,176,779,105,839], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Q - 0x1D64D: [676,0,670,80,698], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL R - 0x1D64E: [691,19,554,66,637], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL S - 0x1D64F: [676,0,641,157,785], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL T - 0x1D650: [676,19,699,123,792], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL U - 0x1D651: [676,18,690,193,833], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL V - 0x1D652: [676,15,997,198,1135], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL W - 0x1D653: [676,0,740,40,853], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL X - 0x1D654: [676,0,694,188,842], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Y - 0x1D655: [676,0,653,25,769], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Z - 0x1D656: [473,14,489,48,507], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL A - 0x1D657: [676,13,512,51,558], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL B - 0x1D658: [473,14,462,71,524], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL C - 0x1D659: [676,14,518,69,625], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL D - 0x1D65A: [473,13,452,71,492], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL E - 0x1D65B: [692,0,340,72,533], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL F - 0x1D65C: [472,206,504,2,599], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL G - 0x1D65D: [676,0,510,55,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL H - 0x1D65E: [688,0,245,59,366], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL I - 0x1D65F: [688,202,324,-90,440], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL J - 0x1D660: [676,0,519,55,599], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL K - 0x1D661: [676,0,235,55,348], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL L - 0x1D662: [473,0,776,55,809], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL M - 0x1D663: [473,0,510,55,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL N - 0x1D664: [473,14,501,72,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL O - 0x1D665: [473,205,512,3,559], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL P - 0x1D666: [473,205,512,69,574], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Q - 0x1D667: [473,0,411,55,519], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL R - 0x1D668: [473,13,385,37,442], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL S - 0x1D669: [631,12,386,98,447], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL T - 0x1D66A: [462,15,518,81,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL U - 0x1D66B: [462,14,462,129,561], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL V - 0x1D66C: [462,14,701,131,798], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL W - 0x1D66D: [462,0,506,20,582], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL X - 0x1D66E: [462,204,472,-27,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Y - 0x1D66F: [462,0,441,21,530] // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathSSItalicBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js deleted file mode 100644 index 16d3c3b2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +++ /dev/null @@ -1,68 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D49C: [674,15,855,31,846], // MATHEMATICAL SCRIPT CAPITAL A - 0x1D49E: [687,15,797,37,781], // MATHEMATICAL SCRIPT CAPITAL C - 0x1D49F: [687,15,885,36,818], // MATHEMATICAL SCRIPT CAPITAL D - 0x1D4A2: [687,15,773,83,740], // MATHEMATICAL SCRIPT CAPITAL G - 0x1D4A5: [674,177,802,9,792], // MATHEMATICAL SCRIPT CAPITAL J - 0x1D4A6: [687,15,1009,40,1004], // MATHEMATICAL SCRIPT CAPITAL K - 0x1D4A9: [687,15,970,38,956], // MATHEMATICAL SCRIPT CAPITAL N - 0x1D4AA: [680,15,692,82,663], // MATHEMATICAL SCRIPT CAPITAL O - 0x1D4AB: [687,15,910,38,886], // MATHEMATICAL SCRIPT CAPITAL P - 0x1D4AC: [680,38,692,82,663], // MATHEMATICAL SCRIPT CAPITAL Q - 0x1D4AE: [680,15,743,67,701], // MATHEMATICAL SCRIPT CAPITAL S - 0x1D4AF: [687,15,912,43,907], // MATHEMATICAL SCRIPT CAPITAL T - 0x1D4B0: [687,15,842,36,805], // MATHEMATICAL SCRIPT CAPITAL U - 0x1D4B1: [687,15,932,35,922], // MATHEMATICAL SCRIPT CAPITAL V - 0x1D4B2: [687,15,1078,35,1070], // MATHEMATICAL SCRIPT CAPITAL W - 0x1D4B3: [687,15,891,36,873], // MATHEMATICAL SCRIPT CAPITAL X - 0x1D4B4: [687,226,926,91,916], // MATHEMATICAL SCRIPT CAPITAL Y - 0x1D4B5: [687,15,932,59,912], // MATHEMATICAL SCRIPT CAPITAL Z - 0x1D4B6: [441,11,819,30,758], // MATHEMATICAL SCRIPT SMALL A - 0x1D4B7: [687,12,580,47,559], // MATHEMATICAL SCRIPT SMALL B - 0x1D4B8: [441,11,662,30,589], // MATHEMATICAL SCRIPT SMALL C - 0x1D4B9: [687,11,845,30,827], // MATHEMATICAL SCRIPT SMALL D - 0x1D4BB: [687,209,685,27,673], // MATHEMATICAL SCRIPT SMALL F - 0x1D4BD: [687,11,753,38,690], // MATHEMATICAL SCRIPT SMALL H - 0x1D4BE: [653,11,496,83,484], // MATHEMATICAL SCRIPT SMALL I - 0x1D4BF: [653,219,730,9,718], // MATHEMATICAL SCRIPT SMALL J - 0x1D4C0: [687,11,726,40,666], // MATHEMATICAL SCRIPT SMALL K - 0x1D4C1: [687,11,579,48,571], // MATHEMATICAL SCRIPT SMALL L - 0x1D4C2: [441,11,1038,49,978], // MATHEMATICAL SCRIPT SMALL M - 0x1D4C3: [441,11,761,49,701], // MATHEMATICAL SCRIPT SMALL N - 0x1D4C5: [441,209,773,23,694], // MATHEMATICAL SCRIPT SMALL P - 0x1D4C6: [441,209,780,30,743], // MATHEMATICAL SCRIPT SMALL Q - 0x1D4C7: [444,0,580,48,572], // MATHEMATICAL SCRIPT SMALL R - 0x1D4C8: [531,11,515,62,412], // MATHEMATICAL SCRIPT SMALL S - 0x1D4C9: [658,11,551,30,532], // MATHEMATICAL SCRIPT SMALL T - 0x1D4CA: [424,11,753,30,693], // MATHEMATICAL SCRIPT SMALL U - 0x1D4CB: [441,11,618,30,582], // MATHEMATICAL SCRIPT SMALL V - 0x1D4CC: [441,11,888,30,852], // MATHEMATICAL SCRIPT SMALL W - 0x1D4CD: [441,11,752,65,675], // MATHEMATICAL SCRIPT SMALL X - 0x1D4CE: [424,219,658,30,617], // MATHEMATICAL SCRIPT SMALL Y - 0x1D4CF: [478,11,691,52,617] // MATHEMATICAL SCRIPT SMALL Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathScript.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js deleted file mode 100644 index 84ac327c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +++ /dev/null @@ -1,88 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D670: [673,0,525,26,496], // MATHEMATICAL MONOSPACE CAPITAL A - 0x1D671: [662,0,525,29,480], // MATHEMATICAL MONOSPACE CAPITAL B - 0x1D672: [672,11,525,40,482], // MATHEMATICAL MONOSPACE CAPITAL C - 0x1D673: [662,0,525,25,483], // MATHEMATICAL MONOSPACE CAPITAL D - 0x1D674: [662,0,525,31,500], // MATHEMATICAL MONOSPACE CAPITAL E - 0x1D675: [662,0,525,34,488], // MATHEMATICAL MONOSPACE CAPITAL F - 0x1D676: [672,11,525,37,495], // MATHEMATICAL MONOSPACE CAPITAL G - 0x1D677: [662,0,525,26,496], // MATHEMATICAL MONOSPACE CAPITAL H - 0x1D678: [662,0,525,84,438], // MATHEMATICAL MONOSPACE CAPITAL I - 0x1D679: [662,11,525,85,476], // MATHEMATICAL MONOSPACE CAPITAL J - 0x1D67A: [662,0,525,30,494], // MATHEMATICAL MONOSPACE CAPITAL K - 0x1D67B: [662,0,525,37,487], // MATHEMATICAL MONOSPACE CAPITAL L - 0x1D67C: [662,0,525,21,501], // MATHEMATICAL MONOSPACE CAPITAL M - 0x1D67D: [662,0,525,31,491], // MATHEMATICAL MONOSPACE CAPITAL N - 0x1D67E: [672,11,525,56,466], // MATHEMATICAL MONOSPACE CAPITAL O - 0x1D67F: [662,0,525,31,479], // MATHEMATICAL MONOSPACE CAPITAL P - 0x1D680: [672,139,525,56,466], // MATHEMATICAL MONOSPACE CAPITAL Q - 0x1D681: [662,11,525,26,520], // MATHEMATICAL MONOSPACE CAPITAL R - 0x1D682: [672,11,525,52,470], // MATHEMATICAL MONOSPACE CAPITAL S - 0x1D683: [662,0,525,26,496], // MATHEMATICAL MONOSPACE CAPITAL T - 0x1D684: [662,11,525,9,514], // MATHEMATICAL MONOSPACE CAPITAL U - 0x1D685: [662,8,525,17,506], // MATHEMATICAL MONOSPACE CAPITAL V - 0x1D686: [662,8,525,11,512], // MATHEMATICAL MONOSPACE CAPITAL W - 0x1D687: [662,0,525,24,497], // MATHEMATICAL MONOSPACE CAPITAL X - 0x1D688: [662,0,525,15,507], // MATHEMATICAL MONOSPACE CAPITAL Y - 0x1D689: [662,0,525,47,479], // MATHEMATICAL MONOSPACE CAPITAL Z - 0x1D68A: [459,6,525,58,516], // MATHEMATICAL MONOSPACE SMALL A - 0x1D68B: [609,6,525,17,481], // MATHEMATICAL MONOSPACE SMALL B - 0x1D68C: [459,6,525,78,464], // MATHEMATICAL MONOSPACE SMALL C - 0x1D68D: [609,6,525,41,505], // MATHEMATICAL MONOSPACE SMALL D - 0x1D68E: [459,6,525,60,462], // MATHEMATICAL MONOSPACE SMALL E - 0x1D68F: [615,0,525,42,437], // MATHEMATICAL MONOSPACE SMALL F - 0x1D690: [461,228,525,29,508], // MATHEMATICAL MONOSPACE SMALL G - 0x1D691: [609,0,525,17,505], // MATHEMATICAL MONOSPACE SMALL H - 0x1D692: [610,0,525,84,448], // MATHEMATICAL MONOSPACE SMALL I - 0x1D693: [610,227,525,47,362], // MATHEMATICAL MONOSPACE SMALL J - 0x1D694: [609,0,525,24,505], // MATHEMATICAL MONOSPACE SMALL K - 0x1D695: [609,0,525,63,459], // MATHEMATICAL MONOSPACE SMALL L - 0x1D696: [456,0,525,2,520], // MATHEMATICAL MONOSPACE SMALL M - 0x1D697: [456,0,525,17,505], // MATHEMATICAL MONOSPACE SMALL N - 0x1D698: [459,6,525,62,460], // MATHEMATICAL MONOSPACE SMALL O - 0x1D699: [456,221,525,17,481], // MATHEMATICAL MONOSPACE SMALL P - 0x1D69A: [456,221,525,45,530], // MATHEMATICAL MONOSPACE SMALL Q - 0x1D69B: [456,0,525,37,485], // MATHEMATICAL MONOSPACE SMALL R - 0x1D69C: [459,6,525,72,457], // MATHEMATICAL MONOSPACE SMALL S - 0x1D69D: [580,6,525,25,448], // MATHEMATICAL MONOSPACE SMALL T - 0x1D69E: [450,6,525,17,505], // MATHEMATICAL MONOSPACE SMALL U - 0x1D69F: [450,4,525,22,500], // MATHEMATICAL MONOSPACE SMALL V - 0x1D6A0: [450,4,525,15,508], // MATHEMATICAL MONOSPACE SMALL W - 0x1D6A1: [450,0,525,23,498], // MATHEMATICAL MONOSPACE SMALL X - 0x1D6A2: [450,227,525,24,501], // MATHEMATICAL MONOSPACE SMALL Y - 0x1D6A3: [450,0,525,32,473], // MATHEMATICAL MONOSPACE SMALL Z - 0x1D7F7: [681,0,525,110,435], // MATHEMATICAL MONOSPACE DIGIT ONE - 0x1D7F8: [681,0,525,52,470], // MATHEMATICAL MONOSPACE DIGIT TWO - 0x1D7F9: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT THREE - 0x1D7FA: [682,0,525,29,493], // MATHEMATICAL MONOSPACE DIGIT FOUR - 0x1D7FB: [670,11,525,52,470], // MATHEMATICAL MONOSPACE DIGIT FIVE - 0x1D7FC: [681,11,525,58,464], // MATHEMATICAL MONOSPACE DIGIT SIX - 0x1D7FD: [686,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT SEVEN - 0x1D7FE: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT EIGHT - 0x1D7FF: [681,11,525,58,464] // MATHEMATICAL MONOSPACE DIGIT NINE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathTT.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js deleted file mode 100644 index 0ce360ed..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +++ /dev/null @@ -1,66 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x27C0: [584,0,685,50,634], // THREE DIMENSIONAL ANGLE - 0x27C1: [811,127,1145,35,1110], // WHITE TRIANGLE CONTAINING SMALL WHITE TRIANGLE - 0x27C2: [662,0,693,52,641], // PERPENDICULAR - 0x27C3: [529,27,685,60,625], // OPEN SUBSET - 0x27C4: [529,27,685,61,626], // OPEN SUPERSET - 0x27C5: [702,198,455,55,400], // LEFT S-SHAPED BAG DELIMITER - 0x27C6: [702,198,455,55,400], // RIGHT S-SHAPED BAG DELIMITER - 0x27C7: [536,29,620,31,589], // OR WITH DOT INSIDE - 0x27C8: [533,25,966,60,906], // REVERSE SOLIDUS PRECEDING SUBSET - 0x27C9: [533,25,966,60,906], // SUBSET PRECEDING SOLIDUS - 0x27CC: [806,213,325,20,325], // LONG DIVISION - 0x27D0: [744,242,1064,39,1025], // WHITE DIAMOND WITH CENTRED DOT - 0x27D1: [536,29,620,31,589], // AND WITH DOT - 0x27D2: [536,31,620,48,572], // ELEMENT OF OPENING UPWARDS - 0x27D3: [584,0,685,50,634], // LOWER RIGHT CORNER WITH DOT - 0x27D4: [584,0,685,50,634], // UPPER LEFT CORNER WITH DOT - 0x27D5: [582,80,1019,40,965], // LEFT OUTER JOIN - 0x27D6: [582,80,1019,54,979], // RIGHT OUTER JOIN - 0x27D7: [582,80,1228,40,1188], // FULL OUTER JOIN - 0x27D8: [718,213,866,50,816], // LARGE UP TACK - 0x27D9: [718,213,866,50,816], // LARGE DOWN TACK - 0x27DA: [662,0,1376,64,1312], // LEFT AND RIGHT DOUBLE TURNSTILE - 0x27DB: [662,0,1376,64,1312], // LEFT AND RIGHT TACK - 0x27DC: [403,-103,849,50,799], // LEFT MULTIMAP - 0x27DD: [450,-57,1574,55,1519], // LONG RIGHT TACK - 0x27DE: [450,-57,1574,55,1519], // LONG LEFT TACK - 0x27DF: [693,187,502,101,401], // UP TACK WITH CIRCLE ABOVE - 0x27E0: [795,289,790,45,745], // LOZENGE DIVIDED BY HORIZONTAL RULE - 0x27E1: [589,87,764,45,719], // WHITE CONCAVE-SIDED DIAMOND - 0x27E2: [589,87,803,45,758], // WHITE CONCAVE-SIDED DIAMOND WITH LEFTWARDS TICK - 0x27E3: [589,87,803,45,758], // WHITE CONCAVE-SIDED DIAMOND WITH RIGHTWARDS TICK - 0x27E4: [662,158,1182,45,1137], // WHITE SQUARE WITH LEFTWARDS TICK - 0x27E5: [662,158,1182,45,1137], // WHITE SQUARE WITH RIGHTWARDS TICK - 0x27E6: [717,213,504,188,482], // MATHEMATICAL LEFT WHITE SQUARE BRACKET - 0x27E7: [717,213,504,22,316], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET - 0x27EA: [719,213,610,73,545], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET - 0x27EB: [719,213,610,65,537], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET - 0x27EC: [719,213,488,178,466], // MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET - 0x27ED: [719,213,488,22,310] // MATHEMATICAL RIGHT WHITE TORTOISE SHELL BRACKET - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscMathSymbolsA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js deleted file mode 100644 index af7980b3..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +++ /dev/null @@ -1,154 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2980: [695,189,594,85,509], // TRIPLE VERTICAL BAR DELIMITER - 0x2981: [487,-14,565,46,519], // Z NOTATION SPOT - 0x2982: [566,59,503,110,393], // Z NOTATION TYPE COLON - 0x2983: [719,213,596,108,477], // LEFT WHITE CURLY BRACKET - 0x2984: [719,213,596,119,488], // RIGHT WHITE CURLY BRACKET - 0x2985: [719,213,463,70,393], // LEFT WHITE PARENTHESIS - 0x2986: [719,213,463,70,393], // RIGHT WHITE PARENTHESIS - 0x2987: [719,214,511,115,367], // Z NOTATION LEFT IMAGE BRACKET - 0x2988: [719,214,511,144,396], // Z NOTATION RIGHT IMAGE BRACKET - 0x2989: [719,213,511,100,352], // Z NOTATION LEFT BINDING BRACKET - 0x298A: [719,213,511,159,411], // Z NOTATION RIGHT BINDING BRACKET - 0x298B: [719,213,469,188,447], // LEFT SQUARE BRACKET WITH UNDERBAR - 0x298C: [719,213,469,22,281], // RIGHT SQUARE BRACKET WITH UNDERBAR - 0x298D: [719,213,469,188,447], // LEFT SQUARE BRACKET WITH TICK IN TOP CORNER - 0x298E: [719,213,469,22,281], // RIGHT SQUARE BRACKET WITH TICK IN BOTTOM CORNER - 0x298F: [719,213,469,188,447], // LEFT SQUARE BRACKET WITH TICK IN BOTTOM CORNER - 0x2990: [719,213,469,22,281], // RIGHT SQUARE BRACKET WITH TICK IN TOP CORNER - 0x2991: [719,213,400,73,357], // LEFT ANGLE BRACKET WITH DOT - 0x2992: [719,213,400,73,357], // RIGHT ANGLE BRACKET WITH DOT - 0x2993: [649,143,685,34,591], // LEFT ARC LESS-THAN BRACKET - 0x2994: [649,143,685,94,651], // RIGHT ARC GREATER-THAN BRACKET - 0x2995: [649,143,685,86,643], // DOUBLE LEFT ARC GREATER-THAN BRACKET - 0x2996: [649,143,685,42,599], // DOUBLE RIGHT ARC LESS-THAN BRACKET - 0x2997: [719,213,488,188,466], // LEFT BLACK TORTOISE SHELL BRACKET - 0x2998: [719,213,488,22,300], // RIGHT BLACK TORTOISE SHELL BRACKET - 0x2999: [661,155,211,50,161], // DOTTED FENCE - 0x299A: [662,156,511,177,334], // VERTICAL ZIGZAG LINE - 0x299B: [547,72,685,42,662], // MEASURED ANGLE OPENING LEFT - 0x299C: [584,0,685,50,634], // RIGHT ANGLE VARIANT WITH SQUARE - 0x299D: [584,0,685,50,634], // MEASURED RIGHT ANGLE WITH DOT - 0x299E: [547,0,685,11,675], // ANGLE WITH S INSIDE - 0x299F: [396,0,685,24,643], // ACUTE ANGLE - 0x29A0: [517,13,685,57,654], // SPHERICAL ANGLE OPENING LEFT - 0x29A1: [609,-12,685,77,607], // SPHERICAL ANGLE OPENING UP - 0x29A2: [547,0,685,42,662], // TURNED ANGLE - 0x29A3: [547,0,685,42,662], // REVERSED ANGLE - 0x29A4: [547,200,685,23,643], // ANGLE WITH UNDERBAR - 0x29A5: [547,200,685,42,662], // REVERSED ANGLE WITH UNDERBAR - 0x29A6: [547,0,900,40,860], // OBLIQUE ANGLE OPENING UP - 0x29A7: [547,0,900,40,860], // OBLIQUE ANGLE OPENING DOWN - 0x29A8: [574,72,685,29,649], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING UP AND RIGHT - 0x29A9: [574,72,685,36,656], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING UP AND LEFT - 0x29AA: [578,68,685,29,649], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING DOWN AND RIGHT - 0x29AB: [578,68,685,36,656], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING DOWN AND LEFT - 0x29AC: [562,58,706,34,680], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING RIGHT AND UP - 0x29AD: [562,58,706,26,672], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING LEFT AND UP - 0x29AE: [562,58,706,34,680], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING RIGHT AND DOWN - 0x29AF: [562,58,708,26,672], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING LEFT AND DOWN - 0x29B0: [583,79,762,50,712], // REVERSED EMPTY SET - 0x29B1: [717,79,762,50,712], // EMPTY SET WITH OVERBAR - 0x29B2: [819,79,762,50,712], // EMPTY SET WITH SMALL CIRCLE ABOVE - 0x29B3: [832,79,762,50,712], // EMPTY SET WITH RIGHT ARROW ABOVE - 0x29B4: [832,79,762,50,712], // EMPTY SET WITH LEFT ARROW ABOVE - 0x29B5: [623,119,910,24,886], // CIRCLE WITH HORIZONTAL BAR - 0x29B6: [623,119,842,50,792], // CIRCLED VERTICAL BAR - 0x29B7: [623,119,842,50,792], // CIRCLED PARALLEL - 0x29B8: [623,119,842,50,792], // CIRCLED REVERSE SOLIDUS - 0x29B9: [623,119,842,50,792], // CIRCLED PERPENDICULAR - 0x29BA: [623,119,842,50,792], // CIRCLE DIVIDED BY HORIZONTAL BAR AND TOP HALF DIVIDED BY VERTICAL BAR - 0x29BB: [623,119,842,50,792], // CIRCLE WITH SUPERIMPOSED X - 0x29BC: [623,119,842,50,792], // CIRCLED ANTICLOCKWISE-ROTATED DIVISION SIGN - 0x29BD: [882,179,842,50,792], // UP ARROW THROUGH CIRCLE - 0x29BE: [623,119,842,50,792], // CIRCLED WHITE BULLET - 0x29BF: [623,119,842,50,792], // CIRCLED BULLET - 0x29C0: [623,119,842,50,792], // CIRCLED LESS-THAN - 0x29C1: [623,119,842,50,792], // CIRCLED GREATER-THAN - 0x29C2: [623,119,1091,50,1056], // CIRCLE WITH SMALL CIRCLE TO THE RIGHT - 0x29C3: [623,119,1091,50,1056], // CIRCLE WITH TWO HORIZONTAL STROKES TO THE RIGHT - 0x29C4: [662,158,910,45,865], // SQUARED RISING DIAGONAL SLASH - 0x29C5: [662,158,910,45,865], // SQUARED FALLING DIAGONAL SLASH - 0x29C6: [662,158,910,45,865], // SQUARED ASTERISK - 0x29C7: [662,158,910,45,865], // SQUARED SMALL CIRCLE - 0x29C8: [662,158,910,45,865], // SQUARED SQUARE - 0x29C9: [712,207,1046,64,982], // TWO JOINED SQUARES - 0x29CA: [1003,127,1145,35,1110], // TRIANGLE WITH DOT ABOVE - 0x29CB: [811,259,1145,35,1110], // TRIANGLE WITH UNDERBAR - 0x29CC: [811,127,1145,35,1110], // S IN TRIANGLE - 0x29CD: [811,127,1165,15,1150], // TRIANGLE WITH SERIFS AT BOTTOM - 0x29CE: [698,193,780,70,710], // RIGHT TRIANGLE ABOVE LEFT TRIANGLE - 0x29CF: [531,25,857,48,777], // LEFT TRIANGLE BESIDE VERTICAL BAR - 0x29D0: [531,25,857,80,809], // VERTICAL BAR BESIDE RIGHT TRIANGLE - 0x29D1: [582,80,810,93,716], // BOWTIE WITH LEFT HALF BLACK - 0x29D2: [582,80,810,93,716], // BOWTIE WITH RIGHT HALF BLACK - 0x29D3: [582,80,810,93,716], // BLACK BOWTIE - 0x29D4: [582,80,810,94,717], // TIMES WITH LEFT HALF BLACK - 0x29D5: [582,80,810,93,716], // TIMES WITH RIGHT HALF BLACK - 0x29D6: [602,100,810,74,736], // WHITE HOURGLASS - 0x29D7: [602,100,810,74,736], // BLACK HOURGLASS - 0x29D8: [620,116,511,177,334], // LEFT WIGGLY FENCE - 0x29D9: [620,116,511,176,333], // RIGHT WIGGLY FENCE - 0x29DA: [620,116,688,177,511], // LEFT DOUBLE WIGGLY FENCE - 0x29DB: [620,116,688,177,511], // RIGHT DOUBLE WIGGLY FENCE - 0x29DC: [430,0,926,70,854], // INCOMPLETE INFINITY - 0x29DD: [653,0,926,70,854], // TIE OVER INFINITY - 0x29DE: [695,189,926,70,854], // INFINITY NEGATED WITH VERTICAL BAR - 0x29DF: [403,-103,1145,50,1095], // DOUBLE-ENDED MULTIMAP - 0x29E0: [662,157,910,45,865], // SQUARE WITH CONTOURED OUTLINE - 0x29E1: [512,8,667,24,613], // INCREASES AS - 0x29E2: [414,0,790,64,726], // SHUFFLE PRODUCT - 0x29E3: [662,156,685,47,637], // EQUALS SIGN AND SLANTED PARALLEL - 0x29E4: [842,156,685,47,637], // EQUALS SIGN AND SLANTED PARALLEL WITH TILDE ABOVE - 0x29E5: [662,156,685,48,637], // IDENTICAL TO AND SLANTED PARALLEL - 0x29E6: [584,78,798,60,738], // GLEICH STARK - 0x29E7: [695,189,628,48,580], // THERMODYNAMIC - 0x29E8: [811,127,1145,35,1110], // DOWN-POINTING TRIANGLE WITH LEFT HALF BLACK - 0x29E9: [811,127,1145,35,1110], // DOWN-POINTING TRIANGLE WITH RIGHT HALF BLACK - 0x29EA: [744,241,762,32,730], // BLACK DIAMOND WITH DOWN ARROW - 0x29EB: [795,289,790,45,745], // BLACK LOZENGE - 0x29EC: [743,241,762,50,712], // WHITE CIRCLE WITH DOWN ARROW - 0x29ED: [743,241,762,50,712], // BLACK CIRCLE WITH DOWN ARROW - 0x29EE: [747,243,762,97,665], // ERROR-BARRED WHITE SQUARE - 0x29EF: [747,243,762,97,665], // ERROR-BARRED BLACK SQUARE - 0x29F0: [747,243,762,32,730], // ERROR-BARRED WHITE DIAMOND - 0x29F1: [747,243,762,32,730], // ERROR-BARRED BLACK DIAMOND - 0x29F2: [747,243,762,65,697], // ERROR-BARRED WHITE CIRCLE - 0x29F3: [747,243,762,65,697], // ERROR-BARRED BLACK CIRCLE - 0x29F4: [521,13,926,55,871], // RULE-DELAYED - 0x29F6: [765,80,520,94,426], // SOLIDUS WITH OVERBAR - 0x29F7: [662,80,520,94,426], // REVERSE SOLIDUS WITH HORIZONTAL STROKE - 0x29F8: [695,325,602,85,517], // BIG SOLIDUS - 0x29F9: [695,325,602,85,517], // BIG REVERSE SOLIDUS - 0x29FA: [532,25,685,64,621], // DOUBLE PLUS - 0x29FB: [532,25,685,64,621], // TRIPLE PLUS - 0x29FC: [713,213,459,77,394], // LEFT-POINTING CURVED ANGLE BRACKET - 0x29FD: [713,213,459,65,382], // RIGHT-POINTING CURVED ANGLE BRACKET - 0x29FE: [540,36,762,93,669], // TINY - 0x29FF: [316,-190,762,93,669] // MINY - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscMathSymbolsB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js deleted file mode 100644 index 9df25813..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2605: [655,66,870,60,810], // BLACK STAR - 0x2606: [655,66,870,60,810], // WHITE STAR - 0x2609: [583,79,762,50,712], // SUN - 0x260C: [634,131,581,54,553], // CONJUNCTION - 0x260E: [676,0,1000,32,967], // BLACK TELEPHONE - 0x2612: [662,158,910,45,865], // BALLOT BOX WITH X - 0x2621: [630,35,619,70,549], // CAUTION SIGN - 0x2639: [728,82,1150,170,980], // WHITE FROWNING FACE - 0x263A: [728,82,1150,170,980], // WHITE SMILING FACE - 0x263B: [728,82,1150,170,980], // BLACK SMILING FACE - 0x263C: [623,122,837,46,791], // WHITE SUN WITH RAYS - 0x263D: [728,82,641,40,601], // FIRST QUARTER MOON - 0x263E: [728,82,641,40,601], // LAST QUARTER MOON - 0x263F: [702,198,603,65,538], // MERCURY - 0x2640: [638,135,603,65,538], // FEMALE SIGN - 0x2641: [638,135,603,65,538], // EARTH - 0x2642: [634,131,660,54,620], // MALE SIGN - 0x2643: [732,176,970,66,904], // JUPITER - 0x2644: [793,140,970,63,866], // SATURN - 0x2646: [760,110,840,60,780], // NEPTUNE - 0x2647: [730,110,632,76,576], // PLUTO - 0x2648: [760,110,964,25,939], // ARIES - 0x2649: [644,139,781,43,738], // TAURUS - 0x2664: [609,99,685,34,651], // WHITE SPADE SUIT - 0x2665: [603,105,685,34,651], // BLACK HEART SUIT - 0x2666: [609,105,685,41,643], // BLACK DIAMOND SUIT - 0x2667: [603,99,685,34,651], // WHITE CLUB SUIT - 0x2669: [714,125,390,45,345], // QUARTER NOTE - 0x266A: [714,125,560,50,510], // EIGHTH NOTE - 0x266B: [842,125,840,40,721], // BEAMED EIGHTH NOTES - 0x267E: [775,271,1186,70,1116], // PERMANENT PAPER SIGN - 0x2680: [669,23,1032,170,862], // DIE FACE-1 - 0x2681: [669,23,1032,170,862], // DIE FACE-2 - 0x2682: [669,23,1032,170,862], // DIE FACE-3 - 0x2683: [669,23,1032,170,862], // DIE FACE-4 - 0x2684: [669,23,1032,170,862], // DIE FACE-5 - 0x2685: [669,23,1032,170,862], // DIE FACE-6 - 0x2686: [687,42,1032,152,881], // WHITE CIRCLE WITH DOT RIGHT - 0x2687: [687,42,1032,152,881], // WHITE CIRCLE WITH TWO DOTS - 0x2688: [687,42,1032,152,881], // BLACK CIRCLE WITH WHITE DOT RIGHT - 0x2689: [687,42,1032,152,881], // BLACK CIRCLE WITH TWO WHITE DOTS - 0x26A0: [1023,155,1510,25,1485], // WARNING SIGN - 0x26A5: [784,281,660,54,620], // MALE AND FEMALE SIGN - 0x26AA: [583,79,762,50,712], // MEDIUM WHITE CIRCLE - 0x26AB: [583,79,762,50,712], // MEDIUM BLACK CIRCLE - 0x26AC: [487,-14,565,46,519], // MEDIUM SMALL WHITE CIRCLE - 0x26B2: [638,135,603,65,538] // NEUTER - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js deleted file mode 100644 index 80560e5e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +++ /dev/null @@ -1,91 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2B12: [662,157,910,45,865], // SQUARE WITH TOP HALF BLACK - 0x2B13: [662,157,910,45,865], // SQUARE WITH BOTTOM HALF BLACK - 0x2B14: [662,157,910,45,865], // SQUARE WITH UPPER RIGHT DIAGONAL HALF BLOCK - 0x2B15: [662,157,910,45,865], // SQUARE WITH LOWER LEFT DIAGONAL HALF BLOCK - 0x2B16: [744,242,1064,39,1025], // DIAMOND WITH LEFT HALF BLACK - 0x2B17: [744,242,1064,39,1025], // DIAMOND WITH RIGHT HALF BLACK - 0x2B18: [744,242,1064,39,1025], // DIAMOND WITH TOP HALF BLACK - 0x2B19: [744,242,1064,39,1025], // DIAMOND WITH BOTTOM HALF BLACK - 0x2B1A: [662,157,910,45,865], // DOTTED SQUARE - 0x2B1B: [780,180,1040,40,1000], // BLACK LARGE SQUARE - 0x2B1C: [780,180,1040,40,1000], // WHITE LARGE SQUARE - 0x2B1D: [332,-172,240,50,190], // BLACK VERY SMALL SQUARE - 0x2B1E: [332,-172,240,50,190], // WHITE VERY SMALL SQUARE - 0x2B1F: [690,105,910,36,874], // BLACK PENTAGON - 0x2B20: [690,105,910,36,874], // WHITE PENTAGON - 0x2B21: [680,178,910,82,828], // WHITE HEXAGON - 0x2B22: [680,178,910,82,828], // BLACK HEXAGON - 0x2B23: [633,127,926,24,902], // HORIZONTAL BLACK HEXAGON - 0x2B24: [785,282,1207,70,1137], // BLACK LARGE CIRCLE - 0x2B25: [581,96,779,45,734], // BLACK MEDIUM DIAMOND - 0x2B26: [581,96,779,45,734], // WHITE MEDIUM DIAMOND - 0x2B27: [609,105,544,40,504], // BLACK MEDIUM LOZENGE - 0x2B28: [609,105,544,40,504], // WHITE MEDIUM LOZENGE - 0x2B29: [488,-16,523,26,497], // BLACK SMALL DIAMOND - 0x2B2A: [488,-16,357,26,331], // BLACK SMALL LOZENGE - 0x2B2B: [488,-16,357,26,331], // WHITE SMALL LOZENGE - 0x2B2C: [500,-4,842,50,792], // BLACK HORIZONTAL ELLIPSE - 0x2B2D: [500,-4,842,50,792], // WHITE HORIZONTAL ELLIPSE - 0x2B2E: [623,119,596,50,546], // BLACK VERTICAL ELLIPSE - 0x2B2F: [623,119,596,50,546], // WHITE VERTICAL ELLIPSE - 0x2B30: [448,-57,926,70,856], // LEFT ARROW WITH SMALL CIRCLE - 0x2B31: [739,232,926,60,866], // THREE LEFTWARDS ARROWS - 0x2B32: [569,61,1200,52,1147], // LEFT ARROW WITH CIRCLED PLUS - 0x2B33: [449,-58,1574,55,1519], // LONG LEFTWARDS SQUIGGLE ARROW - 0x2B34: [450,-57,926,56,871], // LEFTWARDS TWO-HEADED ARROW WITH VERTICAL STROKE - 0x2B35: [450,-57,926,55,871], // LEFTWARDS TWO-HEADED ARROW WITH DOUBLE VERTICAL STROKE - 0x2B36: [450,-57,926,55,871], // LEFTWARDS TWO-HEADED ARROW FROM BAR - 0x2B37: [449,-57,1412,55,1357], // LEFTWARDS TWO-HEADED TRIPLE-DASH ARROW - 0x2B38: [449,-57,926,55,873], // LEFTWARDS ARROW WITH DOTTED STEM - 0x2B39: [450,-57,926,55,871], // LEFTWARDS ARROW WITH TAIL WITH VERTICAL STROKE - 0x2B3A: [450,-57,926,55,871], // LEFTWARDS ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE - 0x2B3B: [449,-57,926,55,871], // LEFTWARDS TWO-HEADED ARROW WITH TAIL - 0x2B3C: [450,-57,926,55,871], // LEFTWARDS TWO-HEADED ARROW WITH TAIL WITH VERTICAL STROKE - 0x2B3D: [450,-57,926,50,876], // LEFTWARDS TWO-HEADED ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE - 0x2B3E: [449,-57,926,55,871], // LEFTWARDS ARROW THROUGH X - 0x2B3F: [449,-57,926,55,871], // WAVE ARROW POINTING DIRECTLY LEFT - 0x2B40: [565,-57,926,55,871], // EQUALS SIGN ABOVE LEFTWARDS ARROW - 0x2B41: [508,-57,926,55,871], // REVERSE TILDE OPERATOR ABOVE LEFTWARDS ARROW - 0x2B42: [449,141,926,55,871], // LEFTWARDS ARROW ABOVE REVERSE ALMOST EQUAL TO - 0x2B43: [532,26,926,45,871], // RIGHTWARDS ARROW THROUGH LESS-THAN - 0x2B44: [532,26,926,45,871], // RIGHTWARDS ARROW THROUGH SUBSET - 0x2B45: [701,195,928,55,873], // LEFTWARDS QUADRUPLE ARROW - 0x2B46: [701,195,928,55,873], // RIGHTWARDS QUADRUPLE ARROW - 0x2B47: [508,-57,926,55,871], // REVERSE TILDE OPERATOR ABOVE RIGHTWARDS ARROW - 0x2B48: [449,141,926,55,871], // RIGHTWARDS ARROW ABOVE REVERSE ALMOST EQUAL TO - 0x2B49: [508,-57,926,55,871], // TILDE OPERATOR ABOVE LEFTWARDS ARROW - 0x2B4A: [449,141,926,55,871], // LEFTWARDS ARROW ABOVE ALMOST EQUAL TO - 0x2B4B: [449,2,926,55,871], // LEFTWARDS ARROW ABOVE REVERSE TILDE OPERATOR - 0x2B4C: [449,2,926,55,871], // RIGHTWARDS ARROW ABOVE REVERSE TILDE OPERATOR - 0x2B50: [619,30,794,60,734], // WHITE MEDIUM STAR - 0x2B51: [619,30,794,60,734], // BLACK MEDIUM STAR - 0x2B52: [597,13,700,35,665], // WHITE SMALL STAR - 0x2B53: [712,126,865,45,840], // BLACK RIGHT-POINTING PENTAGON - 0x2B54: [712,127,865,45,840] // WHITE RIGHT-POINTING PENTAGON - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscSymbolsAndArrows.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js deleted file mode 100644 index 004db1da..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +++ /dev/null @@ -1,80 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2300: [487,-14,606,25,581], // DIAMETER SIGN - 0x2302: [774,0,926,55,871], // HOUSE - 0x2305: [577,0,620,48,572], // PROJECTIVE - 0x2306: [728,0,620,48,572], // PERSPECTIVE - 0x230C: [166,215,463,52,412], // BOTTOM RIGHT CROP - 0x230D: [166,215,463,52,412], // BOTTOM LEFT CROP - 0x230E: [876,-495,463,52,412], // TOP RIGHT CROP - 0x230F: [876,-495,463,52,412], // TOP LEFT CROP - 0x2310: [393,-115,600,48,552], // REVERSED NOT SIGN - 0x2311: [439,-65,523,75,449], // SQUARE LOZENGE - 0x2312: [331,0,762,50,712], // ARC - 0x2313: [331,0,762,50,712], // SEGMENT - 0x2315: [582,189,847,26,796], // TELEPHONE RECORDER - 0x2316: [748,246,1100,53,1047], // POSITION INDICATOR - 0x2317: [749,245,1100,53,1047], // VIEWDATA SQUARE - 0x2318: [662,156,926,55,871], // PLACE OF INTEREST SIGN - 0x2319: [393,-115,600,48,552], // TURNED NOT SIGN - 0x231A: [671,69,685,64,622], // WATCH - 0x231C: [662,-281,463,51,411], // TOP LEFT CORNER - 0x231D: [662,-281,463,51,411], // TOP RIGHT CORNER - 0x231E: [164,217,463,51,411], // BOTTOM LEFT CORNER - 0x231F: [164,217,463,52,412], // BOTTOM RIGHT CORNER - 0x2329: [713,213,400,77,335], // LEFT-POINTING ANGLE BRACKET - 0x232A: [713,213,400,65,323], // RIGHT-POINTING ANGLE BRACKET - 0x232C: [692,186,926,83,843], // BENZENE RING - 0x232D: [592,88,986,55,931], // CYLINDRICITY - 0x232E: [450,140,624,-18,574], // ALL AROUND-PROFILE - 0x2332: [562,56,889,80,809], // CONICAL TAPER - 0x2336: [751,156,926,85,841], // APL FUNCTIONAL SYMBOL I-BEAM - 0x233D: [683,179,910,84,826], // APL FUNCTIONAL SYMBOL CIRCLE STILE - 0x233F: [703,176,683,60,623], // APL FUNCTIONAL SYMBOL SLASH BAR - 0x2340: [703,176,683,60,623], // APL FUNCTIONAL SYMBOL BACKSLASH BAR - 0x2353: [751,176,794,55,739], // APL FUNCTIONAL SYMBOL QUAD UP CARET - 0x2370: [751,176,794,55,739], // APL FUNCTIONAL SYMBOL QUAD QUESTION - 0x237C: [584,220,871,50,820], // RIGHT ANGLE WITH DOWNWARDS ZIGZAG ARROW - 0x2393: [386,-120,913,85,841], // DIRECT CURRENT SYMBOL FORM TWO - 0x2394: [633,127,926,24,902], // SOFTWARE-FUNCTION SYMBOL - 0x23B4: [766,-574,926,55,871], // TOP SQUARE BRACKET - 0x23B5: [109,83,926,55,871], // BOTTOM SQUARE BRACKET - 0x23B6: [495,-11,926,55,871], // BOTTOM SQUARE BRACKET OVER TOP SQUARE BRACKET - 0x23CE: [731,225,926,50,856], // RETURN SYMBOL - 0x23DC: [55,152,556,-10,566], // TOP PARENTHESIS (mathematical use) - 0x23DD: [771,-564,556,-10,566], // BOTTOM PARENTHESIS (mathematical use) - 0x23DE: [117,88,556,-10,566], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [769,-564,556,-10,566], // BOTTOM CURLY BRACKET (mathematical use) - 0x23E0: [66,212,926,-3,929], // TOP TORTOISE SHELL BRACKET (mathematical use) - 0x23E1: [842,-564,926,-3,929], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) - 0x23E2: [558,53,1144,54,1090], // WHITE TRAPEZIUM - 0x23E3: [680,178,910,82,828], // BENZENE RING WITH CIRCLE - 0x23E4: [286,-220,1094,47,1047], // STRAIGHTNESS - 0x23E5: [527,20,1018,23,995], // FLATNESS - 0x23E6: [434,-72,926,55,871], // AC CURRENT - 0x23E7: [606,97,798,194,733] // ELECTRICAL INTERSECTION - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscTechnical.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js deleted file mode 100644 index 5da99d79..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +++ /dev/null @@ -1,39 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2153: [676,14,750,36,725], // VULGAR FRACTION ONE THIRD - 0x2154: [676,14,750,14,731], // VULGAR FRACTION TWO THIRDS - 0x2155: [676,14,750,37,715], // VULGAR FRACTION ONE FIFTH - 0x2156: [676,14,750,14,720], // VULGAR FRACTION TWO FIFTHS - 0x2157: [676,14,750,13,720], // VULGAR FRACTION THREE FIFTHS - 0x2158: [676,14,750,14,720], // VULGAR FRACTION FOUR FIFTHS - 0x2159: [676,14,750,37,717], // VULGAR FRACTION ONE SIXTH - 0x215A: [676,15,750,29,722], // VULGAR FRACTION FIVE SIXTHS - 0x215B: [676,14,750,37,722], // VULGAR FRACTION ONE EIGHTH - 0x215C: [676,14,750,13,727], // VULGAR FRACTION THREE EIGHTHS - 0x215D: [676,14,750,29,727], // VULGAR FRACTION FIVE EIGHTHS - 0x215E: [676,14,750,28,727] // VULGAR FRACTION SEVEN EIGHTHS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/NumberForms.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js deleted file mode 100644 index 27f06b72..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D00: [468,0,510,15,495], // LATIN LETTER SMALL CAPITAL A - 0x1D07: [464,0,504,21,481], // LATIN LETTER SMALL CAPITAL E - 0x1D1C: [464,14,583,21,560], // LATIN LETTER SMALL CAPITAL U - 0x1D81: [683,287,528,27,491], // LATIN SMALL LETTER D WITH PALATAL HOOK - 0x1D84: [683,287,542,7,505], // LATIN SMALL LETTER K WITH PALATAL HOOK - 0x1D85: [683,287,294,19,257], // LATIN SMALL LETTER L WITH PALATAL HOOK - 0x1D8A: [459,287,389,51,348], // LATIN SMALL LETTER S WITH PALATAL HOOK - 0x1D8D: [450,287,516,17,479], // LATIN SMALL LETTER X WITH PALATAL HOOK - 0x1D8E: [450,287,453,27,416] // LATIN SMALL LETTER Z WITH PALATAL HOOK - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/PhoneticExtensions.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js deleted file mode 100644 index 7c51def8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2B0: [848,-336,378,7,365], // MODIFIER LETTER SMALL H - 0x2B1: [848,-336,378,7,365], // MODIFIER LETTER SMALL H WITH HOOK - 0x2B2: [852,-169,300,44,244], // MODIFIER LETTER SMALL J - 0x2B3: [681,-336,252,5,252], // MODIFIER LETTER SMALL R - 0x2B4: [680,-335,277,10,257], // MODIFIER LETTER SMALL TURNED R - 0x2B5: [680,-168,325,10,338], // MODIFIER LETTER SMALL TURNED R WITH HOOK - 0x2B6: [680,-335,390,6,379], // MODIFIER LETTER SMALL CAPITAL INVERTED R - 0x2B7: [680,-331,520,6,512], // MODIFIER LETTER SMALL W - 0x2B8: [680,-176,370,14,361], // MODIFIER LETTER SMALL Y - 0x2B9: [684,-421,208,90,257], // MODIFIER LETTER PRIME - 0x2BA: [684,-421,305,19,324], // MODIFIER LETTER DOUBLE PRIME - 0x2BB: [686,-443,333,79,218], // MODIFIER LETTER TURNED COMMA - 0x2BC: [686,-443,333,79,218], // MODIFIER LETTER APOSTROPHE - 0x2BD: [686,-443,333,79,218], // MODIFIER LETTER REVERSED COMMA - 0x2BE: [680,-485,198,35,163], // MODIFIER LETTER RIGHT HALF RING - 0x2BF: [680,-485,198,35,163], // MODIFIER LETTER LEFT HALF RING - 0x2C0: [690,-295,326,23,303], // MODIFIER LETTER GLOTTAL STOP - 0x2C1: [690,-295,326,23,303], // MODIFIER LETTER REVERSED GLOTTAL STOP - 0x2C2: [755,-419,317,33,285], // MODIFIER LETTER LEFT ARROWHEAD - 0x2C3: [755,-419,317,33,285], // MODIFIER LETTER RIGHT ARROWHEAD - 0x2C4: [713,-461,317,-9,327], // MODIFIER LETTER UP ARROWHEAD - 0x2C5: [713,-461,317,-9,327], // MODIFIER LETTER DOWN ARROWHEAD - 0x2C8: [713,-448,278,119,159], // MODIFIER LETTER VERTICAL LINE - 0x2CC: [70,195,278,119,159], // MODIFIER LETTER LOW VERTICAL LINE - 0x2CD: [-104,159,334,11,323], // MODIFIER LETTER LOW MACRON - 0x2CE: [-21,192,333,25,249], // MODIFIER LETTER LOW GRAVE ACCENT - 0x2CF: [-21,192,333,84,308], // MODIFIER LETTER LOW ACUTE ACCENT - 0x2D0: [460,-19,333,89,244], // MODIFIER LETTER TRIANGULAR COLON - 0x2D1: [460,-299,333,89,244], // MODIFIER LETTER HALF TRIANGULAR COLON - 0x2D2: [365,-75,333,72,262], // MODIFIER LETTER CENTRED RIGHT HALF RING - 0x2D3: [365,-75,333,71,261], // MODIFIER LETTER CENTRED LEFT HALF RING - 0x2D4: [205,-18,333,51,281], // MODIFIER LETTER UP TACK - 0x2D5: [205,-18,333,51,281], // MODIFIER LETTER DOWN TACK - 0x2D6: [218,-26,333,71,263], // MODIFIER LETTER PLUS SIGN - 0x2D7: [144,-100,333,71,263], // MODIFIER LETTER MINUS SIGN - 0x2DA: [711,-512,333,67,266], // RING ABOVE - 0x2DB: [0,165,333,64,249], // OGONEK - 0x2DD: [678,-507,333,-3,376], // DOUBLE ACUTE ACCENT - 0x2DE: [443,-186,298,0,263], // MODIFIER LETTER RHOTIC HOOK - 0x2DF: [662,-425,333,48,284], // MODIFIER LETTER CROSS ACCENT - 0x2E0: [684,-219,378,24,335], // MODIFIER LETTER SMALL GAMMA - 0x2E1: [848,-336,215,19,197], // MODIFIER LETTER SMALL L - 0x2E2: [681,-331,291,36,261], // MODIFIER LETTER SMALL S - 0x2E3: [680,-336,380,5,372], // MODIFIER LETTER SMALL X - 0x2E4: [850,-336,341,45,319], // MODIFIER LETTER SMALL REVERSED GLOTTAL STOP - 0x2E5: [662,0,413,48,373], // MODIFIER LETTER EXTRA-HIGH TONE BAR - 0x2E6: [662,0,405,40,365], // MODIFIER LETTER HIGH TONE BAR - 0x2E7: [662,0,405,40,365], // MODIFIER LETTER MID TONE BAR - 0x2E8: [662,0,405,40,365], // MODIFIER LETTER LOW TONE BAR - 0x2E9: [662,0,405,40,365], // MODIFIER LETTER EXTRA-LOW TONE BAR - 0x2EC: [70,147,333,21,311], // MODIFIER LETTER VOICING - 0x2ED: [665,-507,405,10,395] // MODIFIER LETTER UNASPIRATED - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SpacingModLetters.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js deleted file mode 100644 index e7a0e752..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0xFFFD: [662,217,872,55,817] // REPLACEMENT CHARACTER - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Specials.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js deleted file mode 100644 index b496d506..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x207F: [676,-270,541,57,484] // SUPERSCRIPT LATIN SMALL LETTER N - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SuperAndSubscripts.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js deleted file mode 100644 index 0310dacc..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +++ /dev/null @@ -1,271 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2A07: [763,259,1180,83,1097], // TWO LOGICAL AND OPERATOR - 0x2A08: [763,259,1180,83,1097], // TWO LOGICAL OR OPERATOR - 0x2A09: [763,259,1021,50,971], // N-ARY TIMES OPERATOR - 0x2A0A: [763,259,914,58,856], // MODULO TWO SUM - 0x2A0B: [824,320,690,33,659], // SUMMATION WITH INTEGRAL - 0x2A0C: [824,320,1184,32,1364], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [824,320,499,32,639], // FINITE PART INTEGRAL - 0x2A0E: [824,320,499,32,639], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [824,320,499,32,639], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [824,320,499,32,639], // CIRCULATION FUNCTION - 0x2A11: [824,320,499,32,639], // ANTICLOCKWISE INTEGRATION - 0x2A12: [824,320,519,32,639], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [824,320,499,32,639], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [824,320,628,32,688], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [824,320,499,32,639], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [824,320,529,32,639], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [824,320,738,32,818], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [824,320,539,32,639], // INTEGRAL WITH TIMES SIGN - 0x2A19: [824,320,559,32,639], // INTEGRAL WITH INTERSECTION - 0x2A1A: [824,320,559,32,639], // INTEGRAL WITH UNION - 0x2A1B: [947,320,459,32,639], // INTEGRAL WITH OVERBAR - 0x2A1C: [824,443,459,32,639], // INTEGRAL WITH UNDERBAR - 0x2A1D: [770,252,1270,93,1177], // JOIN - 0x2A1E: [764,258,1018,45,924], // LARGE LEFT TRIANGLE OPERATOR - 0x2A1F: [566,291,503,110,410], // Z NOTATION SCHEMA COMPOSITION - 0x2A20: [633,127,1177,98,1079], // Z NOTATION SCHEMA PIPING - 0x2A21: [805,300,547,215,472], // Z NOTATION SCHEMA PROJECTION - 0x2A22: [819,41,685,48,636], // PLUS SIGN WITH SMALL CIRCLE ABOVE - 0x2A23: [707,41,685,48,636], // PLUS SIGN WITH CIRCUMFLEX ACCENT ABOVE - 0x2A24: [704,41,685,48,636], // PLUS SIGN WITH TILDE ABOVE - 0x2A25: [547,235,685,48,636], // PLUS SIGN WITH DOT BELOW - 0x2A26: [547,198,685,48,636], // PLUS SIGN WITH TILDE BELOW - 0x2A27: [547,210,685,41,673], // PLUS SIGN WITH SUBSCRIPT TWO - 0x2A28: [547,41,685,48,636], // PLUS SIGN WITH BLACK TRIANGLE - 0x2A29: [556,-220,685,48,637], // MINUS SIGN WITH COMMA ABOVE - 0x2A2A: [286,5,685,48,637], // MINUS SIGN WITH DOT BELOW - 0x2A2B: [511,5,685,48,637], // MINUS SIGN WITH FALLING DOTS - 0x2A2C: [511,5,685,48,637], // MINUS SIGN WITH RISING DOTS - 0x2A2D: [623,119,724,50,674], // PLUS SIGN IN LEFT HALF CIRCLE - 0x2A2E: [623,119,724,50,674], // PLUS SIGN IN RIGHT HALF CIRCLE - 0x2A2F: [447,-59,490,50,439], // VECTOR OR CROSS PRODUCT - 0x2A30: [686,25,640,43,597], // MULTIPLICATION SIGN WITH DOT ABOVE - 0x2A31: [529,130,640,43,597], // MULTIPLICATION SIGN WITH UNDERBAR - 0x2A32: [529,45,640,43,597], // SEMIDIRECT PRODUCT WITH BOTTOM CLOSED - 0x2A33: [538,32,685,57,627], // SMASH PRODUCT - 0x2A34: [623,119,674,50,624], // MULTIPLICATION SIGN IN LEFT HALF CIRCLE - 0x2A35: [623,119,674,50,624], // MULTIPLICATION SIGN IN RIGHT HALF CIRCLE - 0x2A36: [810,119,842,50,792], // CIRCLED MULTIPLICATION SIGN WITH CIRCUMFLEX ACCENT - 0x2A37: [752,248,1100,50,1050], // MULTIPLICATION SIGN IN DOUBLE CIRCLE - 0x2A38: [623,119,842,50,792], // CIRCLED DIVISION SIGN - 0x2A39: [811,127,1145,35,1110], // PLUS SIGN IN TRIANGLE - 0x2A3A: [811,127,1145,35,1110], // MINUS SIGN IN TRIANGLE - 0x2A3B: [811,127,1145,35,1110], // MULTIPLICATION SIGN IN TRIANGLE - 0x2A3C: [393,-115,600,48,552], // stix-vert, low bar to left from base - 0x2A3D: [393,-115,600,48,552], // stix-vert, low bar to right from base - 0x2A3E: [488,170,300,60,230], // Z NOTATION RELATIONAL COMPOSITION - 0x2A40: [536,31,620,48,572], // INTERSECTION WITH DOT - 0x2A41: [536,31,620,48,572], // UNION WITH MINUS SIGN - 0x2A42: [668,31,620,48,572], // UNION WITH OVERBAR - 0x2A43: [668,31,620,48,572], // INTERSECTION WITH OVERBAR - 0x2A44: [536,31,620,48,572], // INTERSECTION WITH LOGICAL AND - 0x2A45: [536,31,620,48,572], // UNION WITH LOGICAL OR - 0x2A46: [914,406,620,48,572], // UNION ABOVE INTERSECTION - 0x2A47: [914,406,620,48,572], // INTERSECTION ABOVE UNION - 0x2A48: [914,406,620,48,572], // UNION ABOVE BAR ABOVE INTERSECTION - 0x2A49: [914,406,620,48,572], // INTERSECTION ABOVE BAR ABOVE UNION - 0x2A4A: [528,39,1078,48,1030], // UNION BESIDE AND JOINED WITH UNION - 0x2A4B: [527,40,1078,48,1030], // INTERSECTION BESIDE AND JOINED WITH INTERSECTION - 0x2A4C: [602,31,620,10,610], // CLOSED UNION WITH SERIFS - 0x2A4D: [536,97,620,10,610], // CLOSED INTERSECTION WITH SERIFS - 0x2A4E: [536,31,620,48,572], // DOUBLE SQUARE INTERSECTION - 0x2A4F: [536,31,620,48,572], // DOUBLE SQUARE UNION - 0x2A50: [602,31,620,10,610], // CLOSED UNION WITH SERIFS AND SMASH PRODUCT - 0x2A51: [710,29,620,31,589], // LOGICAL AND WITH DOT ABOVE - 0x2A52: [710,29,620,31,589], // LOGICAL OR WITH DOT ABOVE - 0x2A53: [536,29,620,31,589], // DOUBLE LOGICAL AND - 0x2A54: [536,29,620,31,589], // DOUBLE LOGICAL OR - 0x2A55: [536,29,780,32,748], // TWO INTERSECTING LOGICAL AND - 0x2A56: [536,29,780,32,748], // TWO INTERSECTING LOGICAL OR - 0x2A57: [536,29,706,106,683], // SLOPING LARGE OR - 0x2A58: [536,29,706,23,600], // SLOPING LARGE AND - 0x2A59: [585,77,620,31,589], // LOGICAL OR OVERLAPPING LOGICAL AND - 0x2A5A: [536,29,620,31,589], // LOGICAL AND WITH MIDDLE STEM - 0x2A5B: [536,29,620,31,589], // LOGICAL OR WITH MIDDLE STEM - 0x2A5C: [536,29,620,31,589], // LOGICAL AND WITH HORIZONTAL DASH - 0x2A5D: [536,29,620,31,589], // LOGICAL OR WITH HORIZONTAL DASH - 0x2A5E: [796,29,620,31,589], // LOGICAL AND WITH DOUBLE OVERBAR - 0x2A5F: [536,139,620,30,590], // LOGICAL AND WITH UNDERBAR - 0x2A60: [536,289,620,30,590], // LOGICAL AND WITH DOUBLE UNDERBAR - 0x2A61: [479,0,620,45,575], // SMALL VEE WITH UNDERBAR - 0x2A62: [806,29,620,30,590], // LOGICAL OR WITH DOUBLE OVERBAR - 0x2A63: [536,289,620,30,590], // LOGICAL OR WITH DOUBLE UNDERBAR - 0x2A64: [791,284,1043,70,1008], // Z NOTATION DOMAIN ANTIRESTRICTION - 0x2A65: [791,284,1043,70,1008], // Z NOTATION RANGE ANTIRESTRICTION - 0x2A66: [386,105,685,48,637], // EQUALS SIGN WITH DOT BELOW - 0x2A67: [703,-28,685,48,637], // IDENTICAL WITH DOT ABOVE - 0x2A68: [695,189,685,48,637], // TRIPLE HORIZONTAL BAR WITH DOUBLE VERTICAL STROKE - 0x2A69: [662,156,685,48,637], // TRIPLE HORIZONTAL BAR WITH TRIPLE VERTICAL STROKE - 0x2A6A: [521,-148,685,48,637], // TILDE OPERATOR WITH DOT ABOVE - 0x2A6B: [521,13,685,48,637], // TILDE OPERATOR WITH RISING DOTS - 0x2A6C: [543,38,685,48,637], // SIMILAR MINUS SIMILAR - 0x2A6D: [703,27,685,48,637], // CONGRUENT WITH DOT ABOVE - 0x2A6E: [847,-120,685,48,637], // EQUALS WITH ASTERISK - 0x2A6F: [707,-25,685,48,637], // ALMOST EQUAL TO WITH CIRCUMFLEX ACCENT - 0x2A70: [650,146,685,48,637], // APPROXIMATELY EQUAL OR EQUAL TO - 0x2A71: [648,141,685,48,637], // EQUALS SIGN ABOVE PLUS SIGN - 0x2A72: [648,141,685,48,637], // PLUS SIGN ABOVE EQUALS SIGN - 0x2A73: [532,27,685,48,637], // EQUALS SIGN ABOVE TILDE OPERATOR - 0x2A74: [417,-89,1015,48,967], // DOUBLE COLON EQUAL - 0x2A75: [386,-120,997,48,949], // TWO CONSECUTIVE EQUALS SIGNS - 0x2A76: [386,-120,1436,48,1388], // THREE CONSECUTIVE EQUALS SIGNS - 0x2A77: [611,106,685,48,637], // EQUALS SIGN WITH TWO DOTS ABOVE AND TWO DOTS BELOW - 0x2A78: [703,-28,685,38,647], // EQUIVALENT WITH FOUR DOTS ABOVE - 0x2A79: [532,26,685,44,609], // LESS-THAN WITH CIRCLE INSIDE - 0x2A7A: [532,26,685,76,641], // GREATER-THAN WITH CIRCLE INSIDE - 0x2A7B: [806,26,685,44,609], // LESS-THAN WITH QUESTION MARK ABOVE - 0x2A7C: [806,26,685,76,641], // GREATER-THAN WITH QUESTION MARK ABOVE - 0x2A7D: [625,137,685,56,621], // LESS-THAN OR SLANTED EQUAL TO - 0x2A7E: [625,137,685,56,621], // GREATER-THAN OR SLANTED EQUAL TO - 0x2A7F: [625,137,685,60,625], // LESS-THAN OR SLANTED EQUAL TO WITH DOT INSIDE - 0x2A80: [625,137,685,60,625], // GREATER-THAN OR SLANTED EQUAL TO WITH DOT INSIDE - 0x2A81: [625,137,685,60,625], // LESS-THAN OR SLANTED EQUAL TO WITH DOT ABOVE - 0x2A82: [625,137,685,60,625], // GREATER-THAN OR SLANTED EQUAL TO WITH DOT ABOVE - 0x2A83: [777,137,685,60,625], // LESS-THAN OR SLANTED EQUAL TO WITH DOT ABOVE RIGHT - 0x2A84: [777,137,685,60,625], // GREATER-THAN OR SLANTED EQUAL TO WITH DOT ABOVE LEFT - 0x2A85: [746,275,685,48,637], // LESS-THAN OR APPROXIMATE - 0x2A86: [746,275,685,48,637], // GREATER-THAN OR APPROXIMATE - 0x2A87: [628,216,685,60,625], // LESS-THAN AND SINGLE-LINE NOT EQUAL TO - 0x2A88: [628,216,687,56,621], // GREATER-THAN AND SINGLE-LINE NOT EQUAL TO - 0x2A89: [746,309,685,48,637], // LESS-THAN AND NOT APPROXIMATE - 0x2A8A: [746,309,685,48,637], // GREATER-THAN AND NOT APPROXIMATE - 0x2A8B: [930,424,685,56,621], // LESS-THAN ABOVE DOUBLE-LINE EQUAL ABOVE GREATER-THAN - 0x2A8C: [930,424,685,56,621], // GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN - 0x2A8D: [746,176,685,48,637], // LESS-THAN ABOVE SIMILAR OR EQUAL - 0x2A8E: [746,176,685,48,637], // GREATER-THAN ABOVE SIMILAR OR EQUAL - 0x2A8F: [867,361,685,60,649], // LESS-THAN ABOVE SIMILAR ABOVE GREATER-THAN - 0x2A90: [867,361,685,60,649], // GREATER-THAN ABOVE SIMILAR ABOVE LESS-THAN - 0x2A91: [844,338,685,55,630], // LESS-THAN ABOVE GREATER-THAN ABOVE DOUBLE-LINE EQUAL - 0x2A92: [844,338,685,55,630], // GREATER-THAN ABOVE LESS-THAN ABOVE DOUBLE-LINE EQUAL - 0x2A93: [866,361,685,60,625], // LESS-THAN ABOVE SLANTED EQUAL ABOVE GREATER-THAN ABOVE SLANTED EQUAL - 0x2A94: [866,361,685,60,625], // GREATER-THAN ABOVE SLANTED EQUAL ABOVE LESS-THAN ABOVE SLANTED EQUAL - 0x2A95: [640,122,685,56,621], // SLANTED EQUAL TO OR LESS-THAN - 0x2A96: [640,122,685,56,621], // SLANTED EQUAL TO OR GREATER-THAN - 0x2A97: [640,122,685,56,621], // SLANTED EQUAL TO OR LESS-THAN WITH DOT INSIDE - 0x2A98: [640,122,685,56,621], // SLANTED EQUAL TO OR GREATER-THAN WITH DOT INSIDE - 0x2A99: [718,211,685,60,625], // DOUBLE-LINE EQUAL TO OR LESS-THAN - 0x2A9A: [718,211,685,60,625], // DOUBLE-LINE EQUAL TO OR GREATER-THAN - 0x2A9B: [726,220,685,60,625], // DOUBLE-LINE SLANTED EQUAL TO OR LESS-THAN - 0x2A9C: [726,220,685,60,625], // DOUBLE-LINE SLANTED EQUAL TO OR GREATER-THAN - 0x2A9D: [664,164,685,53,642], // stix-similar (conforming) or less-than - 0x2A9E: [664,164,685,43,632], // SIMILAR OR GREATER-THAN - 0x2A9F: [774,267,685,48,637], // SIMILAR ABOVE LESS-THAN ABOVE EQUALS SIGN - 0x2AA0: [774,267,685,48,637], // SIMILAR ABOVE GREATER-THAN ABOVE EQUALS SIGN - 0x2AA1: [532,26,685,44,609], // DOUBLE NESTED LESS-THAN - 0x2AA2: [532,26,685,76,641], // DOUBLE NESTED GREATER-THAN - 0x2AA3: [609,103,933,25,908], // DOUBLE NESTED LESS-THAN WITH UNDERBAR - 0x2AA4: [532,26,782,60,722], // GREATER-THAN OVERLAPPING LESS-THAN - 0x2AA5: [532,26,855,60,795], // GREATER-THAN BESIDE LESS-THAN - 0x2AA6: [532,26,685,35,625], // LESS-THAN CLOSED BY CURVE - 0x2AA7: [532,26,685,60,650], // GREATER-THAN CLOSED BY CURVE - 0x2AA8: [625,137,685,50,640], // LESS-THAN CLOSED BY CURVE ABOVE SLANTED EQUAL - 0x2AA9: [626,137,685,45,635], // GREATER-THAN CLOSED BY CURVE ABOVE SLANTED EQUAL - 0x2AAA: [537,31,685,45,609], // SMALLER THAN - 0x2AAB: [537,31,685,76,640], // LARGER THAN - 0x2AAC: [613,103,685,60,625], // stix-smaller than or equal, slanted - 0x2AAD: [613,103,685,60,625], // stix-larger than or equal, slanted - 0x2AAE: [563,-28,685,48,637], // EQUALS SIGN WITH BUMPY ABOVE - 0x2AB1: [628,216,685,60,625], // PRECEDES ABOVE SINGLE-LINE NOT EQUAL TO - 0x2AB2: [628,216,685,60,625], // SUCCEEDS ABOVE SINGLE-LINE NOT EQUAL TO - 0x2AB3: [717,211,685,60,625], // PRECEDES ABOVE EQUALS SIGN - 0x2AB4: [717,211,685,60,625], // SUCCEEDS ABOVE EQUALS SIGN - 0x2AB5: [747,260,685,65,622], // PRECEDES ABOVE NOT EQUAL TO - 0x2AB6: [747,260,685,65,622], // SUCCEEDS ABOVE NOT EQUAL TO - 0x2AB7: [747,275,685,48,637], // PRECEDES ABOVE ALMOST EQUAL TO - 0x2AB8: [747,275,685,48,637], // SUCCEEDS ABOVE ALMOST EQUAL TO - 0x2AB9: [747,309,685,48,637], // PRECEDES ABOVE NOT ALMOST EQUAL TO - 0x2ABA: [747,309,685,48,637], // SUCCEEDS ABOVE NOT ALMOST EQUAL TO - 0x2ABB: [532,26,933,25,908], // DOUBLE PRECEDES - 0x2ABC: [532,26,933,25,908], // DOUBLE SUCCEEDS - 0x2ABD: [532,26,685,60,625], // SUBSET WITH DOT - 0x2ABE: [532,26,685,60,625], // SUPERSET WITH DOT - 0x2ABF: [607,103,685,60,625], // SUBSET WITH PLUS SIGN BELOW - 0x2AC0: [607,103,685,60,625], // SUPERSET WITH PLUS SIGN BELOW - 0x2AC1: [607,103,685,60,625], // SUBSET WITH MULTIPLICATION SIGN BELOW - 0x2AC2: [607,103,685,60,625], // SUPERSET WITH MULTIPLICATION SIGN BELOW - 0x2AC3: [709,103,685,60,625], // SUBSET OF OR EQUAL TO WITH DOT ABOVE - 0x2AC4: [709,103,685,60,625], // SUPERSET OF OR EQUAL TO WITH DOT ABOVE - 0x2AC5: [717,211,685,64,622], // SUBSET OF ABOVE EQUALS SIGN - 0x2AC6: [717,211,685,65,623], // SUPERSET OF ABOVE EQUALS SIGN - 0x2AC7: [665,164,685,60,625], // SUBSET OF ABOVE TILDE OPERATOR - 0x2AC8: [665,164,685,60,625], // SUPERSET OF ABOVE TILDE OPERATOR - 0x2AC9: [746,274,685,60,625], // SUBSET OF ABOVE ALMOST EQUAL TO - 0x2ACA: [746,274,685,60,625], // SUPERSET OF ABOVE ALMOST EQUAL TO - 0x2ACB: [717,319,685,61,619], // stix-subset not double equals, variant - 0x2ACC: [717,319,685,66,624], // SUPERSET OF ABOVE NOT EQUAL TO - 0x2ACD: [558,53,1352,64,1288], // SQUARE LEFT OPEN BOX OPERATOR - 0x2ACE: [558,53,1352,64,1288], // SQUARE RIGHT OPEN BOX OPERATOR - 0x2ACF: [532,26,685,50,615], // CLOSED SUBSET - 0x2AD0: [532,26,685,70,635], // CLOSED SUPERSET - 0x2AD1: [609,103,685,60,626], // CLOSED SUBSET OR EQUAL TO - 0x2AD2: [609,103,685,60,625], // CLOSED SUPERSET OR EQUAL TO - 0x2AD3: [715,209,685,60,625], // SUBSET ABOVE SUPERSET - 0x2AD4: [715,209,685,60,625], // SUPERSET ABOVE SUBSET - 0x2AD5: [715,209,685,60,625], // SUBSET ABOVE SUBSET - 0x2AD6: [715,209,685,60,625], // SUPERSET ABOVE SUPERSET - 0x2AD7: [532,26,1250,60,1190], // SUPERSET BESIDE SUBSET - 0x2AD8: [532,26,1250,60,1190], // SUPERSET BESIDE AND JOINED BY DASH WITH SUBSET - 0x2AD9: [536,31,620,48,572], // ELEMENT OF OPENING DOWNWARDS - 0x2ADA: [697,128,620,48,572], // PITCHFORK WITH TEE TOP - 0x2ADB: [695,97,620,48,572], // TRANSVERSAL INTERSECTION - 0x2ADC: [557,10,620,11,572], // FORKING - 0x2ADD: [557,10,620,48,572], // NONFORKING - 0x2ADE: [662,0,497,64,433], // SHORT LEFT TACK - 0x2ADF: [371,0,685,48,637], // SHORT DOWN TACK - 0x2AE0: [371,0,685,48,637], // SHORT UP TACK - 0x2AE1: [662,0,685,48,637], // PERPENDICULAR WITH S - 0x2AE2: [662,0,685,60,625], // VERTICAL BAR TRIPLE RIGHT TURNSTILE - 0x2AE3: [662,0,860,46,803], // DOUBLE VERTICAL BAR LEFT TURNSTILE - 0x2AE4: [662,0,685,60,625], // VERTICAL BAR DOUBLE LEFT TURNSTILE - 0x2AE5: [662,0,860,46,803], // DOUBLE VERTICAL BAR DOUBLE LEFT TURNSTILE - 0x2AE6: [662,0,685,57,626], // LONG DASH FROM LEFT MEMBER OF DOUBLE VERTICAL - 0x2AE7: [571,0,685,48,637], // SHORT DOWN TACK WITH OVERBAR - 0x2AE8: [571,0,685,48,637], // SHORT UP TACK WITH UNDERBAR - 0x2AE9: [691,185,685,48,637], // SHORT UP TACK ABOVE SHORT DOWN TACK - 0x2AEA: [662,0,685,48,637], // DOUBLE DOWN TACK - 0x2AEB: [662,0,685,48,637], // DOUBLE UP TACK - 0x2AEC: [489,-18,600,48,552], // DOUBLE STROKE NOT SIGN - 0x2AED: [489,-18,600,48,552], // REVERSED DOUBLE STROKE NOT SIGN - 0x2AEE: [690,189,404,23,381], // stix-short mid negated by backslash - 0x2AEF: [660,154,502,101,401], // VERTICAL LINE WITH CIRCLE ABOVE - 0x2AF0: [660,154,502,101,401], // VERTICAL LINE WITH CIRCLE BELOW - 0x2AF1: [693,187,502,101,401], // DOWN TACK WITH CIRCLE BELOW - 0x2AF2: [695,189,523,10,513], // PARALLEL WITH HORIZONTAL STROKE - 0x2AF3: [695,189,685,48,637], // PARALLEL WITH TILDE OPERATOR - 0x2AF4: [695,189,685,131,555], // TRIPLE VERTICAL BAR BINARY RELATION - 0x2AF5: [695,189,685,12,674], // TRIPLE VERTICAL BAR WITH HORIZONTAL STROKE - 0x2AF6: [608,102,685,279,406], // TRIPLE COLON OPERATOR - 0x2AF7: [661,155,1170,58,1080], // TRIPLE NESTED LESS-THAN - 0x2AF8: [661,155,1170,90,1112], // TRIPLE NESTED GREATER-THAN - 0x2AF9: [726,220,685,60,625], // DOUBLE-LINE SLANTED LESS-THAN OR EQUAL TO - 0x2AFA: [726,220,685,60,625], // DOUBLE-LINE SLANTED GREATER-THAN OR EQUAL TO - 0x2AFB: [710,222,894,46,848], // TRIPLE SOLIDUS BINARY RELATION - 0x2AFD: [710,222,709,46,663], // DOUBLE SOLIDUS OPERATOR - 0x2AFE: [690,189,410,100,310] // WHITE VERTICAL BAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SuppMathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js deleted file mode 100644 index 586349e7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x27F0: [662,156,1033,69,965], // UPWARDS QUADRUPLE ARROW - 0x27F1: [662,156,1033,69,965], // DOWNWARDS QUADRUPLE ARROW - 0x27F2: [626,116,974,54,882], // ANTICLOCKWISE GAPPED CIRCLE ARROW - 0x27F3: [626,116,974,92,920], // CLOCKWISE GAPPED CIRCLE ARROW - 0x27F4: [569,61,1200,52,1147], // RIGHT ARROW WITH CIRCLED PLUS - 0x27FD: [551,45,1574,55,1519], // LONG LEFTWARDS DOUBLE ARROW FROM BAR - 0x27FE: [551,45,1574,55,1519], // LONG RIGHTWARDS DOUBLE ARROW FROM BAR - 0x27FF: [449,-58,1574,55,1519] // LONG RIGHTWARDS SQUIGGLE ARROW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SupplementalArrowsA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js deleted file mode 100644 index f5e5cee9..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +++ /dev/null @@ -1,155 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x2900: [450,-57,926,56,871], // RIGHTWARDS TWO-HEADED ARROW WITH VERTICAL STROKE - 0x2901: [450,-57,926,55,871], // RIGHTWARDS TWO-HEADED ARROW WITH DOUBLE VERTICAL STROKE - 0x2902: [551,45,926,55,871], // LEFTWARDS DOUBLE ARROW WITH VERTICAL STROKE - 0x2903: [551,45,926,55,871], // RIGHTWARDS DOUBLE ARROW WITH VERTICAL STROKE - 0x2904: [551,45,926,20,906], // LEFT RIGHT DOUBLE ARROW WITH VERTICAL STROKE - 0x2905: [450,-57,926,55,871], // RIGHTWARDS TWO-HEADED ARROW FROM BAR - 0x2906: [551,45,926,55,871], // LEFTWARDS DOUBLE ARROW FROM BAR - 0x2907: [551,45,926,55,871], // RIGHTWARDS DOUBLE ARROW FROM BAR - 0x2908: [662,156,511,59,452], // DOWNWARDS ARROW WITH HORIZONTAL STROKE - 0x2909: [662,156,511,59,452], // UPWARDS ARROW WITH HORIZONTAL STROKE - 0x290A: [662,156,926,71,854], // UPWARDS TRIPLE ARROW - 0x290B: [662,156,926,72,855], // DOWNWARDS TRIPLE ARROW - 0x290C: [449,-57,926,55,871], // LEFTWARDS DOUBLE DASH ARROW - 0x290D: [449,-57,926,55,871], // RIGHTWARDS DOUBLE DASH ARROW - 0x290E: [449,-57,926,55,871], // LEFTWARDS TRIPLE DASH ARROW - 0x290F: [449,-57,926,55,871], // RIGHTWARDS TRIPLE DASH ARROW - 0x2910: [449,-57,1412,55,1357], // RIGHTWARDS TWO-HEADED TRIPLE DASH ARROW - 0x2911: [449,-57,926,55,873], // RIGHTWARDS ARROW WITH DOTTED STEM - 0x2912: [662,156,511,59,452], // UPWARDS ARROW TO BAR - 0x2913: [662,156,511,59,452], // DOWNWARDS ARROW TO BAR - 0x2914: [450,-57,926,55,871], // RIGHTWARDS ARROW WITH TAIL WITH VERTICAL STROKE - 0x2915: [450,-57,926,55,871], // RIGHTWARDS ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE - 0x2916: [449,-57,926,55,871], // RIGHTWARDS TWO-HEADED ARROW WITH TAIL - 0x2917: [450,-57,926,55,871], // RIGHTWARDS TWO-HEADED ARROW WITH TAIL WITH VERTICAL STROKE - 0x2918: [450,-57,926,50,876], // RIGHTWARDS TWO-HEADED ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE - 0x2919: [449,-57,926,55,871], // LEFTWARDS ARROW-TAIL - 0x291A: [449,-57,926,55,871], // RIGHTWARDS ARROW-TAIL - 0x291B: [449,-57,926,55,871], // LEFTWARDS DOUBLE ARROW-TAIL - 0x291C: [449,-57,926,55,871], // RIGHTWARDS DOUBLE ARROW-TAIL - 0x291D: [449,-57,926,55,871], // LEFTWARDS ARROW TO BLACK DIAMOND - 0x291E: [449,-57,926,55,871], // RIGHTWARDS ARROW TO BLACK DIAMOND - 0x291F: [450,-57,926,55,871], // LEFTWARDS ARROW FROM BAR TO BLACK DIAMOND - 0x2920: [450,-57,926,55,871], // RIGHTWARDS ARROW FROM BAR TO BLACK DIAMOND - 0x2921: [662,156,926,55,871], // NORTH WEST AND SOUTH EAST ARROW - 0x2922: [660,156,926,55,873], // NORTH EAST AND SOUTH WEST ARROW - 0x2923: [662,156,926,55,871], // NORTH WEST ARROW WITH HOOK - 0x2924: [662,156,926,55,871], // NORTH EAST ARROW WITH HOOK - 0x2925: [662,156,926,55,871], // SOUTH EAST ARROW WITH HOOK - 0x2926: [662,156,926,55,871], // SOUTH WEST ARROW WITH HOOK - 0x2927: [662,156,926,55,873], // NORTH WEST ARROW AND NORTH EAST ARROW - 0x2928: [662,156,926,53,871], // NORTH EAST ARROW AND SOUTH EAST ARROW - 0x2929: [662,156,926,53,871], // SOUTH EAST ARROW AND SOUTH WEST ARROW - 0x292A: [662,156,926,55,873], // SOUTH WEST ARROW AND NORTH WEST ARROW - 0x292B: [662,156,926,55,871], // RISING DIAGONAL CROSSING FALLING DIAGONAL - 0x292C: [662,156,926,55,871], // FALLING DIAGONAL CROSSING RISING DIAGONAL - 0x292D: [662,156,926,55,871], // SOUTH EAST ARROW CROSSING NORTH EAST ARROW - 0x292E: [662,156,926,55,871], // NORTH EAST ARROW CROSSING SOUTH EAST ARROW - 0x292F: [662,156,926,55,871], // FALLING DIAGONAL CROSSING NORTH EAST ARROW - 0x2930: [662,154,926,55,873], // RISING DIAGONAL CROSSING SOUTH EAST ARROW - 0x2931: [662,156,926,54,870], // NORTH EAST ARROW CROSSING NORTH WEST ARROW - 0x2932: [662,156,926,55,871], // NORTH WEST ARROW CROSSING NORTH EAST ARROW - 0x2933: [449,-57,926,55,871], // WAVE ARROW POINTING DIRECTLY RIGHT - 0x2934: [562,0,926,141,797], // ARROW POINTING RIGHTWARDS THEN CURVING UPWARDS - 0x2935: [562,0,926,141,797], // ARROW POINTING RIGHTWARDS THEN CURVING DOWNWARDS - 0x2936: [493,163,784,87,649], // ARROW POINTING DOWNWARDS THEN CURVING LEFTWARDS - 0x2937: [493,163,784,135,697], // ARROW POINTING DOWNWARDS THEN CURVING RIGHTWARDS - 0x2938: [657,153,511,70,415], // RIGHT-SIDE ARC CLOCKWISE ARROW - 0x2939: [657,153,511,96,441], // LEFT-SIDE ARC ANTICLOCKWISE ARROW - 0x293A: [423,-78,926,69,866], // TOP ARC ANTICLOCKWISE ARROW - 0x293B: [423,-78,926,60,857], // BOTTOM ARC ANTICLOCKWISE ARROW - 0x293C: [423,-64,926,59,856], // TOP ARC CLOCKWISE ARROW WITH MINUS - 0x293D: [423,29,926,69,866], // TOP ARC ANTICLOCKWISE ARROW WITH PLUS - 0x293E: [563,116,926,69,856], // LOWER RIGHT SEMICIRCULAR CLOCKWISE ARROW - 0x293F: [563,116,926,69,856], // LOWER LEFT SEMICIRCULAR ANTICLOCKWISE ARROW - 0x2940: [788,116,926,92,834], // ANTICLOCKWISE CLOSED CIRCLE ARROW - 0x2941: [788,116,926,92,834], // CLOCKWISE CLOSED CIRCLE ARROW - 0x2942: [598,92,926,55,871], // RIGHTWARDS ARROW ABOVE SHORT LEFTWARDS ARROW - 0x2943: [598,92,926,55,871], // LEFTWARDS ARROW ABOVE SHORT RIGHTWARDS ARROW - 0x2944: [598,92,926,55,871], // SHORT RIGHTWARDS ARROW ABOVE LEFTWARDS ARROW - 0x2945: [449,69,926,55,871], // RIGHTWARDS ARROW WITH PLUS BELOW - 0x2946: [449,69,926,55,871], // LEFTWARDS ARROW WITH PLUS BELOW - 0x2947: [449,-57,926,55,871], // RIGHTWARDS ARROW THROUGH X - 0x2948: [449,-57,926,38,888], // LEFT RIGHT ARROW THROUGH SMALL CIRCLE - 0x2949: [662,154,511,60,451], // UPWARDS TWO-HEADED ARROW FROM SMALL CIRCLE - 0x294A: [439,-67,926,38,888], // LEFT BARB UP RIGHT BARB DOWN HARPOON - 0x294B: [439,-67,926,38,888], // LEFT BARB DOWN RIGHT BARB UP HARPOON - 0x294C: [662,156,511,69,441], // UP BARB RIGHT DOWN BARB LEFT HARPOON - 0x294D: [662,156,511,69,441], // UP BARB LEFT DOWN BARB RIGHT HARPOON - 0x294E: [439,-220,926,38,888], // LEFT BARB UP RIGHT BARB UP HARPOON - 0x294F: [662,156,511,222,441], // UP BARB RIGHT DOWN BARB RIGHT HARPOON - 0x2950: [286,-67,926,38,888], // LEFT BARB DOWN RIGHT BARB DOWN HARPOON - 0x2951: [662,156,511,69,288], // UP BARB LEFT DOWN BARB LEFT HARPOON - 0x2952: [448,-58,926,55,871], // LEFTWARDS HARPOON WITH BARB UP TO BAR - 0x2953: [448,-58,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP TO BAR - 0x2954: [662,156,511,60,451], // UPWARDS HARPOON WITH BARB RIGHT TO BAR - 0x2955: [662,156,511,60,451], // DOWNWARDS HARPOON WITH BARB RIGHT TO BAR - 0x2956: [448,-58,926,55,871], // LEFTWARDS HARPOON WITH BARB DOWN TO BAR - 0x2957: [448,-58,926,55,871], // RIGHTWARDS HARPOON WITH BARB DOWN TO BAR - 0x2958: [662,156,511,60,451], // UPWARDS HARPOON WITH BARB LEFT TO BAR - 0x2959: [662,156,511,60,451], // DOWNWARDS HARPOON WITH BARB LEFT TO BAR - 0x295A: [448,-58,926,55,871], // LEFTWARDS HARPOON WITH BARB UP FROM BAR - 0x295B: [448,-58,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP FROM BAR - 0x295C: [662,156,511,60,451], // UPWARDS HARPOON WITH BARB RIGHT FROM BAR - 0x295D: [662,156,511,60,451], // DOWNWARDS HARPOON WITH BARB RIGHT FROM BAR - 0x295E: [448,-58,926,55,871], // LEFTWARDS HARPOON WITH BARB DOWN FROM BAR - 0x295F: [448,-58,926,55,871], // RIGHTWARDS HARPOON WITH BARB DOWN FROM BAR - 0x2960: [662,156,511,59,450], // UPWARDS HARPOON WITH BARB LEFT FROM BAR - 0x2961: [662,156,511,59,450], // DOWNWARDS HARPOON WITH BARB LEFT FROM BAR - 0x2962: [539,33,926,55,871], // LEFTWARDS HARPOON WITH BARB UP ABOVE LEFTWARDS HARPOON WITH BARB DOWN - 0x2963: [662,156,685,57,629], // UPWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON WITH BARB RIGHT - 0x2964: [539,33,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP ABOVE RIGHTWARDS HARPOON WITH BARB DOWN - 0x2965: [662,156,685,57,629], // DOWNWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON WITH BARB RIGHT - 0x2966: [539,-120,926,55,871], // LEFTWARDS HARPOON WITH BARB UP ABOVE RIGHTWARDS HARPOON WITH BARB UP - 0x2967: [386,33,926,55,871], // LEFTWARDS HARPOON WITH BARB DOWN ABOVE RIGHTWARDS HARPOON WITH BARB DOWN - 0x2968: [539,-120,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP ABOVE LEFTWARDS HARPOON WITH BARB UP - 0x2969: [386,33,926,55,871], // RIGHTWARDS HARPOON WITH BARB DOWN ABOVE LEFTWARDS HARPOON WITH BARB DOWN - 0x296A: [539,-120,926,55,871], // LEFTWARDS HARPOON WITH BARB UP ABOVE LONG DASH - 0x296B: [386,33,926,55,871], // LEFTWARDS HARPOON WITH BARB DOWN BELOW LONG DASH - 0x296C: [539,-120,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP ABOVE LONG DASH - 0x296D: [386,33,926,55,871], // RIGHTWARDS HARPOON WITH BARB DOWN BELOW LONG DASH - 0x296E: [662,156,685,57,629], // UPWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON WITH BARB RIGHT - 0x296F: [662,156,685,57,629], // DOWNWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON WITH BARB RIGHT - 0x2970: [386,-120,926,55,871], // RIGHT DOUBLE ARROW WITH ROUNDED HEAD - 0x2971: [565,-57,926,55,871], // EQUALS SIGN ABOVE RIGHTWARDS ARROW - 0x2972: [508,-57,926,55,871], // TILDE OPERATOR ABOVE RIGHTWARDS ARROW - 0x2973: [449,2,926,55,871], // LEFTWARDS ARROW ABOVE TILDE OPERATOR - 0x2974: [449,2,926,55,871], // RIGHTWARDS ARROW ABOVE TILDE OPERATOR - 0x2975: [449,141,926,55,871], // RIGHTWARDS ARROW ABOVE ALMOST EQUAL TO - 0x2976: [607,283,685,64,621], // LESS-THAN ABOVE LEFTWARDS ARROW - 0x2977: [532,26,926,45,871], // LEFTWARDS ARROW THROUGH LESS-THAN - 0x2978: [608,282,685,64,621], // GREATER-THAN ABOVE RIGHTWARDS ARROW - 0x2979: [627,262,685,64,621], // SUBSET ABOVE RIGHTWARDS ARROW - 0x297A: [532,26,926,45,871], // LEFTWARDS ARROW THROUGH SUBSET - 0x297B: [627,262,685,63,620], // SUPERSET ABOVE LEFTWARDS ARROW - 0x297C: [511,5,926,135,791], // LEFT FISH TAIL - 0x297D: [511,5,926,135,791], // RIGHT FISH TAIL - 0x297E: [581,75,685,84,600], // UP FISH TAIL - 0x297F: [581,75,685,84,600] // DOWN FISH TAIL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SupplementalArrowsB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js deleted file mode 100644 index a5b2440a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], - { - 0x1D6A4: [441,11,278,47,235], // MATHEMATICAL ITALIC SMALL DOTLESS I - 0x1D6A5: [441,207,278,-124,246] // MATHEMATICAL ITALIC SMALL DOTLESS J - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/ij.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js deleted file mode 100644 index 2d5e8885..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +++ /dev/null @@ -1,55 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsD-bold'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222B: [2000,269,686,56,1136], // INTEGRAL - 0x222C: [2000,269,1084,56,1534], // DOUBLE INTEGRAL - 0x222D: [2000,269,1482,56,1932], // TRIPLE INTEGRAL - 0x222E: [2000,269,736,56,1136], // CONTOUR INTEGRAL - 0x222F: [2000,269,1134,56,1534], // SURFACE INTEGRAL - 0x2230: [2000,269,1532,56,1932], // VOLUME INTEGRAL - 0x2231: [2000,269,736,56,1136], // CLOCKWISE INTEGRAL - 0x2232: [2000,269,736,56,1136], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [2000,269,736,56,1136], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0C: [2000,269,1880,56,2330], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [2000,269,736,56,1136], // FINITE PART INTEGRAL - 0x2A0E: [2000,269,736,56,1136], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [2000,269,736,56,1136], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [2000,269,736,56,1136], // CIRCULATION FUNCTION - 0x2A11: [2000,269,736,56,1136], // ANTICLOCKWISE INTEGRATION - 0x2A12: [2000,269,836,56,1136], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [2000,269,736,56,1136], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [2000,269,926,56,1136], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [2000,269,736,56,1136], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [2000,269,836,56,1136], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [2000,269,911,24,1131], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [2000,269,736,56,1136], // INTEGRAL WITH TIMES SIGN - 0x2A19: [2000,269,836,56,1136], // INTEGRAL WITH INTERSECTION - 0x2A1A: [2000,269,836,56,1136], // INTEGRAL WITH UNION - 0x2A1B: [2182,269,746,56,1146], // INTEGRAL WITH OVERBAR - 0x2A1C: [2000,451,696,56,1146] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsD/Bold/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js deleted file mode 100644 index c09ab19f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +++ /dev/null @@ -1,54 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsD'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222C: [2000,269,895,56,1345], // DOUBLE INTEGRAL - 0x222D: [2000,269,1205,56,1655], // TRIPLE INTEGRAL - 0x222F: [2000,269,945,56,1345], // SURFACE INTEGRAL - 0x2230: [2000,269,1255,56,1655], // VOLUME INTEGRAL - 0x2231: [2000,269,635,56,1035], // CLOCKWISE INTEGRAL - 0x2232: [2000,269,635,56,1035], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [2000,269,635,56,1035], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0B: [2000,269,914,56,1035], // SUMMATION WITH INTEGRAL - 0x2A0C: [2000,269,1515,56,1965], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [2000,269,635,56,1035], // FINITE PART INTEGRAL - 0x2A0E: [2000,269,635,56,1035], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [2000,269,635,56,1035], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [2000,269,635,56,1035], // CIRCULATION FUNCTION - 0x2A11: [2000,269,635,56,1035], // ANTICLOCKWISE INTEGRATION - 0x2A12: [2000,269,735,56,1035], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [2000,269,635,56,1035], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [2000,269,844,56,1054], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [2000,269,635,56,1035], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [2000,269,735,56,1035], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [2000,269,819,24,1039], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [2000,269,635,56,1035], // INTEGRAL WITH TIMES SIGN - 0x2A19: [2000,269,735,56,1035], // INTEGRAL WITH INTERSECTION - 0x2A1A: [2000,269,735,56,1035], // INTEGRAL WITH UNION - 0x2A1B: [2157,269,636,56,1036], // INTEGRAL WITH OVERBAR - 0x2A1C: [2000,426,585,56,1035] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsD/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js deleted file mode 100644 index c4179efc..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsD'] = { - directory: 'IntegralsD/Regular', - family: 'STIXIntegralsD', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0x222B,0x2233,"All"], - [0x2A0B,0x2A1C,"All"] - ], - 0x222B: [2000,269,585,56,1035], // INTEGRAL - 0x222E: [2000,269,635,56,1035] // CONTOUR INTEGRAL -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsD"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsD/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js deleted file mode 100644 index 2c29c2e2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +++ /dev/null @@ -1,55 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsSm-bold'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222B: [732,193,562,41,618], // INTEGRAL - 0x222C: [732,193,870,41,926], // DOUBLE INTEGRAL - 0x222D: [732,193,1179,41,1235], // TRIPLE INTEGRAL - 0x222E: [732,193,626,41,618], // CONTOUR INTEGRAL - 0x222F: [732,193,934,41,926], // SURFACE INTEGRAL - 0x2230: [732,193,1243,41,1235], // VOLUME INTEGRAL - 0x2231: [732,193,626,41,618], // CLOCKWISE INTEGRAL - 0x2232: [732,193,626,41,618], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [732,193,626,41,618], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0C: [732,193,1488,41,1544], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [732,193,578,41,618], // FINITE PART INTEGRAL - 0x2A0E: [732,193,578,41,618], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [732,193,626,41,618], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [732,193,562,41,618], // CIRCULATION FUNCTION - 0x2A11: [732,193,626,41,618], // ANTICLOCKWISE INTEGRATION - 0x2A12: [732,193,579,41,618], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [732,193,581,41,618], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [732,193,688,41,652], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [732,193,626,41,618], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [732,193,579,41,618], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [732,193,646,8,646], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [732,193,578,41,618], // INTEGRAL WITH TIMES SIGN - 0x2A19: [732,193,559,41,618], // INTEGRAL WITH INTERSECTION - 0x2A1A: [732,193,559,41,618], // INTEGRAL WITH UNION - 0x2A1B: [802,193,555,41,611], // INTEGRAL WITH OVERBAR - 0x2A1C: [732,268,556,41,612] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsSm/Bold/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js deleted file mode 100644 index 5d01384e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +++ /dev/null @@ -1,54 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsSm'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222C: [690,189,726,41,782], // DOUBLE INTEGRAL - 0x222D: [690,189,956,41,1012], // TRIPLE INTEGRAL - 0x222F: [690,189,790,41,782], // SURFACE INTEGRAL - 0x2230: [690,189,1020,41,1012], // VOLUME INTEGRAL - 0x2231: [690,189,560,41,552], // CLOCKWISE INTEGRAL - 0x2232: [690,189,560,41,552], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [690,189,560,41,552], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0B: [694,190,593,41,552], // SUMMATION WITH INTEGRAL - 0x2A0C: [695,189,1152,41,1242], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [694,190,512,41,552], // FINITE PART INTEGRAL - 0x2A0E: [693,190,512,41,552], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [694,190,560,41,552], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [694,190,496,41,552], // CIRCULATION FUNCTION - 0x2A11: [695,189,560,41,552], // ANTICLOCKWISE INTEGRATION - 0x2A12: [694,191,513,41,552], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [694,190,512,41,552], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [694,190,635,41,597], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [694,190,512,43,552], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [695,189,512,41,552], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [694,190,613,13,586], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [695,189,512,41,552], // INTEGRAL WITH TIMES SIGN - 0x2A19: [694,190,512,40,551], // INTEGRAL WITH INTERSECTION - 0x2A1A: [694,190,512,40,551], // INTEGRAL WITH UNION - 0x2A1B: [784,190,462,41,552], // INTEGRAL WITH OVERBAR - 0x2A1C: [694,284,496,41,552] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsSm/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js deleted file mode 100644 index 57f67d2f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsSm'] = { - directory: 'IntegralsSm/Regular', - family: 'STIXIntegralsSm', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0x222B,0x2233,"All"], - [0x2A0B,0x2A1C,"All"] - ], - 0x222B: [690,189,496,41,552], // INTEGRAL - 0x222E: [690,189,560,41,552] // CONTOUR INTEGRAL -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsSm"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsSm/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js deleted file mode 100644 index 3a1feb05..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +++ /dev/null @@ -1,55 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUp-bold'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222B: [824,320,425,59,467], // INTEGRAL - 0x222C: [824,320,715,59,757], // DOUBLE INTEGRAL - 0x222D: [824,320,1005,59,1047], // TRIPLE INTEGRAL - 0x222E: [834,310,394,35,483], // CONTOUR INTEGRAL - 0x222F: [824,320,650,35,739], // SURFACE INTEGRAL - 0x2230: [824,320,951,54,1047], // VOLUME INTEGRAL - 0x2231: [824,320,484,54,553], // CLOCKWISE INTEGRAL - 0x2232: [824,320,445,35,534], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [824,320,456,35,545], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0C: [824,320,1295,59,1337], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [824,320,511,59,553], // FINITE PART INTEGRAL - 0x2A0E: [824,320,511,59,553], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [824,320,592,59,634], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [824,320,385,35,474], // CIRCULATION FUNCTION - 0x2A11: [824,320,484,54,553], // ANTICLOCKWISE INTEGRATION - 0x2A12: [824,320,417,35,486], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [824,320,424,54,493], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [824,320,535,54,604], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [824,320,416,35,505], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [824,320,459,35,528], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [824,320,824,45,884], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [824,320,527,45,587], // INTEGRAL WITH TIMES SIGN - 0x2A19: [824,320,567,45,632], // INTEGRAL WITH INTERSECTION - 0x2A1A: [824,320,567,45,632], // INTEGRAL WITH UNION - 0x2A1B: [959,320,479,45,521], // INTEGRAL WITH OVERBAR - 0x2A1C: [824,455,411,35,511] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUp/Bold/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js deleted file mode 100644 index d55e4f76..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +++ /dev/null @@ -1,54 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUp'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222C: [824,320,596,59,638], // DOUBLE INTEGRAL - 0x222D: [824,320,826,59,868], // TRIPLE INTEGRAL - 0x222F: [824,320,548,35,637], // SURFACE INTEGRAL - 0x2230: [824,320,876,54,972], // VOLUME INTEGRAL - 0x2231: [824,320,478,54,547], // CLOCKWISE INTEGRAL - 0x2232: [824,320,441,35,530], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [824,320,475,35,564], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0B: [812,332,706,43,661], // SUMMATION WITH INTEGRAL - 0x2A0C: [812,332,1093,59,1135], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [812,332,467,59,509], // FINITE PART INTEGRAL - 0x2A0E: [812,332,467,59,509], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [812,332,529,59,571], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [812,332,346,35,435], // CIRCULATION FUNCTION - 0x2A11: [812,332,478,54,547], // ANTICLOCKWISE INTEGRATION - 0x2A12: [812,332,365,35,434], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [812,332,384,54,453], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [812,332,509,54,578], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [812,332,396,35,485], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [812,332,412,31,481], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [812,332,771,45,831], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [812,332,455,45,515], // INTEGRAL WITH TIMES SIGN - 0x2A19: [812,332,504,45,569], // INTEGRAL WITH INTERSECTION - 0x2A1A: [812,332,504,45,569], // INTEGRAL WITH UNION - 0x2A1B: [935,332,453,45,495], // INTEGRAL WITH OVERBAR - 0x2A1C: [812,455,376,59,509] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUp/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js deleted file mode 100644 index b4b13d43..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUp'] = { - directory: 'IntegralsUp/Regular', - family: 'STIXIntegralsUp', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0x222B,0x2233,"All"], - [0x2A0B,0x2A1C,"All"] - ], - 0x222B: [824,320,366,59,408], // INTEGRAL - 0x222E: [824,320,397,35,486] // CONTOUR INTEGRAL -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsUp"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUp/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js deleted file mode 100644 index 5485e182..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +++ /dev/null @@ -1,55 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpD-bold'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222B: [2000,269,515,58,560], // INTEGRAL - 0x222C: [2000,269,875,58,920], // DOUBLE INTEGRAL - 0x222D: [2000,269,1239,59,1281], // TRIPLE INTEGRAL - 0x222E: [2000,269,626,56,695], // CONTOUR INTEGRAL - 0x222F: [2000,269,1039,39,1039], // SURFACE INTEGRAL - 0x2230: [2000,269,1384,36,1395], // VOLUME INTEGRAL - 0x2231: [2000,269,632,47,760], // CLOCKWISE INTEGRAL - 0x2232: [2000,269,639,56,769], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [2000,269,598,56,778], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0C: [2000,269,1595,58,1640], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [2000,269,552,-35,590], // FINITE PART INTEGRAL - 0x2A0E: [2000,269,642,35,680], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [2000,269,675,25,752], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [2000,269,640,56,646], // CIRCULATION FUNCTION - 0x2A11: [2000,269,632,47,760], // ANTICLOCKWISE INTEGRATION - 0x2A12: [2000,269,625,58,654], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [2000,269,557,58,626], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [2000,269,708,58,789], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [2000,269,626,56,695], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [2000,269,718,56,747], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [2000,269,963,24,1057], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [2000,269,681,62,692], // INTEGRAL WITH TIMES SIGN - 0x2A19: [2000,269,832,65,898], // INTEGRAL WITH INTERSECTION - 0x2A1A: [2000,269,832,65,898], // INTEGRAL WITH UNION - 0x2A1B: [2182,269,733,0,773], // INTEGRAL WITH OVERBAR - 0x2A1C: [2000,451,525,58,831] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpD/Bold/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js deleted file mode 100644 index cb3ae0cc..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +++ /dev/null @@ -1,54 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpD'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222C: [2000,269,787,58,832], // DOUBLE INTEGRAL - 0x222D: [2000,269,1107,58,1152], // TRIPLE INTEGRAL - 0x222F: [2000,269,849,39,849], // SURFACE INTEGRAL - 0x2230: [2000,269,1161,36,1172], // VOLUME INTEGRAL - 0x2231: [2000,269,608,47,736], // CLOCKWISE INTEGRAL - 0x2232: [2000,269,616,56,746], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [2000,269,605,56,785], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0B: [2000,269,914,58,856], // SUMMATION WITH INTEGRAL - 0x2A0C: [2000,269,1397,58,1442], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [2000,269,609,35,647], // FINITE PART INTEGRAL - 0x2A0E: [1999,270,609,35,647], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [1999,270,658,25,734], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [2000,269,629,56,635], // CIRCULATION FUNCTION - 0x2A11: [2000,269,608,47,736], // ANTICLOCKWISE INTEGRATION - 0x2A12: [2000,269,568,58,597], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [2000,269,530,58,599], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [2000,269,695,58,776], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [2000,269,615,56,684], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [2000,269,653,56,682], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [2000,269,945,24,1039], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [2000,269,597,62,608], // INTEGRAL WITH TIMES SIGN - 0x2A19: [2000,269,735,65,801], // INTEGRAL WITH INTERSECTION - 0x2A1A: [2000,269,735,65,801], // INTEGRAL WITH UNION - 0x2A1B: [2157,269,701,0,741], // INTEGRAL WITH OVERBAR - 0x2A1C: [2000,426,467,58,799] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpD/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js deleted file mode 100644 index 04741a8f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpD'] = { - directory: 'IntegralsUpD/Regular', - family: 'STIXIntegralsUpD', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0x222B,0x2233,"All"], - [0x2A0B,0x2A1C,"All"] - ], - 0x222B: [2000,269,467,58,512], // INTEGRAL - 0x222E: [2000,269,616,56,685] // CONTOUR INTEGRAL -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsUpD"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpD/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js deleted file mode 100644 index 91793ed2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +++ /dev/null @@ -1,55 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpSm-bold'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222B: [732,193,396,52,414], // INTEGRAL - 0x222C: [732,193,666,52,684], // DOUBLE INTEGRAL - 0x222D: [732,193,936,52,954], // TRIPLE INTEGRAL - 0x222E: [732,193,466,52,426], // CONTOUR INTEGRAL - 0x222F: [732,193,736,52,696], // SURFACE INTEGRAL - 0x2230: [732,193,998,52,965], // VOLUME INTEGRAL - 0x2231: [732,193,501,52,468], // CLOCKWISE INTEGRAL - 0x2232: [732,193,501,52,469], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [732,193,496,52,486], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0C: [732,193,1206,52,1224], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [732,193,450,52,420], // FINITE PART INTEGRAL - 0x2A0E: [732,193,450,52,420], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [732,193,550,40,518], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [732,193,479,52,447], // CIRCULATION FUNCTION - 0x2A11: [732,193,511,52,478], // ANTICLOCKWISE INTEGRATION - 0x2A12: [732,193,489,52,449], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [732,193,487,52,447], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [732,193,572,52,534], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [732,193,520,52,480], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [732,193,523,52,483], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [732,193,600,8,646], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [733,192,505,31,467], // INTEGRAL WITH TIMES SIGN - 0x2A19: [732,193,516,52,476], // INTEGRAL WITH INTERSECTION - 0x2A1A: [732,193,516,52,476], // INTEGRAL WITH UNION - 0x2A1B: [802,193,403,40,428], // INTEGRAL WITH OVERBAR - 0x2A1C: [732,268,411,52,440] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpSm/Bold/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js deleted file mode 100644 index 3cc25b1e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +++ /dev/null @@ -1,54 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpSm'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x222C: [690,189,587,52,605], // DOUBLE INTEGRAL - 0x222D: [690,189,817,52,835], // TRIPLE INTEGRAL - 0x222F: [690,189,682,52,642], // SURFACE INTEGRAL - 0x2230: [690,189,909,52,869], // VOLUME INTEGRAL - 0x2231: [690,189,480,52,447], // CLOCKWISE INTEGRAL - 0x2232: [690,189,480,52,448], // CLOCKWISE CONTOUR INTEGRAL - 0x2233: [690,189,480,52,470], // ANTICLOCKWISE CONTOUR INTEGRAL - 0x2A0B: [694,190,556,41,515], // SUMMATION WITH INTEGRAL - 0x2A0C: [694,190,1044,68,1081], // QUADRUPLE INTEGRAL OPERATOR - 0x2A0D: [694,190,420,68,391], // FINITE PART INTEGRAL - 0x2A0E: [694,190,420,68,391], // INTEGRAL WITH DOUBLE STROKE - 0x2A0F: [694,190,520,39,482], // INTEGRAL AVERAGE WITH SLASH - 0x2A10: [694,190,324,41,380], // CIRCULATION FUNCTION - 0x2A11: [694,190,480,52,447], // ANTICLOCKWISE INTEGRATION - 0x2A12: [694,190,450,68,410], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE - 0x2A13: [690,189,450,68,412], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE - 0x2A14: [690,189,550,68,512], // LINE INTEGRATION NOT INCLUDING THE POLE - 0x2A15: [690,189,450,50,410], // INTEGRAL AROUND A POINT OPERATOR - 0x2A16: [694,191,450,50,410], // QUATERNION INTEGRAL OPERATOR - 0x2A17: [694,190,611,12,585], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK - 0x2A18: [694,190,450,48,412], // INTEGRAL WITH TIMES SIGN - 0x2A19: [694,190,450,59,403], // INTEGRAL WITH INTERSECTION - 0x2A1A: [694,190,450,59,403], // INTEGRAL WITH UNION - 0x2A1B: [784,189,379,68,416], // INTEGRAL WITH OVERBAR - 0x2A1C: [690,283,357,52,400] // INTEGRAL WITH UNDERBAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpSm/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js deleted file mode 100644 index 44ff5e53..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpSm'] = { - directory: 'IntegralsUpSm/Regular', - family: 'STIXIntegralsUpSm', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0x222B,0x2233,"All"], - [0x2A0B,0x2A1C,"All"] - ], - 0x222B: [690,189,357,52,375], // INTEGRAL - 0x222E: [690,189,452,52,412] // CONTOUR INTEGRAL -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsUpSm"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpSm/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js deleted file mode 100644 index 5678d380..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0] // NO-BREAK SPACE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Bold/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js deleted file mode 100644 index 6fb7e2b7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold'] = { - directory: 'NonUnicode/Bold', - family: 'STIXNonUnicode', - weight: 'bold', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0xE000,0xF8FF,"PrivateUse"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXNonUnicode-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js deleted file mode 100644 index 4d1cadd2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +++ /dev/null @@ -1,182 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold'], - { - 0xE000: [610,25,1184,808,912], // stix-radical symbol vertical extender - 0xE001: [704,-75,1198,808,1224], // stix-radical symbol top corner piece - 0xE00E: [819,339,750,80,670], // stix-not greater, double equals - 0xE00F: [742,235,750,80,670], // stix-not greater-or-equal, slanted - 0xE010: [742,235,750,80,670], // stix-not less-or-equal, slanted - 0xE011: [819,339,750,80,670], // stix-not less, double equals - 0xE023: [742,235,750,68,683], // stix-not congruent, dot - 0xE025: [852,345,750,67,683], // stix-not approximately equal or equal to - 0xE028: [672,166,1000,38,961], // stix-not much less than - 0xE029: [672,166,1000,38,961], // stix-not much greater than - 0xE037: [672,166,750,67,682], // stix-reverse not equal - 0xE04D: [553,47,750,68,683], // stix-not, vert, equal or similar - 0xE050: [672,166,750,87,663], // stix-not, square subset - 0xE051: [672,166,750,87,663], // stix-not, square superset - 0xE052: [574,69,750,68,683], // stix-not bumpy equals - 0xE05B: [574,-16,750,68,683], // stix-not bumpy single equals - 0xE05C: [553,31,750,68,683], // stix-not equal or similar - 0xE05E: [762,-565,0,95,425], // stix-double macron - 0xE060: [-137,322,0,0,330], // stix-double underbar - 0xE061: [-137,437,0,0,330], // stix-triple underbar - 0xE062: [-137,552,0,0,330], // stix-quadruple underbar - 0xE064: [837,-565,333,-16,349], // stix-tilde over bar over - 0xE065: [-137,409,0,-16,349], // stix-straight over wavy underline - 0xE066: [801,-565,0,91,430], // stix-double dot over bar over - 0xE067: [-137,409,0,-16,349], // stix-wavy over straight underline - 0xE06D: [835,113,750,82,668], // stix-not equal to or member - 0xE06E: [835,113,750,82,668], // stix-not equal to or contains - 0xE06F: [835,113,750,82,668], // stix-Not (vert) equals or member - 0xE070: [835,113,750,82,668], // stix-not (vert) equals or contains - 0xE07E: [738,230,750,80,670], // stix-not (vert) less-than slanted equal - 0xE07F: [742,234,750,80,670], // stix-not (vert) greater-than slanted equal - 0xE080: [819,337,750,80,670], // stix-not (vert) less-than or two-line equal - 0xE081: [820,342,750,91,681], // stix-not (vert) greater-than or two-line equal - 0xE082: [742,235,750,80,670], // stix-not (slash) equal (slant) or less-than - 0xE083: [742,234,750,80,670], // stix-not (slash) equal (slant) or greater-than - 0xE084: [738,230,750,80,670], // stix-not (vert) equals (slant) or less-than - 0xE085: [742,234,750,80,670], // stix-not (vert) equals (slant) or greater-than - 0xE0A1: [691,19,769,27,734], // stix-capital C with stroke - 0xE0B0: [752,-531,0,100,417], // stix-left overangle (combining) - 0xE0B1: [-50,271,0,100,417], // stix-left underangle (combining) - 0xE0B2: [-50,271,0,99,416], // stix-right underangle (combining) - 0xE0B3: [691,203,556,14,487], // stix-small fj ligature - 0xE0B4: [555,-209,282,42,239], // stix-arrow hookleft - 0xE0B5: [555,-209,282,43,240], // stix-arrow hookright - 0xE0B6: [478,-56,0,15,142], // stix-maps-to relation tail - 0xE0D8: [688,13,400,57,343], // stix-arc-degrees (degree with dot below) - 0xE0D9: [663,0,314,54,260], // stix-arc-minutes (prime with dot below) - 0xE0DA: [663,0,425,54,371], // stix-arc-seconds (double prime with dot below) - 0xE0DD: [930,0,553,76,483], // stix-days (roman d with dot below) - 0xE0DE: [926,0,549,67,482], // stix-hours (roman h with dot below) - 0xE0DF: [765,0,773,67,706], // stix-minutes (roman m with dot below) - 0xE0E0: [920,0,552,42,510], // stix-period (roman p with dot below) - 0xE0E1: [765,0,378,55,323], // stix-seconds (roman s with dot below) - 0xE0E2: [754,0,481,63,435], // stix-years (roman y with dot below) - 0xE10B: [297,-209,315,0,315], // stix-stix-extender for horizontal solid (normal) arrow - 0xE10E: [405,-101,714,211,503], // stix-extender for vertical double arrow - 0xE10F: [399,-107,315,0,315], // stix-extender for horizontal double arrow - 0xE150: [175,302,735,-40,756], // stix-horizontal brace, down left piece - 0xE151: [175,302,735,-21,775], // stix-horizontal brace, down right piece - 0xE152: [477,0,735,-40,756], // stix-horizontal brace, upper left piece - 0xE153: [477,0,735,-21,775], // stix-horizontal brace, upper right piece - 0xE263: [422,10,523,26,496], // stix-old style digit 0 - 0xE267: [425,0,523,111,420], // stix-old style digit 1 - 0xE26B: [421,0,523,53,470], // stix-old style digit 2 - 0xE26F: [424,198,523,31,478], // stix-old style digit 3 - 0xE273: [420,198,523,42,496], // stix-old style digit 4 - 0xE277: [421,198,523,49,474], // stix-old style digit 5 - 0xE27B: [614,8,523,21,502], // stix-old style digit 6 - 0xE27F: [421,198,523,8,507], // stix-old style digit 7 - 0xE283: [606,12,523,31,493], // stix-old style digit 8 - 0xE287: [421,202,523,25,499], // stix-old style digit 9 - 0xE28D: [734,-484,0,92,498], // stix-double circumflex - 0xE28F: [175,0,325,-1,326], // stix-short horizontal extender at baseline - 0xE290: [175,0,633,-1,634], // stix-long horizontal extender at baseline - 0xE2FD: [775,235,722,9,689], // stix-MATHEMATICAL BOLD CAPITAL ALPHA SLASHED - 0xE2FF: [775,235,667,16,619], // stix-MATHEMATICAL BOLD CAPITAL BETA SLASHED - 0xE301: [775,207,620,16,593], // stix-MATHEMATICAL BOLD CAPITAL GAMMA SLASHED - 0xE303: [775,207,722,33,673], // stix-MATHEMATICAL BOLD CAPITAL DELTA SLASHED - 0xE305: [775,235,667,16,641], // stix-MATHEMATICAL BOLD CAPITAL EPSILON SLASHED - 0xE307: [775,235,667,28,634], // stix-MATHEMATICAL BOLD CAPITAL ZETA SLASHED - 0xE309: [775,235,778,21,759], // stix-MATHEMATICAL BOLD CAPITAL ETA SLASHED - 0xE30B: [775,207,778,35,743], // stix-MATHEMATICAL BOLD CAPITAL THETA SLASHED - 0xE30D: [775,235,389,-36,436], // stix-MATHEMATICAL BOLD CAPITAL IOTA SLASHED - 0xE30F: [775,235,778,30,769], // stix-MATHEMATICAL BOLD CAPITAL KAPPA SLASHED - 0xE311: [775,207,707,9,674], // stix-MATHEMATICAL BOLD CAPITAL LAMBDA SLASHED - 0xE313: [775,235,944,14,921], // stix-MATHEMATICAL BOLD CAPITAL MU SLASHED - 0xE315: [775,235,722,16,701], // stix-MATHEMATICAL BOLD CAPITAL NU SLASHED - 0xE317: [775,207,647,40,607], // stix-MATHEMATICAL BOLD CAPITAL XI SLASHED - 0xE319: [775,235,778,35,743], // stix-MATHEMATICAL BOLD CAPITAL OMICRON SLASHED - 0xE31B: [775,207,778,21,759], // stix-MATHEMATICAL BOLD CAPITAL PI SLASHED - 0xE31D: [775,235,611,16,600], // stix-MATHEMATICAL BOLD CAPITAL RHO SLASHED - 0xE31F: [775,207,671,28,641], // stix-MATHEMATICAL BOLD CAPITAL SIGMA SLASHED - 0xE321: [775,235,667,31,636], // stix-MATHEMATICAL BOLD CAPITAL TAU SLASHED - 0xE323: [775,207,723,14,700], // stix-MATHEMATICAL BOLD CAPITAL UPSILON SLASHED - 0xE325: [775,207,836,18,818], // stix-MATHEMATICAL BOLD CAPITAL PHI SLASHED - 0xE327: [775,235,722,16,699], // stix-MATHEMATICAL BOLD CAPITAL CHI SLASHED - 0xE329: [775,207,804,11,793], // stix-MATHEMATICAL BOLD CAPITAL PSI SLASHED - 0xE32B: [775,207,768,28,740], // stix-MATHEMATICAL BOLD CAPITAL OMEGA SLASHED - 0xE365: [775,235,669,32,665], // stix-capital stigma, Greek slashed - 0xE369: [775,235,667,-13,670], // stix-capital digamma, Greek slashed - 0xE36D: [793,235,757,-49,758], // stix-capital koppa, Greek slashed - 0xE371: [775,235,734,27,710], // stix-capital sampi, Greek slashed - 0xE37C: [775,235,667,16,641], // stix-capital E roman bold slashed - 0xE38A: [676,0,787,50,737], // stix-mathematical bold double-struck capital A - 0xE38B: [676,0,729,75,669], // stix-mathematical bold double-struck capital B - 0xE38D: [676,0,650,75,595], // stix-mathematical bold double-struck capital E - 0xE38E: [676,0,474,75,595], // stix-mathematical bold double-struck capital F - 0xE38F: [691,19,751,45,686], // stix-mathematical bold double-struck capital G - 0xE390: [676,0,380,80,300], // stix-mathematical bold double-struck capital I - 0xE391: [676,19,618,50,548], // stix-mathematical bold double-struck capital J - 0xE392: [676,0,792,75,767], // stix-mathematical bold double-struck capital K - 0xE393: [676,0,662,70,607], // stix-mathematical bold double-struck capital L - 0xE394: [676,0,914,75,839], // stix-mathematical bold double-struck capital M - 0xE395: [691,19,787,45,742], // stix-mathematical bold double-struck capital O - 0xE396: [692,19,702,45,657], // stix-mathematical bold double-struck capital S - 0xE397: [676,0,556,25,645], // stix-mathematical bold double-struck capital T - 0xE398: [676,19,738,70,668], // ?? - 0xE399: [676,0,627,17,704], // stix-mathematical bold double-struck capital V - 0xE39A: [676,0,996,17,1015], // stix-mathematical bold double-struck capital W - 0xE39B: [676,0,794,20,769], // stix-mathematical bold double-struck capital X - 0xE39C: [676,0,652,23,739], // stix-mathematical bold double-struck capital Y - 0xE39D: [473,14,623,50,563], // stix-mathematical bold double-struck small letter a - 0xE39E: [676,14,643,60,593], // stix-mathematical bold double-struck small letter b - 0xE39F: [473,14,574,50,524], // stix-mathematical bold double-struck small letter c - 0xE3A2: [676,0,474,25,536], // stix-mathematical bold double-struck small letter f - 0xE3A3: [473,205,643,50,583], // stix-mathematical bold double-struck small letter g - 0xE3A4: [676,0,624,60,564], // stix-mathematical bold double-struck small letter h - 0xE3A7: [676,0,646,60,621], // stix-mathematical bold double-struck small letter k - 0xE3A8: [676,0,325,60,265], // stix-mathematical bold double-struck small letter l - 0xE3A9: [473,0,908,60,848], // stix-mathematical bold double-struck small letter m - 0xE3AA: [473,0,624,60,564], // stix-mathematical bold double-struck small letter n - 0xE3AB: [473,14,598,45,553], // stix-mathematical bold double-struck small letter o - 0xE3AC: [473,205,643,60,593], // stix-mathematical bold double-struck small letter p - 0xE3AD: [473,205,643,50,583], // stix-mathematical bold double-struck small letter q - 0xE3AE: [473,0,339,60,445], // stix-mathematical bold double-struck small letter r - 0xE3AF: [473,14,549,52,497], // stix-mathematical bold double-struck small letter s - 0xE3B0: [676,14,446,25,411], // stix-mathematical bold double-struck small letter t - 0xE3B1: [461,16,619,55,559], // stix-mathematical bold double-struck small letter u - 0xE3B2: [461,0,494,6,544], // stix-mathematical bold double-struck small letter v - 0xE3B3: [461,0,786,22,789], // stix-mathematical bold double-struck small letter w - 0xE3B4: [461,0,660,25,635], // stix-mathematical bold double-struck small letter x - 0xE3B5: [461,205,471,-9,537], // stix-mathematical bold double-struck small letter y - 0xE3B6: [461,0,513,40,473], // stix-mathematical bold double-struck small letter z - 0xE3B7: [681,11,525,40,482], // MATHEMATICAL MONOSPACE DIGIT ZERO - 0xE3B8: [681,0,525,90,450], // MATHEMATICAL MONOSPACE DIGIT ONE - 0xE3B9: [681,0,525,52,470], // MATHEMATICAL MONOSPACE DIGIT TWO - 0xE3BA: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT THREE - 0xE3BB: [682,0,525,29,493], // MATHEMATICAL MONOSPACE DIGIT FOUR - 0xE3BC: [670,11,525,52,470], // MATHEMATICAL MONOSPACE DIGIT FIVE - 0xE3BD: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT SIX - 0xE3BE: [686,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT SEVEN - 0xE3BF: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT EIGHT - 0xE3C0: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT NINE - 0xE3C3: [747,243,750,68,683], // stix-not (vert) almost equal or equal to - 0xE3C4: [747,243,750,68,683] // stix-not almost equal or equal to - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Bold/PrivateUse.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js deleted file mode 100644 index 125e8f75..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold-italic'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0] // NO-BREAK SPACE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/BoldItalic/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js deleted file mode 100644 index 75f109a6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold-italic'] = { - directory: 'NonUnicode/BoldItalic', - family: 'STIXNonUnicode', - weight: 'bold', - style: 'italic', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0xE000,0xF8FF,"PrivateUse"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXNonUnicode-bold-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/BoldItalic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js deleted file mode 100644 index 6cf6e3ac..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +++ /dev/null @@ -1,215 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold-italic'], - { - 0xE09C: [775,235,776,40,765], // stix-capital A italic double-slashed - 0xE09D: [775,235,759,44,779], // stix-capital E italic double-slashed - 0xE09E: [775,235,658,44,771], // stix-capital F italic double-slashed - 0xE0B3: [703,205,556,-188,517], // stix-small fj ligature - 0xE1F6: [688,13,500,89,578], // stix-Mathematical sans-serif bold italic digit 0 - 0xE1F7: [688,0,500,204,505], // stix-Mathematical sans-serif bold italic digit 1 - 0xE1F8: [688,0,500,20,581], // stix-Mathematical sans-serif bold italic digit 2 - 0xE1F9: [688,13,500,32,586], // stix-Mathematical sans-serif bold italic digit 3 - 0xE1FA: [688,0,500,55,583], // stix-Mathematical sans-serif bold italic digit 4 - 0xE1FB: [676,13,500,27,651], // stix-Mathematical sans-serif bold italic digit 5 - 0xE1FC: [688,13,500,80,638], // stix-Mathematical sans-serif bold italic digit 6 - 0xE1FD: [676,0,500,120,639], // stix-Mathematical sans-serif bold italic digit 7 - 0xE1FE: [688,13,500,63,594], // stix-Mathematical sans-serif bold italic digit 8 - 0xE1FF: [688,13,500,28,588], // stix-Mathematical sans-serif bold italic digit 9 - 0xE200: [669,0,733,7,667], // stix-mathematical bold oblique double-struck capital A - 0xE201: [669,0,729,18,714], // stix-mathematical bold oblique double-struck capital B - 0xE203: [669,0,680,18,703], // stix-mathematical bold oblique double-struck capital E - 0xE204: [669,0,474,18,703], // stix-mathematical bold oblique double-struck capital F - 0xE205: [685,14,718,35,708], // stix-mathematical bold oblique double-struck capital G - 0xE206: [669,0,382,22,411], // stix-mathematical bold oblique double-struck capital I - 0xE207: [669,14,603,19,644], // stix-mathematical bold oblique double-struck capital J - 0xE208: [669,0,766,18,766], // stix-mathematical bold oblique double-struck capital K - 0xE209: [669,0,613,18,568], // stix-mathematical bold oblique double-struck capital L - 0xE20A: [669,0,912,26,943], // stix-mathematical bold oblique double-struck capital M - 0xE20B: [685,14,749,35,734], // stix-mathematical bold oblique double-struck capital O - 0xE20C: [685,14,686,30,711], // stix-mathematical bold oblique double-struck capital S - 0xE20D: [669,0,445,30,653], // stix-mathematical bold oblique double-struck capital T - 0xE20E: [669,14,709,35,755], // stix-mathematical bold oblique double-struck capital U - 0xE20F: [669,0,504,42,705], // stix-mathematical bold oblique double-struck capital V - 0xE210: [669,0,891,81,991], // stix-mathematical bold oblique double-struck capital W - 0xE211: [669,0,759,7,832], // stix-mathematical bold oblique double-struck capital X - 0xE212: [669,0,462,10,714], // stix-mathematical bold oblique double-struck capital Y - 0xE213: [462,13,634,45,589], // stix-mathematical bold oblique double-struck small letter a - 0xE214: [699,13,661,34,619], // stix-mathematical bold oblique double-struck small letter b - 0xE215: [462,13,571,45,545], // stix-mathematical bold oblique double-struck small letter c - 0xE217: [462,13,575,45,540], // ?? - 0xE218: [699,0,438,45,618], // stix-mathematical bold oblique double-struck small letter f - 0xE219: [462,205,666,28,642], // stix-mathematical bold oblique double-struck small letter g - 0xE21A: [699,0,661,34,616], // stix-mathematical bold oblique double-struck small letter h - 0xE21D: [699,0,641,34,616], // stix-mathematical bold oblique double-struck small letter k - 0xE21E: [699,0,372,34,413], // stix-mathematical bold oblique double-struck small letter l - 0xE21F: [462,0,942,35,897], // stix-mathematical bold oblique double-struck small letter m - 0xE220: [462,0,661,34,616], // stix-mathematical bold oblique double-struck small letter n - 0xE221: [462,13,586,45,551], // stix-mathematical bold oblique double-struck small letter o - 0xE222: [462,205,680,3,645], // stix-mathematical bold oblique double-struck small letter p - 0xE223: [462,205,662,45,630], // stix-mathematical bold oblique double-struck small letter q - 0xE224: [462,0,403,33,538], // stix-mathematical bold oblique double-struck small letter r - 0xE225: [462,13,533,33,519], // stix-mathematical bold oblique double-struck small letter s - 0xE226: [676,14,403,22,422], // stix-mathematical bold oblique double-struck small letter t - 0xE227: [449,13,661,45,627], // stix-mathematical bold oblique double-struck small letter u - 0xE228: [449,0,477,32,534], // stix-mathematical bold oblique double-struck small letter v - 0xE229: [449,0,733,55,763], // stix-mathematical bold oblique double-struck small letter w - 0xE22A: [449,0,562,-12,589], // stix-mathematical bold oblique double-struck small letter x - 0xE22B: [449,205,584,-9,643], // stix-mathematical bold oblique double-struck small letter y - 0xE22C: [449,0,619,35,594], // stix-mathematical bold oblique double-struck small letter z - 0xE247: [711,47,871,38,834], // stix-mathematical bold calligraphic capital A - 0xE248: [703,10,755,33,740], // stix-mathematical bold calligraphic capital B - 0xE249: [704,12,667,36,669], // stix-mathematical bold calligraphic capital C - 0xE24A: [696,0,802,30,808], // stix-mathematical bold calligraphic capital D - 0xE24B: [704,8,609,41,626], // stix-mathematical bold calligraphic capital E - 0xE24C: [696,0,645,34,738], // stix-mathematical bold calligraphic capital F - 0xE24D: [704,144,615,43,615], // stix-mathematical bold calligraphic capital G - 0xE24E: [696,24,849,22,858], // stix-mathematical bold calligraphic capital H - 0xE24F: [696,0,621,36,623], // stix-mathematical bold calligraphic capital I - 0xE250: [695,116,645,36,811], // stix-mathematical bold calligraphic capital J - 0xE251: [703,14,856,38,820], // stix-mathematical bold calligraphic capital K - 0xE252: [704,8,726,38,688], // stix-mathematical bold calligraphic capital L - 0xE253: [705,45,1186,38,1146], // stix-mathematical bold calligraphic capital M - 0xE254: [835,39,997,36,1098], // stix-mathematical bold calligraphic capital N - 0xE255: [707,10,772,43,782], // stix-mathematical bold calligraphic capital O - 0xE256: [696,0,645,36,731], // stix-mathematical bold calligraphic capital Q - 0xE257: [704,145,778,43,737], // stix-mathematical bold calligraphic capital P - 0xE258: [697,13,869,36,831], // stix-mathematical bold calligraphic capital R - 0xE259: [705,7,667,36,699], // stix-mathematical bold calligraphic capital S - 0xE25A: [783,0,547,33,747], // stix-mathematical bold calligraphic capital T - 0xE25B: [700,14,787,33,936], // stix-mathematical bold calligraphic capital U - 0xE25C: [711,31,652,36,706], // stix-mathematical bold calligraphic capital V - 0xE25D: [711,34,956,36,1010], // stix-mathematical bold calligraphic capital W - 0xE25E: [710,14,720,36,781], // stix-mathematical bold calligraphic capital X - 0xE25F: [711,144,720,36,773], // stix-mathematical bold calligraphic capital Y - 0xE260: [702,98,778,36,744], // stix-mathematical bold calligraphic capital Z - 0xE264: [473,10,600,47,554], // stix-old style digit 0 - 0xE268: [473,0,600,95,450], // stix-old style digit 1 - 0xE26C: [473,0,600,54,531], // stix-old style digit 2 - 0xE270: [463,217,600,31,547], // stix-old style digit 3 - 0xE274: [450,217,600,30,564], // stix-old style digit 4 - 0xE278: [450,218,600,25,561], // stix-old style digit 5 - 0xE27C: [670,10,600,55,545], // stix-old style digit 6 - 0xE280: [450,217,600,24,582], // stix-old style digit 7 - 0xE284: [670,10,600,41,560], // stix-old style digit 8 - 0xE288: [463,217,600,49,539], // stix-old style digit 9 - 0xE295: [775,235,776,40,739], // stix-capital A bold italic slashed - 0xE297: [775,235,762,44,747], // stix-capital B bold italic slashed - 0xE299: [775,235,711,57,753], // stix-capital C bold italic slashed - 0xE29B: [775,235,870,44,840], // stix-capital D bold italic slashed - 0xE29D: [775,235,759,44,779], // stix-capital E bold italic slashed - 0xE29F: [775,235,658,44,771], // stix-capital F bold italic slashed - 0xE2A1: [775,235,789,57,787], // stix-capital G bold italic slashed - 0xE2A3: [775,235,915,44,940], // stix-capital H bold italic slashed - 0xE2A5: [775,235,502,46,525], // stix-capital I bold italic slashed - 0xE2A7: [775,235,648,68,688], // stix-capital J bold italic slashed - 0xE2A9: [775,207,814,44,838], // stix-capital K bold italic slashed - 0xE2AB: [775,235,764,44,718], // stix-capital L bold italic slashed - 0xE2AD: [775,235,1044,44,1069], // stix-capital M bold italic slashed - 0xE2AF: [775,235,857,44,882], // stix-capital N bold italic slashed - 0xE2B1: [775,235,802,57,777], // stix-capital O bold italic slashed - 0xE2B3: [775,207,626,19,790], // stix-capital P bold italic slashed - 0xE2B5: [775,245,834,57,777], // stix-capital Q bold italic slashed - 0xE2B7: [775,235,783,44,757], // stix-capital R bold italic slashed - 0xE2B9: [775,235,589,57,621], // stix-capital S bold italic slashed - 0xE2BB: [775,235,562,30,696], // stix-capital T bold italic slashed - 0xE2BD: [775,235,745,74,813], // stix-capital U bold italic slashed - 0xE2BF: [775,235,597,66,774], // stix-capital V bold italic slashed - 0xE2C1: [775,235,980,66,1131], // stix-capital W bold italic slashed - 0xE2C3: [775,235,803,34,819], // stix-capital X bold italic slashed - 0xE2C5: [775,235,569,25,706], // stix-capital Y bold italic slashed - 0xE2C7: [775,235,720,42,701], // stix-capital Z bold italic slashed - 0xE2C9: [775,235,630,46,595], // stix-lowercase a bold italic slashed - 0xE2CB: [775,235,585,57,564], // stix-lowercase b bold italic slashed - 0xE2CD: [775,235,511,33,506], // stix-lowercase c bold italic slashed - 0xE2CF: [775,235,646,31,638], // stix-lowercase d bold italic slashed - 0xE2D1: [775,235,512,44,516], // stix-lowercase e bold italic slashed - 0xE2D3: [775,235,654,-29,762], // stix-lowercase f bold italic slashed - 0xE2D5: [775,235,601,24,599], // stix-lowercase g bold italic slashed - 0xE2D7: [775,235,611,35,577], // stix-lowercase h bold italic slashed - 0xE2D9: [775,207,373,34,488], // stix-lowercase i bold italic slashed - 0xE2DB: [775,235,600,-29,763], // stix-lowercase j bold italic slashed - 0xE2DD: [775,235,622,35,660], // stix-lowercase k bold italic slashed - 0xE2DF: [775,207,381,30,484], // stix-lowercase l bold italic slashed - 0xE2E1: [775,235,873,35,838], // stix-lowercase m bold italic slashed - 0xE2E3: [775,235,611,35,581], // stix-lowercase n bold italic slashed - 0xE2E5: [775,235,571,46,548], // stix-lowercase o bold italic slashed - 0xE2E7: [775,235,636,-25,649], // stix-lowercase p bold italic slashed - 0xE2E9: [775,207,580,46,568], // stix-lowercase q bold italic slashed - 0xE2EB: [775,235,437,35,567], // stix-lowercase r bold italic slashed - 0xE2ED: [775,235,512,42,515], // stix-lowercase s bold italic slashed - 0xE2EF: [775,207,411,32,486], // stix-lowercase t bold italic slashed - 0xE2F1: [775,235,632,60,597], // stix-lowercase u bold italic slashed - 0xE2F3: [775,207,554,52,558], // stix-lowercase v bold italic slashed - 0xE2F5: [775,207,814,17,799], // stix-lowercase w bold italic slashed - 0xE2F7: [775,235,647,35,622], // stix-lowercase x bold italic slashed - 0xE2F9: [775,207,599,20,640], // stix-lowercase y bold italic slashed - 0xE2FB: [775,235,531,35,555], // stix-lowercase z bold italic slashed - 0xE32D: [775,207,671,46,675], // stix-MATHEMATICAL BOLD ITALIC SMALL ALPHA SLASHED - 0xE32F: [775,207,664,-65,706], // stix-MATHEMATICAL BOLD ITALIC SMALL BETA SLASHED - 0xE331: [775,207,588,-100,671], // stix-MATHEMATICAL BOLD ITALIC SMALL GAMMA SLASHED - 0xE333: [775,207,571,46,547], // stix-MATHEMATICAL BOLD ITALIC SMALL DELTA SLASHED - 0xE335: [775,207,508,44,515], // stix-MATHEMATICAL BOLD ITALIC SMALL EPSILON SLASHED - 0xE337: [775,207,505,-54,629], // stix-MATHEMATICAL BOLD ITALIC SMALL ZETA SLASHED - 0xE339: [775,207,579,20,583], // stix-MATHEMATICAL BOLD ITALIC SMALL ETA SLASHED - 0xE33B: [775,207,615,46,602], // stix-MATHEMATICAL BOLD ITALIC SMALL THETA SLASHED - 0xE33D: [775,207,355,29,483], // stix-MATHEMATICAL BOLD ITALIC SMALL IOTA SLASHED - 0xE33F: [775,207,594,35,656], // stix-MATHEMATICAL BOLD ITALIC SMALL KAPPA SLASHED - 0xE341: [775,207,598,18,642], // stix-MATHEMATICAL BOLD ITALIC SMALL LAMBDA SLASHED - 0xE343: [775,207,697,-34,737], // stix-MATHEMATICAL BOLD ITALIC SMALL MU SLASHED - 0xE345: [775,207,571,35,584], // stix-MATHEMATICAL BOLD ITALIC SMALL NU SLASHED - 0xE347: [775,207,504,-54,629], // stix-MATHEMATICAL BOLD ITALIC SMALL XI SLASHED - 0xE349: [775,235,500,32,506], // stix-MATHEMATICAL BOLD ITALIC SMALL OMICRON SLASHED - 0xE34B: [775,207,652,1,772], // stix-MATHEMATICAL BOLD ITALIC SMALL PI SLASHED - 0xE34D: [775,207,636,27,652], // stix-MATHEMATICAL BOLD ITALIC SMALL RHO SLASHED - 0xE34F: [775,207,504,23,514], // stix-MATHEMATICAL BOLD ITALIC SMALL FINAL SIGMA SLASHED - 0xE351: [775,207,595,46,641], // stix-MATHEMATICAL BOLD ITALIC SMALL SIGMA SLASHED - 0xE353: [775,207,474,20,521], // stix-MATHEMATICAL BOLD ITALIC SMALL TAU SLASHED - 0xE355: [775,207,582,20,584], // stix-small upsilon, Greek slashed - 0xE357: [775,207,726,1,772], // stix-MATHEMATICAL BOLD ITALIC SMALL PHI SLASHED - 0xE359: [775,207,622,-41,730], // stix-MATHEMATICAL BOLD ITALIC SMALL CHI SLASHED - 0xE35B: [775,207,720,37,808], // stix-MATHEMATICAL BOLD ITALIC SMALL PSI SLASHED - 0xE35D: [775,207,782,24,795], // stix-MATHEMATICAL BOLD ITALIC SMALL OMEGA SLASHED - 0xE35F: [775,207,608,20,681], // stix-MATHEMATICAL BOLD ITALIC THETA SYMBOL SLASHED - 0xE361: [775,207,727,0,771], // stix-MATHEMATICAL BOLD ITALIC PHI SYMBOL SLASHED - 0xE363: [775,207,925,6,978], // stix-MATHEMATICAL BOLD ITALIC PI SYMBOL SLASHED - 0xE367: [775,235,475,-35,509], // stix-small stigma, Greek slashed - 0xE36B: [775,235,525,-68,651], // stix-small digamma, Greek slashed - 0xE36F: [775,235,485,16,466], // stix-small koppa, Greek slashed - 0xE373: [775,235,530,12,731], // stix-small sampi, Greek slashed - 0xE375: [775,235,569,-50,592], // stix-MATHEMATICAL BOLD ITALIC KAPPA SYMBOL SLASHED - 0xE377: [775,207,571,46,547], // stix-MATHEMATICAL BOLD ITALIC RHO SYMBOL SLASHED - 0xE379: [775,207,601,46,579], // stix-MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL SLASHED - 0xE37B: [775,207,525,46,543], // stix-MATHEMATICAL BOLD ITALIC EPSILON SYMBOL SLASHED - 0xE37E: [775,235,792,-40,777], // stix-capital C script slashed - 0xE380: [707,14,670,10,662], // stix-small d italic with straight bar through it - 0xE382: [707,14,622,14,598], // stix-small k italic with straight bar through it - 0xE384: [628,14,411,18,390], // stix-small t italic with straight bar through it - 0xE386: [473,14,355,15,338], // stix-small Greek iota with straight bar through it - 0xE388: [707,14,598,18,563], // stix-small Greek lambda with straight bar through it - 0xE389: [666,0,480,16,472], // LATIN SMALL LETTER LAMBDA WITH STROKE - 0xE3C5: [462,207,514,47,475], // stix-mathematical bold italic small dotless j - 0xE3C6: [462,9,357,55,274] // stix-mathematical bold italic small dotless i - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/BoldItalic/PrivateUse.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js deleted file mode 100644 index 53a77ff0..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-italic'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0] // NO-BREAK SPACE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Italic/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js deleted file mode 100644 index e990b3de..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +++ /dev/null @@ -1,60 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-italic'] = { - directory: 'NonUnicode/Italic', - family: 'STIXNonUnicode', - style: 'italic', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0xE000,0xF8FF,"PrivateUse"] - ], - 0xE22D: [677,45,852,43,812], // stix-mathematical calligraphic capital A - 0xE22E: [670,3,724,35,709], // stix-mathematical calligraphic capital B - 0xE22F: [671,11,569,43,586], // stix-mathematical calligraphic capital C - 0xE230: [662,0,801,34,788], // stix-mathematical calligraphic capital D - 0xE231: [670,4,553,40,599], // stix-mathematical calligraphic capital E - 0xE232: [662,0,652,43,710], // stix-mathematical calligraphic capital F - 0xE233: [671,131,580,40,580], // stix-mathematical calligraphic capital G - 0xE234: [664,21,831,41,845], // stix-mathematical calligraphic capital H - 0xE235: [662,0,575,38,591], // stix-mathematical calligraphic capital I - 0xE236: [662,120,632,31,785], // stix-mathematical calligraphic capital J - 0xE237: [670,13,809,30,783], // stix-mathematical calligraphic capital K - 0xE238: [670,7,693,30,653], // stix-mathematical calligraphic capital L - 0xE239: [671,45,1166,40,1128], // stix-mathematical calligraphic capital M - 0xE23A: [795,37,957,40,1064], // stix-mathematical calligraphic capital N - 0xE23B: [669,10,737,38,729], // stix-mathematical calligraphic capital O - 0xE23C: [662,0,667,38,709], // stix-mathematical calligraphic capital P - 0xE23D: [671,131,744,43,704], // stix-mathematical calligraphic capital Q - 0xE23E: [662,3,854,38,816], // stix-mathematical calligraphic capital R - 0xE23F: [671,0,634,38,671], // stix-mathematical calligraphic capital S - 0xE240: [721,0,509,41,730], // stix-mathematical calligraphic capital T - 0xE241: [672,13,817,37,950], // stix-mathematical calligraphic capital U - 0xE242: [677,33,638,33,680], // stix-mathematical calligraphic capital V - 0xE243: [685,32,956,33,998], // stix-mathematical calligraphic capital W - 0xE244: [672,13,692,38,739], // stix-mathematical calligraphic capital X - 0xE245: [675,131,719,34,763], // stix-mathematical calligraphic capital Y - 0xE246: [664,94,752,38,714] // stix-mathematical calligraphic capital Z -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXNonUnicode-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Italic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js deleted file mode 100644 index 2d6c0a51..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +++ /dev/null @@ -1,242 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-italic'], - { - 0xE09C: [756,218,753,37,787], // stix-capital A italic double-slashed - 0xE09D: [756,218,706,42,732], // stix-capital E italic double-slashed - 0xE09E: [756,218,624,42,724], // stix-capital F italic double-slashed - 0xE0B3: [681,207,500,-141,504], // stix-small fj ligature - 0xE154: [653,0,671,3,606], // stix-oblique open face capital letter A - 0xE155: [653,0,686,17,676], // stix-oblique open face capital letter B - 0xE156: [653,0,639,17,664], // stix-oblique open face capital letter E - 0xE157: [653,0,469,18,664], // stix-oblique open face capital letter F - 0xE158: [666,18,702,35,702], // stix-oblique open face capital letter G - 0xE159: [653,0,320,21,350], // stix-oblique open face capital letter I - 0xE15A: [653,18,562,16,595], // stix-oblique open face capital letter J - 0xE15B: [653,0,700,17,730], // stix-oblique open face capital letter K - 0xE15C: [653,0,608,18,524], // stix-oblique open face capital letter L - 0xE15D: [653,0,858,25,892], // stix-oblique open face capital letter M - 0xE15E: [666,18,723,35,713], // stix-oblique open face capital letter O - 0xE15F: [666,18,624,24,669], // stix-oblique open face capital letter S - 0xE160: [653,0,463,30,682], // stix-oblique open face capital letter T - 0xE161: [653,14,648,33,716], // stix-oblique open face capital letter U - 0xE162: [653,0,492,75,678], // stix-oblique open face capital letter V - 0xE163: [653,0,810,100,963], // stix-oblique open face capital letter W - 0xE164: [653,0,650,-24,770], // stix-oblique open face capital letter X - 0xE165: [653,0,458,42,658], // stix-oblique open face capital letter Y - 0xE166: [441,11,566,40,521], // stix-oblique open face small letter a - 0xE167: [683,11,598,27,558], // stix-oblique open face small letter b - 0xE168: [441,11,504,40,480], // stix-oblique open face small letter c - 0xE169: [683,0,331,28,519], // stix-oblique open face small letter f - 0xE16A: [441,220,599,9,572], // stix-oblique open face small letter g - 0xE16B: [683,0,588,27,543], // stix-oblique open face small letter h - 0xE16C: [683,0,545,25,530], // stix-oblique open face small letter k - 0xE16D: [683,0,306,27,356], // stix-oblique open face small letter l - 0xE16E: [441,0,857,27,812], // stix-oblique open face small letter m - 0xE16F: [441,0,588,27,543], // stix-oblique open face small letter n - 0xE170: [441,11,534,40,494], // stix-oblique open face small letter o - 0xE171: [441,218,628,5,588], // stix-oblique open face small letter p - 0xE172: [441,218,604,40,574], // stix-oblique open face small letter q - 0xE173: [442,0,332,27,467], // stix-oblique open face small letter r - 0xE174: [441,11,502,34,468], // stix-oblique open face small letter s - 0xE175: [633,10,323,20,328], // stix-oblique open face small letter t - 0xE176: [428,13,588,40,556], // stix-oblique open face small letter u - 0xE177: [428,0,395,45,462], // stix-oblique open face small letter v - 0xE178: [428,0,639,56,690], // stix-oblique open face small letter w - 0xE179: [428,0,557,14,554], // stix-oblique open face small letter x - 0xE17A: [428,218,471,5,538], // stix-oblique open face small letter y - 0xE17B: [428,0,540,21,530], // stix-oblique open face small letter z - 0xE1B4: [676,14,500,86,578], // stix-Mathematical sans-serif italic digit 0 - 0xE1B5: [677,0,500,223,469], // stix-Mathematical sans-serif italic digit 1 - 0xE1B6: [676,0,500,35,574], // stix-Mathematical sans-serif italic digit 2 - 0xE1B7: [676,14,500,44,544], // stix-Mathematical sans-serif italic digit 3 - 0xE1B8: [676,0,500,52,547], // stix-Mathematical sans-serif italic digit 4 - 0xE1B9: [676,14,500,49,626], // stix-Mathematical sans-serif italic digit 5 - 0xE1BA: [684,14,500,83,617], // stix-Mathematical sans-serif italic digit 6 - 0xE1BB: [662,8,500,146,616], // stix-Mathematical sans-serif italic digit 7 - 0xE1BC: [676,14,500,81,560], // stix-Mathematical sans-serif italic digit 8 - 0xE1BD: [676,21,500,51,579], // stix-Mathematical sans-serif italic digit 9 - 0xE1BE: [683,10,536,45,527], // stix-Mathematical sans-serif italic partial differential - 0xE1BF: [674,0,660,28,632], // stix-Mathematical sans-serif italic capital alpha - 0xE1C0: [662,0,662,60,627], // stix-Mathematical sans-serif italic capital beta - 0xE1C1: [662,0,562,60,665], // stix-Mathematical sans-serif italic capital gamma - 0xE1C2: [674,0,660,28,632], // stix-Mathematical sans-serif italic capital delta - 0xE1C3: [662,0,639,60,664], // stix-Mathematical sans-serif italic capital epsilon - 0xE1C4: [662,0,698,25,760], // stix-Mathematical sans-serif italic capital zeta - 0xE1C5: [662,0,700,60,735], // stix-Mathematical sans-serif italic capital eta - 0xE1C6: [676,14,780,75,755], // stix-Mathematical sans-serif italic capital theta - 0xE1C7: [662,0,433,50,503], // stix-Mathematical sans-serif italic capital iota - 0xE1C8: [662,0,631,60,715], // stix-Mathematical sans-serif italic capital kappa - 0xE1C9: [674,0,664,20,624], // stix-Mathematical sans-serif italic capital lambda - 0xE1CA: [662,0,890,60,918], // stix-Mathematical sans-serif italic capital mu - 0xE1CB: [662,14,724,60,752], // stix-Mathematical sans-serif italic capital nu - 0xE1CC: [662,0,722,47,754], // stix-Mathematical sans-serif italic capital xi - 0xE1CD: [676,14,780,75,755], // stix-Mathematical sans-serif italic capital omicron - 0xE1CE: [662,0,700,60,735], // stix-Mathematical sans-serif italic capital pi - 0xE1CF: [662,0,538,60,624], // stix-Mathematical sans-serif italic capital rho - 0xE1D0: [676,14,780,75,755], // stix-Mathematical sans-serif italic capital THETA symbol - 0xE1D1: [662,0,654,21,706], // stix-Mathematical sans-serif italic capital sigma - 0xE1D2: [662,0,585,72,659], // stix-Mathematical sans-serif italic capital tau - 0xE1D3: [676,0,593,83,725], // stix-Mathematical sans-serif italic capital upsilon - 0xE1D4: [662,0,736,52,736], // stix-Mathematical sans-serif italic capital phi - 0xE1D5: [662,0,722,20,795], // stix-Mathematical sans-serif italic capital chi - 0xE1D6: [681,0,712,105,805], // stix-Mathematical sans-serif italic capital psi - 0xE1D7: [676,0,795,39,795], // stix-Mathematical sans-serif italic capital omega - 0xE1D8: [463,10,586,47,616], // stix-Mathematical sans-serif italic small alpha - 0xE1D9: [683,215,535,-12,559], // stix-Mathematical sans-serif italic small beta - 0xE1DA: [463,216,503,84,527], // stix-Mathematical sans-serif italic small gamma - 0xE1DB: [683,10,497,30,537], // stix-Mathematical sans-serif italic small delta - 0xE1DC: [463,10,494,35,484], // stix-Mathematical sans-serif italic small epsilon - 0xE1DD: [683,213,429,32,454], // stix-Mathematical sans-serif italic small zeta - 0xE1DE: [463,215,493,38,486], // stix-Mathematical sans-serif italic small eta - 0xE1DF: [683,10,518,65,511], // stix-Mathematical sans-serif italic small theta - 0xE1E0: [464,10,296,56,268], // stix-Mathematical sans-serif italic small iota - 0xE1E1: [464,0,472,38,517], // stix-Mathematical sans-serif italic small kappa - 0xE1E2: [683,11,536,18,502], // stix-Mathematical sans-serif italic small lambda - 0xE1E3: [453,215,561,-9,536], // stix-Mathematical sans-serif italic small mu - 0xE1E4: [464,14,376,41,416], // stix-Mathematical sans-serif italic small nu - 0xE1E5: [683,215,434,43,464], // stix-Mathematical sans-serif italic small xi - 0xE1E6: [463,10,533,45,505], // stix-Mathematical sans-serif italic small omicron - 0xE1E7: [453,10,565,45,589], // stix-Mathematical sans-serif italic small pi - 0xE1E8: [462,216,534,-33,510], // stix-Mathematical sans-serif italic small rho - 0xE1E9: [463,212,436,52,500], // stix-Mathematical sans-serif italic small FINAL sigma - 0xE1EA: [453,10,607,45,625], // stix-Mathematical sans-serif italic small sigma - 0xE1EB: [453,10,468,42,486], // stix-Mathematical sans-serif italic small tau - 0xE1EC: [463,10,514,61,490], // stix-Mathematical sans-serif italic small upsilon - 0xE1ED: [464,216,665,55,641], // stix-Mathematical sans-serif italic small phi - 0xE1EE: [463,215,514,-72,552], // stix-Mathematical sans-serif italic small chi - 0xE1EF: [461,216,654,75,705], // stix-Mathematical sans-serif italic small psi - 0xE1F0: [454,10,630,50,636], // stix-Mathematical sans-serif italic small omega - 0xE1F1: [463,10,462,45,467], // stix-Mathematical sans-serif italic epsilon symbol - 0xE1F2: [683,12,534,45,525], // stix-Mathematical sans-serif italic theta symbol - 0xE1F3: [684,216,648,48,630], // stix-Mathematical sans-serif italic phi symbol - 0xE1F4: [463,216,536,38,518], // stix-Mathematical sans-serif italic rho symbol - 0xE1F5: [453,10,795,40,811], // stix-Mathematical sans-serif italic pi symbol - 0xE262: [460,11,570,56,514], // stix-old style digit 0 - 0xE266: [460,0,570,100,415], // stix-old style digit 1 - 0xE26A: [460,0,570,59,487], // stix-old style digit 2 - 0xE26E: [461,217,570,40,513], // stix-old style digit 3 - 0xE272: [450,217,570,17,542], // stix-old style digit 4 - 0xE276: [450,218,570,23,536], // stix-old style digit 5 - 0xE27A: [668,10,570,28,553], // stix-old style digit 6 - 0xE27E: [450,217,570,40,543], // stix-old style digit 7 - 0xE282: [668,10,570,50,519], // stix-old style digit 8 - 0xE286: [460,217,570,23,526], // stix-old style digit 9 - 0xE294: [756,218,753,37,754], // stix-capital A italic slashed - 0xE296: [756,218,698,42,686], // stix-capital B italic slashed - 0xE298: [756,218,678,52,716], // stix-capital C italic slashed - 0xE29A: [756,218,830,42,793], // stix-capital D italic slashed - 0xE29C: [756,218,706,42,724], // stix-capital E italic slashed - 0xE29E: [756,217,624,42,724], // stix-capital F italic slashed - 0xE2A0: [756,217,768,52,766], // stix-capital G italic slashed - 0xE2A2: [756,218,825,42,863], // stix-capital H italic slashed - 0xE2A4: [756,218,429,-7,467], // stix-capital I italic slashed - 0xE2A6: [756,218,530,60,568], // stix-capital J italic slashed - 0xE2A8: [756,218,766,42,804], // stix-capital K italic slashed - 0xE2AA: [756,218,696,42,654], // stix-capital L italic slashed - 0xE2AC: [756,218,969,42,1007], // stix-capital M italic slashed - 0xE2AE: [756,218,799,42,837], // stix-capital N italic slashed - 0xE2B0: [756,218,764,52,739], // stix-capital O italic slashed - 0xE2B2: [756,217,581,14,710], // stix-capital P italic slashed - 0xE2B4: [756,217,764,52,739], // stix-capital Q italic slashed - 0xE2B6: [756,218,699,42,682], // stix-capital R italic slashed - 0xE2B8: [756,218,557,52,576], // stix-capital S italic slashed - 0xE2BA: [756,218,532,19,647], // stix-capital T italic slashed - 0xE2BC: [756,218,706,67,771], // stix-capital U italic slashed - 0xE2BE: [756,218,605,56,730], // stix-capital V italic slashed - 0xE2C0: [756,218,831,62,956], // stix-capital W italic slashed - 0xE2C2: [756,218,737,27,755], // stix-capital X italic slashed - 0xE2C4: [756,218,492,1,647], // stix-capital Y italic slashed - 0xE2C6: [756,218,686,62,714], // stix-capital Z italic slashed - 0xE2C8: [756,240,565,42,533], // stix-lowercase a italic slashed - 0xE2CA: [756,240,530,47,530], // stix-lowercase b italic slashed - 0xE2CC: [756,240,477,33,501], // stix-lowercase c italic slashed - 0xE2CE: [756,240,586,14,581], // stix-lowercase d italic slashed - 0xE2D0: [756,240,490,8,475], // stix-lowercase e italic slashed - 0xE2D2: [756,240,582,-4,704], // stix-lowercase f italic slashed - 0xE2D4: [756,240,515,22,513], // stix-lowercase g italic slashed - 0xE2D6: [756,240,577,47,545], // stix-lowercase h italic slashed - 0xE2D8: [756,217,326,-9,454], // stix-lowercase i italic slashed - 0xE2DA: [755,240,550,-54,653], // stix-lowercase j italic slashed - 0xE2DC: [756,240,554,57,591], // stix-lowercase k italic slashed - 0xE2DE: [756,217,335,-14,449], // stix-lowercase l italic slashed - 0xE2E0: [756,240,823,32,791], // stix-lowercase m italic slashed - 0xE2E2: [756,240,565,32,545], // stix-lowercase n italic slashed - 0xE2E4: [756,240,533,42,519], // stix-lowercase o italic slashed - 0xE2E6: [756,217,581,-24,613], // stix-lowercase p italic slashed - 0xE2E8: [756,240,521,40,523], // stix-lowercase q italic slashed - 0xE2EA: [756,240,436,32,507], // stix-lowercase r italic slashed - 0xE2EC: [756,240,466,26,494], // stix-lowercase s italic slashed - 0xE2EE: [756,217,353,-22,441], // stix-lowercase t italic slashed - 0xE2F0: [756,240,537,21,505], // stix-lowercase u italic slashed - 0xE2F2: [756,218,506,72,545], // stix-lowercase v italic slashed - 0xE2F4: [756,217,775,72,793], // stix-lowercase w italic slashed - 0xE2F6: [756,240,566,32,584], // stix-lowercase x italic slashed - 0xE2F8: [756,218,530,32,575], // stix-lowercase y italic slashed - 0xE2FA: [756,240,499,40,507], // stix-lowercase z italic slashed - 0xE32C: [756,218,613,42,612], // stix-small alpha, Greek slashed - 0xE32E: [756,218,595,-47,644], // stix-small beta, Greek slashed - 0xE330: [756,218,514,-58,634], // stix-small gamma, Greek slashed - 0xE332: [756,218,536,40,522], // stix-small delta, Greek slashed - 0xE334: [756,218,478,29,491], // stix-small epsilon, Greek slashed - 0xE336: [756,218,440,11,482], // stix-small zeta, Greek slashed - 0xE338: [756,218,512,32,536], // stix-small eta, Greek slashed - 0xE33A: [756,218,529,20,519], // stix-small theta, Greek slashed - 0xE33C: [756,217,326,-10,453], // stix-small iota, Greek slashed - 0xE33E: [756,218,546,57,558], // stix-small kappa, Greek slashed - 0xE340: [756,218,557,52,619], // stix-small lambda, Greek slashed - 0xE342: [756,217,630,0,696], // stix-small mu, Greek slashed - 0xE344: [756,218,466,32,495], // stix-small nu, Greek slashed - 0xE346: [756,218,454,9,468], // stix-small xi, Greek slashed - 0xE348: [756,240,533,27,498], // stix-small omicron, Greek slashed - 0xE34A: [756,217,591,14,710], // stix-small pi, Greek slashed - 0xE34C: [756,218,584,32,591], // stix-small rho, Greek slashed - 0xE34E: [756,218,468,1,460], // stix-terminal sigma, Greek slashed - 0xE350: [756,218,534,42,560], // stix-small sigma, Greek slashed - 0xE352: [756,218,448,32,537], // stix-small tau, Greek slashed - 0xE354: [756,218,514,32,545], // stix-small upsilon, Greek slashed - 0xE356: [756,218,663,-2,690], // stix-small phi, Greek slashed - 0xE358: [756,218,632,4,700], // stix-small chi, Greek slashed - 0xE35A: [756,218,668,32,736], // stix-small psi, Greek slashed - 0xE35C: [756,217,733,42,758], // stix-small omega, Greek slashed - 0xE35E: [756,218,602,32,590], // stix-curly or open theta, Greek slashed - 0xE360: [756,218,666,42,778], // stix-curly or open small phi, Greek slashed - 0xE362: [756,217,889,32,897], // stix-rounded small pi (pomega), Greek slashed - 0xE366: [756,240,444,7,482], // stix-small stigma, Greek slashed - 0xE36A: [756,240,528,-57,648], // stix-small digamma, Greek slashed - 0xE36E: [756,240,457,31,445], // stix-small koppa, Greek slashed - 0xE372: [756,240,528,8,715], // stix-small sampi, Greek slashed - 0xE374: [756,240,533,-16,559], // stix-rounded small kappa, Greek slashed - 0xE376: [756,218,533,42,525], // stix-rounded small rho, Greek slashed - 0xE378: [756,218,533,35,506], // stix-partial sign, slashed - 0xE37A: [756,218,477,42,539], // stix-rounded small epsilon, Greek, slashed - 0xE37D: [756,218,710,-50,694], // stix-capital C script slashed - 0xE37F: [683,10,606,10,601], // stix-small d italic with straight bar through it - 0xE381: [683,10,554,39,540], // stix-small k italic with straight bar through it - 0xE383: [579,10,353,6,323], // stix-small t italic with straight bar through it - 0xE385: [460,10,326,15,278], // stix-small Greek iota with straight bar through it - 0xE387: [683,10,557,52,526], // stix-small Greek lambda with straight bar through it - 0xE389: [668,0,490,30,478] // LATIN SMALL LETTER LAMBDA WITH STROKE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Italic/PrivateUse.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js deleted file mode 100644 index b3df256a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode'], - { - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0] // NO-BREAK SPACE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js deleted file mode 100644 index 1318769b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +++ /dev/null @@ -1,57 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode'] = { - directory: 'NonUnicode/Regular', - family: 'STIXNonUnicode', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0xE000,0xF8FF,"PrivateUse"] - ], - 0xE000: [610,25,1184,829,895], // stix-radical symbol vertical extender - 0xE001: [667,-41,1184,829,1211], // stix-radical symbol top corner piece - 0xE138: [634,-584,480,-10,490], // stix-horizontal extender for multiple character over accent arrows, harpoons, line - 0xE139: [-127,177,480,-10,490], // stix-horizontal extender for multiple character under accent arrows, harpoons, line - 0xE13B: [955,-512,897,-25,908], // stix-left end of extensible overbrace (CMEX10 x3A rotated 90deg) - 0xE13C: [955,-512,897,-11,922], // stix-right end of extensible overbrace (CMEX10 x38 rotated 90deg) - 0xE13D: [182,261,897,-25,908], // stix-left end of extensible underbrace (CMEX10 x3B rotated 90deg) - 0xE13E: [182,261,897,-11,922], // stix-right end of extensible underbrace (CMEX10 x39 rotated 90deg) - 0xE140: [1218,-820,1844,-10,1854], // stix-center of extensible overbrace (CMEX10 x3C rotated 90deg) - 0xE141: [-126,524,1844,-10,1854], // stix-center of extensible underbrace (CMEX10 x3D rotated 90deg) - 0xE14A: [955,-820,633,-1,634], // stix-extensible horizontal for over paren or square bracket (CMEX10 x42 rotated 90deg) - 0xE14B: [-126,261,633,-1,634], // stix-extensible horizontal for under paren or square bracket (CMEX10 x43 rotated 90deg) - 0xE261: [422,10,523,41,481], // stix-old style digit 0 - 0xE265: [421,0,523,127,405], // stix-old style digit 1 - 0xE269: [421,0,523,68,455], // stix-old style digit 2 - 0xE26D: [424,198,523,47,463], // stix-old style digit 3 - 0xE271: [420,198,523,58,480], // stix-old style digit 4 - 0xE275: [421,198,523,66,457], // stix-old style digit 5 - 0xE279: [612,8,523,37,486], // stix-old style digit 6 - 0xE27D: [421,198,523,25,490], // stix-old style digit 7 - 0xE281: [606,12,523,47,477], // stix-old style digit 8 - 0xE285: [421,200,523,41,483], // stix-old style digit 9 - 0xE28F: [135,0,325,-1,326], // stix-short horizontal extender at baseline - 0xE290: [135,0,633,-1,634] // stix-long horizontal extender at baseline -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXNonUnicode"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js deleted file mode 100644 index 83d57182..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +++ /dev/null @@ -1,387 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode'], - { - 0xE002: [1022,0,1192,30,1162], // stix-"shaw": large operator with three parallel vertical lines topped by a horizontal - 0xE003: [1450,0,1311,55,1256], // stix-"shaw": large operator with three parallel vertical lines topped by a horizontal - 0xE004: [450,-59,926,55,871], // stix-not right arrow-wavy - 0xE005: [530,-57,926,55,871], // stix-not right arrow-curved - 0xE00A: [538,-55,685,48,637], // stix-reverse most positive, line below - 0xE00B: [543,37,685,48,637], // stix-most positive, two lines below - 0xE00E: [846,340,685,60,626], // stix-not greater, double equals - 0xE00F: [730,229,685,56,621], // stix-not greater-or-equal, slanted - 0xE010: [730,229,685,56,621], // stix-not less-or-equal, slanted - 0xE011: [846,340,685,61,626], // stix-not less, double equals - 0xE016: [818,311,685,53,618], // stix-not subset, double equals - 0xE018: [818,311,685,67,632], // stix-not superset, double equals - 0xE01E: [607,110,685,48,638], // stix-not approximately identical to - 0xE023: [695,189,685,48,637], // stix-not congruent, dot - 0xE025: [724,236,685,48,637], // stix-not approximately equal or equal to - 0xE026: [662,156,685,47,612], // stix-not, vert, double nested less than - 0xE027: [662,156,685,73,638], // stix-not, vert, double nested greater than - 0xE028: [663,155,933,25,908], // stix-not much less than - 0xE029: [662,156,933,25,908], // stix-not much greater than - 0xE02A: [662,156,1240,43,1184], // stix-not triple less than - 0xE02B: [662,156,1240,56,1197], // stix-not triple greater than - 0xE02F: [662,156,685,23,662], // stix-not, vert, angle - 0xE035: [602,98,486,64,422], // stix-negated contains - 0xE037: [662,156,685,48,637], // stix-reverse not equal - 0xE038: [690,189,732,50,682], // stix-not parallel, slanted - 0xE039: [662,156,685,47,636], // stix-not equal, dot - 0xE03A: [811,156,471,40,525], // stix-not partial differential - 0xE03B: [736,156,685,60,625], // stix-negated set membership, dot above - 0xE03C: [662,156,685,60,625], // stix-negated set membership, two horizontal strokes - 0xE03D: [602,98,486,64,422], // stix-negated (slash) set membership - 0xE040: [415,-92,685,48,637], // stix-congruence sign (lazy S) - 0xE041: [911,-433,480,64,398], // stix-modifier letter small h turned, superscript - 0xE042: [755,-425,441,57,387], // stix-modifier letter small a (one-story) turned, superscript - 0xE043: [818,311,685,60,625], // stix-two-line slanted equal to or less-than - with vertical stroke - 0xE044: [818,311,685,60,625], // stix-two-line slanted equal to or greater-than with vertical stroke - 0xE045: [818,311,685,60,625], // stix-two-line slanted equal to or less-than - with slash - 0xE046: [818,311,685,60,625], // stix-two-line slanted equal to or greater-than with slash - 0xE04B: [745,242,685,60,625], // stix-not precedes, single equals - 0xE04C: [845,341,685,60,625], // stix-not precedes, double equals - 0xE04D: [534,19,685,48,637], // stix-not, vert, equal or similar - 0xE04E: [845,341,685,60,625], // stix-not succeeds, double equals - 0xE04F: [745,242,685,60,625], // stix-not succeeds, single equals - 0xE050: [662,156,685,65,620], // stix-not, square subset - 0xE051: [662,156,685,65,620], // stix-not, square superset - 0xE052: [561,55,685,48,637], // stix-not bumpy equals - 0xE053: [450,0,632,26,604], // stix-Latin letter small-cap K, reversed - 0xE054: [516,10,688,37,679], // stix-Latin letter small a (one-story) with rhotic hook - 0xE055: [475,14,571,20,563], // stix-Latin letter small open e with rhotic hook - 0xE056: [459,11,632,10,624], // stix-Latin letter small open o with rhotic hook - 0xE057: [459,12,624,29,595], // stix-Latin letter small omega, inverted - 0xE059: [730,224,685,48,637], // stix-not precedes, similar - 0xE05A: [730,224,685,48,637], // stix-not succeeds, similar - 0xE05B: [561,-30,685,48,637], // stix-not bumpy single equals - 0xE05C: [534,19,685,48,637], // stix-not equal or similar - 0xE05D: [459,10,452,16,436], // stix-barred ess - 0xE05E: [698,-547,0,95,406], // stix-double macron - 0xE060: [-140,292,1,11,323], // stix-double underbar - 0xE061: [-141,390,0,11,322], // stix-triple underbar - 0xE062: [-141,486,0,11,322], // stix-quadruple underbar - 0xE063: [734,-508,0,94,485], // stix-accent caret over dot - 0xE064: [777,-547,0,95,425], // stix-tilde over bar over - 0xE065: [-141,371,0,1,331], // stix-straight over wavy underline - 0xE066: [770,-547,0,101,412], // stix-double dot over bar over - 0xE067: [-141,371,0,1,331], // stix-wavy over straight underline - 0xE068: [683,287,524,9,487], // stix-hooked h - 0xE06B: [602,98,486,64,422], // stix-small not (vert) member - 0xE06C: [602,98,486,64,422], // stix-small not (vert) contains - 0xE06D: [785,157,685,60,625], // stix-not equal to or member - 0xE06E: [785,157,685,60,625], // stix-not equal to or contains - 0xE06F: [785,129,685,60,625], // stix-Not (vert) equals or member - 0xE070: [785,129,685,60,625], // stix-not (vert) equals or contains - 0xE075: [626,119,685,48,637], // stix-not (slash) similar minus similar - 0xE076: [626,119,685,48,637], // stix-not (vert) similar minus similar - 0xE077: [725,236,685,48,637], // stix-not (vert) double similar over two-line equals - 0xE07C: [758,252,685,48,637], // stix-not (slash) four-line equals (not strictly equivalent to) - 0xE07D: [758,252,685,48,637], // stix-not (vert) four-line equals - 0xE07E: [732,227,685,56,621], // stix-not (vert) less-than slanted equal - 0xE07F: [732,227,685,56,621], // stix-not (vert) greater-than slanted equal - 0xE080: [818,311,685,57,622], // stix-not (vert) less-than or two-line equal - 0xE081: [818,311,685,57,622], // stix-not (vert) greater-than or two-line equal - 0xE082: [730,229,685,56,621], // stix-not (slash) equal (slant) or less-than - 0xE083: [730,229,685,56,621], // stix-not (slash) equal (slant) or greater-than - 0xE084: [709,201,685,56,621], // stix-not (vert) equals (slant) or less-than - 0xE085: [709,201,685,56,621], // stix-not (vert) equals (slant) or greater-than - 0xE086: [818,311,685,56,621], // stix-not (slash) two-line equal or less-than - 0xE087: [818,311,685,55,621], // stix-not (slash) two-line equal or greater-than - 0xE088: [818,311,685,56,621], // stix-not (vert) two-line equals or less-than - 0xE089: [818,311,685,55,620], // stix-not (vert) two-line equals or greater-than - 0xE092: [719,296,685,62,627], // stix-not (vert) equals (contour) or precedes - 0xE093: [719,296,685,61,626], // stix-not (vert) equals (contour) or succeeds - 0xE094: [719,240,685,62,627], // stix-not (slash) equals (contour) or precedes - 0xE095: [719,240,685,61,626], // stix-not (slash) equals (contour) or succeeds - 0xE096: [818,311,685,55,620], // stix-not (vert) subset or two-line equals - 0xE097: [818,311,685,65,630], // stix-not (vert) superset or two-line equals - 0xE098: [690,189,685,23,662], // stix-triple vertical, slash cancellation - 0xE099: [567,183,612,25,587], // stix-narrow sloped nabla - 0xE09A: [719,213,708,18,690], // stix-parentheses around thin space - 0xE09B: [719,213,708,18,690], // stix-center dot in parentheses - 0xE09F: [662,156,902,0,863], // stix-rising diagonal - 0xE0A0: [662,156,902,0,863], // stix-falling diagonal - 0xE0A1: [676,14,734,18,700], // stix-capital C with stroke - 0xE0A2: [460,218,561,24,539], // stix-barred open gee - 0xE0A4: [470,233,378,10,358], // stix-Latin letter small r-fishhook, reversed, with descender stem - 0xE0A5: [669,-426,397,75,338], // stix-hooktop (phonetic symbol) - 0xE0A6: [216,144,444,38,429], // stix-curly tail (phonetic symbol) - 0xE0A7: [702,-506,376,30,346], // stix-modifier letter level-rise contour tone bar - 0xE0A8: [662,156,496,114,371], // stix-modifier letter high-rise tone bar - 0xE0A9: [497,-167,647,49,619], // stix-retracted (in-line diacritic) - 0xE0AA: [702,-506,376,30,346], // stix-modifier letter fall-level contour tone bar - 0xE0AB: [662,156,496,114,371], // stix-modifier letter low-rise tone bar - 0xE0AC: [702,-506,470,30,440], // stix-modifier letter fall-rise-fall contour tone bar - 0xE0AD: [662,156,638,35,513], // stix-modifier letter rise-fall tone bar - 0xE0AE: [662,0,423,55,345], // stix-modifier letter rise tone bar - 0xE0AF: [662,0,423,55,345], // stix-modifier letter fall tone bar - 0xE0B0: [735,-531,0,100,400], // stix-left overangle (combining) - 0xE0B1: [-50,254,0,0,300], // stix-left underangle (combining) - 0xE0B2: [-50,254,0,0,300], // stix-right underangle (combining) - 0xE0B3: [683,218,541,32,457], // stix-small fj ligature - 0xE0B4: [556,-220,313,55,258], // stix-arrow hookleft - 0xE0B5: [556,-220,313,55,258], // stix-arrow hookright - 0xE0B6: [449,-57,0,30,124], // stix-maps-to relation tail - 0xE0B7: [324,-183,281,70,211], // stix-bold center dot (very small filled square) - 0xE0B8: [943,11,1344,67,1302], // stix-square root of 2 - 0xE0B9: [943,11,1344,67,1302], // stix-square root of 3 - 0xE0BB: [622,101,685,48,637], // stix-equal sign above tilde operator, vertical negation - 0xE0BC: [547,41,685,47,635], // stix-times sign with dash through it - 0xE0BD: [662,218,710,15,660], // stix-lowercase italic f with horizontal bar touching its upper edge - 0xE0BE: [757,218,1102,15,1073], // stix-lowercase italic f with horizontal bar touching its upper edge and superscr u/c italic T - 0xE0BF: [836,236,636,50,586], // stix-2 lines falling over 1 line rising - 0xE0C0: [836,236,636,50,586], // stix-1 line falling over 2 lines rising - 0xE0C1: [836,236,636,50,586], // stix-2 lines rising over 1 line falling - 0xE0C2: [836,236,636,50,586], // stix-1 line rising over 2 lines falling - 0xE0C3: [386,-120,750,50,700], // stix-dashed line over line - 0xE0C4: [478,-28,750,50,700], // stix-dashed line over two lines - 0xE0C5: [478,-28,750,50,700], // stix-two lines over dashed line - 0xE0C6: [286,-220,750,50,700], // stix-single line, medium length - 0xE0C7: [402,-120,750,50,700], // stix-dotted (3 dots) line over line - 0xE0C8: [386,-120,1000,50,950], // stix-two long horizontal lines - 0xE0C9: [478,-28,1000,50,950], // stix-three long horizontal lines - 0xE0CA: [544,38,1000,50,950], // stix-four long horizontal lines - 0xE0CB: [386,-120,750,50,700], // stix-two medium horizontal lines - 0xE0CC: [478,-28,750,50,700], // stix-three medium horizontal lines - 0xE0CD: [544,38,750,50,700], // stix-four medium horizontal lines - 0xE0CE: [836,236,636,50,586], // stix-rising line, horizontal line, falling line - 0xE0CF: [836,236,636,50,586], // stix-falling line, horizontal line, rising line - 0xE0D0: [836,236,636,50,586], // stix-rising line, falling line - 0xE0D1: [836,236,636,50,586], // stix-falling line, rising line - 0xE0D2: [692,186,926,83,843], // stix-six carbon ring, corner down, double bonds lower left etc - 0xE0D3: [633,127,926,24,902], // stix-six carbon ring, edge down, double bonds bottom edge etc - 0xE0D4: [633,127,926,24,902], // stix-six carbon ring, edge down, double bonds top edge etc - 0xE0D5: [286,-220,1000,50,950], // stix-single long chemical bond - 0xE0D6: [386,-120,750,50,700], // stix chemical bond, line over dashed line - 0xE0D7: [583,79,762,50,712], // stix-donut - 0xE0D8: [584,0,400,57,343], // stix-arc-degrees (degree with dot below) - 0xE0D9: [665,0,255,56,199], // stix-arc-minutes (prime with dot below) - 0xE0DA: [665,0,388,56,332], // stix-arc-seconds (double prime with dot below) - 0xE0DB: [610,104,1472,86,1402], // stix-boxed communication link - 0xE0DC: [354,-152,1134,65,1069], // stix-communication link - 0xE0DD: [933,0,516,73,445], // stix-days (roman d with dot below) - 0xE0DE: [933,0,500,57,439], // stix-hours (roman h with dot below) - 0xE0DF: [754,0,778,92,699], // stix-minutes (roman m with dot below) - 0xE0E0: [920,0,500,40,444], // stix-period (roman p with dot below) - 0xE0E1: [757,0,389,81,318], // stix-seconds (roman s with dot below) - 0xE0E2: [754,0,500,60,429], // stix-years (roman y with dot below) - 0xE0E3: [638,134,842,35,807], // stix-eclipse - 0xE0E4: [773,80,700,94,606], // stix-Uranus - 0xE0E5: [690,189,523,72,450], // stix-dashed solidus - 0xE0E6: [690,189,523,72,450], // stix-dashed backslash - 0xE0E7: [811,127,772,35,737], // stix-narrow down-triangle - 0xE0E8: [532,26,1077,55,1022], // stix-precedes sign followed by plus sign - 0xE0E9: [547,41,685,48,636], // stix-outline plus sign - 0xE0EA: [661,158,910,45,865], // stix-diamond with lines from corners - 0xE0EB: [567,58,716,45,671], // stix-square with lines from corners - 0xE0EC: [862,-120,685,48,637], // stix-equal with exclamation over - 0xE0ED: [819,312,511,192,319], // stix-five vertical dots - 0xE0EE: [751,156,926,85,841], // stix-I-beam shape with bullet overprinted in middle - 0xE0EF: [547,41,686,49,637], // stix-plus with bullet overprinted in middle - 0xE0F1: [66,0,390,48,342], // stix-short horizontal line - 0xE0F2: [936,157,1059,38,1033], // stix-freaked smiley - 0xE0F3: [662,156,1059,196,862], // stix-neutral smiley - 0xE0F4: [694,168,773,55,718], // stix-light bulb - 0xE0F5: [672,146,926,55,872], // stix-gray-filled circle - 0xE0F6: [747,114,909,23,886], // stix-KernelIcon - 0xE0F7: [727,102,956,22,934], // stix-MathematicaIcon - 0xE0F8: [474,89,500,163,336], // stix-AliasDelimiter - 0xE0F9: [680,0,767,88,679], // stix-ErrorIndicator - 0xE0FA: [474,89,297,62,235], // stix-AliasIndicator - 0xE0FB: [680,0,1750,88,1662], // stix-ControlKey - 0xE0FC: [680,0,1625,88,1537], // stix-ReturnKey - 0xE0FD: [680,0,1625,88,1537], // stix-EscapeKey - 0xE0FE: [680,0,1625,88,1537], // stix-CommandKey - 0xE0FF: [680,0,1625,88,1537], // stix-TabKey - 0xE100: [680,0,2032,88,1944], // stix-SpaceKey - 0xE101: [680,0,1625,88,1537], // stix-DeleteKey - 0xE102: [680,0,1608,88,1520], // stix-AltKey - 0xE103: [680,0,2296,88,2208], // stix-OptionKey - 0xE104: [409,-253,100,-64,164], // stix-KeyBar - 0xE105: [680,0,2032,88,1944], // stix-EnterKey - 0xE106: [680,0,2032,88,1944], // stix-ShiftKey - 0xE107: [680,0,1625,88,1537], // stix-Mod1Key - 0xE108: [680,0,1625,88,1537], // stix-Mod2Key - 0xE109: [781,279,327,10,286], // stix-LeftModified - 0xE10A: [781,279,250,41,178], // stix-RightModified - 0xE10C: [384,-122,400,69,330], // stix-extender for se/nw solid (normal) arrow - 0xE10D: [384,-122,400,69,330], // stix-extender for sw/ne solid (normal) arrow - 0xE10E: [405,-101,652,193,459], // stix-extender for vertical double arrow - 0xE10F: [386,-120,315,0,315], // stix-extender for horizontal double arrow - 0xE110: [432,-28,652,124,528], // stix-extender for se/nw double arrow - 0xE111: [432,-28,652,124,528], // stix-extender for sw/ne double arrow - 0xE112: [662,156,926,55,872], // stix-northeast arrow with dashed stem - 0xE113: [662,156,926,55,872], // stix-southeast arrow with dashed stem - 0xE114: [662,156,926,54,871], // stix-northwest arrow with dashed stem - 0xE115: [662,156,926,54,871], // stix-southwest arrow with dashed stem - 0xE116: [214,-107,511,223,289], // stix-extender for vertical dashed arrow - 0xE117: [286,-220,229,61,168], // stix-extender for horizontal dashed arrow - 0xE118: [271,-134,277,70,207], // stix-extender for se/nw dashed arrow - 0xE119: [271,-134,277,70,207], // stix-extender for sw/ne dashed arrow - 0xE11A: [662,156,511,59,451], // stix-up arrow with dotted stem - 0xE11B: [662,156,511,59,451], // stix-down arrow with dotted stem - 0xE11C: [662,156,926,54,872], // stix-northeast arrow with dotted stem - 0xE11D: [662,156,926,54,872], // stix-southeast arrow with dotted stem - 0xE11E: [662,156,926,54,872], // stix-northwest arrow with dotted stem - 0xE11F: [662,156,926,54,872], // stix-southwest arrow with dotted stem - 0xE120: [411,-94,511,220,293], // stix-extender for vertical dotted arrow - 0xE121: [290,-217,311,-3,314], // stix-extender for horizontal dotted arrow - 0xE122: [382,-123,367,54,313], // stix-extender for se/nw dotted arrow - 0xE123: [383,-124,367,54,313], // stix-extender for sw/ne dotted arrow - 0xE124: [662,156,511,59,451], // stix-up arrow with dot-dash stem - 0xE125: [662,156,511,59,451], // stix-down arrow with dot-dash stem - 0xE126: [449,-57,926,54,872], // stix-left arrow with dot-dash stem - 0xE127: [449,-57,926,54,872], // stix-right arrow with dot-dash stem (E238) - 0xE128: [662,155,926,54,872], // stix-northeast arrow with dot-dash stem - 0xE129: [662,156,926,55,872], // stix-southeast arrow with dot-dash stem - 0xE12A: [662,156,926,54,871], // stix-northwest arrow with dot-dash stem - 0xE12B: [661,156,926,54,872], // stix-southwest arrow with dot-dash stem - 0xE12C: [404,-101,511,220,293], // stix-extender for dot-dash up arrow - 0xE12D: [403,-100,511,220,293], // stix-extender for dot-dash down arrow - 0xE12E: [290,-217,371,14,317], // stix-extender for dot-dash left arrow - 0xE12F: [290,-217,371,54,357], // stix-extender for dot-dash right arrow - 0xE130: [373,-134,379,70,309], // stix-extender for nw dot-dash arrow - 0xE131: [373,-134,379,70,309], // stix-extender for se dot-dash arrow - 0xE132: [373,-134,379,70,309], // stix-extender for ne dot-dash arrow - 0xE133: [373,-134,379,70,309], // stix-extender for sw dot-dash arrow - 0xE134: [486,-20,315,0,315], // stix-extender for triple horizontal arrow - 0xE135: [405,-101,926,230,696], // stix-extender for triple vertical arrow - 0xE136: [541,35,315,0,315], // stix-extender for quadruple horizontal arrow - 0xE137: [405,-101,1033,229,805], // stix-extender for quadruple vertical arrow - 0xE13A: [943,11,735,67,1302], // stix-radical with horizontal (for single character under the radical) - 0xE13F: [-126,261,325,-1,326], // stix-extensible horizontal for curly over and under braces (CMEX10 x3E rotated 90deg) - 0xE142: [955,-342,1820,-25,1830], // stix-left end of extensible overparen (CMEX10 x40 rotated 90deg) - 0xE143: [955,-342,1820,-10,1845], // stix-right end of extensible overparen (CMEX10 x30 rotated 90deg) - 0xE144: [352,261,1820,-25,1830], // stix-left end of extensible underparen (CMEX10 x41 rotated 90deg) - 0xE145: [352,261,1820,-10,1845], // stix-right end of extensible underparen (CMEX10 x31 rotated 90deg) - 0xE146: [955,-554,1820,-25,1830], // stix-left end of extensible over square bracket (CMEX10 x34 rotated 90deg) - 0xE147: [955,-554,1820,-10,1845], // stix-right end of extensible over square bracket (CMEX10 x32 rotated 90deg) - 0xE148: [140,261,1820,-25,1830], // stix-left end of extensible under square bracket (CMEX10 x35 rotated 90deg) - 0xE149: [140,261,1820,-10,1845], // stix-right end of extensible under square bracket (CMEX10 x33 rotated 90deg) - 0xE14C: [660,158,857,48,777], // stix-not left triangle, vertical bar - 0xE14D: [660,158,857,80,809], // stix-not vertical bar, right triangle - 0xE14E: [661,157,685,44,609], // stix-not double less-than sign - 0xE14F: [661,157,685,76,641], // stix-not double greater-than sign - 0xE150: [135,308,735,-25,746], // stix-horizontal brace, down left piece - 0xE151: [135,308,735,-11,760], // stix-horizontal brace, down right piece - 0xE152: [444,0,735,-25,746], // stix-horizontal brace, upper left piece - 0xE153: [444,0,735,-11,760], // stix-horizontal brace, upper right piece - 0xE17C: [683,10,499,28,471], // stix-Mathematical sans-serif partial differential - 0xE17D: [674,0,666,31,635], // stix-Mathematical sans-serif capital alpha - 0xE17E: [662,0,604,74,547], // stix-Mathematical sans-serif capital beta - 0xE17F: [662,0,535,74,523], // stix-Mathematical sans-serif capital gamma - 0xE180: [674,0,666,31,635], // stix-Mathematical sans-serif capital delta - 0xE181: [662,0,583,74,540], // stix-Mathematical sans-serif capital epsilon - 0xE182: [662,0,637,28,603], // stix-Mathematical sans-serif capital zeta - 0xE183: [662,0,658,74,584], // stix-Mathematical sans-serif capital eta - 0xE184: [676,14,714,30,684], // stix-Mathematical sans-serif capital theta - 0xE185: [662,0,401,45,356], // stix-Mathematical sans-serif capital iota - 0xE186: [662,0,634,74,630], // stix-Mathematical sans-serif capital kappa - 0xE187: [674,0,666,31,635], // stix-Mathematical sans-serif capital lambda - 0xE188: [662,0,843,75,768], // stix-Mathematical sans-serif capital mu - 0xE189: [662,14,675,74,601], // stix-Mathematical sans-serif capital nu - 0xE18A: [662,0,643,28,615], // stix-Mathematical sans-serif capital xi - 0xE18B: [676,14,714,30,684], // stix-Mathematical sans-serif capital omicron - 0xE18C: [662,0,658,74,584], // stix-Mathematical sans-serif capital pi - 0xE18D: [662,0,525,74,512], // stix-Mathematical sans-serif capital rho - 0xE18E: [676,14,714,30,684], // stix-Mathematical sans-serif capital THETA symbol - 0xE18F: [662,0,624,26,594], // stix-Mathematical sans-serif capital sigma - 0xE190: [662,0,608,15,593], // stix-Mathematical sans-serif capital tau - 0xE191: [676,0,690,24,666], // stix-Mathematical sans-serif capital upsilon - 0xE192: [662,0,716,23,693], // stix-Mathematical sans-serif capital phi - 0xE193: [662,0,700,31,669], // stix-Mathematical sans-serif capital chi - 0xE194: [681,0,724,12,712], // stix-Mathematical sans-serif capital psi - 0xE195: [676,0,744,29,715], // stix-Mathematical sans-serif capital omega - 0xE196: [463,10,537,28,532], // stix-Mathematical sans-serif small alpha - 0xE197: [683,215,498,41,471], // stix-Mathematical sans-serif small beta - 0xE198: [463,216,474,27,455], // stix-Mathematical sans-serif small gamma - 0xE199: [683,10,499,28,471], // stix-Mathematical sans-serif small delta - 0xE19A: [463,10,438,22,419], // stix-Mathematical sans-serif small epsilon - 0xE19B: [683,213,416,33,408], // stix-Mathematical sans-serif small zeta - 0xE19C: [463,215,494,41,443], // stix-Mathematical sans-serif small eta - 0xE19D: [683,10,446,21,425], // stix-Mathematical sans-serif small theta - 0xE19E: [464,10,270,57,269], // stix-Mathematical sans-serif small iota - 0xE19F: [464,0,472,82,472], // stix-Mathematical sans-serif small kappa - 0xE1A0: [683,11,489,8,478], // stix-Mathematical sans-serif small lambda - 0xE1A1: [453,215,487,44,482], // stix-Mathematical sans-serif small mu - 0xE1A2: [464,14,460,30,427], // stix-Mathematical sans-serif small nu - 0xE1A3: [683,215,418,33,410], // stix-Mathematical sans-serif small xi - 0xE1A4: [463,10,499,28,471], // stix-Mathematical sans-serif small omicron - 0xE1A5: [453,10,507,7,487], // stix-Mathematical sans-serif small pi - 0xE1A6: [462,216,498,48,470], // stix-Mathematical sans-serif small rho - 0xE1A7: [463,212,416,33,414], // stix-Mathematical sans-serif small FINAL sigma - 0xE1A8: [453,10,526,28,542], // stix-Mathematical sans-serif small sigma - 0xE1A9: [453,10,426,2,410], // stix-Mathematical sans-serif small tau - 0xE1AA: [463,10,503,41,463], // stix-Mathematical sans-serif small upsilon - 0xE1AB: [464,216,632,34,600], // stix-Mathematical sans-serif small phi - 0xE1AC: [463,215,399,-20,440], // stix-Mathematical sans-serif small chi - 0xE1AD: [461,216,654,12,642], // stix-Mathematical sans-serif small psi - 0xE1AE: [454,10,624,29,595], // stix-Mathematical sans-serif small omega - 0xE1AF: [463,10,456,23,432], // stix-Mathematical sans-serif epsilon symbol - 0xE1B0: [683,12,489,42,491], // stix-Mathematical sans-serif theta symbol - 0xE1B1: [684,216,622,28,594], // stix-Mathematical sans-serif phi symbol - 0xE1B2: [463,216,491,28,463], // stix-Mathematical sans-serif rho symbol - 0xE1B3: [453,10,762,7,739], // stix-Mathematical sans-serif pi symbol - 0xE28C: [474,-227,0,53,397], // stix-slash for Polish L - 0xE28D: [734,-484,0,94,460], // stix-double circumflex - 0xE28E: [622,101,685,48,637], // stix-equals sign above tilde operator, slash negation - 0xE291: [955,-820,325,-1,326], // stix-short horizontal extender, high - 0xE292: [662,0,1388,38,1350], // stix-two summation signs next to each other - 0xE293: [763,260,1797,58,1739], // stix-two summation signs next to each other - 0xE2FC: [756,218,722,15,707], // stix-capital Alpha, Greek slashed - 0xE2FE: [756,217,667,17,593], // stix-capital Beta, Greek slashed - 0xE300: [756,217,587,11,577], // stix-capital Gamma, Greek slashed - 0xE302: [756,218,722,48,675], // stix-capital Delta, Greek slashed - 0xE304: [756,217,611,12,597], // stix-capital Epsilon, Greek slashed - 0xE306: [756,217,612,10,598], // stix-capital Zeta, Greek slashed - 0xE308: [756,217,722,18,703], // stix-capital Eta, Greek slashed - 0xE30A: [756,218,722,34,688], // stix-capital Theta, Greek slashed - 0xE30C: [756,218,333,-24,438], // stix-capital Iota, Greek slashed - 0xE30E: [756,217,731,33,723], // stix-capital Kappa, Greek slashed - 0xE310: [756,218,702,15,687], // stix-capital Lambda, Greek slashed - 0xE312: [756,217,889,12,864], // stix-capital Mu, Greek slashed - 0xE314: [756,218,722,12,707], // stix-capital Nu, Greek slashed - 0xE316: [756,217,643,29,614], // stix-capital Xi, Greek slashed - 0xE318: [756,218,722,34,688], // stix-capital Omicron, Greek slashed - 0xE31A: [756,217,722,18,703], // stix-capital Pi, Greek slashed - 0xE31C: [756,218,557,16,565], // stix-capital Rho, Greek slashed - 0xE31E: [756,217,624,30,600], // stix-capital Sigma, Greek slashed - 0xE320: [756,218,611,17,593], // stix-capital Tau, Greek slashed - 0xE322: [756,218,722,29,703], // stix-capital Upsilon, Greek slashed - 0xE324: [756,217,763,35,728], // stix-capital Phi, Greek slashed - 0xE326: [756,217,722,10,704], // stix-capital Chi, Greek slashed - 0xE328: [756,217,743,22,724], // stix-capital Psi, Greek slashed - 0xE32A: [756,217,744,29,715], // stix-capital Omega, Greek slashed - 0xE364: [756,240,673,55,665], // stix-capital stigma, Greek slashed - 0xE368: [756,218,557,8,645], // stix-capital digamma, Greek slashed - 0xE36C: [773,218,645,-72,675], // stix-capital koppa, Greek slashed - 0xE370: [756,218,708,7,668], // stix-capital sampi, Greek slashed - 0xE3C2: [662,156,685,48,637], // ?? - 0xE3C3: [627,135,685,48,637], // stix-not (vert) almost equal or equal to - 0xE3C4: [627,135,685,48,637], // stix-not almost equal or equal to - 0xE3C7: [662,156,902,0,863], // ?? - 0xE3C8: [662,156,902,0,863] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Regular/PrivateUse.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js deleted file mode 100644 index 2444616e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +++ /dev/null @@ -1,51 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFiveSym'], - { - 0x2C6: [816,-572,2328,0,2328], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [816,-572,2328,0,2328], // CARON - 0x2DC: [780,-617,2328,0,2328], // SMALL TILDE - 0x2F7: [-117,280,2328,0,2328], // ?? - 0x305: [820,-770,0,-3000,0], // COMBINING OVERLINE - 0x30C: [816,-572,0,-2485,-157], // COMBINING CARON - 0x330: [-117,280,0,-2485,-157], // COMBINING TILDE BELOW - 0x332: [-127,177,0,-3000,0], // COMBINING LOW LINE - 0x338: [960,454,0,-561,-123], // COMBINING LONG SOLIDUS OVERLAY - 0x203E: [820,-770,3000,0,3000], // OVERLINE - 0x20D0: [749,-584,0,-3000,0], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,-3000,0], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,-3000,0], // COMBINING LEFT ARROW ABOVE - 0x20D7: [735,-482,0,-3000,0], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,-3000,0], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,-3000,0], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,-3000,0], // COMBINING LEFT ARROW BELOW - 0x20EF: [-26,279,0,-3000,0], // COMBINING RIGHT ARROW BELOW - 0x23B4: [766,-544,3237,90,3147], // TOP SQUARE BRACKET - 0x23B5: [139,83,3237,90,3147], // BOTTOM SQUARE BRACKET - 0x23DC: [80,189,3237,0,3237], // TOP PARENTHESIS (mathematical use) - 0x23DD: [842,-573,3237,0,3237], // BOTTOM PARENTHESIS (mathematical use) - 0x23E0: [66,212,3164,0,3164], // TOP TORTOISE SHELL BRACKET (mathematical use) - 0x23E1: [842,-564,3164,0,3164] // BOTTOM TORTOISE SHELL BRACKET (mathematical use) - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFiveSym/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js deleted file mode 100644 index 4dbbf59f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +++ /dev/null @@ -1,43 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFiveSym'] = { - directory: 'SizeFiveSym/Regular', - family: 'STIXSizeFiveSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x5F: [-127,177,3000,0,3000], // LOW LINE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [816,-572,0,-2485,-157], // COMBINING CIRCUMFLEX ACCENT - 0x303: [780,-617,0,-2485,-157], // COMBINING TILDE - 0x23DE: [181,90,3238,0,3238], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [844,-573,3238,0,3238] // BOTTOM CURLY BRACKET (mathematical use) -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeFiveSym"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFiveSym/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js deleted file mode 100644 index a2f7a990..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +++ /dev/null @@ -1,46 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFourSym-bold'] = { - directory: 'SizeFourSym/Bold', - family: 'STIXSizeFourSym', - weight: 'bold', - 0x20: [0,0,250,0,0], // SPACE - 0x28: [2604,471,818,115,761], // LEFT PARENTHESIS - 0x29: [2604,471,818,57,703], // RIGHT PARENTHESIS - 0x2F: [2604,471,1321,3,1318], // SOLIDUS - 0x5B: [2604,471,699,314,691], // LEFT SQUARE BRACKET - 0x5C: [2604,471,1321,3,1318], // REVERSE SOLIDUS - 0x5D: [2604,471,699,8,385], // RIGHT SQUARE BRACKET - 0x7B: [2604,471,1119,197,944], // LEFT CURLY BRACKET - 0x7D: [2604,471,1119,175,922], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x221A: [1510,345,1184,101,915], // SQUARE ROOT - 0x2308: [2604,471,720,314,712], // LEFT CEILING - 0x2309: [2604,471,720,8,406], // RIGHT CEILING - 0x230A: [2604,471,720,314,712], // LEFT FLOOR - 0x230B: [2604,471,720,8,406], // RIGHT FLOOR - 0x27E8: [2604,471,908,120,841], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [2604,471,908,67,788] // MATHEMATICAL RIGHT ANGLE BRACKET -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeFourSym-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFourSym/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js deleted file mode 100644 index 38cb2898..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +++ /dev/null @@ -1,63 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFourSym'], - { - 0x2C6: [796,-573,1886,0,1886], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [796,-573,1886,0,1886], // CARON - 0x2DC: [771,-608,1886,0,1886], // SMALL TILDE - 0x2F7: [-117,280,1886,0,1886], // ?? - 0x305: [820,-770,0,-2500,0], // COMBINING OVERLINE - 0x30C: [796,-573,0,-2040,-154], // COMBINING CARON - 0x330: [-117,280,0,-2040,-154], // COMBINING TILDE BELOW - 0x332: [-127,177,0,-2500,0], // COMBINING LOW LINE - 0x338: [731,228,0,-490,-169], // COMBINING LONG SOLIDUS OVERLAY - 0x203E: [820,-770,2500,0,2500], // OVERLINE - 0x20D0: [749,-584,0,-2193,-13], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,-2193,-13], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,-2193,-13], // COMBINING LEFT ARROW ABOVE - 0x20D7: [735,-482,0,-2193,-13], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,-2193,-13], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,-2193,-13], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,-2193,-13], // COMBINING LEFT ARROW BELOW - 0x20EF: [-26,279,0,-2193,-13], // COMBINING RIGHT ARROW BELOW - 0x221B: [1795,345,1184,112,895], // CUBE ROOT - 0x221C: [1790,345,1184,112,895], // FOURTH ROOT - 0x23B4: [766,-544,2692,84,2608], // TOP SQUARE BRACKET - 0x23B5: [139,83,2692,84,2608], // BOTTOM SQUARE BRACKET - 0x23DC: [76,168,2328,0,2328], // TOP PARENTHESIS (mathematical use) - 0x23DD: [817,-573,2328,0,2328], // BOTTOM PARENTHESIS (mathematical use) - 0x23E0: [66,212,2738,0,2738], // TOP TORTOISE SHELL BRACKET (mathematical use) - 0x23E1: [842,-564,2738,0,2738], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) - 0x2772: [2566,509,1031,320,959], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT - 0x2773: [2566,509,1031,72,711], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT - 0x27E6: [2566,509,778,295,708], // MATHEMATICAL LEFT WHITE SQUARE BRACKET - 0x27E7: [2566,509,778,70,483], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET - 0x27EA: [2566,509,1273,126,1133], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET - 0x27EB: [2566,509,1273,140,1147], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET - 0x2983: [2566,509,1225,182,1052], // LEFT WHITE CURLY BRACKET - 0x2984: [2566,509,1225,173,1043], // RIGHT WHITE CURLY BRACKET - 0x2985: [2566,509,1175,195,1050], // LEFT WHITE PARENTHESIS - 0x2986: [2566,509,1175,194,1049] // RIGHT WHITE PARENTHESIS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFourSym/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js deleted file mode 100644 index f59157cd..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +++ /dev/null @@ -1,62 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFourSym'] = { - directory: 'SizeFourSym/Regular', - family: 'STIXSizeFourSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x221A,0x221C,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"], - [0x2772,0x2773,"All"], - [0x27E6,0x27EB,"All"], - [0x2983,0x2986,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x28: [2566,509,808,124,732], // LEFT PARENTHESIS - 0x29: [2566,509,808,76,684], // RIGHT PARENTHESIS - 0x2F: [2566,509,1309,16,1293], // SOLIDUS - 0x5B: [2566,509,661,295,634], // LEFT SQUARE BRACKET - 0x5C: [2566,509,1309,16,1293], // REVERSE SOLIDUS - 0x5D: [2566,509,661,27,366], // RIGHT SQUARE BRACKET - 0x5F: [-127,177,2500,0,2500], // LOW LINE - 0x7B: [2566,509,1076,173,882], // LEFT CURLY BRACKET - 0x7D: [2566,509,1076,194,903], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [796,-573,0,-2040,-154], // COMBINING CIRCUMFLEX ACCENT - 0x303: [771,-608,0,-2040,-154], // COMBINING TILDE - 0x221A: [1510,345,1184,112,895], // SQUARE ROOT - 0x2308: [2566,509,682,295,655], // LEFT CEILING - 0x2309: [2566,509,682,27,387], // RIGHT CEILING - 0x230A: [2566,509,682,295,655], // LEFT FLOOR - 0x230B: [2566,509,682,27,387], // RIGHT FLOOR - 0x23DE: [175,90,2328,0,2328], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [837,-572,2328,0,2328], // BOTTOM CURLY BRACKET (mathematical use) - 0x27E8: [2566,509,908,113,796], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [2566,509,908,112,795] // MATHEMATICAL RIGHT ANGLE BRACKET -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeFourSym"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFourSym/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js deleted file mode 100644 index 81f01470..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeOneSym-bold'], - { - 0x2140: [1500,-22,1341,60,1281] // DOUBLE-STRUCK N-ARY SUMMATION - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeOneSym/Bold/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js deleted file mode 100644 index 44fd453a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +++ /dev/null @@ -1,52 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeOneSym-bold'] = { - directory: 'SizeOneSym/Bold', - family: 'STIXSizeOneSym', - weight: 'bold', - Ranges: [ - [0x2140,0x2140,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1104,126,468,158,439], // LEFT PARENTHESIS - 0x29: [1104,126,468,29,310], // RIGHT PARENTHESIS - 0x2F: [1104,126,579,14,564], // SOLIDUS - 0x5B: [1104,126,408,186,407], // LEFT SQUARE BRACKET - 0x5C: [1104,126,579,14,564], // REVERSE SOLIDUS - 0x5D: [1104,126,408,1,222], // RIGHT SQUARE BRACKET - 0x7B: [1104,126,595,115,503], // LEFT CURLY BRACKET - 0x7D: [1104,126,595,92,480], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x220F: [1500,-49,1355,35,1321], // N-ARY PRODUCT - 0x2210: [1500,-49,1355,34,1320], // N-ARY COPRODUCT - 0x2211: [1500,-49,1292,60,1215], // N-ARY SUMMATION - 0x221A: [1588,241,1061,109,1119], // SQUARE ROOT - 0x2308: [1104,126,476,186,470], // LEFT CEILING - 0x2309: [1104,126,476,6,292], // RIGHT CEILING - 0x230A: [1104,126,476,184,470], // LEFT FLOOR - 0x230B: [1104,126,476,6,290], // RIGHT FLOOR - 0x27E8: [1104,126,579,99,481], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1104,126,579,98,480] // MATHEMATICAL RIGHT ANGLE BRACKET -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeOneSym-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeOneSym/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js deleted file mode 100644 index a79a969e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +++ /dev/null @@ -1,77 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeOneSym'], - { - 0x2C6: [767,-554,560,0,560], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [767,-554,560,0,560], // CARON - 0x2DC: [750,-598,558,-2,558], // SMALL TILDE - 0x2F7: [-117,269,558,-2,558], // ?? - 0x305: [820,-770,0,-1000,0], // COMBINING OVERLINE - 0x30C: [767,-554,0,-720,-160], // COMBINING CARON - 0x330: [-117,269,0,-722,-162], // COMBINING TILDE BELOW - 0x332: [-127,177,0,-1000,0], // COMBINING LOW LINE - 0x338: [532,21,0,-720,-157], // COMBINING LONG SOLIDUS OVERLAY - 0x203E: [820,-770,1000,0,1000], // OVERLINE - 0x20D0: [749,-584,0,-892,-21], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,-893,-22], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,-893,-21], // COMBINING LEFT ARROW ABOVE - 0x20D7: [736,-482,0,-893,-21], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,-893,-22], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,-892,-21], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,-893,-21], // COMBINING LEFT ARROW BELOW - 0x20EF: [-25,279,0,-893,-21], // COMBINING RIGHT ARROW BELOW - 0x2140: [1500,-50,1259,55,1204], // DOUBLE-STRUCK N-ARY SUMMATION - 0x221B: [1552,295,1057,112,1089], // CUBE ROOT - 0x221C: [1552,295,1057,112,1089], // FOURTH ROOT - 0x2320: [1066,79,688,294,574], // TOP HALF INTEGRAL - 0x2321: [1086,59,688,115,394], // BOTTOM HALF INTEGRAL - 0x23B2: [1500,5,1482,92,1292], // SUMMATION TOP - 0x23B3: [1500,5,1482,92,1366], // SUMMATION BOTTOM - 0x23B4: [766,-544,1063,69,994], // TOP SQUARE BRACKET - 0x23B5: [139,83,1063,68,993], // BOTTOM SQUARE BRACKET - 0x23DC: [60,153,926,0,926], // TOP PARENTHESIS (mathematical use) - 0x23DD: [777,-564,926,0,926], // BOTTOM PARENTHESIS (mathematical use) - 0x23E0: [66,212,1460,0,1460], // TOP TORTOISE SHELL BRACKET (mathematical use) - 0x23E1: [842,-564,1460,0,1460], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) - 0x2772: [1066,164,566,205,539], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT - 0x2773: [1066,164,566,27,361], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT - 0x27E6: [1066,164,515,180,486], // MATHEMATICAL LEFT WHITE SQUARE BRACKET - 0x27E7: [1066,164,515,29,335], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET - 0x27EA: [1066,164,798,116,670], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET - 0x27EB: [1066,164,798,128,682], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET - 0x2983: [1066,164,712,114,587], // LEFT WHITE CURLY BRACKET - 0x2984: [1066,164,712,114,587], // RIGHT WHITE CURLY BRACKET - 0x2985: [1066,164,632,135,546], // LEFT WHITE PARENTHESIS - 0x2986: [1066,164,632,86,497], // RIGHT WHITE PARENTHESIS - 0x29F8: [1566,279,806,25,781], // BIG SOLIDUS - 0x29F9: [1566,279,806,25,781], // BIG REVERSE SOLIDUS - 0x2A03: [1500,-39,1265,118,1147], // N-ARY UNION OPERATOR WITH DOT - 0x2A07: [1500,-49,1530,60,1470], // TWO LOGICAL AND OPERATOR - 0x2A08: [1500,-49,1530,60,1470], // TWO LOGICAL OR OPERATOR - 0x2A09: [1500,-49,1482,60,1422], // N-ARY TIMES OPERATOR - 0x2A0A: [1500,-50,1292,90,1202], // MODULO TWO SUM - 0x2AFC: [867,363,690,133,557], // LARGE TRIPLE VERTICAL BAR OPERATOR - 0x2AFF: [867,363,410,100,310] // N-ARY WHITE VERTICAL BAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeOneSym/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js deleted file mode 100644 index a60b67f3..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +++ /dev/null @@ -1,105 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeOneSym'] = { - directory: 'SizeOneSym/Regular', - family: 'STIXSizeOneSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x2140,0x2140,"All"], - [0x221A,0x221C,"All"], - [0x2320,0x2321,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"], - [0x2772,0x2773,"All"], - [0x27E6,0x27EB,"All"], - [0x2983,0x2986,"All"], - [0x29F8,0x29F9,"All"], - [0x2A00,0x2A0A,"All"], - [0x2AFC,0x2AFF,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1066,164,468,139,382], // LEFT PARENTHESIS - 0x29: [1066,164,468,86,329], // RIGHT PARENTHESIS - 0x2F: [1066,164,579,25,552], // SOLIDUS - 0x5B: [1066,164,383,180,363], // LEFT SQUARE BRACKET - 0x5C: [1066,164,579,27,552], // REVERSE SOLIDUS - 0x5D: [1066,164,383,20,203], // RIGHT SQUARE BRACKET - 0x5F: [-127,177,1000,0,1000], // LOW LINE - 0x7B: [1066,164,575,114,466], // LEFT CURLY BRACKET - 0x7D: [1066,164,575,109,461], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [767,-554,0,-720,-160], // COMBINING CIRCUMFLEX ACCENT - 0x303: [750,-598,0,-722,-162], // COMBINING TILDE - 0x220F: [1500,-49,1355,50,1305], // N-ARY PRODUCT - 0x2210: [1500,-49,1355,50,1305], // N-ARY COPRODUCT - 0x2211: [1499,-49,1292,90,1202], // N-ARY SUMMATION - 0x221A: [1552,295,1057,112,1089], // SQUARE ROOT - 0x22C0: [1500,-49,1265,60,1205], // N-ARY LOGICAL AND - 0x22C1: [1500,-49,1265,60,1205], // N-ARY LOGICAL OR - 0x22C2: [1510,-49,1265,118,1147], // N-ARY INTERSECTION - 0x22C3: [1500,-39,1265,118,1147], // N-ARY UNION - 0x2308: [1066,164,453,180,426], // LEFT CEILING - 0x2309: [1066,164,453,25,273], // RIGHT CEILING - 0x230A: [1066,164,453,180,428], // LEFT FLOOR - 0x230B: [1066,164,453,27,273], // RIGHT FLOOR - 0x239B: [700,305,450,50,400], // LEFT PARENTHESIS UPPER HOOK - 0x239C: [705,305,450,50,174], // LEFT PARENTHESIS EXTENSION - 0x239D: [705,300,450,50,400], // LEFT PARENTHESIS LOWER HOOK - 0x239E: [700,305,450,50,400], // RIGHT PARENTHESIS UPPER HOOK - 0x239F: [705,305,450,276,400], // RIGHT PARENTHESIS EXTENSION - 0x23A0: [705,300,450,50,400], // RIGHT PARENTHESIS LOWER HOOK - 0x23A1: [682,323,450,50,415], // LEFT SQUARE BRACKET UPPER CORNER - 0x23A2: [687,323,450,50,150], // LEFT SQUARE BRACKET EXTENSION - 0x23A3: [687,318,450,50,415], // LEFT SQUARE BRACKET LOWER CORNER - 0x23A4: [682,323,450,35,400], // RIGHT SQUARE BRACKET UPPER CORNER - 0x23A5: [687,323,450,300,400], // RIGHT SQUARE BRACKET EXTENSION - 0x23A6: [687,318,450,35,400], // RIGHT SQUARE BRACKET LOWER CORNER - 0x23A7: [700,305,640,260,600], // LEFT CURLY BRACKET UPPER HOOK - 0x23A8: [705,305,640,40,380], // LEFT CURLY BRACKET MIDDLE PIECE - 0x23A9: [705,300,640,260,600], // LEFT CURLY BRACKET LOWER HOOK - 0x23AA: [705,305,640,260,380], // CURLY BRACKET EXTENSION - 0x23AB: [700,305,640,40,380], // RIGHT CURLY BRACKET UPPER HOOK - 0x23AC: [705,305,640,260,600], // RIGHT CURLY BRACKET MIDDLE PIECE - 0x23AD: [705,300,640,40,380], // RIGHT CURLY BRACKET LOWER HOOK - 0x23AE: [610,25,688,294,394], // INTEGRAL EXTENSION - 0x23B0: [700,301,600,35,566], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION - 0x23B1: [700,301,600,35,566], // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION - 0x23B7: [1510,345,1184,112,895], // RADICAL SYMBOL BOTTOM - 0x23B8: [1566,289,721,0,66], // LEFT VERTICAL BOX LINE - 0x23B9: [1566,289,721,655,721], // RIGHT VERTICAL BOX LINE - 0x23DE: [136,89,926,0,925], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [789,-564,926,0,925], // BOTTOM CURLY BRACKET (mathematical use) - 0x27E8: [1066,164,578,116,462], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1066,164,578,116,462], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x2A00: [1500,-49,1555,52,1503], // N-ARY CIRCLED DOT OPERATOR - 0x2A01: [1500,-49,1555,52,1503], // N-ARY CIRCLED PLUS OPERATOR - 0x2A02: [1500,-49,1555,52,1503], // N-ARY CIRCLED TIMES OPERATOR - 0x2A04: [1500,-39,1265,118,1147], // N-ARY UNION OPERATOR WITH PLUS - 0x2A05: [1500,-49,1153,82,1071], // N-ARY SQUARE INTERSECTION OPERATOR - 0x2A06: [1500,-49,1153,82,1071] // N-ARY SQUARE UNION OPERATOR -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeOneSym"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeOneSym/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js deleted file mode 100644 index e4fc0580..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +++ /dev/null @@ -1,46 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeThreeSym-bold'] = { - directory: 'SizeThreeSym/Bold', - family: 'STIXSizeThreeSym', - weight: 'bold', - 0x20: [0,0,250,0,0], // SPACE - 0x28: [2104,355,750,163,686], // LEFT PARENTHESIS - 0x29: [2104,355,750,64,587], // RIGHT PARENTHESIS - 0x2F: [2104,355,1102,11,1091], // SOLIDUS - 0x5B: [2104,355,538,236,540], // LEFT SQUARE BRACKET - 0x5C: [2104,355,1102,11,1091], // REVERSE SOLIDUS - 0x5D: [2104,355,538,-2,302], // RIGHT SQUARE BRACKET - 0x7B: [2104,355,906,124,736], // LEFT CURLY BRACKET - 0x7D: [2104,355,906,170,782], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x221A: [2604,471,1076,104,1139], // SQUARE ROOT - 0x2308: [2104,355,595,236,599], // LEFT CEILING - 0x2309: [2104,355,595,-4,359], // RIGHT CEILING - 0x230A: [2104,355,595,236,599], // LEFT FLOOR - 0x230B: [2104,355,595,-4,359], // RIGHT FLOOR - 0x27E8: [2104,355,765,108,720], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [2104,355,765,45,657] // MATHEMATICAL RIGHT ANGLE BRACKET -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeThreeSym-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeThreeSym/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js deleted file mode 100644 index c5235c29..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +++ /dev/null @@ -1,63 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeThreeSym'], - { - 0x2C6: [777,-564,1460,0,1460], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [777,-564,1460,0,1460], // CARON - 0x2DC: [774,-608,1458,-2,1458], // SMALL TILDE - 0x2F7: [-117,283,1458,-2,1458], // ?? - 0x305: [820,-770,0,-2000,0], // COMBINING OVERLINE - 0x30C: [777,-564,0,-1610,-150], // COMBINING CARON - 0x330: [-117,283,0,-1612,-152], // COMBINING TILDE BELOW - 0x332: [-127,177,0,-2000,0], // COMBINING LOW LINE - 0x338: [662,156,0,-543,-132], // COMBINING LONG SOLIDUS OVERLAY - 0x203E: [820,-770,2000,0,2000], // OVERLINE - 0x20D0: [749,-584,0,-1773,-29], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,-1773,-29], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,-1773,-29], // COMBINING LEFT ARROW ABOVE - 0x20D7: [735,-482,0,-1773,-29], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,-1773,-29], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,-1773,-29], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,-1773,-29], // COMBINING LEFT ARROW BELOW - 0x20EF: [-26,279,0,-1773,-29], // COMBINING RIGHT ARROW BELOW - 0x221B: [2565,510,1076,112,1110], // CUBE ROOT - 0x221C: [2565,510,1076,112,1110], // FOURTH ROOT - 0x23B4: [766,-544,2147,78,2069], // TOP SQUARE BRACKET - 0x23B5: [139,83,2147,78,2069], // BOTTOM SQUARE BRACKET - 0x23DC: [70,161,1886,0,1886], // TOP PARENTHESIS (mathematical use) - 0x23DD: [803,-572,1886,0,1886], // BOTTOM PARENTHESIS (mathematical use) - 0x23E0: [66,212,2312,0,2312], // TOP TORTOISE SHELL BRACKET (mathematical use) - 0x23E1: [842,-564,2312,0,2312], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) - 0x2772: [2066,393,842,265,790], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT - 0x2773: [2066,393,842,52,577], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT - 0x27E6: [2066,394,647,225,597], // MATHEMATICAL LEFT WHITE SQUARE BRACKET - 0x27E7: [2066,394,647,50,422], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET - 0x27EA: [2067,394,1091,104,955], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET - 0x27EB: [2067,394,1091,136,987], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET - 0x2983: [2066,394,1031,143,867], // LEFT WHITE CURLY BRACKET - 0x2984: [2066,394,1031,164,888], // RIGHT WHITE CURLY BRACKET - 0x2985: [2066,393,1029,180,914], // LEFT WHITE PARENTHESIS - 0x2986: [2066,393,1029,115,849] // RIGHT WHITE PARENTHESIS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeThreeSym/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js deleted file mode 100644 index 2e03e708..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +++ /dev/null @@ -1,62 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeThreeSym'] = { - directory: 'SizeThreeSym/Regular', - family: 'STIXSizeThreeSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x221A,0x221C,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"], - [0x2772,0x2773,"All"], - [0x27E6,0x27EB,"All"], - [0x2983,0x2986,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x28: [2066,394,750,182,667], // LEFT PARENTHESIS - 0x29: [2066,394,750,83,568], // RIGHT PARENTHESIS - 0x2F: [2066,394,1101,30,1071], // SOLIDUS - 0x5B: [2066,394,508,225,491], // LEFT SQUARE BRACKET - 0x5C: [2066,394,1101,30,1071], // REVERSE SOLIDUS - 0x5D: [2066,394,508,17,283], // RIGHT SQUARE BRACKET - 0x5F: [-127,177,2000,0,2000], // LOW LINE - 0x7B: [2066,394,906,143,717], // LEFT CURLY BRACKET - 0x7D: [2066,394,906,189,763], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [777,-564,0,-1610,-150], // COMBINING CIRCUMFLEX ACCENT - 0x303: [774,-608,0,-1612,-152], // COMBINING TILDE - 0x221A: [2565,510,1076,112,1110], // SQUARE ROOT - 0x2308: [2066,394,565,225,550], // LEFT CEILING - 0x2309: [2066,394,565,15,340], // RIGHT CEILING - 0x230A: [2066,394,565,225,550], // LEFT FLOOR - 0x230B: [2066,394,565,15,340], // RIGHT FLOOR - 0x23DE: [157,86,1886,0,1886], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [815,-572,1886,0,1886], // BOTTOM CURLY BRACKET (mathematical use) - 0x27E8: [2066,394,765,96,670], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [2066,394,765,95,669] // MATHEMATICAL RIGHT ANGLE BRACKET -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeThreeSym"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeThreeSym/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js deleted file mode 100644 index fd733021..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +++ /dev/null @@ -1,46 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeTwoSym-bold'] = { - directory: 'SizeTwoSym/Bold', - family: 'STIXSizeTwoSym', - weight: 'bold', - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1604,241,608,110,512], // LEFT PARENTHESIS - 0x29: [1604,241,608,96,498], // RIGHT PARENTHESIS - 0x2F: [1604,241,802,4,798], // SOLIDUS - 0x5B: [1604,241,485,197,467], // LEFT SQUARE BRACKET - 0x5C: [1604,241,802,4,798], // REVERSE SOLIDUS - 0x5D: [1604,241,485,18,288], // RIGHT SQUARE BRACKET - 0x7B: [1604,241,681,69,514], // LEFT CURLY BRACKET - 0x7D: [1604,241,681,167,612], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x221A: [2095,355,1130,106,1185], // SQUARE ROOT - 0x2308: [1604,241,538,185,510], // LEFT CEILING - 0x2309: [1604,241,538,28,355], // RIGHT CEILING - 0x230A: [1604,241,538,185,512], // LEFT FLOOR - 0x230B: [1604,241,538,28,353], // RIGHT FLOOR - 0x27E8: [1604,241,622,98,572], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1604,241,622,50,524] // MATHEMATICAL RIGHT ANGLE BRACKET -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeTwoSym-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeTwoSym/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js deleted file mode 100644 index e905b3e7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +++ /dev/null @@ -1,64 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeTwoSym'], - { - 0x2C6: [777,-564,979,0,979], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [777,-564,979,0,979], // CARON - 0x2DC: [760,-608,977,-2,977], // SMALL TILDE - 0x2F7: [-117,269,977,-2,977], // ?? - 0x305: [820,-770,0,-1500,0], // COMBINING OVERLINE - 0x30C: [777,-564,0,-1150,-171], // COMBINING CARON - 0x330: [-117,269,0,-1152,-173], // COMBINING TILDE BELOW - 0x332: [-127,177,0,-1500,0], // COMBINING LOW LINE - 0x338: [662,0,0,-720,-6], // COMBINING LONG SOLIDUS OVERLAY - 0x203E: [820,-770,1500,0,1500], // OVERLINE - 0x20D0: [749,-584,0,-1323,-15], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,-1323,-15], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,-1323,-15], // COMBINING LEFT ARROW ABOVE - 0x20D7: [735,-482,0,-1323,-15], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,-1323,-15], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,-1323,-15], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,-1323,-15], // COMBINING LEFT ARROW BELOW - 0x20EF: [-26,279,0,-1323,-15], // COMBINING RIGHT ARROW BELOW - 0x221B: [2056,404,1124,110,1157], // CUBE ROOT - 0x221C: [2056,404,1124,110,1157], // FOURTH ROOT - 0x23B4: [766,-544,1606,74,1532], // TOP SQUARE BRACKET - 0x23B5: [139,83,1606,74,1532], // BOTTOM SQUARE BRACKET - 0x23DC: [66,147,1460,0,1460], // TOP PARENTHESIS (mathematical use) - 0x23DD: [785,-572,1460,0,1460], // BOTTOM PARENTHESIS (mathematical use) - 0x23E0: [66,212,1886,0,1886], // TOP TORTOISE SHELL BRACKET (mathematical use) - 0x23E1: [842,-564,1886,0,1886], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) - 0x2772: [1566,279,688,230,651], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT - 0x2773: [1566,279,688,37,458], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT - 0x27E6: [1566,279,555,190,517], // MATHEMATICAL LEFT WHITE SQUARE BRACKET - 0x27E7: [1566,279,555,38,365], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET - 0x27EA: [1566,279,901,93,793], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET - 0x27EB: [1566,279,901,108,808], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET - 0x2983: [1566,279,827,122,692], // LEFT WHITE CURLY BRACKET - 0x2984: [1565,280,827,135,705], // RIGHT WHITE CURLY BRACKET - 0x2985: [1566,282,793,155,693], // LEFT WHITE PARENTHESIS - 0x2986: [1566,282,793,100,638], // RIGHT WHITE PARENTHESIS - 0x2AFC: [1586,289,906,133,773] // LARGE TRIPLE VERTICAL BAR OPERATOR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeTwoSym/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js deleted file mode 100644 index 2d07ab21..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +++ /dev/null @@ -1,63 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeTwoSym'] = { - directory: 'SizeTwoSym/Regular', - family: 'STIXSizeTwoSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x221A,0x221C,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"], - [0x2772,0x2773,"All"], - [0x27E6,0x27EB,"All"], - [0x2983,0x2986,"All"], - [0x2AFC,0x2AFF,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1566,279,589,139,503], // LEFT PARENTHESIS - 0x29: [1566,279,608,114,478], // RIGHT PARENTHESIS - 0x2F: [1566,279,806,25,781], // SOLIDUS - 0x5B: [1566,279,459,190,422], // LEFT SQUARE BRACKET - 0x5C: [1566,279,806,25,781], // REVERSE SOLIDUS - 0x5D: [1566,279,459,37,269], // RIGHT SQUARE BRACKET - 0x5F: [-127,177,1500,0,1000], // LOW LINE - 0x7B: [1566,279,717,124,531], // LEFT CURLY BRACKET - 0x7D: [1566,279,717,186,593], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [777,-564,0,-1150,-171], // COMBINING CIRCUMFLEX ACCENT - 0x303: [760,-608,0,-1152,-173], // COMBINING TILDE - 0x221A: [2056,404,1124,110,1157], // SQUARE ROOT - 0x2308: [1566,279,524,190,479], // LEFT CEILING - 0x2309: [1566,279,526,47,336], // RIGHT CEILING - 0x230A: [1566,279,524,190,479], // LEFT FLOOR - 0x230B: [1566,279,526,47,336], // RIGHT FLOOR - 0x23DE: [143,81,1460,0,1460], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [797,-573,1460,0,1460], // BOTTOM CURLY BRACKET (mathematical use) - 0x27E8: [1566,279,622,95,531], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1566,279,622,91,527] // MATHEMATICAL RIGHT ANGLE BRACKET -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeTwoSym"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeTwoSym/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js deleted file mode 100644 index 46c9048f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +++ /dev/null @@ -1,60 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXVariants-bold'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x7C: [691,189,340,126,214], // VERTICAL LINE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x19B: [666,0,536,60,526], // LATIN SMALL LETTER LAMBDA WITH STROKE - 0x2033: [586,-12,713,44,669], // DOUBLE PRIME - 0x2034: [586,-12,1032,44,988], // TRIPLE PRIME - 0x2035: [586,-12,394,44,350], // REVERSED PRIME - 0x2036: [586,-12,713,44,669], // REVERSED DOUBLE PRIME - 0x2037: [586,-12,1032,44,988], // REVERSED TRIPLE PRIME - 0x2057: [586,-12,1351,43,1306], // QUADRUPLE PRIME - 0x2140: [691,0,780,55,725], // DOUBLE-STRUCK N-ARY SUMMATION - 0x2190: [451,-55,428,68,428], // LEFTWARDS ARROW - 0x2191: [680,15,556,80,476], // UPWARDS ARROW - 0x2192: [451,-55,428,0,360], // RIGHTWARDS ARROW - 0x2193: [680,15,556,80,476], // DOWNWARDS ARROW - 0x21D1: [600,15,714,40,674], // UPWARDS DOUBLE ARROW - 0x21D3: [600,15,714,40,674], // DOWNWARDS DOUBLE ARROW - 0x220F: [676,0,734,27,707], // N-ARY PRODUCT - 0x2210: [676,0,734,27,707], // N-ARY COPRODUCT - 0x2211: [676,0,690,39,649], // N-ARY SUMMATION - 0x221D: [431,0,750,56,687], // PROPORTIONAL TO - 0x2223: [451,19,290,89,201], // DIVIDES - 0x2244: [543,45,750,68,683], // stix-not (vert) similar or equal - 0x2247: [648,144,750,68,683], // stix-not (vert) similar over two-line equals - 0x2249: [598,64,750,68,683], // stix-not, vert, approximate - 0x2260: [687,183,750,68,682], // stix-not (vert) equals - 0x2262: [747,243,750,68,682], // stix-not (vert) three-line equals - 0x2268: [728,293,750,80,670], // stix-less, vert, not double equals - 0x2269: [728,293,750,80,670], // stix-gt, vert, not double equals - 0x226E: [672,166,750,80,670], // stix-not, vert, less-than - 0x226F: [672,166,750,80,670], // stix-not, vert, greater-than - 0x2270: [742,236,750,80,670], // stix-not, vert, less-than-or-equal - 0x2271: [742,236,750,80,670] // stix-not, vert, greater-than-or-equal - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Variants/Bold/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js deleted file mode 100644 index 55314d26..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +++ /dev/null @@ -1,44 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXVariants-bold'] = { - directory: 'Variants/Bold', - family: 'STIXVariants', - weight: 'bold', - Ranges: [ - [0x20,0x20,"All"], - [0x77,0x7C,"All"], - [0xA0,0xA0,"All"], - [0x19B,0x19B,"All"], - [0x2032,0x2057,"All"], - [0x2140,0x2140,"All"], - [0x2190,0x2193,"All"], - [0x21D1,0x21E2,"All"], - [0x2205,0x22ED,"All"] - ], - 0x2032: [586,-12,394,44,350], // PRIME - 0x2205: [729,74,584,36,548], // EMPTY SET - 0x2216: [732,193,518,45,473], // SET MINUS - 0x221A: [943,-28,800,112,844] // SQUARE ROOT -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXVariants-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Variants/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js deleted file mode 100644 index 042f3a62..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +++ /dev/null @@ -1,120 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXVariants'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x77: [80,244,515,22,493], // LATIN SMALL LETTER W - 0x7C: [690,189,320,127,193], // VERTICAL LINE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x19B: [668,0,520,55,516], // LATIN SMALL LETTER LAMBDA WITH STROKE - 0x264: [450,10,460,18,441], // ?? - 0x2033: [565,-28,605,43,561], // DOUBLE PRIME - 0x2034: [565,-28,873,43,829], // TRIPLE PRIME - 0x2035: [565,-28,340,45,296], // REVERSED PRIME - 0x2036: [565,-28,605,44,561], // REVERSED DOUBLE PRIME - 0x2037: [565,-28,873,43,829], // REVERSED TRIPLE PRIME - 0x2057: [565,-28,1139,43,1096], // QUADRUPLE PRIME - 0x2140: [662,0,718,50,668], // DOUBLE-STRUCK N-ARY SUMMATION - 0x2190: [449,-57,415,55,415], // LEFTWARDS ARROW - 0x2191: [600,15,598,82,518], // UPWARDS ARROW - 0x2192: [449,-57,415,0,360], // RIGHTWARDS ARROW - 0x2193: [600,15,598,80,516], // DOWNWARDS ARROW - 0x21D1: [600,15,794,63,729], // UPWARDS DOUBLE ARROW - 0x21D3: [600,15,794,65,731], // DOWNWARDS DOUBLE ARROW - 0x21E0: [449,-58,463,70,393], // LEFTWARDS DASHED ARROW - 0x21E2: [449,-58,463,70,393], // RIGHTWARDS DASHED ARROW - 0x2208: [516,13,402,64,338], // ELEMENT OF - 0x2209: [662,156,685,60,625], // stix-negated (vert) set membership, variant - 0x220B: [516,13,402,64,338], // CONTAINS AS MEMBER - 0x220C: [662,156,685,60,625], // stix-negated (vert) contains - 0x220F: [662,0,694,30,664], // N-ARY PRODUCT - 0x2210: [662,0,694,30,664], // N-ARY COPRODUCT - 0x2211: [662,0,694,38,656], // N-ARY SUMMATION - 0x221B: [946,-55,737,72,767], // CUBE ROOT - 0x221C: [943,-55,737,72,767], // FOURTH ROOT - 0x221D: [428,0,685,41,646], // PROPORTIONAL TO - 0x2223: [451,19,266,100,166], // DIVIDES - 0x2224: [451,19,404,23,381], // DOES NOT DIVIDE - 0x2225: [451,11,446,90,356], // PARALLEL TO - 0x2226: [451,19,609,23,586], // NOT PARALLEL TO - 0x2229: [602,31,620,10,610], // stix-intersection, serifs - 0x222A: [602,31,620,10,610], // stix-union, serifs - 0x223C: [362,-148,685,48,637], // TILDE OPERATOR - 0x223E: [344,-130,1086,55,1031], // stix-most positive - 0x223F: [461,-43,520,0,586], // stix-reverse sine wave - 0x2241: [462,-48,685,48,637], // stix-not, vert, similar - 0x2244: [529,35,685,48,637], // stix-not (vert) similar or equal - 0x2247: [606,117,685,48,637], // stix-not (vert) similar over two-line equals - 0x2248: [475,-25,685,48,637], // ALMOST EQUAL TO - 0x2249: [549,49,685,48,637], // stix-not, vert, approximate - 0x224C: [586,82,685,48,637], // stix-all equal to (lazy S over equals) (formerly 224C; that shape changed) - 0x2260: [662,156,685,48,637], // stix-not (vert) equals - 0x2262: [662,156,685,48,637], // stix-not (vert) three-line equals - 0x2268: [718,275,685,56,621], // stix-less, vert, not double equals - 0x2269: [718,275,685,56,621], // stix-gt, vert, not double equals - 0x226D: [572,66,685,48,637], // stix-not (vert) asymptotically equal to - 0x226E: [662,156,685,47,612], // stix-not, vert, less-than - 0x226F: [662,156,685,73,638], // stix-not, vert, greater-than - 0x2270: [695,189,685,56,621], // stix-not, vert, less-than-or-equal - 0x2271: [695,189,685,64,629], // stix-not, vert, greater-than-or-equal - 0x2272: [673,103,685,10,632], // stix-less-than or (contour) similar - 0x2273: [673,144,685,58,624], // stix-greater-than or (contour) similar - 0x2274: [730,227,685,48,637], // stix-not, vert, less, similar - 0x2275: [730,227,685,48,650], // stix-not, vert, greater, similar - 0x2278: [818,311,685,56,621], // stix-not, vert, less, greater - 0x2279: [818,311,685,55,620], // stix-not, vert, greater, less - 0x2280: [662,156,685,64,621], // DOES NOT PRECEDE - 0x2281: [662,156,685,64,621], // stix-not (vert) succeeds - 0x2284: [662,156,685,55,620], // stix-not subset [vertical negation] - 0x2285: [662,156,685,65,630], // stix-not superset [vertical negation] - 0x2288: [707,203,695,65,630], // stix-/nsubseteq N: not (vert) subset, equals - 0x2289: [707,203,695,65,630], // stix-/nsupseteq N: not (vert) superset, equals - 0x228A: [607,229,685,51,616], // stix-subset, not equals, variant - 0x228B: [607,229,685,69,634], // stix-superset, not equals, variant - 0x2293: [536,31,620,10,610], // stix-square intersection, serifs - 0x2294: [536,31,620,10,610], // stix-square union, serifs - 0x2295: [623,119,842,50,792], // stix-circled plus (with rim) - 0x2297: [623,119,842,50,792], // stix-circled times (with rim) - 0x229C: [623,119,842,50,792], // stix-two horizontal bars in circle - 0x22DA: [768,262,685,60,625], // stix-less, equal, slanted, greater - 0x22DB: [768,262,685,60,625], // stix-greater, equal, slanted, less - 0x22E0: [803,212,685,60,625], // stix-not (vert) precedes or contour equals - 0x22E1: [803,212,685,60,625], // stix-not (vert) succeeds or contour equals - 0x22EC: [695,189,685,54,611], // stix-not, vert, left triangle, equals - 0x22ED: [695,189,685,74,631], // stix-not, vert, right triangle, equals - 0x2322: [386,-120,685,48,637], // stix-small down curve - 0x2323: [386,-120,685,48,637], // stix-small up curve - 0x2423: [22,119,500,48,453], // stix-round space indicator - 0x25A9: [662,158,910,45,865], // SQUARE WITH DIAGONAL CROSSHATCH FILL - 0x2A3C: [633,129,463,51,411], // stix-vert, low bar to left from base - 0x2A3D: [633,129,463,51,411], // stix-vert, low bar to right from base - 0x2A9D: [647,166,685,49,627], // stix-similar (conforming) or less-than - 0x2A9E: [615,166,685,54,676], // SIMILAR OR GREATER-THAN - 0x2AAC: [625,137,685,60,625], // stix-smaller than or equal, slanted - 0x2AAD: [625,137,685,60,625], // stix-larger than or equal, slanted - 0x2ACB: [718,321,685,64,629], // stix-subset not double equals, variant - 0x2ACC: [718,321,685,74,639], // SUPERSET OF ABOVE NOT EQUAL TO - 0x2AEE: [451,19,404,23,381] // stix-short mid negated by backslash - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Variants/Regular/All.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js deleted file mode 100644 index 73c630a5..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +++ /dev/null @@ -1,49 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXVariants'] = { - directory: 'Variants/Regular', - family: 'STIXVariants', - Ranges: [ - [0x20,0x20,"All"], - [0x77,0x7C,"All"], - [0xA0,0xA0,"All"], - [0x19B,0x19B,"All"], - [0x264,0x264,"All"], - [0x2032,0x2057,"All"], - [0x2140,0x2140,"All"], - [0x2190,0x2193,"All"], - [0x21D1,0x21E2,"All"], - [0x2205,0x22ED,"All"], - [0x2322,0x2323,"All"], - [0x2423,0x2423,"All"], - [0x25A9,0x25A9,"All"], - [0x2A3C,0x2AEE,"All"] - ], - 0x2032: [565,-28,340,44,295], // PRIME - 0x210F: [683,10,579,47,547], // stix-/hbar - Planck's over 2pi - 0x2205: [729,74,523,28,502], // EMPTY SET - 0x2216: [710,222,523,46,478], // SET MINUS - 0x221A: [943,11,737,67,767] // SQUARE ROOT -}; - -MathJax.OutputJax["HTML-CSS"].initFont("STIXVariants"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Variants/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js deleted file mode 100644 index 6b2fa741..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +++ /dev/null @@ -1,373 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/font/STIX/fontdata-beta.js - * - * Patches the STIX font data to work with the beta version of - * the STIX fonts (as opposed to the release version, assuming - * there ever is one). - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (HTMLCSS,TEX) { - - var GENERAL = "STIXGeneral", - BOLD = "STIXGeneral-bold", - ITALIC = "STIXGeneral-italic", - NONUNI = "STIXNonUnicode", - SIZE1 = "STIXSizeOneSym", - SIZE2 = "STIXSizeTwoSym", - SIZE3 = "STIXSizeThreeSym", - SIZE4 = "STIXSizeFourSym", - SIZE5 = "STIXSizeFiveSym"; - - var REPLACE = function (name,data) { - var FONT = HTMLCSS.FONTDATA.FONTS[name]; - for (var id in data) {if (data.hasOwnProperty(id)) {FONT[id] = data[id]}} - }; - - REPLACE(GENERAL,{ - 0x300: [678,-507,0,109,333], // COMBINING GRAVE ACCENT - 0x301: [678,-507,0,109,333], // COMBINING ACUTE ACCENT - 0x302: [674,-507,0,94,405], // COMBINING CIRCUMFLEX ACCENT - 0x303: [638,-532,0,85,415], // COMBINING TILDE - 0x304: [601,-547,0,95,406], // COMBINING MACRON - 0x305: [820,-770,0,0,500], // COMBINING OVERLINE - 0x306: [664,-507,0,107,388], // COMBINING BREVE - 0x307: [622,-523,0,200,299], // COMBINING DOT ABOVE - 0x308: [622,-523,0,101,399], // COMBINING DIAERESIS - 0x309: [751,-492,0,173,362], // COMBINING HOOK ABOVE - 0x30A: [711,-512,0,151,350], // COMBINING RING ABOVE - 0x30B: [678,-507,0,79,458], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [674,-507,0,95,406], // COMBINING CARON - 0x30D: [700,-500,0,230,285], // COMBINING VERTICAL LINE ABOVE - 0x30E: [700,-500,0,154,347], // COMBINING DOUBLE VERTICAL LINE ABOVE - 0x30F: [678,-507,0,79,458], // COMBINING DOUBLE GRAVE ACCENT - 0x310: [767,-507,0,107,388], // COMBINING CANDRABINDU - 0x311: [664,-507,0,107,388], // COMBINING INVERTED BREVE - 0x312: [745,-502,0,181,320], // COMBINING TURNED COMMA ABOVE - 0x313: [745,-502,0,181,320], // COMBINING COMMA ABOVE - 0x314: [745,-502,0,181,320], // COMBINING REVERSED COMMA ABOVE - 0x315: [745,-502,0,395,534], // COMBINING COMMA ABOVE RIGHT - 0x316: [-53,224,0,109,333], // COMBINING GRAVE ACCENT BELOW - 0x317: [-53,224,0,109,333], // COMBINING ACUTE ACCENT BELOW - 0x318: [-53,283,0,83,270], // COMBINING LEFT TACK BELOW - 0x319: [-53,283,0,83,270], // COMBINING RIGHT TACK BELOW - 0x31A: [735,-531,0,100,400], // COMBINING LEFT ANGLE ABOVE - 0x31B: [474,-345,0,436,531], // COMBINING HORN - 0x31C: [-71,266,0,120,248], // COMBINING LEFT HALF RING BELOW - 0x31D: [-53,240,0,135,365], // COMBINING UP TACK BELOW - 0x31E: [-53,240,0,135,365], // COMBINING DOWN TACK BELOW - 0x31F: [-53,250,0,154,346], // COMBINING PLUS SIGN BELOW - 0x320: [-124,168,0,154,346], // COMBINING MINUS SIGN BELOW - 0x321: [75,287,0,245,481], // COMBINING PALATALIZED HOOK BELOW - 0x322: [75,287,0,426,662], // COMBINING RETROFLEX HOOK BELOW - 0x323: [-118,217,0,200,299], // COMBINING DOT BELOW - 0x324: [-119,218,0,101,399], // COMBINING DIAERESIS BELOW - 0x325: [-69,268,0,151,350], // COMBINING RING BELOW - 0x326: [-110,353,0,181,320], // COMBINING COMMA BELOW - 0x327: [0,215,0,146,355], // COMBINING CEDILLA - 0x328: [0,165,0,158,343], // COMBINING OGONEK - 0x329: [-102,234,0,230,270], // COMBINING VERTICAL LINE BELOW - 0x32A: [-98,235,0,95,407], // COMBINING BRIDGE BELOW - 0x32B: [-110,227,0,100,405], // COMBINING INVERTED DOUBLE ARCH BELOW - 0x32C: [-73,240,0,95,406], // COMBINING CARON BELOW - 0x32D: [-73,240,0,95,406], // COMBINING CIRCUMFLEX ACCENT BELOW - 0x32E: [-68,225,0,110,391], // COMBINING BREVE BELOW - 0x32F: [-59,216,0,110,391], // COMBINING INVERTED BREVE BELOW - 0x330: [-113,219,0,85,415], // COMBINING TILDE BELOW - 0x331: [-141,195,0,95,406], // COMBINING MACRON BELOW - 0x332: [-141,191,0,0,500], // COMBINING LOW LINE - 0x333: [-141,300,0,0,500], // COMBINING DOUBLE LOW LINE - 0x334: [320,-214,0,79,409], // COMBINING TILDE OVERLAY - 0x335: [274,-230,0,96,402], // COMBINING SHORT STROKE OVERLAY - 0x336: [274,-230,0,0,500], // COMBINING LONG STROKE OVERLAY - 0x337: [580,74,0,100,439], // COMBINING SHORT SOLIDUS OVERLAY - 0x338: [662,156,0,100,511], // COMBINING LONG SOLIDUS OVERLAY - 0x339: [-71,266,0,120,248], // COMBINING RIGHT HALF RING BELOW - 0x33A: [-53,190,0,95,407], // COMBINING INVERTED BRIDGE BELOW - 0x33B: [-53,227,0,167,333], // COMBINING SQUARE BELOW - 0x33C: [-65,189,0,100,401], // COMBINING SEAGULL BELOW - 0x33D: [715,-525,0,154,345], // COMBINING X ABOVE - 0x33E: [829,-499,0,197,303], // COMBINING VERTICAL TILDE - 0x33F: [928,-770,0,0,500], // COMBINING DOUBLE OVERLINE - 0x346: [681,-538,0,0,282], // COMBINING BRIDGE ABOVE - 0x34C: [777,-532,0,94,424], // COMBINING ALMOST EQUAL TO ABOVE - 0x359: [-65,367,0,123,393], // COMBINING ASTERISK BELOW - 0x35C: [-76,233,0,107,775], // COMBINING DOUBLE BREVE BELOW - 0x360: [633,-517,0,85,845], // COMBINING DOUBLE TILDE - 0x361: [664,-507,0,107,775], // COMBINING DOUBLE INVERTED BREVE - 0x362: [-65,270,0,85,835], // COMBINING DOUBLE RIGHTWARDS ARROW BELOW - - 0x20D0: [760,-627,0,27,463], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [760,-627,0,27,463], // COMBINING RIGHT HARPOON ABOVE - 0x20D2: [662,156,0,238,288], // COMBINING LONG VERTICAL LINE OVERLAY - 0x20D6: [760,-548,0,27,463], // COMBINING LEFT ARROW ABOVE - 0x20D7: [760,-548,0,27,463], // COMBINING RIGHT ARROW ABOVE - 0x20DB: [622,-523,0,18,515], // COMBINING THREE DOTS ABOVE - 0x20DC: [622,-523,0,0,696], // COMBINING FOUR DOTS ABOVE - 0x20DD: [725,221,1000,27,973], // COMBINING ENCLOSING CIRCLE - 0x20DE: [780,180,0,0,960], // COMBINING ENCLOSING SQUARE - 0x20DF: [843,341,0,0,1184], // COMBINING ENCLOSING DIAMOND - 0x20E1: [760,-548,0,27,505], // COMBINING LEFT RIGHT ARROW ABOVE - 0x20E4: [1023,155,1510,25,1485], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE - 0x20E5: [662,156,0,50,440], // COMBINING REVERSE SOLIDUS OVERLAY - 0x20E6: [662,156,0,145,378], // COMBINING DOUBLE VERTICAL STROKE OVERLAY - 0x20E7: [725,178,0,0,816], // COMBINING ANNUITY SYMBOL - 0x20E8: [-119,218,0,18,515], // COMBINING TRIPLE UNDERDOT - 0x20E9: [681,-538,0,0,533], // COMBINING WIDE BRIDGE ABOVE - 0x20EA: [419,-87,0,-178,598], // COMBINING LEFTWARDS ARROW OVERLAY - 0x20EB: [756,217,0,32,673], // COMBINING LONG DOUBLE SOLIDUS OVERLAY - 0x20EC: [-119,252,0,27,463], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-119,252,0,27,463], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-40,252,0,27,463], // COMBINING LEFT ARROW BELOW - 0x20EF: [-40,252,0,27,463], // COMBINING RIGHT ARROW BELOW - 0x20F0: [819,-517,0,123,393] // COMBINING ASTERISK ABOVE - }); - - REPLACE(BOLD,{ - 0x300: [713,-528,0,141,379], // COMBINING GRAVE ACCENT - 0x301: [713,-528,0,141,379], // COMBINING ACUTE ACCENT - 0x302: [704,-528,0,92,429], // COMBINING CIRCUMFLEX ACCENT - 0x303: [674,-547,0,78,443], // COMBINING TILDE - 0x304: [637,-565,0,95,425], // COMBINING MACRON - 0x305: [838,-788,0,10,510], // COMBINING OVERLINE - 0x306: [691,-528,0,109,412], // COMBINING BREVE - 0x307: [666,-537,0,196,325], // COMBINING DOT ABOVE - 0x308: [666,-537,0,91,430], // COMBINING DIAERESIS - 0x309: [751,-491,0,174,379], // COMBINING HOOK ABOVE - 0x30A: [750,-537,0,154,367], // COMBINING RING ABOVE - 0x30B: [713,-528,0,41,479], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [704,-528,0,92,429], // COMBINING CARON - 0x30D: [730,-530,0,233,299], // COMBINING VERTICAL LINE ABOVE - 0x30E: [730,-530,0,152,368], // COMBINING DOUBLE VERTICAL LINE ABOVE - 0x30F: [713,-528,0,41,479], // COMBINING DOUBLE GRAVE ACCENT - 0x310: [828,-528,0,109,412], // COMBINING CANDRABINDU - 0x311: [691,-528,0,109,412], // COMBINING INVERTED BREVE - 0x312: [867,-532,0,168,352], // COMBINING TURNED COMMA ABOVE - 0x313: [867,-532,0,168,352], // COMBINING COMMA ABOVE - 0x314: [867,-532,0,168,352], // COMBINING REVERSED COMMA ABOVE - 0x315: [867,-532,0,394,578], // COMBINING COMMA ABOVE RIGHT - 0x316: [-70,255,0,141,379], // COMBINING GRAVE ACCENT BELOW - 0x317: [-70,255,0,141,379], // COMBINING ACUTE ACCENT BELOW - 0x318: [-58,288,0,85,287], // COMBINING LEFT TACK BELOW - 0x319: [-58,288,0,232,434], // COMBINING RIGHT TACK BELOW - 0x31A: [752,-531,0,100,417], // COMBINING LEFT ANGLE ABOVE - 0x31B: [505,-352,0,448,576], // COMBINING HORN - 0x31C: [-33,313,0,135,320], // COMBINING LEFT HALF RING BELOW - 0x31D: [-70,272,0,145,375], // COMBINING UP TACK BELOW - 0x31E: [-70,272,0,145,375], // COMBINING DOWN TACK BELOW - 0x31F: [-70,287,0,154,366], // COMBINING PLUS SIGN BELOW - 0x320: [-140,206,0,154,366], // COMBINING MINUS SIGN BELOW - 0x321: [75,287,0,269,488], // COMBINING PALATALIZED HOOK BELOW - 0x322: [75,287,0,416,635], // COMBINING RETROFLEX HOOK BELOW - 0x323: [-109,238,0,196,325], // COMBINING DOT BELOW - 0x324: [-109,238,0,91,430], // COMBINING DIAERESIS BELOW - 0x325: [-66,279,0,154,367], // COMBINING RING BELOW - 0x326: [-88,423,0,168,352], // COMBINING COMMA BELOW - 0x327: [0,218,0,147,373], // COMBINING CEDILLA - 0x328: [44,173,0,146,375], // COMBINING OGONEK - 0x329: [-107,239,0,233,288], // COMBINING VERTICAL LINE BELOW - 0x32A: [-86,260,0,85,417], // COMBINING BRIDGE BELOW - 0x32B: [-104,242,0,90,415], // COMBINING INVERTED DOUBLE ARCH BELOW - 0x32C: [-83,259,0,92,429], // COMBINING CARON BELOW - 0x32D: [-85,261,0,92,429], // COMBINING CIRCUMFLEX ACCENT BELOW - 0x32E: [-78,241,0,109,412], // COMBINING BREVE BELOW - 0x32F: [-78,241,0,109,412], // COMBINING INVERTED BREVE BELOW - 0x330: [-108,235,0,78,443], // COMBINING TILDE BELOW - 0x331: [-137,209,0,95,425], // COMBINING MACRON BELOW - 0x332: [-137,187,0,10,510], // COMBINING LOW LINE - 0x333: [-137,287,0,10,510], // COMBINING DOUBLE LOW LINE - 0x334: [316,-189,0,78,443], // COMBINING TILDE OVERLAY - 0x335: [282,-224,0,96,402], // COMBINING SHORT STROKE OVERLAY - 0x336: [282,-224,0,0,500], // COMBINING LONG STROKE OVERLAY - 0x337: [580,74,0,100,467], // COMBINING SHORT SOLIDUS OVERLAY - 0x338: [662,156,0,100,541], // COMBINING LONG SOLIDUS OVERLAY - 0x339: [-33,313,0,135,320], // COMBINING RIGHT HALF RING BELOW - 0x33A: [-71,245,0,85,417], // COMBINING INVERTED BRIDGE BELOW - 0x33B: [-70,264,0,157,343], // COMBINING SQUARE BELOW - 0x33C: [-89,234,0,100,401], // COMBINING SEAGULL BELOW - 0x33D: [719,-520,0,160,360], // COMBINING X ABOVE - 0x33E: [881,-516,0,196,323], // COMBINING VERTICAL TILDE - 0x33F: [938,-788,0,10,510], // COMBINING DOUBLE OVERLINE - 0x346: [717,-544,0,0,303], // COMBINING BRIDGE ABOVE - 0x34C: [837,-547,333,-16,349], // COMBINING ALMOST EQUAL TO ABOVE - 0x359: [-66,368,0,151,421], // COMBINING ASTERISK BELOW - 0x35C: [-79,242,0,109,810], // COMBINING DOUBLE BREVE BELOW - 0x360: [674,-529,0,78,908], // COMBINING DOUBLE TILDE - 0x361: [691,-534,0,107,775], // COMBINING DOUBLE INVERTED BREVE - 0x362: [-54,293,0,78,887], // COMBINING DOUBLE RIGHTWARDS ARROW BELOW - - 0x20D0: [846,-637,0,40,524], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [846,-637,0,40,524], // COMBINING RIGHT HARPOON ABOVE - 0x20D2: [662,156,0,232,307], // COMBINING LONG VERTICAL LINE OVERLAY - 0x20D6: [846,-508,0,40,524], // COMBINING LEFT ARROW ABOVE - 0x20D7: [846,-508,0,40,524], // COMBINING RIGHT ARROW ABOVE - 0x20DB: [666,-537,0,-2,547], // COMBINING THREE DOTS ABOVE - 0x20DC: [666,-537,0,-2,757], // COMBINING FOUR DOTS ABOVE - 0x20DD: [760,254,1073,32,1041], // COMBINING ENCLOSING CIRCLE - 0x20E1: [846,-508,0,35,629], // COMBINING LEFT RIGHT ARROW ABOVE - 0x20E4: [1055,169,1581,32,1549], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE - 0x20E5: [662,155,0,40,522], // COMBINING REVERSE SOLIDUS OVERLAY - 0x20E6: [662,156,0,130,409], // COMBINING DOUBLE VERTICAL STROKE OVERLAY - 0x20E7: [760,172,0,67,910], // COMBINING ANNUITY SYMBOL - 0x20E8: [-109,238,0,-2,547], // COMBINING TRIPLE UNDERDOT - 0x20E9: [717,-544,0,0,564], // COMBINING WIDE BRIDGE ABOVE - 0x20EA: [441,-65,1073,-178,658], // COMBINING LEFTWARDS ARROW OVERLAY - 0x20EB: [775,235,0,25,738], // COMBINING LONG DOUBLE SOLIDUS OVERLAY - 0x20EC: [-166,375,0,40,524], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-166,375,0,40,524], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-35,373,0,40,524], // COMBINING LEFT ARROW BELOW - 0x20EF: [-35,373,0,40,524], // COMBINING RIGHT ARROW BELOW - 0x20F0: [845,-543,0,125,395] // COMBINING ASTERISK ABOVE - }); - - REPLACE(ITALIC,{ - 0x20D0: [760,-627,0,27,463], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [760,-627,0,54,490], // COMBINING RIGHT HARPOON ABOVE - 0x20D2: [662,156,266,100,166], // COMBINING LONG VERTICAL LINE OVERLAY - 0x20D6: [760,-548,0,27,463], // COMBINING LEFT ARROW ABOVE - 0x20D7: [760,-548,0,27,463], // COMBINING RIGHT ARROW ABOVE - 0x20DB: [622,-523,0,27,524], // COMBINING THREE DOTS ABOVE - 0x20DC: [622,-523,0,18,714], // COMBINING FOUR DOTS ABOVE - 0x20DD: [725,221,1000,27,973], // COMBINING ENCLOSING CIRCLE - 0x20E1: [760,-548,0,27,505], // COMBINING LEFT RIGHT ARROW ABOVE - 0x20E4: [1023,155,1510,25,1485], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE - 0x20E5: [662,156,506,50,456], // COMBINING REVERSE SOLIDUS OVERLAY - 0x20E6: [662,156,523,129,394], // COMBINING DOUBLE VERTICAL STROKE OVERLAY - 0x20E7: [725,178,926,55,871], // COMBINING ANNUITY SYMBOL - 0x20E8: [-119,218,0,18,515], // COMBINING TRIPLE UNDERDOT - 0x20E9: [681,-538,0,2,535], // COMBINING WIDE BRIDGE ABOVE - 0x20EA: [419,-87,1000,27,973], // COMBINING LEFTWARDS ARROW OVERLAY - 0x20EC: [681,-548,0,27,463], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [681,-548,0,27,463], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-40,252,490,27,463], // COMBINING LEFT ARROW BELOW - 0x20EF: [-40,252,490,27,463] // COMBINING RIGHT ARROW BELOW - }); - - REPLACE(SIZE1,{ - 0x302: [767,-554,0,0,560], // COMBINING CIRCUMFLEX ACCENT - 0x303: [750,-598,0,-2,558], // COMBINING TILDE - 0x305: [820,-770,0,0,1000], // COMBINING OVERLINE - 0x30C: [767,-554,0,0,560], // COMBINING CARON - 0x330: [-117,269,0,-2,558], // COMBINING TILDE BELOW - 0x332: [-127,177,0,0,1000], // COMBINING LOW LINE - 0x338: [532,21,0,0,563], // COMBINING LONG SOLIDUS OVERLAY - 0x20D0: [749,-584,0,28,899], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,27,898], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,27,899], // COMBINING LEFT ARROW ABOVE - 0x20D7: [736,-482,0,27,899], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,27,898], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,28,899], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,27,899], // COMBINING LEFT ARROW BELOW - 0x20EF: [-25,279,0,27,899] // COMBINING RIGHT ARROW BELOW - }); - - REPLACE(SIZE2,{ - 0x302: [777,-564,0,0,979], // COMBINING CIRCUMFLEX ACCENT - 0x303: [760,-608,0,-2,977], // COMBINING TILDE - 0x305: [820,-770,0,0,1500], // COMBINING OVERLINE - 0x30C: [777,-564,0,0,979], // COMBINING CARON - 0x330: [-117,269,0,-2,977], // COMBINING TILDE BELOW - 0x332: [-127,177,0,0,1000], // COMBINING LOW LINE - 0x338: [662,0,0,0,714], // COMBINING LONG SOLIDUS OVERLAY - 0x20D0: [749,-584,0,27,1335], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,27,1335], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,27,1335], // COMBINING LEFT ARROW ABOVE - 0x20D7: [735,-482,0,27,1335], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,27,1335], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,27,1335], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,27,1335], // COMBINING LEFT ARROW BELOW - 0x20EF: [-26,279,0,27,1335] // COMBINING RIGHT ARROW BELOW - }); - - REPLACE(SIZE3,{ - 0x302: [777,-564,0,0,1460], // COMBINING CIRCUMFLEX ACCENT - 0x303: [774,-608,0,-2,1458], // COMBINING TILDE - 0x305: [820,-770,0,0,2000], // COMBINING OVERLINE - 0x30C: [777,-564,0,0,1460], // COMBINING CARON - 0x330: [-117,283,0,-2,1458], // COMBINING TILDE BELOW - 0x332: [-127,177,0,0,2000], // COMBINING LOW LINE - 0x338: [662,156,0,137,548], // COMBINING LONG SOLIDUS OVERLAY - 0x20D0: [749,-584,0,27,1771], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,27,1771], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,27,1771], // COMBINING LEFT ARROW ABOVE - 0x20D7: [735,-482,0,27,1771], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,27,1771], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,27,1771], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,27,1771], // COMBINING LEFT ARROW BELOW - 0x20EF: [-26,279,0,27,1771] // COMBINING RIGHT ARROW BELOW - }); - - REPLACE(SIZE4,{ - 0x302: [796,-573,0,0,1886], // COMBINING CIRCUMFLEX ACCENT - 0x303: [771,-608,0,0,1886], // COMBINING TILDE - 0x305: [820,-770,0,0,2500], // COMBINING OVERLINE - 0x30C: [796,-573,0,0,1886], // COMBINING CARON - 0x330: [-117,280,0,0,1886], // COMBINING TILDE BELOW - 0x332: [-127,177,0,0,2500], // COMBINING LOW LINE - 0x338: [731,228,0,170,491], // COMBINING LONG SOLIDUS OVERLAY - 0x20D0: [749,-584,0,27,2207], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,27,2207], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,27,2207], // COMBINING LEFT ARROW ABOVE - 0x20D7: [735,-482,0,27,2207], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,27,2207], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,27,2207], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,27,2207], // COMBINING LEFT ARROW BELOW - 0x20EF: [-26,279,0,27,2207] // COMBINING RIGHT ARROW BELOW - }); - - REPLACE(SIZE5,{ - 0x302: [816,-572,0,0,2328], // COMBINING CIRCUMFLEX ACCENT - 0x303: [780,-617,0,0,2328], // COMBINING TILDE - 0x305: [820,-770,0,0,3000], // COMBINING OVERLINE - 0x30C: [816,-572,0,0,2328], // COMBINING CARON - 0x330: [-117,280,0,0,2328], // COMBINING TILDE BELOW - 0x332: [-127,177,0,0,3000], // COMBINING LOW LINE - 0x338: [960,454,0,119,557], // COMBINING LONG SOLIDUS OVERLAY - 0x20D0: [749,-584,0,0,3000], // COMBINING LEFT HARPOON ABOVE - 0x20D1: [749,-584,0,0,3000], // COMBINING RIGHT HARPOON ABOVE - 0x20D6: [735,-482,0,0,3000], // COMBINING LEFT ARROW ABOVE - 0x20D7: [735,-482,0,0,3000], // COMBINING RIGHT ARROW ABOVE - 0x20EC: [-123,288,0,0,3000], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x20ED: [-123,288,0,0,3000], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x20EE: [-26,279,0,0,3000], // COMBINING LEFT ARROW BELOW - 0x20EF: [-26,279,0,0,3000] // COMBINING RIGHT ARROW BELOW - }); - - MathJax.Hub.Register.LoadHook(HTMLCSS.fontDir+"/General/BoldItalic/CombDiactForSymbols.js", - function () { - REPLACE("STIXGeneral-bold-italic",{ - 0x20DD: [760,254,1073,32,1041] // COMBINING ENCLOSING CIRCLE - }); - } - ); - - var SIZES = [SIZE1,SIZE2,SIZE3,SIZE4]; - var CHARS = [0x2C6,0x2C7,0x2DC,0x2E7]; - - for (var i = 0; i < SIZES.length; i++) { - for (var j = 0; j < CHARS.length; j++) { - delete HTMLCSS.FONTDATA.FONTS[SIZES[i]][j]; - } - } - - - MathJax.Ajax.loadComplete(HTMLCSS.fontDir+"/fontdata-beta.js"); - -})(MathJax.OutputJax["HTML-CSS"],MathJax.InputJax.TeX); - diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js deleted file mode 100644 index 30982b0d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +++ /dev/null @@ -1,1403 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/font/STIX/fontdata.js - * - * Initializes the HTML-CSS OutputJax to use the STIX fonts - * for displaying mathematics. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (HTMLCSS) { - - HTMLCSS.allowWebFonts = false; - - var GENERAL = "STIXGeneral", - BOLD = "STIXGeneral-bold", - ITALIC = "STIXGeneral-italic", - NONUNI = "STIXNonUnicode", - SIZE1 = "STIXSizeOneSym", - SIZE2 = "STIXSizeTwoSym", - SIZE3 = "STIXSizeThreeSym", - SIZE4 = "STIXSizeFourSym", - SIZE5 = "STIXSizeFiveSym"; - var H = "H", V = "V"; - - HTMLCSS.Augment({ - FONTDATA: { - TeX_factor: 1.125, // TeX em's to STIX em's seem to need this - baselineskip: 1.2, - lineH: .8, lineD: .2, - - FONTS: { - "STIXGeneral": "General/Regular/Main.js", - "STIXGeneral-italic": "General/Italic/Main.js", - "STIXGeneral-bold": "General/Bold/Main.js", - "STIXGeneral-bold-italic": "General/BoldItalic/Main.js", - "STIXNonUnicode": "NonUnicode/Regular/Main.js", - "STIXNonUnicode-italic": "NonUnicode/Italic/Main.js", - "STIXNonUnicode-bold": "NonUnicode/Bold/Main.js", - "STIXNonUnicode-bold-italic": "NonUnicode/BoldItalic/Main.js", - "STIXVariants": "Variants/Regular/All.js", - "STIXSizeOneSym": "SizeOneSym/Regular/All.js", - "STIXSizeTwoSym": "SizeTwoSym/Regular/All.js", - "STIXSizeThreeSym": "SizeThreeSym/Regular/All.js", - "STIXSizeFourSym": "SizeFourSym/Regular/All.js", - "STIXSizeFiveSym": "SizeFiveSym/Regular/All.js", - "STIXIntegralsD": "IntegralsD/Regular/All.js" - }, - - DEFAULTFAMILY: GENERAL, DEFAULTWEIGHT: "normal", DEFAULTSTYLE: "normal", - - VARIANT: { - "normal": {fonts: [GENERAL,NONUNI,SIZE1]}, - "bold": {fonts: [BOLD,"STIXNonUnicode-bold","STIXSizeOneSym-bold"]}, - "italic": {fonts: [ITALIC,"STIXNonUnicode-italic",GENERAL,NONUNI,SIZE1]}, - "bold-italic": {fonts: ["STIXGeneral-bold-italic","STIXNonUnicode-bold-italic"]}, - "double-struck": {offsetA: 0x1D538, offsetN: 0x1D7D8, - remap: {0x1D53A: 0x2102, 0x1D53F: 0x210D, 0x1D545: 0x2115, 0x1D547: 0x2119, - 0x1D548: 0x211A, 0x1D549: 0x211D, 0x1D551: 0x2124}}, - "fraktur": {offsetA: 0x1D504, - remap: {0x1D506: 0x212D, 0x1D50B: 0x210C, 0x1D50C: 0x2111, 0x1D515: 0x211C, 0x1D51D: 0x2128}}, - "bold-fraktur": {fonts: [BOLD], offsetA: 0x1D56C}, - "script": {fonts: [ITALIC], offsetA: 0x1D49C, - remap: {0x1D49D: 0x212C, 0x1D4A0: 0x2130, 0x1D4A1: 0x2131, 0x1D4A3: 0x210B, - 0x1D4A4: 0x2110, 0x1D4A7: 0x2112, 0x1D4A8: 0x2133, 0x1D4AD: 0x211B, - 0x1D4BA: 0x212F, 0x1D4BC: 0x210A, 0x1D4C4: 0x2134}}, - "bold-script": {fonts: [ITALIC], offsetA: 0x1D4D0}, - "sans-serif": {offsetA: 0x1D5A0, offsetN: 0x1D7E2, offsetG: 0xE17D}, - "bold-sans-serif": {offsetA: 0x1D5D4, offsetG: 0x1D756, offsetN: 0x1D7EC}, - "sans-serif-italic": {fonts: [ITALIC], offsetA: 0x1D608, offsetN: 0xE1B4, offsetG: 0xE1BF}, - "sans-serif-bold-italic": {fonts: ["STIXGeneral-bold-italic"], offsetA: 0x1D63C, offsetN: 0xE1F6, offsetG: 0x1D790}, - "monospace": {offsetA: 0x1D670, offsetN: 0x1D7F6}, - "-STIX-variant": {fonts:["STIXVariants",NONUNI,GENERAL]}, - "-tex-caligraphic": {fonts: [ITALIC,"STIXNonUnicode-italic",NONUNI,SIZE1], offsetA: 0xE22D, noLowerCase: 1}, - "-tex-oldstyle": {offsetN: 0xE261, - remap: {0xE262: 0xE265, 0xE263: 0xE269, 0xE264: 0xE26D, 0xE265: 0xE271, - 0xE266: 0xE275, 0xE267: 0xE279, 0xE268: 0xE27D, 0xE269: 0xE281, - 0xE26A: 0xE285}}, - "-largeOp": {fonts:[SIZE1,"STIXIntegralsD",NONUNI,GENERAL]}, - "-smallOp": {} - }, - - RANGES: [ - {name: "alpha", low: 0x61, high: 0x7A, offset: "A", add: 26}, - {name: "Alpha", low: 0x41, high: 0x5A, offset: "A"}, - {name: "number", low: 0x30, high: 0x39, offset: "N"}, - {name: "greek", low: 0x03B1, high: 0x03C9, offset: "G", add: 25}, - {name: "Greek", low: 0x0391, high: 0x03F6, offset: "G", - remap: {0x03F5: 53, 0x03D1: 54, 0x03F0: 55, 0x03D5: 56, 0x03F1: 57, 0x03D6: 58, 0x03F4: 17}} - ], - - RULECHAR: 0x203E, - - REMAP: { - 0x2F3: 0x2DA, 0x2F4: 0x2CA, // ring below, middle grave - 0xFE37: 0x23DE, 0xFE38: 0x23DF, // OverBrace, UnderBrace - 0x3008: 0x27E8, 0x3009: 0x27E9, // langle, rangle - 0x2758: 0x2223 // VerticalSeparator - }, - - DELIMITERS: { - 0x0028: // ( - { - dir: V, HW: [[.844,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - stretch: {top:[0x239B,SIZE1], ext:[0x239C,SIZE1], bot:[0x239D,SIZE1]} - }, - 0x0029: // ) - { - dir: V, HW: [[.844,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - stretch: {top:[0x239E,SIZE1], ext:[0x239F,SIZE1], bot:[0x23A0,SIZE1]} - }, - 0x002F: // / - { - dir: V, HW: [[.690,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]] - }, - 0x005B: // [ - { - dir: V, HW: [[.818,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - stretch: {top:[0x23A1,SIZE1], ext:[0x23A2,SIZE1], bot:[0x23A3,SIZE1]} - }, - 0x005C: // \ - { - dir: V, HW: [[.690,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]] - }, - 0x005D: // ] - { - dir: V, HW: [[.818,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - stretch: {top:[0x23A4,SIZE1], ext:[0x23A5,SIZE1], bot:[0x23A6,SIZE1]} - }, - 0x007B: // { - { - dir: V, HW: [[.861,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - stretch: {top:[0x23A7,SIZE1], mid:[0x23A8,SIZE1], bot:[0x23A9,SIZE1], ext:[0x23AA,SIZE1]} - }, - 0x007C: // | - { - dir: V, HW: [[.69,GENERAL]], stretch: {ext:[0x2223,GENERAL]} - }, - 0x007D: // } - { - dir: V, HW: [[.861,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - stretch: {top:[0x23AB,SIZE1], mid:[0x23AC,SIZE1], bot:[0x23AD,SIZE1], ext:[0x23AA,SIZE1]} - }, - 0x02C6: // wide hat - { - dir: H, HW: [[.333,GENERAL],[.560,SIZE1],[.979,SIZE2],[1.46,SIZE3],[1.886,SIZE4],[2.328,SIZE5]] - }, - 0x02C7: // wide caron - { - dir: H, HW: [[.333,GENERAL],[.560,SIZE1],[.979,SIZE2],[1.46,SIZE3],[1.886,SIZE4],[2.328,SIZE5]] - }, - 0x02DC: // wide tilde - { - dir: H, HW: [[.333,GENERAL],[.558,SIZE1],[.978,SIZE2],[1.458,SIZE3],[1.886,SIZE4],[2.328,SIZE5]] - }, - 0x2016: // double vertical line - { - dir: V, HW: [[.879,GENERAL]], stretch: {ext:[0x2016,GENERAL]} - }, - 0x203E: // horizontal line - { - dir: H, HW: [[.5,GENERAL]], stretch: {rep:[0x203E,GENERAL]} - }, - 0x2190: // left arrow - { - dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x2190,GENERAL], rep:[0x2212,GENERAL]} - }, - 0x2191: // \uparrow - { - dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x2191,GENERAL], ext:[0x23D0,GENERAL]} - }, - 0x2192: // right arrow - { - dir: H, HW: [[.926,GENERAL]], stretch: {rep:[0x2212,GENERAL], right:[0x2192,GENERAL]} - }, - 0x2193: // \downarrow - { - dir: V, HW: [[.818,GENERAL]], stretch: {ext:[0x23D0,GENERAL], bot:[0x2193,GENERAL]} - }, - 0x2194: // left-right arrow - { - dir: H, HW: [[.926,GENERAL]], - stretch: {left:[0x2190,GENERAL], rep:[0x2212,GENERAL], right:[0x2192,GENERAL]} - }, - 0x2195: // \updownarrow - { - dir: V, HW: [[.818,GENERAL]], - stretch: {top:[0x2191,GENERAL], ext:[0x23D0,GENERAL], bot:[0x2193,GENERAL]} - }, - 0x21D1: // \Uparrow - { - dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x21D1,GENERAL], ext:[0x2225,GENERAL,.1]} - }, - 0x21D3: // \Downarrow - { - dir: V, HW: [[.818,GENERAL]], stretch: {ext:[0x2225,GENERAL,.1], bot:[0x21D3,GENERAL]} - }, - 0x21D5: // \Updownarrow - { - dir: V, HW: [[.818,GENERAL]], - stretch: {top:[0x21D1,GENERAL], ext:[0x2225,GENERAL,.1], bot:[0x21D3,GENERAL]} - }, - 0x221A: // \surd - { - dir: V, HW: [[.954,"STIXVariants"],[1.232,GENERAL],[1.847,SIZE1],[2.460,SIZE2],[3.075,SIZE3]], - stretch: {top: [0xE001,NONUNI], ext: [0xE000,NONUNI], bot: [0x23B7,SIZE1], fullExtenders:true} - }, - 0x2223: // \vert - { - dir: V, HW: [[.879,GENERAL]], stretch: {ext:[0x2223,GENERAL]} - }, - 0x2225: // \Vert - { - dir: V, HW: [[.879,GENERAL]], stretch: {ext:[0x2225,GENERAL]} - }, - 0x2308: // \lceil - { - dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - stretch: {top:[0x23A1,SIZE1], ext:[0x23A2,SIZE1]} - }, - 0x2309: // \rceil - { - dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - streth: {top:[0x23A4,SIZE1], ext:[0x23A5,SIZE1]} - }, - 0x230A: // \lfloor - { - dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - stretch: {ext:[0x23A2,SIZE1], bot:[0x23A3,SIZE1]} - }, - 0x230B: // \rfloor - { - dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], - stretch: {ext:[0x23A5,SIZE1], bot:[0x23A6,SIZE1]} - }, - 0x23AA: // \bracevert - { - dir: V, HW: [[1.01,SIZE1]], - stretch: {top:[0x23AA,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23AA,SIZE1]} - }, - 0x23AF: // horizontal line - { - dir: H, HW: [[.315,GENERAL]], stretch: {rep:[0x23AF,GENERAL]} - }, - 0x23B0: // \lmoustache - { - dir: V, HW: [[1.0,SIZE1]], - stretch: {top:[0x23A7,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23AD,SIZE1]} - }, - 0x23B1: // \rmoustache - { - dir: V, HW: [[1.0,SIZE1]], - stretch: {top:[0x23AB,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23A9,SIZE1]} - }, - 0x23D0: // vertical line extension - { - dir: V, HW: [[.304,GENERAL],[.690,GENERAL,null,0x7C],[.879,GENERAL,null,0x2223]], - stretch: {ext:[0x2223,GENERAL]} - }, - 0x23DE: // horizontal brace down - { - dir: H, HW: [[.556,GENERAL],[.926,SIZE1],[1.46,SIZE2],[1.886,SIZE3],[2.328,SIZE4],[3.238,SIZE5]], - stretch: {left:[0xE13B,NONUNI], mid:[0xE140,NONUNI], right:[0xE13C,NONUNI], rep:[0xE14A,NONUNI]} - }, - 0x23DF: // horizontal brace up - { - dir: H, HW: [[.556,GENERAL],[.926,SIZE1],[1.46,SIZE2],[1.886,SIZE3],[2.328,SIZE4],[3.238,SIZE5]], - stretch: {left:[0xE13D,NONUNI], mid:[0xE141,NONUNI], right:[0xE13E,NONUNI], rep:[0xE14B,NONUNI]} - }, - 0x27E8: // \langle - { - dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]] - }, - 0x27E9: // \rangle - { - dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], - [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]] - }, - 0x27EE: // \lgroup - { - dir: V, HW: [[.853,GENERAL]], - stretch: {top:[0x23A7,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23A9,SIZE1]} - }, - 0x27EF: // \rgroup - { - dir: V, HW: [[.853,GENERAL]], - stretch: {top:[0x23AB,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23AD,SIZE1]} - }, - 0x002D: {alias: 0x23AF, dir:H}, // minus - 0x005E: {alias: 0x02D6, dir:H}, // wide hat - 0x005F: {alias: 0x23AF, dir:H}, // low line - 0x007E: {alias: 0x02DC, dir:H}, // wide tilde - 0x00AF: {alias: 0x23AF, dir:H}, // over line - 0x0302: {alias: 0x02C6, dir:H}, // wide hat - 0x0303: {alias: 0x02DC, dir:H}, // wide tilde - 0x030C: {alias: 0x02C7, dir:H}, // wide caron - 0x0332: {alias: 0x23AF, dir:H}, // combining low line - 0x2015: {alias: 0x23AF, dir:H}, // horizontal line - 0x2017: {alias: 0x23AF, dir:H}, // horizontal line - 0x2212: {alias: 0x23AF, dir:H}, // minus - 0x2329: {alias: 0x27E8, dir:V}, // langle - 0x232A: {alias: 0x27E9, dir:V}, // rangle - 0x2500: {alias: 0x2212, dir:H}, // horizontal line - 0x2758: {alias: 0x2223, dir:V}, // vertical separator - 0x3008: {alias: 0x27E8, dir:V}, // langle - 0x3009: {alias: 0x27E9, dir:V}, // rangle - 0xFE37: {alias: 0x23DE, dir:H}, // horizontal brace down - 0xFE38: {alias: 0x23DF, dir:H} // horizontal brace up - } - } - }); - - MathJax.Hub.Register.StartupHook("TeX Jax Ready", function () { - var TEX = MathJax.InputJax.TeX; - - TEX.isSTIX = true; - TEX.Definitions.mathchar0mi.hbar = ['210F',{variantForm: true}]; - TEX.Definitions.mathchar0mi.prime[1].variantForm = true; - TEX.Definitions.mathchar0mi.emptyset[1].variantForm = true; - TEX.Definitions.mathchar0mi.backslash[1].variantForm = true; - TEX.Definitions.mathchar0mi.triangle[1].mathsize = "71%"; - - TEX.Definitions.mathchar0mo.setminus = ['2216',{variantForm: true}]; - }); - - HTMLCSS.FONTDATA.FONTS['STIXGeneral'] = { - directory: 'General/Regular', - family: 'STIXGeneral', - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x180,0x24F,"LatinExtendedB"], - [0x250,0x2AF,"IPAExtensions"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x300,0x36F,"CombDiacritMarks"], - [0x370,0x3FF,"GreekAndCoptic"], - [0x400,0x4FF,"Cyrillic"], - [0x1D00,0x1DBF,"PhoneticExtensions"], - [0x1E00,0x1EFF,"LatinExtendedAdditional"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x2070,0x209F,"SuperAndSubscripts"], - [0x20A0,0x20CF,"CurrencySymbols"], - [0x20D0,0x20FF,"CombDiactForSymbols"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2150,0x218F,"NumberForms"], - [0x2190,0x21FF,"Arrows"], - [0x2200,0x22FF,"MathOperators"], - [0x2300,0x23FF,"MiscTechnical"], - [0x2400,0x243F,"ControlPictures"], - [0x2460,0x24FF,"EnclosedAlphanum"], - [0x2500,0x257F,"BoxDrawing"], - [0x2580,0x259F,"BlockElements"], - [0x25A0,0x25FF,"GeometricShapes"], - [0x2600,0x26FF,"MiscSymbols"], - [0x2700,0x27BF,"Dingbats"], - [0x27C0,0x27EF,"MiscMathSymbolsA"], - [0x27F0,0x27FF,"SupplementalArrowsA"], - [0x2900,0x297F,"SupplementalArrowsB"], - [0x2980,0x29FF,"MiscMathSymbolsB"], - [0x2A00,0x2AFF,"SuppMathOperators"], - [0x2B00,0x2BFF,"MiscSymbolsAndArrows"], - [0x3000,0x303F,"CJK"], - [0x3040,0x309F,"Hiragana"], - [0xA720,0xA7FF,"LatinExtendedD"], - [0xFB00,0xFB4F,"AlphaPresentForms"], - [0xFFF0,0xFFFF,"Specials"], - [0x1D400,0x1D433,"MathBold"], - [0x1D434,0x1D467,"MathItalic"], - [0x1D468,0x1D49B,"MathBoldItalic"], - [0x1D49C,0x1D4CF,"MathScript"], - [0x1D4D0,0x1D503,"MathBoldScript"], - [0x1D504,0x1D537,"Fraktur"], - [0x1D538,0x1D56B,"BBBold"], - [0x1D56C,0x1D59F,"BoldFraktur"], - [0x1D5A0,0x1D5D3,"MathSS"], - [0x1D5D4,0x1D607,"MathSSBold"], - [0x1D608,0x1D63B,"MathSSItalic"], - [0x1D63C,0x1D66F,"MathSSItalicBold"], - [0x1D670,0x1D6A3,"MathTT"], - [0x1D6A4,0x1D6A5,"ij"], - [0x1D6A8,0x1D6E1,"GreekBold"], - [0x1D6E2,0x1D71B,"GreekItalic"], - [0x1D71C,0x1D755,"GreekBoldItalic"], - [0x1D756,0x1D78F,"GreekSSBold"], - [0x1D790,0x1D7C9,"GreekSSBoldItalic"], - [0x1D7CE,0x1D7D7,"MathBold"], - [0x1D7D8,0x1D7E1,"BBBold"], - [0x1D7E2,0x1D7EB,"MathSS"], - [0x1D7EC,0x1D7F6,"MathSSBold"], - [0x1D7F6,0x1D7FF,"MathTT"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [676,9,333,130,236], // EXCLAMATION MARK - 0x22: [676,-431,408,77,331], // QUOTATION MARK - 0x23: [662,0,500,6,495], // NUMBER SIGN - 0x24: [727,87,500,44,458], // DOLLAR SIGN - 0x25: [706,19,747,61,686], // PERCENT SIGN - 0x26: [676,13,778,42,750], // AMPERSAND - 0x27: [676,-431,180,48,133], // APOSTROPHE - 0x28: [676,177,333,48,304], // LEFT PARENTHESIS - 0x29: [676,177,333,29,285], // RIGHT PARENTHESIS - 0x2A: [676,-265,500,68,433], // ASTERISK - 0x2B: [547,41,685,48,636], // PLUS SIGN - 0x2C: [102,141,250,55,195], // COMMA - 0x2D: [257,-194,333,39,285], // HYPHEN-MINUS - 0x2E: [100,11,250,70,181], // FULL STOP - 0x2F: [676,14,278,-9,287], // SOLIDUS - 0x30: [676,14,500,24,476], // DIGIT ZERO - 0x31: [676,0,500,111,394], // DIGIT ONE - 0x32: [676,0,500,29,474], // DIGIT TWO - 0x33: [676,14,500,41,431], // DIGIT THREE - 0x34: [676,0,500,12,473], // DIGIT FOUR - 0x35: [688,14,500,31,438], // DIGIT FIVE - 0x36: [684,14,500,34,468], // DIGIT SIX - 0x37: [662,8,500,20,449], // DIGIT SEVEN - 0x38: [676,14,500,56,445], // DIGIT EIGHT - 0x39: [676,22,500,30,459], // DIGIT NINE - 0x3A: [459,11,278,81,192], // COLON - 0x3B: [459,141,278,80,219], // SEMICOLON - 0x3C: [534,24,685,56,621], // LESS-THAN SIGN - 0x3D: [386,-120,685,48,637], // EQUALS SIGN - 0x3E: [534,24,685,56,621], // GREATER-THAN SIGN - 0x3F: [676,8,444,68,414], // QUESTION MARK - 0x40: [676,14,921,116,809], // COMMERCIAL AT - 0x41: [674,0,722,15,707], // LATIN CAPITAL LETTER A - 0x42: [662,0,667,17,593], // LATIN CAPITAL LETTER B - 0x43: [676,14,667,28,633], // LATIN CAPITAL LETTER C - 0x44: [662,0,722,16,685], // LATIN CAPITAL LETTER D - 0x45: [662,0,611,12,597], // LATIN CAPITAL LETTER E - 0x46: [662,0,556,11,546], // LATIN CAPITAL LETTER F - 0x47: [676,14,722,32,709], // LATIN CAPITAL LETTER G - 0x48: [662,0,722,18,703], // LATIN CAPITAL LETTER H - 0x49: [662,0,333,18,315], // LATIN CAPITAL LETTER I - 0x4A: [662,14,373,-6,354], // LATIN CAPITAL LETTER J - 0x4B: [662,0,722,33,723], // LATIN CAPITAL LETTER K - 0x4C: [662,0,611,12,598], // LATIN CAPITAL LETTER L - 0x4D: [662,0,889,12,864], // LATIN CAPITAL LETTER M - 0x4E: [662,11,722,12,707], // LATIN CAPITAL LETTER N - 0x4F: [676,14,722,34,688], // LATIN CAPITAL LETTER O - 0x50: [662,0,557,16,542], // LATIN CAPITAL LETTER P - 0x51: [676,177,722,34,701], // LATIN CAPITAL LETTER Q - 0x52: [662,0,667,17,660], // LATIN CAPITAL LETTER R - 0x53: [676,14,556,43,491], // LATIN CAPITAL LETTER S - 0x54: [662,0,611,17,593], // LATIN CAPITAL LETTER T - 0x55: [662,14,722,14,705], // LATIN CAPITAL LETTER U - 0x56: [662,11,722,16,697], // LATIN CAPITAL LETTER V - 0x57: [662,11,944,5,932], // LATIN CAPITAL LETTER W - 0x58: [662,0,722,10,704], // LATIN CAPITAL LETTER X - 0x59: [662,0,722,22,703], // LATIN CAPITAL LETTER Y - 0x5A: [662,0,612,10,598], // LATIN CAPITAL LETTER Z - 0x5B: [662,156,333,88,299], // LEFT SQUARE BRACKET - 0x5C: [676,14,278,-9,287], // REVERSE SOLIDUS - 0x5D: [662,156,333,34,245], // RIGHT SQUARE BRACKET - 0x5E: [662,-297,469,24,446], // CIRCUMFLEX ACCENT - 0x5F: [-75,125,500,0,500], // LOW LINE - 0x60: [678,-507,333,18,242], // GRAVE ACCENT - 0x61: [460,10,444,37,442], // LATIN SMALL LETTER A - 0x62: [683,10,500,3,468], // LATIN SMALL LETTER B - 0x63: [460,10,444,25,412], // LATIN SMALL LETTER C - 0x64: [683,10,500,27,491], // LATIN SMALL LETTER D - 0x65: [460,10,444,25,424], // LATIN SMALL LETTER E - 0x66: [683,0,333,20,383], // LATIN SMALL LETTER F - 0x67: [460,218,500,28,470], // LATIN SMALL LETTER G - 0x68: [683,0,500,9,487], // LATIN SMALL LETTER H - 0x69: [683,0,278,16,253], // LATIN SMALL LETTER I - 0x6A: [683,218,278,-70,194], // LATIN SMALL LETTER J - 0x6B: [683,0,500,7,505], // LATIN SMALL LETTER K - 0x6C: [683,0,278,19,257], // LATIN SMALL LETTER L - 0x6D: [460,0,778,16,775], // LATIN SMALL LETTER M - 0x6E: [460,0,500,16,485], // LATIN SMALL LETTER N - 0x6F: [460,10,500,29,470], // LATIN SMALL LETTER O - 0x70: [460,217,500,5,470], // LATIN SMALL LETTER P - 0x71: [460,217,500,24,488], // LATIN SMALL LETTER Q - 0x72: [460,0,333,5,335], // LATIN SMALL LETTER R - 0x73: [459,10,389,51,348], // LATIN SMALL LETTER S - 0x74: [579,10,278,13,279], // LATIN SMALL LETTER T - 0x75: [450,10,500,9,480], // LATIN SMALL LETTER U - 0x76: [450,14,500,19,477], // LATIN SMALL LETTER V - 0x77: [450,14,722,21,694], // LATIN SMALL LETTER W - 0x78: [450,0,500,17,479], // LATIN SMALL LETTER X - 0x79: [450,218,500,14,475], // LATIN SMALL LETTER Y - 0x7A: [450,0,444,27,418], // LATIN SMALL LETTER Z - 0x7B: [680,181,480,100,350], // LEFT CURLY BRACKET - 0x7C: [676,14,200,67,133], // VERTICAL LINE - 0x7D: [680,181,480,130,380], // RIGHT CURLY BRACKET - 0x7E: [325,-183,541,40,502], // TILDE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xA8: [622,-523,333,18,316], // DIAERESIS - 0xAC: [393,-115,600,48,552], // NOT SIGN - 0xAF: [601,-547,333,11,322], // MACRON - 0xB1: [502,87,685,48,637], // PLUS-MINUS SIGN - 0xB7: [310,-199,250,70,181], // MIDDLE DOT - 0xD7: [529,25,640,43,597], // MULTIPLICATION SIGN - 0xF7: [516,10,564,30,534], // DIVISION SIGN - 0x131: [460,0,278,16,253], // LATIN SMALL LETTER DOTLESS I - 0x237: [460,218,278,-70,193], // LATIN SMALL LETTER DOTLESS J - 0x2C6: [674,-507,333,11,322], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [674,-507,333,11,322], // CARON - 0x2C9: [601,-547,334,11,322], // MODIFIER LETTER MACRON - 0x2CA: [679,-509,333,93,320], // MODIFIER LETTER ACUTE ACCENT - 0x2CB: [679,-509,333,22,249], // MODIFIER LETTER GRAVE ACCENT - 0x2D8: [664,-507,335,27,308], // BREVE - 0x2D9: [622,-523,333,118,217], // DOT ABOVE - 0x2DC: [638,-532,333,1,331], // SMALL TILDE - 0x300: [678,-507,0,-371,-147], // COMBINING GRAVE ACCENT - 0x301: [678,-507,0,-371,-147], // COMBINING ACUTE ACCENT - 0x302: [674,-507,0,-386,-75], // COMBINING CIRCUMFLEX ACCENT - 0x303: [638,-532,0,-395,-65], // COMBINING TILDE - 0x304: [601,-547,0,-385,-74], // COMBINING MACRON - 0x306: [664,-507,0,-373,-92], // COMBINING BREVE - 0x307: [622,-523,0,-280,-181], // COMBINING DOT ABOVE - 0x308: [622,-523,0,-379,-81], // COMBINING DIAERESIS - 0x30A: [711,-512,0,-329,-130], // COMBINING RING ABOVE - 0x30B: [678,-507,0,-401,-22], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [674,-507,0,-385,-74], // COMBINING CARON - 0x338: [662,156,0,-380,31], // COMBINING LONG SOLIDUS OVERLAY - 0x393: [662,0,587,11,577], // GREEK CAPITAL LETTER GAMMA - 0x394: [674,0,722,48,675], // GREEK CAPITAL LETTER DELTA - 0x398: [676,14,722,34,688], // GREEK CAPITAL LETTER THETA - 0x39B: [674,0,702,15,687], // GREEK CAPITAL LETTER LAMDA - 0x39E: [662,0,643,29,614], // GREEK CAPITAL LETTER XI - 0x3A0: [662,0,722,18,703], // GREEK CAPITAL LETTER PI - 0x3A3: [662,0,624,30,600], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [674,0,722,29,703], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [662,0,763,35,728], // GREEK CAPITAL LETTER PHI - 0x3A8: [690,0,746,22,724], // GREEK CAPITAL LETTER PSI - 0x3A9: [676,0,744,29,715], // GREEK CAPITAL LETTER OMEGA - 0x2020: [676,149,500,59,442], // DAGGER - 0x2021: [676,153,500,58,442], // DOUBLE DAGGER - 0x2026: [100,11,1000,111,888], // HORIZONTAL ELLIPSIS - 0x2032: [678,-402,289,75,214], // PRIME - 0x203E: [820,-770,500,0,500], // OVERLINE - 0x20D7: [760,-548,0,-453,-17], // COMBINING RIGHT ARROW ABOVE - 0x2111: [695,34,762,45,711], // BLACK-LETTER CAPITAL I - 0x2118: [547,217,826,52,799], // SCRIPT CAPITAL P - 0x211C: [704,22,874,50,829], // BLACK-LETTER CAPITAL R - 0x2135: [677,13,682,43,634], // ALEF SYMBOL - 0x2190: [449,-58,926,71,857], // LEFTWARDS ARROW - 0x2191: [662,156,511,60,451], // UPWARDS ARROW - 0x2192: [448,-57,926,70,856], // RIGHTWARDS ARROW - 0x2193: [662,156,511,60,451], // DOWNWARDS ARROW - 0x2194: [449,-57,926,38,888], // LEFT RIGHT ARROW - 0x2195: [730,224,511,60,451], // UP DOWN ARROW - 0x2196: [662,156,926,70,856], // NORTH WEST ARROW - 0x2197: [662,156,926,70,856], // NORTH EAST ARROW - 0x2198: [662,156,926,70,856], // SOUTH EAST ARROW - 0x2199: [662,156,926,70,856], // SOUTH WEST ARROW - 0x21A6: [450,-57,926,70,857], // RIGHTWARDS ARROW FROM BAR - 0x21A9: [553,-57,926,70,856], // LEFTWARDS ARROW WITH HOOK - 0x21AA: [553,-57,926,70,856], // RIGHTWARDS ARROW WITH HOOK - 0x21BC: [494,-220,955,54,901], // LEFTWARDS HARPOON WITH BARB UPWARDS - 0x21BD: [286,-12,955,54,901], // LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x21C0: [494,-220,955,54,901], // RIGHTWARDS HARPOON WITH BARB UPWARDS - 0x21C1: [286,-12,955,54,901], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x21CC: [539,33,926,70,856], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON - 0x21D0: [551,45,926,60,866], // LEFTWARDS DOUBLE ARROW - 0x21D1: [662,156,685,45,641], // UPWARDS DOUBLE ARROW - 0x21D2: [551,45,926,60,866], // RIGHTWARDS DOUBLE ARROW - 0x21D3: [662,156,685,45,641], // DOWNWARDS DOUBLE ARROW - 0x21D4: [517,10,926,20,906], // LEFT RIGHT DOUBLE ARROW - 0x21D5: [730,224,685,45,641], // UP DOWN DOUBLE ARROW - 0x2200: [662,0,560,2,558], // FOR ALL - 0x2202: [668,11,471,40,471], // PARTIAL DIFFERENTIAL - 0x2203: [662,0,560,73,487], // THERE EXISTS - 0x2205: [583,79,762,50,712], // EMPTY SET - 0x2207: [662,12,731,63,667], // NABLA - 0x2208: [531,27,685,60,625], // ELEMENT OF - 0x2209: [662,157,685,60,625], // stix-negated (vert) set membership, variant - 0x220B: [531,27,685,60,625], // CONTAINS AS MEMBER - 0x220F: [763,259,1000,52,948], // N-ARY PRODUCT - 0x2210: [763,259,1000,52,948], // N-ARY COPRODUCT - 0x2211: [763,259,914,58,856], // N-ARY SUMMATION - 0x2212: [286,-220,685,64,621], // MINUS SIGN - 0x2213: [502,87,685,48,637], // MINUS-OR-PLUS SIGN - 0x2215: [710,222,523,46,478], // DIVISION SLASH - 0x2216: [411,-93,428,25,403], // SET MINUS - 0x2217: [471,-33,523,67,457], // ASTERISK OPERATOR - 0x2218: [387,-117,350,40,310], // RING OPERATOR - 0x2219: [387,-117,350,40,310], // BULLET OPERATOR - 0x221A: [973,259,928,112,963], // SQUARE ROOT - 0x221D: [430,0,685,41,643], // PROPORTIONAL TO - 0x221E: [430,0,926,70,854], // INFINITY - 0x2220: [547,0,685,23,643], // ANGLE - 0x2223: [690,189,266,100,166], // DIVIDES - 0x2225: [690,189,523,129,394], // PARALLEL TO - 0x2227: [536,29,620,31,589], // LOGICAL AND - 0x2228: [536,29,620,31,589], // LOGICAL OR - 0x2229: [536,31,620,48,572], // stix-intersection, serifs - 0x222A: [536,31,620,48,572], // stix-union, serifs - 0x222B: [824,320,459,32,639], // INTEGRAL - 0x223C: [362,-148,685,48,637], // TILDE OPERATOR - 0x2240: [547,42,286,35,249], // WREATH PRODUCT - 0x2243: [445,-55,685,48,637], // ASYMPTOTICALLY EQUAL TO - 0x2245: [532,27,685,48,637], // APPROXIMATELY EQUAL TO - 0x2248: [475,-25,685,48,637], // ALMOST EQUAL TO - 0x224D: [498,-8,685,48,637], // EQUIVALENT TO - 0x2250: [611,-120,685,48,637], // APPROACHES THE LIMIT - 0x2260: [662,156,685,48,637], // stix-not (vert) equals - 0x2261: [478,-28,685,48,637], // IDENTICAL TO - 0x2264: [609,103,685,64,629], // LESS-THAN OR EQUAL TO - 0x2265: [609,103,685,64,629], // GREATER-THAN OR EQUAL TO - 0x226A: [532,26,933,25,908], // MUCH LESS-THAN - 0x226B: [532,26,933,25,908], // MUCH GREATER-THAN - 0x227A: [532,26,685,64,621], // PRECEDES - 0x227B: [532,26,685,64,621], // SUCCEEDS - 0x227C: [628,120,685,64,621], // PRECEDES OR EQUAL TO - 0x227D: [629,119,685,64,621], // SUCCEEDS OR EQUAL TO - 0x2282: [531,25,685,64,621], // SUBSET OF - 0x2283: [531,25,685,64,621], // SUPERSET OF - 0x2286: [607,103,685,64,621], // SUBSET OF OR EQUAL TO - 0x2287: [607,103,685,64,621], // SUPERSET OF OR EQUAL TO - 0x228E: [536,31,620,48,572], // MULTISET UNION - 0x2291: [607,103,685,64,621], // SQUARE IMAGE OF OR EQUAL TO - 0x2292: [607,103,685,64,621], // SQUARE ORIGINAL OF OR EQUAL TO - 0x2293: [536,31,620,48,572], // stix-square intersection, serifs - 0x2294: [536,31,620,48,572], // stix-square union, serifs - 0x2295: [623,119,842,50,792], // stix-circled plus (with rim) - 0x2296: [623,119,842,50,792], // CIRCLED MINUS - 0x2297: [623,119,842,50,792], // stix-circled times (with rim) - 0x2298: [623,119,842,50,792], // CIRCLED DIVISION SLASH - 0x2299: [583,79,762,50,712], // CIRCLED DOT OPERATOR - 0x22A2: [662,0,685,64,621], // RIGHT TACK - 0x22A3: [662,0,685,64,621], // LEFT TACK - 0x22A4: [662,0,685,48,637], // DOWN TACK - 0x22A5: [662,0,685,48,637], // UP TACK - 0x22A8: [662,0,685,64,621], // TRUE - 0x22C0: [763,259,924,54,870], // N-ARY LOGICAL AND - 0x22C1: [763,259,924,54,870], // N-ARY LOGICAL OR - 0x22C2: [778,254,924,94,830], // N-ARY INTERSECTION - 0x22C3: [768,264,924,94,830], // N-ARY UNION - 0x22C4: [488,-16,523,26,497], // DIAMOND OPERATOR - 0x22C5: [313,-193,286,83,203], // DOT OPERATOR - 0x22C6: [597,13,700,35,665], // STAR OPERATOR - 0x22C8: [582,80,810,54,756], // BOWTIE - 0x22EE: [606,104,511,192,319], // VERTICAL ELLIPSIS - 0x22EF: [316,-189,926,108,818], // MIDLINE HORIZONTAL ELLIPSIS - 0x22F1: [520,18,926,194,732], // DOWN RIGHT DIAGONAL ELLIPSIS - 0x2308: [713,213,469,188,447], // LEFT CEILING - 0x2309: [713,213,469,27,286], // RIGHT CEILING - 0x230A: [713,213,469,188,447], // LEFT FLOOR - 0x230B: [713,213,469,27,286], // RIGHT FLOOR - 0x2322: [360,-147,1019,54,965], // stix-small down curve - 0x2323: [360,-147,1019,54,965], // stix-small up curve - 0x23AF: [286,-220,315,0,315], // HORIZONTAL LINE EXTENSION - 0x23D0: [405,-101,511,222,288], // VERTICAL LINE EXTENSION (used to extend arrows) - 0x25B3: [811,127,1145,35,1110], // WHITE UP-POINTING TRIANGLE - 0x25B9: [555,50,660,80,605], // WHITE RIGHT-POINTING SMALL TRIANGLE - 0x25BD: [811,127,1145,35,1110], // WHITE DOWN-POINTING TRIANGLE - 0x25C3: [554,51,660,55,580], // WHITE LEFT-POINTING SMALL TRIANGLE - 0x25EF: [785,282,1207,70,1137], // LARGE CIRCLE - 0x2660: [609,99,685,34,651], // BLACK SPADE SUIT - 0x2661: [603,105,685,34,651], // WHITE HEART SUIT - 0x2662: [609,105,685,41,643], // WHITE DIAMOND SUIT - 0x2663: [603,99,685,34,651], // BLACK CLUB SUIT - 0x266D: [768,10,426,57,346], // MUSIC FLAT SIGN - 0x266E: [768,181,426,75,350], // MUSIC NATURAL SIGN - 0x266F: [768,181,426,41,386], // MUSIC SHARP SIGN - 0x27E8: [713,213,400,77,335], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [713,213,400,65,323], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x27EE: [676,177,233,56,211], // MATHEMATICAL LEFT FLATTENED PARENTHESIS - 0x27EF: [676,177,233,22,177], // MATHEMATICAL RIGHT FLATTENED PARENTHESIS - 0x27F5: [449,-58,1574,55,1519], // LONG LEFTWARDS ARROW - 0x27F6: [449,-57,1574,55,1519], // LONG RIGHTWARDS ARROW - 0x27F7: [449,-57,1574,55,1519], // LONG LEFT RIGHT ARROW - 0x27F8: [551,45,1574,55,1519], // LONG LEFTWARDS DOUBLE ARROW - 0x27F9: [551,45,1574,55,1519], // LONG RIGHTWARDS DOUBLE ARROW - 0x27FA: [517,10,1574,55,1519], // LONG LEFT RIGHT DOUBLE ARROW - 0x27FB: [450,-57,1574,55,1519], // LONG LEFTWARDS ARROW FROM BAR - 0x27FC: [450,-57,1574,55,1519], // LONG RIGHTWARDS ARROW FROM BAR - 0x29F5: [710,222,523,46,478], // REVERSE SOLIDUS OPERATOR - 0x2A00: [763,259,1126,53,1073], // N-ARY CIRCLED DOT OPERATOR - 0x2A01: [763,259,1126,53,1073], // N-ARY CIRCLED PLUS OPERATOR - 0x2A02: [763,259,1126,53,1073], // N-ARY CIRCLED TIMES OPERATOR - 0x2A03: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH DOT - 0x2A04: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH PLUS - 0x2A05: [763,259,924,94,830], // N-ARY SQUARE INTERSECTION OPERATOR - 0x2A06: [763,259,924,94,830], // N-ARY SQUARE UNION OPERATOR - 0x2A3F: [662,0,694,30,664], // AMALGAMATION OR COPRODUCT - 0x2AAF: [609,103,685,64,621], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN - 0x2AB0: [609,103,685,64,621] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN - }; - - HTMLCSS.FONTDATA.FONTS['STIXGeneral-bold'] = { - directory: 'General/Bold', - family: 'STIXGeneral', - weight: 'bold', - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x180,0x24F,"LatinExtendedB"], - [0x250,0x2AF,"IPAExtensions"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x300,0x36F,"CombDiacritMarks"], - [0x370,0x3FF,"GreekAndCoptic"], - [0x400,0x4FF,"Cyrillic"], - [0x1D00,0x1DBF,"PhoneticExtensions"], - [0x1E00,0x1EFF,"LatinExtendedAdditional"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x2070,0x209F,"SuperAndSubscripts"], - [0x20A0,0x20CF,"CurrencySymbols"], - [0x20D0,0x20FF,"CombDiactForSymbols"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2150,0x218F,"NumberForms"], - [0x2190,0x21FF,"Arrows"], - [0x2200,0x22FF,"MathOperators"], - [0x2300,0x23FF,"MiscTechnical"], - [0x2400,0x243F,"ControlPictures"], - [0x2460,0x24FF,"EnclosedAlphanum"], - [0x2500,0x257F,"BoxDrawing"], - [0x25A0,0x25FF,"GeometricShapes"], - [0x2600,0x26FF,"MiscSymbols"], - [0x27C0,0x27EF,"MiscMathSymbolsA"], - [0x2980,0x29FF,"MiscMathSymbolsB"], - [0x2A00,0x2AFF,"SuppMathOperators"], - [0xFB00,0xFB4F,"AlphaPresentForms"], - [0x1D400,0x1D433,"MathBold"], - [0x1D56C,0x1D59F,"BoldFraktur"], - [0x1D5D4,0x1D607,"MathSSBold"], - [0x1D6A8,0x1D6E1,"GreekBold"], - [0x1D756,0x1D78F,"GreekSSBold"], - [0x1D7CE,0x1D7D7,"MathBold"], - [0x1D7EC,0x1D7F6,"MathSSBold"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [691,13,333,81,251], // EXCLAMATION MARK - 0x22: [691,-404,555,83,472], // QUOTATION MARK - 0x23: [700,0,500,5,495], // NUMBER SIGN - 0x24: [750,99,500,29,472], // DOLLAR SIGN - 0x25: [706,29,749,61,688], // PERCENT SIGN - 0x26: [691,16,833,62,789], // AMPERSAND - 0x27: [691,-404,278,75,204], // APOSTROPHE - 0x28: [694,168,333,46,306], // LEFT PARENTHESIS - 0x29: [694,168,333,27,287], // RIGHT PARENTHESIS - 0x2A: [691,-255,500,56,448], // ASTERISK - 0x2B: [563,57,750,65,685], // PLUS SIGN - 0x2C: [155,180,250,39,223], // COMMA - 0x2D: [287,-171,333,44,287], // HYPHEN-MINUS - 0x2E: [156,13,250,41,210], // FULL STOP - 0x2F: [691,19,278,-24,302], // SOLIDUS - 0x30: [688,13,500,24,476], // DIGIT ZERO - 0x31: [688,0,500,65,441], // DIGIT ONE - 0x32: [688,0,500,17,478], // DIGIT TWO - 0x33: [688,14,500,16,468], // DIGIT THREE - 0x34: [688,0,500,19,476], // DIGIT FOUR - 0x35: [676,8,500,22,470], // DIGIT FIVE - 0x36: [688,13,500,28,475], // DIGIT SIX - 0x37: [676,0,500,17,477], // DIGIT SEVEN - 0x38: [688,13,500,28,472], // DIGIT EIGHT - 0x39: [688,13,500,26,473], // DIGIT NINE - 0x3A: [472,13,333,82,251], // COLON - 0x3B: [472,180,333,82,266], // SEMICOLON - 0x3C: [534,24,750,80,670], // LESS-THAN SIGN - 0x3D: [399,-107,750,68,682], // EQUALS SIGN - 0x3E: [534,24,750,80,670], // GREATER-THAN SIGN - 0x3F: [689,13,500,57,445], // QUESTION MARK - 0x40: [691,19,930,108,822], // COMMERCIAL AT - 0x41: [690,0,722,9,689], // LATIN CAPITAL LETTER A - 0x42: [676,0,667,16,619], // LATIN CAPITAL LETTER B - 0x43: [691,19,722,49,687], // LATIN CAPITAL LETTER C - 0x44: [676,0,722,14,690], // LATIN CAPITAL LETTER D - 0x45: [676,0,667,16,641], // LATIN CAPITAL LETTER E - 0x46: [676,0,611,16,583], // LATIN CAPITAL LETTER F - 0x47: [691,19,778,37,755], // LATIN CAPITAL LETTER G - 0x48: [676,0,778,21,759], // LATIN CAPITAL LETTER H - 0x49: [676,0,389,20,370], // LATIN CAPITAL LETTER I - 0x4A: [676,96,500,3,478], // LATIN CAPITAL LETTER J - 0x4B: [676,0,778,30,769], // LATIN CAPITAL LETTER K - 0x4C: [677,0,667,19,638], // LATIN CAPITAL LETTER L - 0x4D: [676,0,944,14,921], // LATIN CAPITAL LETTER M - 0x4E: [676,18,722,16,701], // LATIN CAPITAL LETTER N - 0x4F: [691,19,778,35,743], // LATIN CAPITAL LETTER O - 0x50: [676,0,611,16,600], // LATIN CAPITAL LETTER P - 0x51: [691,176,778,35,743], // LATIN CAPITAL LETTER Q - 0x52: [676,0,722,26,716], // LATIN CAPITAL LETTER R - 0x53: [692,19,556,35,513], // LATIN CAPITAL LETTER S - 0x54: [676,0,667,31,636], // LATIN CAPITAL LETTER T - 0x55: [676,19,722,16,701], // LATIN CAPITAL LETTER U - 0x56: [676,18,722,16,701], // LATIN CAPITAL LETTER V - 0x57: [676,15,1000,19,981], // LATIN CAPITAL LETTER W - 0x58: [676,0,722,16,699], // LATIN CAPITAL LETTER X - 0x59: [676,0,722,15,699], // LATIN CAPITAL LETTER Y - 0x5A: [676,0,667,28,634], // LATIN CAPITAL LETTER Z - 0x5B: [678,149,333,67,301], // LEFT SQUARE BRACKET - 0x5C: [691,19,278,-25,303], // REVERSE SOLIDUS - 0x5D: [678,149,333,32,266], // RIGHT SQUARE BRACKET - 0x5E: [676,-311,581,73,509], // CIRCUMFLEX ACCENT - 0x5F: [-75,125,500,0,500], // LOW LINE - 0x60: [713,-528,333,8,246], // GRAVE ACCENT - 0x61: [473,14,500,25,488], // LATIN SMALL LETTER A - 0x62: [676,14,556,17,521], // LATIN SMALL LETTER B - 0x63: [473,14,444,25,430], // LATIN SMALL LETTER C - 0x64: [676,14,556,25,534], // LATIN SMALL LETTER D - 0x65: [473,14,444,25,427], // LATIN SMALL LETTER E - 0x66: [691,0,333,14,389], // LATIN SMALL LETTER F - 0x67: [473,206,500,28,483], // LATIN SMALL LETTER G - 0x68: [676,0,556,15,534], // LATIN SMALL LETTER H - 0x69: [691,0,278,15,256], // LATIN SMALL LETTER I - 0x6A: [691,203,333,-57,263], // LATIN SMALL LETTER J - 0x6B: [676,0,556,22,543], // LATIN SMALL LETTER K - 0x6C: [676,0,278,15,256], // LATIN SMALL LETTER L - 0x6D: [473,0,833,15,814], // LATIN SMALL LETTER M - 0x6E: [473,0,556,21,539], // LATIN SMALL LETTER N - 0x6F: [473,14,500,25,476], // LATIN SMALL LETTER O - 0x70: [473,205,556,19,524], // LATIN SMALL LETTER P - 0x71: [473,205,556,34,536], // LATIN SMALL LETTER Q - 0x72: [473,0,444,28,434], // LATIN SMALL LETTER R - 0x73: [473,14,389,25,361], // LATIN SMALL LETTER S - 0x74: [630,12,333,19,332], // LATIN SMALL LETTER T - 0x75: [461,14,556,16,538], // LATIN SMALL LETTER U - 0x76: [461,14,500,21,485], // LATIN SMALL LETTER V - 0x77: [461,14,722,23,707], // LATIN SMALL LETTER W - 0x78: [461,0,500,12,484], // LATIN SMALL LETTER X - 0x79: [461,205,500,16,482], // LATIN SMALL LETTER Y - 0x7A: [461,0,444,21,420], // LATIN SMALL LETTER Z - 0x7B: [698,175,394,22,340], // LEFT CURLY BRACKET - 0x7C: [691,19,220,66,154], // VERTICAL LINE - 0x7D: [698,175,394,54,372], // RIGHT CURLY BRACKET - 0x7E: [333,-173,520,29,491], // TILDE - 0x393: [676,0,620,16,593], // GREEK CAPITAL LETTER GAMMA - 0x394: [690,0,722,33,673], // GREEK CAPITAL LETTER DELTA - 0x398: [692,18,778,35,743], // GREEK CAPITAL LETTER THETA - 0x39B: [690,0,707,9,674], // GREEK CAPITAL LETTER LAMDA - 0x39E: [676,0,647,40,607], // GREEK CAPITAL LETTER XI - 0x3A0: [676,0,778,21,759], // GREEK CAPITAL LETTER PI - 0x3A3: [676,0,671,28,641], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [692,0,703,7,693], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [676,0,836,18,818], // GREEK CAPITAL LETTER PHI - 0x3A8: [692,0,808,15,797], // GREEK CAPITAL LETTER PSI - 0x3A9: [692,0,768,28,740] // GREEK CAPITAL LETTER OMEGA - }; - - HTMLCSS.FONTDATA.FONTS['STIXGeneral-italic'] = { - directory: 'General/Italic', - family: 'STIXGeneral', - style: 'italic', - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x180,0x24F,"LatinExtendedB"], - [0x250,0x2AF,"IPAExtensions"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x370,0x3FF,"GreekAndCoptic"], - [0x400,0x4FF,"Cyrillic"], - [0x1E00,0x1EFF,"LatinExtendedAdditional"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x20A0,0x20CF,"CurrencySymbols"], - [0x20D0,0x20FF,"CombDiactForSymbols"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2200,0x22FF,"MathOperators"], - [0x2400,0x243F,"ControlPictures"], - [0x2460,0x24FF,"EnclosedAlphanum"], - [0x2500,0x257F,"BoxDrawing"], - [0xFB00,0xFB4F,"AlphaPresentForms"], - [0x1D434,0x1D467,"MathItalic"], - [0x1D49C,0x1D4CF,"MathScript"], - [0x1D608,0x1D63B,"MathSSItalic"], - [0x1D6A4,0x1D6A5,"ij"], - [0x1D6E2,0x1D71B,"GreekItalic"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [667,11,333,39,304], // EXCLAMATION MARK - 0x22: [666,-421,420,144,432], // QUOTATION MARK - 0x23: [676,0,501,2,540], // NUMBER SIGN - 0x24: [731,89,500,32,497], // DOLLAR SIGN - 0x25: [706,19,755,80,705], // PERCENT SIGN - 0x26: [666,18,778,76,723], // AMPERSAND - 0x27: [666,-421,214,132,241], // APOSTROPHE - 0x28: [669,181,333,42,315], // LEFT PARENTHESIS - 0x29: [669,180,333,16,289], // RIGHT PARENTHESIS - 0x2A: [666,-255,500,128,492], // ASTERISK - 0x2B: [506,0,675,86,590], // PLUS SIGN - 0x2C: [101,129,250,-5,135], // COMMA - 0x2D: [255,-192,333,49,282], // HYPHEN-MINUS - 0x2E: [100,11,250,27,138], // FULL STOP - 0x2F: [666,18,278,-65,386], // SOLIDUS - 0x30: [676,7,500,32,497], // DIGIT ZERO - 0x31: [676,0,500,50,409], // DIGIT ONE - 0x32: [676,0,500,12,452], // DIGIT TWO - 0x33: [676,7,500,16,465], // DIGIT THREE - 0x34: [676,0,500,1,479], // DIGIT FOUR - 0x35: [666,7,500,15,491], // DIGIT FIVE - 0x36: [686,7,500,30,521], // DIGIT SIX - 0x37: [666,8,500,75,537], // DIGIT SEVEN - 0x38: [676,7,500,30,493], // DIGIT EIGHT - 0x39: [676,17,500,23,492], // DIGIT NINE - 0x3A: [441,11,333,50,261], // COLON - 0x3B: [441,129,333,26,261], // SEMICOLON - 0x3C: [516,10,675,84,592], // LESS-THAN SIGN - 0x3D: [386,-120,675,86,590], // EQUALS SIGN - 0x3E: [516,10,675,84,592], // GREATER-THAN SIGN - 0x3F: [664,12,500,132,472], // QUESTION MARK - 0x40: [666,18,920,118,806], // COMMERCIAL AT - 0x41: [668,0,611,-51,564], // LATIN CAPITAL LETTER A - 0x42: [653,0,611,-8,588], // LATIN CAPITAL LETTER B - 0x43: [666,18,667,66,689], // LATIN CAPITAL LETTER C - 0x44: [653,0,722,-8,700], // LATIN CAPITAL LETTER D - 0x45: [653,0,611,-1,634], // LATIN CAPITAL LETTER E - 0x46: [653,0,611,8,645], // LATIN CAPITAL LETTER F - 0x47: [666,18,722,52,722], // LATIN CAPITAL LETTER G - 0x48: [653,0,722,-8,769], // LATIN CAPITAL LETTER H - 0x49: [653,0,333,-8,384], // LATIN CAPITAL LETTER I - 0x4A: [653,18,444,-6,491], // LATIN CAPITAL LETTER J - 0x4B: [653,0,667,7,722], // LATIN CAPITAL LETTER K - 0x4C: [653,0,556,-8,559], // LATIN CAPITAL LETTER L - 0x4D: [653,0,833,-18,872], // LATIN CAPITAL LETTER M - 0x4E: [653,15,667,-20,727], // LATIN CAPITAL LETTER N - 0x4F: [667,18,722,60,699], // LATIN CAPITAL LETTER O - 0x50: [653,0,611,0,605], // LATIN CAPITAL LETTER P - 0x51: [666,182,722,59,699], // LATIN CAPITAL LETTER Q - 0x52: [653,0,611,-13,588], // LATIN CAPITAL LETTER R - 0x53: [667,18,500,17,508], // LATIN CAPITAL LETTER S - 0x54: [653,0,556,59,633], // LATIN CAPITAL LETTER T - 0x55: [653,18,722,102,765], // LATIN CAPITAL LETTER U - 0x56: [653,18,611,76,688], // LATIN CAPITAL LETTER V - 0x57: [653,18,833,71,906], // LATIN CAPITAL LETTER W - 0x58: [653,0,611,-29,655], // LATIN CAPITAL LETTER X - 0x59: [653,0,556,78,633], // LATIN CAPITAL LETTER Y - 0x5A: [653,0,556,-6,606], // LATIN CAPITAL LETTER Z - 0x5B: [663,153,389,21,391], // LEFT SQUARE BRACKET - 0x5C: [666,18,278,-41,319], // REVERSE SOLIDUS - 0x5D: [663,153,389,12,382], // RIGHT SQUARE BRACKET - 0x5E: [666,-301,422,0,422], // CIRCUMFLEX ACCENT - 0x5F: [-75,125,500,0,500], // LOW LINE - 0x60: [664,-492,333,120,311], // GRAVE ACCENT - 0x61: [441,11,501,17,476], // LATIN SMALL LETTER A - 0x62: [683,11,500,23,473], // LATIN SMALL LETTER B - 0x63: [441,11,444,30,425], // LATIN SMALL LETTER C - 0x64: [683,13,500,15,527], // LATIN SMALL LETTER D - 0x65: [441,11,444,31,412], // LATIN SMALL LETTER E - 0x66: [678,207,278,-147,424], // LATIN SMALL LETTER F - 0x67: [441,206,500,8,471], // LATIN SMALL LETTER G - 0x68: [683,9,500,19,478], // LATIN SMALL LETTER H - 0x69: [654,11,278,49,264], // LATIN SMALL LETTER I - 0x6A: [652,207,278,-124,279], // LATIN SMALL LETTER J - 0x6B: [683,11,444,14,461], // LATIN SMALL LETTER K - 0x6C: [683,11,278,41,279], // LATIN SMALL LETTER L - 0x6D: [441,9,722,12,704], // LATIN SMALL LETTER M - 0x6E: [441,9,500,14,474], // LATIN SMALL LETTER N - 0x6F: [441,11,500,27,468], // LATIN SMALL LETTER O - 0x70: [441,205,504,-75,472], // LATIN SMALL LETTER P - 0x71: [441,209,500,25,484], // LATIN SMALL LETTER Q - 0x72: [441,0,389,45,412], // LATIN SMALL LETTER R - 0x73: [442,13,389,16,366], // LATIN SMALL LETTER S - 0x74: [546,11,278,38,296], // LATIN SMALL LETTER T - 0x75: [441,11,500,42,475], // LATIN SMALL LETTER U - 0x76: [441,18,444,20,426], // LATIN SMALL LETTER V - 0x77: [441,18,667,15,648], // LATIN SMALL LETTER W - 0x78: [441,11,444,-27,447], // LATIN SMALL LETTER X - 0x79: [441,206,444,-24,426], // LATIN SMALL LETTER Y - 0x7A: [428,81,389,-2,380], // LATIN SMALL LETTER Z - 0x7B: [687,177,400,51,407], // LEFT CURLY BRACKET - 0x7C: [666,18,275,105,171], // VERTICAL LINE - 0x7D: [687,177,400,-7,349], // RIGHT CURLY BRACKET - 0x7E: [323,-183,541,40,502], // TILDE - 0x131: [441,11,278,47,235], // LATIN SMALL LETTER DOTLESS I - 0x237: [441,207,278,-124,246], // LATIN SMALL LETTER DOTLESS J - 0x393: [653,0,611,8,645], // GREEK CAPITAL LETTER GAMMA - 0x394: [668,0,611,-32,526], // GREEK CAPITAL LETTER DELTA - 0x398: [667,18,722,60,699], // GREEK CAPITAL LETTER THETA - 0x39B: [668,0,611,-51,564], // GREEK CAPITAL LETTER LAMDA - 0x39E: [653,0,651,-6,680], // GREEK CAPITAL LETTER XI - 0x3A0: [653,0,722,-8,769], // GREEK CAPITAL LETTER PI - 0x3A3: [653,0,620,-6,659], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [668,0,556,78,648], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [653,0,741,50,731], // GREEK CAPITAL LETTER PHI - 0x3A8: [667,0,675,77,778], // GREEK CAPITAL LETTER PSI - 0x3A9: [666,0,762,-6,739], // GREEK CAPITAL LETTER OMEGA - 0x3B1: [441,11,552,27,549], // GREEK SMALL LETTER ALPHA - 0x3B2: [678,205,506,-40,514], // GREEK SMALL LETTER BETA - 0x3B3: [435,206,410,19,438], // GREEK SMALL LETTER GAMMA - 0x3B4: [668,11,460,24,460], // GREEK SMALL LETTER DELTA - 0x3B5: [441,11,444,30,425], // GREEK SMALL LETTER EPSILON - 0x3B6: [683,185,454,30,475], // GREEK SMALL LETTER ZETA - 0x3B7: [441,205,474,14,442], // GREEK SMALL LETTER ETA - 0x3B8: [678,11,480,27,494], // GREEK SMALL LETTER THETA - 0x3B9: [441,11,278,49,235], // GREEK SMALL LETTER IOTA - 0x3BA: [441,13,444,14,465], // GREEK SMALL LETTER KAPPA - 0x3BB: [678,16,458,-12,431], // GREEK SMALL LETTER LAMDA - 0x3BC: [428,205,526,-33,483], // GREEK SMALL LETTER MU - 0x3BD: [441,18,470,20,459], // GREEK SMALL LETTER NU - 0x3BE: [683,185,454,30,446], // GREEK SMALL LETTER XI - 0x3BF: [441,11,500,27,468], // GREEK SMALL LETTER OMICRON - 0x3C0: [428,18,504,19,536], // GREEK SMALL LETTER PI - 0x3C1: [441,205,504,-40,471], // GREEK SMALL LETTER RHO - 0x3C2: [441,185,454,30,453], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [428,11,498,27,531], // GREEK SMALL LETTER SIGMA - 0x3C4: [428,11,410,12,426], // GREEK SMALL LETTER TAU - 0x3C5: [441,10,478,19,446], // GREEK SMALL LETTER UPSILON - 0x3C6: [441,205,622,27,590], // GREEK SMALL LETTER PHI - 0x3C7: [441,207,457,-108,498], // GREEK SMALL LETTER CHI - 0x3C8: [441,205,584,15,668], // GREEK SMALL LETTER PSI - 0x3C9: [439,11,686,27,654], // GREEK SMALL LETTER OMEGA - 0x3D1: [678,10,556,19,526], // GREEK THETA SYMBOL - 0x3D5: [683,205,627,27,595], // GREEK PHI SYMBOL - 0x3D6: [428,11,792,17,832], // GREEK PI SYMBOL - 0x3F1: [441,205,516,27,484], // GREEK RHO SYMBOL - 0x3F5: [441,11,444,30,420], // GREEK LUNATE EPSILON SYMBOL - 0x2113: [687,11,579,48,571] // SCRIPT SMALL L - }; - - HTMLCSS.FONTDATA.FONTS['STIXIntegralsD'] = { - directory: 'IntegralsD/Regular', - family: 'STIXIntegralsD', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0x222B,0x2233,"All"], - [0x2A0B,0x2A1C,"All"] - ], - 0x222B: [2000,269,585,56,1035], // INTEGRAL - 0x222E: [2000,269,635,56,1035] // CONTOUR INTEGRAL - }; - - HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'] = { - directory: 'NonUnicode/Regular', - family: 'STIXNonUnicode', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0xE000,0xF8FF,"PrivateUse"] - ], - 0xE000: [610,25,1184,829,895], // stix-radical symbol vertical extender - 0xE001: [667,-41,1184,829,1211], // stix-radical symbol top corner piece - 0xE138: [634,-584,480,-10,490], // stix-horizontal extender for multiple character over accent arrows, harpoons, line - 0xE139: [-127,177,480,-10,490], // stix-horizontal extender for multiple character under accent arrows, harpoons, line - 0xE13B: [955,-512,897,-25,908], // stix-left end of extensible overbrace (CMEX10 x3A rotated 90deg) - 0xE13C: [955,-512,897,-11,922], // stix-right end of extensible overbrace (CMEX10 x38 rotated 90deg) - 0xE13D: [182,261,897,-25,908], // stix-left end of extensible underbrace (CMEX10 x3B rotated 90deg) - 0xE13E: [182,261,897,-11,922], // stix-right end of extensible underbrace (CMEX10 x39 rotated 90deg) - 0xE140: [1218,-820,1844,-10,1854], // stix-center of extensible overbrace (CMEX10 x3C rotated 90deg) - 0xE141: [-126,524,1844,-10,1854], // stix-center of extensible underbrace (CMEX10 x3D rotated 90deg) - 0xE14A: [955,-820,633,-1,634], // stix-extensible horizontal for over paren or square bracket (CMEX10 x42 rotated 90deg) - 0xE14B: [-126,261,633,-1,634], // stix-extensible horizontal for under paren or square bracket (CMEX10 x43 rotated 90deg) - 0xE261: [422,10,523,41,481], // stix-old style digit 0 - 0xE265: [421,0,523,127,405], // stix-old style digit 1 - 0xE269: [421,0,523,68,455], // stix-old style digit 2 - 0xE26D: [424,198,523,47,463], // stix-old style digit 3 - 0xE271: [420,198,523,58,480], // stix-old style digit 4 - 0xE275: [421,198,523,66,457], // stix-old style digit 5 - 0xE279: [612,8,523,37,486], // stix-old style digit 6 - 0xE27D: [421,198,523,25,490], // stix-old style digit 7 - 0xE281: [606,12,523,47,477], // stix-old style digit 8 - 0xE285: [421,200,523,41,483], // stix-old style digit 9 - 0xE28F: [135,0,325,-1,326], // stix-short horizontal extender at baseline - 0xE290: [135,0,633,-1,634] // stix-long horizontal extender at baseline - }; - - HTMLCSS.FONTDATA.FONTS['STIXNonUnicode-bold'] = { - directory: 'NonUnicode/Bold', - family: 'STIXNonUnicode', - weight: 'bold', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0xE000,0xF8FF,"PrivateUse"] - ] - - }; - - HTMLCSS.FONTDATA.FONTS['STIXNonUnicode-italic'] = { - directory: 'NonUnicode/Italic', - family: 'STIXNonUnicode', - style: 'italic', - Ranges: [ - [0x20,0x20,"All"], - [0xA0,0xA0,"All"], - [0xE000,0xF8FF,"PrivateUse"] - ], - 0xE22D: [677,45,852,43,812], // stix-mathematical calligraphic capital A - 0xE22E: [670,3,724,35,709], // stix-mathematical calligraphic capital B - 0xE22F: [671,11,569,43,586], // stix-mathematical calligraphic capital C - 0xE230: [662,0,801,34,788], // stix-mathematical calligraphic capital D - 0xE231: [670,4,553,40,599], // stix-mathematical calligraphic capital E - 0xE232: [662,0,652,43,710], // stix-mathematical calligraphic capital F - 0xE233: [671,131,580,40,580], // stix-mathematical calligraphic capital G - 0xE234: [664,21,831,41,845], // stix-mathematical calligraphic capital H - 0xE235: [662,0,575,38,591], // stix-mathematical calligraphic capital I - 0xE236: [662,120,632,31,785], // stix-mathematical calligraphic capital J - 0xE237: [670,13,809,30,783], // stix-mathematical calligraphic capital K - 0xE238: [670,7,693,30,653], // stix-mathematical calligraphic capital L - 0xE239: [671,45,1166,40,1128], // stix-mathematical calligraphic capital M - 0xE23A: [795,37,957,40,1064], // stix-mathematical calligraphic capital N - 0xE23B: [669,10,737,38,729], // stix-mathematical calligraphic capital O - 0xE23C: [662,0,667,38,709], // stix-mathematical calligraphic capital P - 0xE23D: [671,131,744,43,704], // stix-mathematical calligraphic capital Q - 0xE23E: [662,3,854,38,816], // stix-mathematical calligraphic capital R - 0xE23F: [671,0,634,38,671], // stix-mathematical calligraphic capital S - 0xE240: [721,0,509,41,730], // stix-mathematical calligraphic capital T - 0xE241: [672,13,817,37,950], // stix-mathematical calligraphic capital U - 0xE242: [677,33,638,33,680], // stix-mathematical calligraphic capital V - 0xE243: [685,32,956,33,998], // stix-mathematical calligraphic capital W - 0xE244: [672,13,692,38,739], // stix-mathematical calligraphic capital X - 0xE245: [675,131,719,34,763], // stix-mathematical calligraphic capital Y - 0xE246: [664,94,752,38,714] // stix-mathematical calligraphic capital Z - }; - - HTMLCSS.FONTDATA.FONTS['STIXSizeOneSym'] = { - directory: 'SizeOneSym/Regular', - family: 'STIXSizeOneSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x2140,0x2140,"All"], - [0x221A,0x221C,"All"], - [0x2320,0x2321,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"], - [0x2772,0x2773,"All"], - [0x27E6,0x27EB,"All"], - [0x2983,0x2986,"All"], - [0x29F8,0x29F9,"All"], - [0x2A00,0x2A0A,"All"], - [0x2AFC,0x2AFF,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1066,164,468,139,382], // LEFT PARENTHESIS - 0x29: [1066,164,468,86,329], // RIGHT PARENTHESIS - 0x2F: [1066,164,579,25,552], // SOLIDUS - 0x5B: [1066,164,383,180,363], // LEFT SQUARE BRACKET - 0x5C: [1066,164,579,27,552], // REVERSE SOLIDUS - 0x5D: [1066,164,383,20,203], // RIGHT SQUARE BRACKET - 0x5F: [-127,177,1000,0,1000], // LOW LINE - 0x7B: [1066,164,575,114,466], // LEFT CURLY BRACKET - 0x7D: [1066,164,575,109,461], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [767,-554,0,-720,-160], // COMBINING CIRCUMFLEX ACCENT - 0x303: [750,-598,0,-722,-162], // COMBINING TILDE - 0x220F: [1500,-49,1355,50,1305], // N-ARY PRODUCT - 0x2210: [1500,-49,1355,50,1305], // N-ARY COPRODUCT - 0x2211: [1499,-49,1292,90,1202], // N-ARY SUMMATION - 0x221A: [1552,295,1057,112,1089], // SQUARE ROOT - 0x22C0: [1500,-49,1265,60,1205], // N-ARY LOGICAL AND - 0x22C1: [1500,-49,1265,60,1205], // N-ARY LOGICAL OR - 0x22C2: [1510,-49,1265,118,1147], // N-ARY INTERSECTION - 0x22C3: [1500,-39,1265,118,1147], // N-ARY UNION - 0x2308: [1066,164,453,180,426], // LEFT CEILING - 0x2309: [1066,164,453,25,273], // RIGHT CEILING - 0x230A: [1066,164,453,180,428], // LEFT FLOOR - 0x230B: [1066,164,453,27,273], // RIGHT FLOOR - 0x239B: [700,305,450,50,400], // LEFT PARENTHESIS UPPER HOOK - 0x239C: [705,305,450,50,174], // LEFT PARENTHESIS EXTENSION - 0x239D: [705,300,450,50,400], // LEFT PARENTHESIS LOWER HOOK - 0x239E: [700,305,450,50,400], // RIGHT PARENTHESIS UPPER HOOK - 0x239F: [705,305,450,276,400], // RIGHT PARENTHESIS EXTENSION - 0x23A0: [705,300,450,50,400], // RIGHT PARENTHESIS LOWER HOOK - 0x23A1: [682,323,450,50,415], // LEFT SQUARE BRACKET UPPER CORNER - 0x23A2: [687,323,450,50,150], // LEFT SQUARE BRACKET EXTENSION - 0x23A3: [687,318,450,50,415], // LEFT SQUARE BRACKET LOWER CORNER - 0x23A4: [682,323,450,35,400], // RIGHT SQUARE BRACKET UPPER CORNER - 0x23A5: [687,323,450,300,400], // RIGHT SQUARE BRACKET EXTENSION - 0x23A6: [687,318,450,35,400], // RIGHT SQUARE BRACKET LOWER CORNER - 0x23A7: [700,305,640,260,600], // LEFT CURLY BRACKET UPPER HOOK - 0x23A8: [705,305,640,40,380], // LEFT CURLY BRACKET MIDDLE PIECE - 0x23A9: [705,300,640,260,600], // LEFT CURLY BRACKET LOWER HOOK - 0x23AA: [705,305,640,260,380], // CURLY BRACKET EXTENSION - 0x23AB: [700,305,640,40,380], // RIGHT CURLY BRACKET UPPER HOOK - 0x23AC: [705,305,640,260,600], // RIGHT CURLY BRACKET MIDDLE PIECE - 0x23AD: [705,300,640,40,380], // RIGHT CURLY BRACKET LOWER HOOK - 0x23AE: [610,25,688,294,394], // INTEGRAL EXTENSION - 0x23B0: [700,301,600,35,566], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION - 0x23B1: [700,301,600,35,566], // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION - 0x23B7: [1510,345,1184,112,895], // RADICAL SYMBOL BOTTOM - 0x23B8: [1566,289,721,0,66], // LEFT VERTICAL BOX LINE - 0x23B9: [1566,289,721,655,721], // RIGHT VERTICAL BOX LINE - 0x23DE: [136,89,926,0,925], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [789,-564,926,0,925], // BOTTOM CURLY BRACKET (mathematical use) - 0x27E8: [1066,164,578,116,462], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1066,164,578,116,462], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x2A00: [1500,-49,1555,52,1503], // N-ARY CIRCLED DOT OPERATOR - 0x2A01: [1500,-49,1555,52,1503], // N-ARY CIRCLED PLUS OPERATOR - 0x2A02: [1500,-49,1555,52,1503], // N-ARY CIRCLED TIMES OPERATOR - 0x2A04: [1500,-39,1265,118,1147], // N-ARY UNION OPERATOR WITH PLUS - 0x2A05: [1500,-49,1153,82,1071], // N-ARY SQUARE INTERSECTION OPERATOR - 0x2A06: [1500,-49,1153,82,1071] // N-ARY SQUARE UNION OPERATOR - }; - - HTMLCSS.FONTDATA.FONTS['STIXSizeTwoSym'] = { - directory: 'SizeTwoSym/Regular', - family: 'STIXSizeTwoSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x221A,0x221C,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"], - [0x2772,0x2773,"All"], - [0x27E6,0x27EB,"All"], - [0x2983,0x2986,"All"], - [0x2AFC,0x2AFF,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1566,279,589,139,503], // LEFT PARENTHESIS - 0x29: [1566,279,608,114,478], // RIGHT PARENTHESIS - 0x2F: [1566,279,806,25,781], // SOLIDUS - 0x5B: [1566,279,459,190,422], // LEFT SQUARE BRACKET - 0x5C: [1566,279,806,25,781], // REVERSE SOLIDUS - 0x5D: [1566,279,459,37,269], // RIGHT SQUARE BRACKET - 0x5F: [-127,177,1500,0,1000], // LOW LINE - 0x7B: [1566,279,717,124,531], // LEFT CURLY BRACKET - 0x7D: [1566,279,717,186,593], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [777,-564,0,-1150,-171], // COMBINING CIRCUMFLEX ACCENT - 0x303: [760,-608,0,-1152,-173], // COMBINING TILDE - 0x221A: [2056,404,1124,110,1157], // SQUARE ROOT - 0x2308: [1566,279,524,190,479], // LEFT CEILING - 0x2309: [1566,279,526,47,336], // RIGHT CEILING - 0x230A: [1566,279,524,190,479], // LEFT FLOOR - 0x230B: [1566,279,526,47,336], // RIGHT FLOOR - 0x23DE: [143,81,1460,0,1460], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [797,-573,1460,0,1460], // BOTTOM CURLY BRACKET (mathematical use) - 0x27E8: [1566,279,622,95,531], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1566,279,622,91,527] // MATHEMATICAL RIGHT ANGLE BRACKET - }; - - HTMLCSS.FONTDATA.FONTS['STIXSizeThreeSym'] = { - directory: 'SizeThreeSym/Regular', - family: 'STIXSizeThreeSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x221A,0x221C,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"], - [0x2772,0x2773,"All"], - [0x27E6,0x27EB,"All"], - [0x2983,0x2986,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x28: [2066,394,750,182,667], // LEFT PARENTHESIS - 0x29: [2066,394,750,83,568], // RIGHT PARENTHESIS - 0x2F: [2066,394,1101,30,1071], // SOLIDUS - 0x5B: [2066,394,508,225,491], // LEFT SQUARE BRACKET - 0x5C: [2066,394,1101,30,1071], // REVERSE SOLIDUS - 0x5D: [2066,394,508,17,283], // RIGHT SQUARE BRACKET - 0x5F: [-127,177,2000,0,2000], // LOW LINE - 0x7B: [2066,394,906,143,717], // LEFT CURLY BRACKET - 0x7D: [2066,394,906,189,763], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [777,-564,0,-1610,-150], // COMBINING CIRCUMFLEX ACCENT - 0x303: [774,-608,0,-1612,-152], // COMBINING TILDE - 0x221A: [2565,510,1076,112,1110], // SQUARE ROOT - 0x2308: [2066,394,565,225,550], // LEFT CEILING - 0x2309: [2066,394,565,15,340], // RIGHT CEILING - 0x230A: [2066,394,565,225,550], // LEFT FLOOR - 0x230B: [2066,394,565,15,340], // RIGHT FLOOR - 0x23DE: [157,86,1886,0,1886], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [815,-572,1886,0,1886], // BOTTOM CURLY BRACKET (mathematical use) - 0x27E8: [2066,394,765,96,670], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [2066,394,765,95,669] // MATHEMATICAL RIGHT ANGLE BRACKET - }; - - HTMLCSS.FONTDATA.FONTS['STIXSizeFourSym'] = { - directory: 'SizeFourSym/Regular', - family: 'STIXSizeFourSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x221A,0x221C,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"], - [0x2772,0x2773,"All"], - [0x27E6,0x27EB,"All"], - [0x2983,0x2986,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x28: [2566,509,808,124,732], // LEFT PARENTHESIS - 0x29: [2566,509,808,76,684], // RIGHT PARENTHESIS - 0x2F: [2566,509,1309,16,1293], // SOLIDUS - 0x5B: [2566,509,661,295,634], // LEFT SQUARE BRACKET - 0x5C: [2566,509,1309,16,1293], // REVERSE SOLIDUS - 0x5D: [2566,509,661,27,366], // RIGHT SQUARE BRACKET - 0x5F: [-127,177,2500,0,2500], // LOW LINE - 0x7B: [2566,509,1076,173,882], // LEFT CURLY BRACKET - 0x7D: [2566,509,1076,194,903], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [796,-573,0,-2040,-154], // COMBINING CIRCUMFLEX ACCENT - 0x303: [771,-608,0,-2040,-154], // COMBINING TILDE - 0x221A: [1510,345,1184,112,895], // SQUARE ROOT - 0x2308: [2566,509,682,295,655], // LEFT CEILING - 0x2309: [2566,509,682,27,387], // RIGHT CEILING - 0x230A: [2566,509,682,295,655], // LEFT FLOOR - 0x230B: [2566,509,682,27,387], // RIGHT FLOOR - 0x23DE: [175,90,2328,0,2328], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [837,-572,2328,0,2328], // BOTTOM CURLY BRACKET (mathematical use) - 0x27E8: [2566,509,908,113,796], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [2566,509,908,112,795] // MATHEMATICAL RIGHT ANGLE BRACKET - }; - - HTMLCSS.FONTDATA.FONTS['STIXSizeFiveSym'] = { - directory: 'SizeFiveSym/Regular', - family: 'STIXSizeFiveSym', - Ranges: [ - [0x2B0,0x2FF,"All"], - [0x300,0x338,"All"], - [0x203E,0x203E,"All"], - [0x20D0,0x20EF,"All"], - [0x239B,0x23B9,"All"], - [0x23DC,0x23E1,"All"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x5F: [-127,177,3000,0,3000], // LOW LINE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x302: [816,-572,0,-2485,-157], // COMBINING CIRCUMFLEX ACCENT - 0x303: [780,-617,0,-2485,-157], // COMBINING TILDE - 0x23DE: [181,90,3238,0,3238], // TOP CURLY BRACKET (mathematical use) - 0x23DF: [844,-573,3238,0,3238] // BOTTOM CURLY BRACKET (mathematical use) - }; - - HTMLCSS.FONTDATA.FONTS['STIXVariants'] = { - directory: 'Variants/Regular', - family: 'STIXVariants', - Ranges: [ - [0x20,0x20,"All"], - [0x77,0x7C,"All"], - [0xA0,0xA0,"All"], - [0x19B,0x19B,"All"], - [0x264,0x264,"All"], - [0x2032,0x2057,"All"], - [0x2140,0x2140,"All"], - [0x2190,0x2193,"All"], - [0x21D1,0x21E2,"All"], - [0x2205,0x22ED,"All"], - [0x2322,0x2323,"All"], - [0x2423,0x2423,"All"], - [0x25A9,0x25A9,"All"], - [0x2A3C,0x2AEE,"All"] - ], - 0x2032: [565,-28,340,44,295], // PRIME - 0x210F: [683,10,579,47,547], // stix-/hbar - Planck's over 2pi - 0x2205: [729,74,523,28,502], // EMPTY SET - 0x2216: [710,222,523,46,478], // SET MINUS - 0x221A: [943,11,737,67,767] // SQUARE ROOT - }; - - HTMLCSS.FONTDATA.FONTS['STIXGeneral'][0x22EE][0] += 400; // adjust height for \vdots - HTMLCSS.FONTDATA.FONTS['STIXGeneral'][0x22F1][0] += 500; // adjust height for \ddots - HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14A][0] += 200; // adjust height for brace extender - HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14A][1] += 200; // adjust depth for brace extender - HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14B][0] += 200; // adjust height for brace extender - HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14B][1] += 200; // adjust depth for brace extender - - MathJax.Hub.Browser.Select({ - MSIE: function (browser) { - // MSIE (6, 7, 8) can't access the Spacing Modifier positions? - HTMLCSS.FONTDATA.REMAP[0x2C9] = 0xAF; // macron - HTMLCSS.FONTDATA.REMAP[0x2CA] = 0xB4; // acute - HTMLCSS.FONTDATA.REMAP[0x2CB] = 0x60; // grave - HTMLCSS.FONTDATA.REMAP[0x2DA] = 0xB0; // ring above - } - }); - - // - // Check for Beta version versus release version of fonts - // - if (HTMLCSS.Font.testFont({family:"STIXSizeOneSym",testString:String.fromCharCode(0x2C6)})) { - // Release version -- all OK - MathJax.Ajax.loadComplete(HTMLCSS.fontDir + "/fontdata.js"); - } else { - // Beta version, so load patch file and don't say fontdata is complete until it loads - MathJax.CallBack.Queue( - ["Require",MathJax.Ajax,HTMLCSS.fontDir + "/fontdata-beta.js"], - ["loadComplete",MathJax.Ajax,HTMLCSS.fontDir + "/fontdata.js"] - ); - } - - -})(MathJax.OutputJax["HTML-CSS"]); - diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js deleted file mode 100644 index 329a711b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +++ /dev/null @@ -1,65 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x2190: [438,-63,500,64,422], // LEFTWARDS ARROW - 0x2192: [438,-63,500,57,417], // RIGHTWARDS ARROW - 0x219A: [437,-60,1000,56,942], // LEFTWARDS ARROW WITH STROKE - 0x219B: [437,-60,1000,54,942], // RIGHTWARDS ARROW WITH STROKE - 0x219E: [417,-83,1000,56,944], // LEFTWARDS TWO HEADED ARROW - 0x21A0: [417,-83,1000,55,943], // RIGHTWARDS TWO HEADED ARROW - 0x21A2: [417,-83,1111,56,1031], // LEFTWARDS ARROW WITH TAIL - 0x21A3: [417,-83,1111,79,1054], // RIGHTWARDS ARROW WITH TAIL - 0x21AB: [575,42,1000,56,964], // LEFTWARDS ARROW WITH LOOP - 0x21AC: [575,42,1000,35,943], // RIGHTWARDS ARROW WITH LOOP - 0x21AD: [417,-83,1389,57,1331], // LEFT RIGHT WAVE ARROW - 0x21AE: [437,-60,1000,56,942], // LEFT RIGHT ARROW WITH STROKE - 0x21B0: [722,0,500,56,444], // UPWARDS ARROW WITH TIP LEFTWARDS - 0x21B1: [722,0,500,55,443], // UPWARDS ARROW WITH TIP RIGHTWARDS - 0x21B6: [462,1,1000,17,950], // ANTICLOCKWISE TOP SEMICIRCLE ARROW - 0x21B7: [460,1,1000,46,982], // CLOCKWISE TOP SEMICIRCLE ARROW - 0x21BA: [650,83,778,55,722], // ANTICLOCKWISE OPEN CIRCLE ARROW - 0x21BB: [650,83,778,56,721], // CLOCKWISE OPEN CIRCLE ARROW - 0x21BE: [694,194,417,188,375], // UPWARDS HARPOON WITH BARB RIGHTWARDS - 0x21BF: [694,194,417,41,228], // UPWARDS HARPOON WITH BARB LEFTWARDS - 0x21C2: [694,194,417,188,375], // DOWNWARDS HARPOON WITH BARB RIGHTWARDS - 0x21C3: [694,194,417,41,228], // DOWNWARDS HARPOON WITH BARB LEFTWARDS - 0x21C4: [667,0,1000,55,944], // RIGHTWARDS ARROW OVER LEFTWARDS ARROW - 0x21C6: [667,0,1000,55,944], // LEFTWARDS ARROW OVER RIGHTWARDS ARROW - 0x21C7: [583,83,1000,55,944], // LEFTWARDS PAIRED ARROWS - 0x21C8: [694,194,833,83,749], // UPWARDS PAIRED ARROWS - 0x21C9: [583,83,1000,55,944], // RIGHTWARDS PAIRED ARROWS - 0x21CA: [694,194,833,83,749], // DOWNWARDS PAIRED ARROWS - 0x21CB: [514,14,1000,55,944], // LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON - 0x21CC: [514,14,1000,55,944], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON - 0x21CD: [534,35,1000,54,942], // LEFTWARDS DOUBLE ARROW WITH STROKE - 0x21CE: [534,37,1000,32,965], // LEFT RIGHT DOUBLE ARROW WITH STROKE - 0x21CF: [534,35,1000,54,943], // RIGHTWARDS DOUBLE ARROW WITH STROKE - 0x21DA: [611,111,1000,76,944], // LEFTWARDS TRIPLE ARROW - 0x21DB: [611,111,1000,55,923], // RIGHTWARDS TRIPLE ARROW - 0x21DD: [417,-83,1000,56,943], // RIGHTWARDS SQUIGGLE ARROW - 0x21E0: [438,-63,1334,64,1252], // LEFTWARDS DASHED ARROW - 0x21E2: [438,-63,1334,83,1251] // RIGHTWARDS DASHED ARROW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/Arrows.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js deleted file mode 100644 index c7687d9f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +++ /dev/null @@ -1,55 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x41: [701,2,722,16,703], // LATIN CAPITAL LETTER A - 0x42: [683,1,667,11,620], // LATIN CAPITAL LETTER B - 0x43: [702,19,722,39,684], // LATIN CAPITAL LETTER C - 0x44: [683,1,722,16,688], // LATIN CAPITAL LETTER D - 0x45: [683,1,667,12,640], // LATIN CAPITAL LETTER E - 0x46: [683,1,611,12,585], // LATIN CAPITAL LETTER F - 0x47: [702,19,778,39,749], // LATIN CAPITAL LETTER G - 0x48: [683,1,778,14,762], // LATIN CAPITAL LETTER H - 0x49: [683,1,389,20,369], // LATIN CAPITAL LETTER I - 0x4A: [683,77,500,6,478], // LATIN CAPITAL LETTER J - 0x4B: [684,1,778,22,768], // LATIN CAPITAL LETTER K - 0x4C: [683,1,667,12,640], // LATIN CAPITAL LETTER L - 0x4D: [684,1,944,17,926], // LATIN CAPITAL LETTER M - 0x4E: [684,20,722,20,702], // LATIN CAPITAL LETTER N - 0x4F: [701,19,778,34,742], // LATIN CAPITAL LETTER O - 0x50: [683,1,611,16,597], // LATIN CAPITAL LETTER P - 0x51: [701,181,778,34,742], // LATIN CAPITAL LETTER Q - 0x52: [683,1,722,16,705], // LATIN CAPITAL LETTER R - 0x53: [702,12,556,28,528], // LATIN CAPITAL LETTER S - 0x54: [683,1,667,33,635], // LATIN CAPITAL LETTER T - 0x55: [683,19,722,16,709], // LATIN CAPITAL LETTER U - 0x56: [684,20,722,0,719], // LATIN CAPITAL LETTER V - 0x57: [684,19,1000,5,994], // LATIN CAPITAL LETTER W - 0x58: [684,1,722,16,705], // LATIN CAPITAL LETTER X - 0x59: [683,1,722,16,704], // LATIN CAPITAL LETTER Y - 0x5A: [683,1,667,29,635], // LATIN CAPITAL LETTER Z - 0x6B: [684,2,556,17,535] // LATIN SMALL LETTER K - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/BBBold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js deleted file mode 100644 index e3c4b526..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x250C: [694,-306,500,54,444], // BOX DRAWINGS LIGHT DOWN AND RIGHT - 0x2510: [695,-306,500,55,444], // BOX DRAWINGS LIGHT DOWN AND LEFT - 0x2514: [367,23,500,54,444], // BOX DRAWINGS LIGHT UP AND RIGHT - 0x2518: [366,22,500,55,445], // BOX DRAWINGS LIGHT UP AND LEFT - 0x2571: [694,195,889,0,860], // BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT - 0x2572: [694,195,889,0,860] // BOX DRAWINGS LIGHT DIAGONAL UPPER LEFT TO LOWER RIGHT - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/BoxDrawing.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js deleted file mode 100644 index aecc80d1..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x302: [845,-561,0,-2347,13], // COMBINING CIRCUMFLEX ACCENT - 0x303: [899,-628,0,-2332,-3] // COMBINING TILDE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js deleted file mode 100644 index 58517873..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x2713: [707,35,833,84,749], // CHECK MARK - 0x2720: [716,22,833,48,786] // MALTESE CROSS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/Dingbats.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js deleted file mode 100644 index ae4ba02c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x24C8: [709,175,902,8,894] // CIRCLED LATIN CAPITAL LETTER S - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/EnclosedAlphanum.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js deleted file mode 100644 index 821be232..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x2035: [560,-43,275,12,244] // REVERSED PRIME - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/GeneralPunctuation.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js deleted file mode 100644 index b2573c77..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x25A0: [689,0,778,55,722], // BLACK SQUARE - 0x25A1: [689,0,778,55,722], // WHITE SQUARE - 0x25B2: [575,20,722,84,637], // BLACK UP-POINTING TRIANGLE - 0x25B3: [575,20,722,84,637], // WHITE UP-POINTING TRIANGLE - 0x25B6: [539,41,778,83,694], // BLACK RIGHT-POINTING TRIANGLE - 0x25BC: [576,20,722,84,638], // BLACK DOWN-POINTING TRIANGLE - 0x25BD: [576,20,722,84,638], // WHITE DOWN-POINTING TRIANGLE - 0x25C0: [539,41,778,83,694], // BLACK LEFT-POINTING TRIANGLE - 0x25CA: [716,132,667,56,612] // LOZENGE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/GeometricShapes.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js deleted file mode 100644 index 0b76d982..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x3DD: [605,85,778,55,719], // GREEK SMALL LETTER DIGAMMA - 0x3F0: [434,6,667,37,734] // GREEK KAPPA SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/GreekAndCoptic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js deleted file mode 100644 index 6106d4f2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +++ /dev/null @@ -1,31 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xA5: [684,0,750,11,738], // YEN SIGN - 0xAE: [709,175,947,32,915], // REGISTERED SIGN - 0xF0: [749,21,556,42,510] // LATIN SMALL LETTER ETH - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/Latin1Supplement.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js deleted file mode 100644 index 39b5f45c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x127: [695,13,540,42,562] // LATIN SMALL LETTER H WITH STROKE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/LatinExtendedA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js deleted file mode 100644 index 642a2a95..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +++ /dev/null @@ -1,34 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x210F: [695,13,540,42,562], // stix-/hbar - Planck's over 2pi - 0x2127: [685,22,722,44,675], // INVERTED OHM SIGN - 0x2132: [695,1,556,55,497], // TURNED CAPITAL F - 0x2136: [763,21,667,-22,687], // BET SYMBOL - 0x2137: [764,43,444,-22,422], // GIMEL SYMBOL - 0x2138: [764,43,667,54,640], // DALET SYMBOL - 0x2141: [706,23,639,37,577] // TURNED SANS-SERIF CAPITAL G - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/LetterlikeSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js deleted file mode 100644 index 76c764a2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +++ /dev/null @@ -1,51 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'] = { - directory: 'AMS/Regular', - family: 'MathJax_AMS', - testString: "MATHJAX AMS", - Ranges: [ - [0x0,0x7F,"BBBold"], - [0x80,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x300,0x36F,"CombDiacritMarks"], - [0x370,0x3FF,"GreekAndCoptic"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2190,0x21FF,"Arrows"], - [0x2200,0x22FF,"MathOperators"], - [0x2300,0x23FF,"MiscTechnical"], - [0x2460,0x24FF,"EnclosedAlphanum"], - [0x2500,0x257F,"BoxDrawing"], - [0x25A0,0x25FF,"GeometricShapes"], - [0x2600,0x26FF,"MiscSymbols"], - [0x2700,0x27BF,"Dingbats"], - [0x2980,0x29FF,"MiscMathSymbolsB"], - [0x2A00,0x2AFF,"SuppMathOperators"], - [0xE000,0xF8FF,"PUA"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_AMS"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js deleted file mode 100644 index 31482d5b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +++ /dev/null @@ -1,138 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x2201: [846,21,500,56,444], // COMPLEMENT - 0x2204: [860,166,556,55,498], // THERE DOES NOT EXIST - 0x2205: [587,3,778,54,720], // EMPTY SET - 0x220D: [440,1,429,102,457], // SMALL CONTAINS AS MEMBER - 0x2212: [270,-230,500,83,417], // MINUS SIGN - 0x2214: [766,94,778,56,722], // DOT PLUS - 0x2216: [430,23,778,91,685], // SET MINUS - 0x221D: [472,-28,778,56,722], // PROPORTIONAL TO - 0x2220: [694,0,722,55,666], // ANGLE - 0x2221: [714,20,722,55,667], // MEASURED ANGLE - 0x2222: [551,51,722,55,666], // SPHERICAL ANGLE - 0x2223: [430,23,222,91,131], // DIVIDES - 0x2224: [750,252,278,-21,297], // DOES NOT DIVIDE - 0x2225: [431,23,389,55,331], // PARALLEL TO - 0x2226: [750,250,500,-20,518], // NOT PARALLEL TO - 0x2234: [471,82,667,24,643], // THEREFORE - 0x2235: [471,82,667,23,643], // BECAUSE - 0x223C: [365,-132,778,55,719], // TILDE OPERATOR - 0x223D: [367,-133,778,56,722], // REVERSED TILDE - 0x2241: [468,-32,778,55,719], // stix-not, vert, similar - 0x2242: [463,-34,778,55,720], // MINUS TILDE - 0x2246: [652,155,778,54,720], // APPROXIMATELY BUT NOT ACTUALLY EQUAL TO - 0x2248: [482,-50,778,54,719], // ALMOST EQUAL TO - 0x224A: [579,39,778,51,725], // ALMOST EQUAL OR EQUAL TO - 0x224E: [492,-8,778,55,722], // GEOMETRICALLY EQUIVALENT TO - 0x224F: [492,-133,778,55,722], // DIFFERENCE BETWEEN - 0x2251: [609,108,778,55,722], // GEOMETRICALLY EQUAL TO - 0x2252: [601,101,778,15,762], // APPROXIMATELY EQUAL TO OR THE IMAGE OF - 0x2253: [601,102,778,14,762], // IMAGE OF OR APPROXIMATELY EQUAL TO - 0x2256: [367,-133,778,55,722], // RING IN EQUAL TO - 0x2257: [721,-133,778,55,722], // RING EQUAL TO - 0x225C: [859,-133,778,55,723], // DELTA EQUAL TO - 0x2266: [753,175,778,83,694], // LESS-THAN OVER EQUAL TO - 0x2267: [753,175,778,82,694], // GREATER-THAN OVER EQUAL TO - 0x2268: [752,286,778,82,693], // stix-less, vert, not double equals - 0x2269: [752,286,778,82,693], // stix-gt, vert, not double equals - 0x226C: [750,250,500,74,425], // BETWEEN - 0x226E: [708,209,778,82,693], // stix-not, vert, less-than - 0x226F: [708,209,778,82,694], // stix-not, vert, greater-than - 0x2270: [801,303,778,82,694], // stix-not, vert, less-than-or-equal - 0x2271: [801,303,778,82,695], // stix-not, vert, greater-than-or-equal - 0x2272: [732,228,778,56,722], // stix-less-than or (contour) similar - 0x2273: [732,229,778,56,722], // stix-greater-than or (contour) similar - 0x2276: [681,253,778,43,735], // LESS-THAN OR GREATER-THAN - 0x2277: [681,253,778,83,694], // GREATER-THAN OR LESS-THAN - 0x227C: [580,154,778,83,695], // PRECEDES OR EQUAL TO - 0x227D: [580,154,778,82,694], // SUCCEEDS OR EQUAL TO - 0x227E: [732,228,778,56,722], // PRECEDES OR EQUIVALENT TO - 0x227F: [732,228,778,56,722], // SUCCEEDS OR EQUIVALENT TO - 0x2280: [705,208,778,82,693], // DOES NOT PRECEDE - 0x2281: [705,208,778,82,693], // stix-not (vert) succeeds - 0x2288: [801,303,778,83,693], // stix-/nsubseteq N: not (vert) subset, equals - 0x2289: [801,303,778,82,691], // stix-/nsupseteq N: not (vert) superset, equals - 0x228A: [635,241,778,84,693], // stix-subset, not equals, variant - 0x228B: [635,241,778,82,691], // stix-superset, not equals, variant - 0x228F: [539,41,778,83,694], // SQUARE IMAGE OF - 0x2290: [539,41,778,63,714], // SQUARE ORIGINAL OF - 0x229A: [583,82,778,57,721], // CIRCLED RING OPERATOR - 0x229B: [583,82,778,57,721], // CIRCLED ASTERISK OPERATOR - 0x229D: [583,82,778,57,721], // CIRCLED DASH - 0x229E: [689,0,778,55,722], // SQUARED PLUS - 0x229F: [689,0,778,55,722], // SQUARED MINUS - 0x22A0: [689,0,778,55,722], // SQUARED TIMES - 0x22A1: [689,0,778,55,722], // SQUARED DOT OPERATOR - 0x22A8: [694,0,611,55,555], // TRUE - 0x22A9: [694,0,722,55,666], // FORCES - 0x22AA: [694,0,889,55,833], // TRIPLE VERTICAL BAR RIGHT TURNSTILE - 0x22AC: [695,1,611,-55,555], // DOES NOT PROVE - 0x22AD: [695,1,611,-55,554], // NOT TRUE - 0x22AE: [695,1,722,-55,665], // DOES NOT FORCE - 0x22AF: [695,1,722,-55,665], // NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE - 0x22B2: [539,41,778,83,694], // NORMAL SUBGROUP OF - 0x22B3: [539,41,778,83,694], // CONTAINS AS NORMAL SUBGROUP - 0x22B4: [636,138,778,83,694], // NORMAL SUBGROUP OF OR EQUAL TO - 0x22B5: [636,138,778,83,694], // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO - 0x22B8: [408,-92,1111,55,1055], // MULTIMAP - 0x22BA: [431,213,556,56,500], // INTERCALATE - 0x22BB: [716,0,611,54,555], // XOR - 0x22BC: [716,1,611,55,555], // NAND - 0x22C5: [189,0,278,55,222], // DOT OPERATOR - 0x22C7: [545,44,778,55,720], // DIVISION TIMES - 0x22C9: [492,-8,778,146,628], // LEFT NORMAL FACTOR SEMIDIRECT PRODUCT - 0x22CA: [492,-8,778,146,628], // RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT - 0x22CB: [695,22,778,55,722], // LEFT SEMIDIRECT PRODUCT - 0x22CC: [694,23,778,54,722], // RIGHT SEMIDIRECT PRODUCT - 0x22CD: [464,-36,778,56,722], // REVERSED TILDE EQUALS - 0x22CE: [579,21,760,83,676], // CURLY LOGICAL OR - 0x22CF: [578,22,760,83,676], // CURLY LOGICAL AND - 0x22D0: [540,41,778,84,695], // DOUBLE SUBSET - 0x22D1: [541,40,778,82,693], // DOUBLE SUPERSET - 0x22D2: [598,22,667,55,611], // DOUBLE INTERSECTION - 0x22D3: [599,22,667,55,611], // DOUBLE UNION - 0x22D4: [736,22,667,56,611], // PITCHFORK - 0x22D6: [541,41,778,82,693], // LESS-THAN WITH DOT - 0x22D7: [541,41,778,81,693], // GREATER-THAN WITH DOT - 0x22D8: [568,68,1333,56,1277], // VERY MUCH LESS-THAN - 0x22D9: [568,67,1333,55,1278], // VERY MUCH GREATER-THAN - 0x22DA: [886,386,778,83,675], // stix-less, equal, slanted, greater - 0x22DB: [886,386,778,82,674], // stix-greater, equal, slanted, less - 0x22DE: [734,0,778,83,695], // EQUAL TO OR PRECEDES - 0x22DF: [735,0,778,82,695], // EQUAL TO OR SUCCEEDS - 0x22E0: [801,303,778,82,693], // stix-not (vert) precedes or contour equals - 0x22E1: [801,303,778,81,694], // stix-not (vert) succeeds or contour equals - 0x22E6: [730,359,778,55,719], // LESS-THAN BUT NOT EQUIVALENT TO - 0x22E7: [730,359,778,55,719], // GREATER-THAN BUT NOT EQUIVALENT TO - 0x22E8: [730,360,778,55,719], // PRECEDES BUT NOT EQUIVALENT TO - 0x22E9: [730,359,778,55,719], // SUCCEEDS BUT NOT EQUIVALENT TO - 0x22EA: [706,208,778,82,693], // NOT NORMAL SUBGROUP OF - 0x22EB: [706,208,778,82,693], // DOES NOT CONTAIN AS NORMAL SUBGROUP - 0x22EC: [802,303,778,81,693], // stix-not, vert, left triangle, equals - 0x22ED: [801,303,778,82,694] // stix-not, vert, right triangle, equals - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/MathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js deleted file mode 100644 index 24b6b502..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x29EB: [716,132,667,56,612] // BLACK LOZENGE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/MiscMathSymbolsB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js deleted file mode 100644 index 2a1839d1..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x2605: [695,111,944,49,896] // BLACK STAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/MiscSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js deleted file mode 100644 index c5c32b66..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x2322: [378,-122,778,55,722], // stix-small down curve - 0x2323: [378,-143,778,55,722] // stix-small up curve - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/MiscTechnical.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js deleted file mode 100644 index f31d8803..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +++ /dev/null @@ -1,43 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0xE006: [430,23,222,-20,240], // MJ-TeX: small does not divide - 0xE007: [431,24,389,-20,407], // MJ-TeX: small not parallel - 0xE008: [605,85,778,55,719], // MJ-TeX: greek small letter digamma (for IE) - 0xE009: [434,6,667,37,734], // MJ-TeX: greek kappa symbol (for IE) - 0xE00C: [752,284,778,81,693], // MJ-TeX: less over not-equal - 0xE00D: [752,284,778,81,693], // MJ-TeX: greater over not-equal - 0xE00E: [919,421,778,82,694], // MJ-TeX: not greater, double equals - 0xE00F: [801,303,778,81,695], // MJ-TeX: not greater-or-equal slanted - 0xE010: [801,303,778,82,694], // MJ-TeX: not less-or-equal, slanted - 0xE011: [919,421,778,82,694], // MJ-TeX: not less, double equals - 0xE016: [828,330,778,82,694], // MJ-TeX: not subset, double equals - 0xE017: [752,332,778,82,694], // MJ-TeX: not subset, double equals, short slash - 0xE018: [829,330,778,82,695], // MJ-TeX: not superset, double equals - 0xE019: [752,333,778,81,693], // MJ-TeX: not superset, double equals, short slash - 0xE01A: [635,256,778,84,693], // MJ-TeX: not subset or equal, short slash - 0xE01B: [634,254,778,82,691] // MJ-TeX: not superset or equal, short slash - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/PUA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js deleted file mode 100644 index d9700d06..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x2C6: [845,-561,2333,-14,2346], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2DC: [899,-628,2333,1,2330] // SMALL TILDE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/SpacingModLetters.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js deleted file mode 100644 index 64725d41..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +++ /dev/null @@ -1,50 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], - { - 0x2A5E: [813,97,611,55,555], // LOGICAL AND WITH DOUBLE OVERBAR - 0x2A7D: [636,138,778,83,694], // LESS-THAN OR SLANTED EQUAL TO - 0x2A7E: [636,138,778,82,694], // GREATER-THAN OR SLANTED EQUAL TO - 0x2A85: [762,291,778,54,722], // LESS-THAN OR APPROXIMATE - 0x2A86: [763,290,778,54,722], // GREATER-THAN OR APPROXIMATE - 0x2A87: [635,241,778,82,693], // LESS-THAN AND SINGLE-LINE NOT EQUAL TO - 0x2A88: [635,241,778,81,693], // GREATER-THAN AND SINGLE-LINE NOT EQUAL TO - 0x2A89: [761,387,778,57,718], // LESS-THAN AND NOT APPROXIMATE - 0x2A8A: [761,388,778,57,719], // GREATER-THAN AND NOT APPROXIMATE - 0x2A8B: [1003,463,778,83,695], // LESS-THAN ABOVE DOUBLE-LINE EQUAL ABOVE GREATER-THAN - 0x2A8C: [1003,463,778,83,694], // GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN - 0x2A95: [636,138,778,83,694], // SLANTED EQUAL TO OR LESS-THAN - 0x2A96: [636,138,778,83,694], // SLANTED EQUAL TO OR GREATER-THAN - 0x2AB5: [752,287,778,82,693], // PRECEDES ABOVE NOT EQUAL TO - 0x2AB6: [752,286,778,82,694], // SUCCEEDS ABOVE NOT EQUAL TO - 0x2AB7: [761,294,778,57,717], // PRECEDES ABOVE ALMOST EQUAL TO - 0x2AB8: [761,294,778,57,717], // SUCCEEDS ABOVE ALMOST EQUAL TO - 0x2AB9: [761,337,778,57,719], // PRECEDES ABOVE NOT ALMOST EQUAL TO - 0x2ABA: [761,337,778,57,719], // SUCCEEDS ABOVE NOT ALMOST EQUAL TO - 0x2AC5: [753,216,778,83,695], // SUBSET OF ABOVE EQUALS SIGN - 0x2AC6: [754,215,778,82,694], // SUPERSET OF ABOVE EQUALS SIGN - 0x2ACB: [783,385,778,82,693], // stix-subset not double equals, variant - 0x2ACC: [783,385,778,82,693] // SUPERSET OF ABOVE NOT EQUAL TO - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/SuppMathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js deleted file mode 100644 index 98fd1ad7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +++ /dev/null @@ -1,96 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Caligraphic-bold'] = { - directory: 'Caligraphic/Bold', - family: 'MathJax_Caligraphic', - weight: 'bold', - testString: "MATHJAX CALIGRAPHIC", - skew: { - 0x41: 0.224, - 0x42: 0.16, - 0x43: 0.16, - 0x44: 0.0958, - 0x45: 0.128, - 0x46: 0.128, - 0x47: 0.128, - 0x48: 0.128, - 0x49: 0.0319, - 0x4A: 0.192, - 0x4B: 0.0639, - 0x4C: 0.16, - 0x4D: 0.16, - 0x4E: 0.0958, - 0x4F: 0.128, - 0x50: 0.0958, - 0x51: 0.128, - 0x52: 0.0958, - 0x53: 0.16, - 0x54: 0.0319, - 0x55: 0.0958, - 0x56: 0.0319, - 0x57: 0.0958, - 0x58: 0.16, - 0x59: 0.0958, - 0x5A: 0.16 - }, - 0x20: [0,0,250,0,0], // SPACE - 0x30: [460,17,575,46,528], // DIGIT ZERO - 0x31: [462,0,575,80,495], // DIGIT ONE - 0x32: [460,1,575,51,518], // DIGIT TWO - 0x33: [462,211,575,48,525], // DIGIT THREE - 0x34: [469,194,575,31,543], // DIGIT FOUR - 0x35: [461,211,575,57,517], // DIGIT FIVE - 0x36: [660,17,575,48,526], // DIGIT SIX - 0x37: [477,211,575,64,559], // DIGIT SEVEN - 0x38: [661,17,575,48,526], // DIGIT EIGHT - 0x39: [461,210,575,48,526], // DIGIT NINE - 0x41: [752,49,921,39,989], // LATIN CAPITAL LETTER A - 0x42: [705,18,748,40,740], // LATIN CAPITAL LETTER B - 0x43: [703,20,613,20,599], // LATIN CAPITAL LETTER C - 0x44: [687,0,892,19,885], // LATIN CAPITAL LETTER D - 0x45: [703,16,607,37,627], // LATIN CAPITAL LETTER E - 0x46: [686,30,814,17,930], // LATIN CAPITAL LETTER F - 0x47: [703,114,682,50,671], // LATIN CAPITAL LETTER G - 0x48: [686,49,987,19,946], // LATIN CAPITAL LETTER H - 0x49: [686,0,642,-27,746], // LATIN CAPITAL LETTER I - 0x4A: [687,114,779,53,937], // LATIN CAPITAL LETTER J - 0x4B: [703,18,871,40,834], // LATIN CAPITAL LETTER K - 0x4C: [703,17,788,40,751], // LATIN CAPITAL LETTER L - 0x4D: [703,49,1378,38,1353], // LATIN CAPITAL LETTER M - 0x4E: [841,49,937,-24,1105], // LATIN CAPITAL LETTER N - 0x4F: [704,17,906,63,882], // LATIN CAPITAL LETTER O - 0x50: [687,67,810,20,846], // LATIN CAPITAL LETTER P - 0x51: [703,147,939,120,905], // LATIN CAPITAL LETTER Q - 0x52: [687,18,990,20,981], // LATIN CAPITAL LETTER R - 0x53: [704,16,696,25,722], // LATIN CAPITAL LETTER S - 0x54: [720,69,644,38,947], // LATIN CAPITAL LETTER T - 0x55: [687,24,715,-11,771], // LATIN CAPITAL LETTER U - 0x56: [686,77,737,25,774], // LATIN CAPITAL LETTER V - 0x57: [686,77,1169,25,1206], // LATIN CAPITAL LETTER W - 0x58: [687,-1,817,56,906], // LATIN CAPITAL LETTER X - 0x59: [686,164,759,36,797], // LATIN CAPITAL LETTER Y - 0x5A: [687,1,818,46,853], // LATIN CAPITAL LETTER Z - 0xA0: [0,0,250,0,0] // NO-BREAK SPACE -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Caligraphic-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Caligraphic/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js deleted file mode 100644 index 33c361dd..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +++ /dev/null @@ -1,95 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Caligraphic'] = { - directory: 'Caligraphic/Regular', - family: 'MathJax_Caligraphic', - testString: "MATHJAX CALIGRAPHIC", - skew: { - 0x41: 0.194, - 0x42: 0.139, - 0x43: 0.139, - 0x44: 0.0833, - 0x45: 0.111, - 0x46: 0.111, - 0x47: 0.111, - 0x48: 0.111, - 0x49: 0.0278, - 0x4A: 0.167, - 0x4B: 0.0556, - 0x4C: 0.139, - 0x4D: 0.139, - 0x4E: 0.0833, - 0x4F: 0.111, - 0x50: 0.0833, - 0x51: 0.111, - 0x52: 0.0833, - 0x53: 0.139, - 0x54: 0.0278, - 0x55: 0.0833, - 0x56: 0.0278, - 0x57: 0.0833, - 0x58: 0.139, - 0x59: 0.0833, - 0x5A: 0.139 - }, - 0x20: [0,0,250,0,0], // SPACE - 0x30: [452,22,500,39,460], // DIGIT ZERO - 0x31: [454,0,500,86,426], // DIGIT ONE - 0x32: [453,0,500,44,449], // DIGIT TWO - 0x33: [452,216,500,41,456], // DIGIT THREE - 0x34: [464,194,500,27,471], // DIGIT FOUR - 0x35: [453,217,500,50,448], // DIGIT FIVE - 0x36: [666,22,500,42,456], // DIGIT SIX - 0x37: [463,216,500,54,485], // DIGIT SEVEN - 0x38: [666,21,500,43,457], // DIGIT EIGHT - 0x39: [453,216,500,42,457], // DIGIT NINE - 0x41: [728,50,798,30,819], // LATIN CAPITAL LETTER A - 0x42: [705,22,657,31,664], // LATIN CAPITAL LETTER B - 0x43: [705,25,527,12,533], // LATIN CAPITAL LETTER C - 0x44: [684,1,771,19,767], // LATIN CAPITAL LETTER D - 0x45: [706,22,528,30,565], // LATIN CAPITAL LETTER E - 0x46: [683,32,719,18,829], // LATIN CAPITAL LETTER F - 0x47: [704,119,595,43,599], // LATIN CAPITAL LETTER G - 0x48: [683,48,845,18,803], // LATIN CAPITAL LETTER H - 0x49: [683,1,545,-31,642], // LATIN CAPITAL LETTER I - 0x4A: [683,119,678,47,839], // LATIN CAPITAL LETTER J - 0x4B: [705,23,762,32,733], // LATIN CAPITAL LETTER K - 0x4C: [706,22,690,32,656], // LATIN CAPITAL LETTER L - 0x4D: [705,50,1201,28,1137], // LATIN CAPITAL LETTER M - 0x4E: [790,50,820,-27,979], // LATIN CAPITAL LETTER N - 0x4F: [705,22,796,58,777], // LATIN CAPITAL LETTER O - 0x50: [684,57,696,19,733], // LATIN CAPITAL LETTER P - 0x51: [706,131,817,114,787], // LATIN CAPITAL LETTER Q - 0x52: [683,22,848,19,837], // LATIN CAPITAL LETTER R - 0x53: [705,23,606,17,642], // LATIN CAPITAL LETTER S - 0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T - 0x55: [684,28,626,-17,687], // LATIN CAPITAL LETTER U - 0x56: [683,52,613,25,658], // LATIN CAPITAL LETTER V - 0x57: [683,53,988,25,1034], // LATIN CAPITAL LETTER W - 0x58: [684,1,713,52,807], // LATIN CAPITAL LETTER X - 0x59: [683,143,668,31,714], // LATIN CAPITAL LETTER Y - 0x5A: [683,0,725,37,767], // LATIN CAPITAL LETTER Z - 0xA0: [0,0,250,0,0] // NO-BREAK SPACE -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Caligraphic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Caligraphic/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js deleted file mode 100644 index 3dfff997..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +++ /dev/null @@ -1,109 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur-bold'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x21: [689,12,349,107,241], // EXCLAMATION MARK - 0x22: [695,-432,254,10,232], // QUOTATION MARK - 0x26: [696,16,871,44,839], // AMPERSAND - 0x27: [695,-436,250,80,158], // APOSTROPHE - 0x28: [737,186,459,134,347], // LEFT PARENTHESIS - 0x29: [735,187,459,105,326], // RIGHT PARENTHESIS - 0x2A: [692,-449,328,40,277], // ASTERISK - 0x2B: [598,82,893,56,837], // PLUS SIGN - 0x2C: [107,191,328,118,253], // COMMA - 0x2D: [275,-236,893,54,833], // HYPHEN-MINUS - 0x2E: [102,15,328,103,237], // FULL STOP - 0x2F: [721,182,593,41,550], // SOLIDUS - 0x30: [501,12,593,42,533], // DIGIT ZERO - 0x31: [489,0,593,54,548], // DIGIT ONE - 0x32: [491,-2,593,44,563], // DIGIT TWO - 0x33: [488,193,593,31,523], // DIGIT THREE - 0x34: [495,196,593,13,565], // DIGIT FOUR - 0x35: [481,190,593,19,518], // DIGIT FIVE - 0x36: [704,12,593,48,547], // DIGIT SIX - 0x37: [479,197,593,54,591], // DIGIT SEVEN - 0x38: [714,5,593,45,542], // DIGIT EIGHT - 0x39: [487,195,593,29,549], // DIGIT NINE - 0x3A: [457,12,255,57,197], // COLON - 0x3B: [458,190,255,56,211], // SEMICOLON - 0x3D: [343,-168,582,22,559], // EQUALS SIGN - 0x3F: [698,14,428,39,422], // QUESTION MARK - 0x41: [686,31,847,28,827], // LATIN CAPITAL LETTER A - 0x42: [684,31,1044,57,965], // LATIN CAPITAL LETTER B - 0x43: [676,32,723,72,726], // LATIN CAPITAL LETTER C - 0x44: [684,29,982,31,896], // LATIN CAPITAL LETTER D - 0x45: [686,29,783,74,728], // LATIN CAPITAL LETTER E - 0x46: [684,147,722,17,727], // LATIN CAPITAL LETTER F - 0x47: [687,29,927,74,844], // LATIN CAPITAL LETTER G - 0x48: [684,126,851,6,752], // LATIN CAPITAL LETTER H - 0x49: [681,25,655,32,623], // LATIN CAPITAL LETTER I - 0x4A: [681,141,652,-8,617], // LATIN CAPITAL LETTER J - 0x4B: [682,26,789,20,806], // LATIN CAPITAL LETTER K - 0x4C: [683,28,786,30,764], // LATIN CAPITAL LETTER L - 0x4D: [684,33,1239,26,1232], // LATIN CAPITAL LETTER M - 0x4E: [679,30,983,26,973], // LATIN CAPITAL LETTER N - 0x4F: [726,30,976,12,881], // LATIN CAPITAL LETTER O - 0x50: [688,223,977,32,943], // LATIN CAPITAL LETTER P - 0x51: [726,83,976,12,918], // LATIN CAPITAL LETTER Q - 0x52: [688,28,978,31,978], // LATIN CAPITAL LETTER R - 0x53: [685,31,978,82,905], // LATIN CAPITAL LETTER S - 0x54: [686,30,790,31,802], // LATIN CAPITAL LETTER T - 0x55: [688,39,851,18,871], // LATIN CAPITAL LETTER U - 0x56: [685,29,982,24,966], // LATIN CAPITAL LETTER V - 0x57: [683,30,1235,25,1240], // LATIN CAPITAL LETTER W - 0x58: [681,35,849,32,835], // LATIN CAPITAL LETTER X - 0x59: [688,214,984,33,878], // LATIN CAPITAL LETTER Y - 0x5A: [677,148,711,-4,624], // LATIN CAPITAL LETTER Z - 0x5B: [740,130,257,36,226], // LEFT SQUARE BRACKET - 0x5D: [738,132,257,14,208], // RIGHT SQUARE BRACKET - 0x5E: [734,-452,590,1,584], // CIRCUMFLEX ACCENT - 0x61: [472,32,603,79,586], // LATIN SMALL LETTER A - 0x62: [690,32,590,85,504], // LATIN SMALL LETTER B - 0x63: [473,26,464,87,424], // LATIN SMALL LETTER C - 0x64: [632,28,589,-1,511], // LATIN SMALL LETTER D - 0x65: [471,27,472,81,428], // LATIN SMALL LETTER E - 0x66: [687,222,388,35,372], // LATIN SMALL LETTER F - 0x67: [472,208,595,17,541], // LATIN SMALL LETTER G - 0x68: [687,207,615,89,507], // LATIN SMALL LETTER H - 0x69: [686,25,331,3,327], // LATIN SMALL LETTER I - 0x6A: [682,203,332,-19,238], // LATIN SMALL LETTER J - 0x6B: [682,25,464,34,432], // LATIN SMALL LETTER K - 0x6C: [681,24,337,100,312], // LATIN SMALL LETTER L - 0x6D: [477,31,921,16,900], // LATIN SMALL LETTER M - 0x6E: [474,28,654,5,608], // LATIN SMALL LETTER N - 0x6F: [482,34,609,107,515], // LATIN SMALL LETTER O - 0x70: [558,207,604,-1,520], // LATIN SMALL LETTER P - 0x71: [485,211,596,87,515], // LATIN SMALL LETTER Q - 0x72: [472,26,460,13,453], // LATIN SMALL LETTER R - 0x73: [479,34,523,-23,482], // LATIN SMALL LETTER S - 0x74: [648,27,393,43,407], // LATIN SMALL LETTER T - 0x75: [472,32,589,9,603], // LATIN SMALL LETTER U - 0x76: [546,27,604,56,507], // LATIN SMALL LETTER V - 0x77: [549,32,918,55,815], // LATIN SMALL LETTER W - 0x78: [471,188,459,8,441], // LATIN SMALL LETTER X - 0x79: [557,221,589,60,512], // LATIN SMALL LETTER Y - 0x7A: [471,214,461,-7,378] // LATIN SMALL LETTER Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Bold/BasicLatin.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js deleted file mode 100644 index a58302f6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur-bold'] = { - directory: 'Fraktur/Bold', - family: 'MathJax_Fraktur', - weight: 'bold', - testString: "MathJax Fraktur", - Ranges: [ - [0x0,0x7F,"BasicLatin"], - [0x80,0xDFFF,"Other"], - [0xE300,0xE310,"PUA"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Fraktur-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js deleted file mode 100644 index 3060a361..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +++ /dev/null @@ -1,30 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur-bold'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2018: [708,-411,254,53,187], // LEFT SINGLE QUOTATION MARK - 0x2019: [692,-394,254,58,193] // RIGHT SINGLE QUOTATION MARK - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Bold/Other.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js deleted file mode 100644 index d1b52cda..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +++ /dev/null @@ -1,34 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur-bold'], - { - 0xE301: [630,27,587,64,512], // ?? - 0xE302: [693,212,394,37,408], // ?? - 0xE303: [681,219,387,36,384], // ?? - 0xE304: [473,212,593,67,531], // ?? - 0xE305: [684,27,393,33,387], // ?? - 0xE308: [679,220,981,32,875], // ?? - 0xE309: [717,137,727,17,633] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Bold/PUA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js deleted file mode 100644 index bf559c59..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +++ /dev/null @@ -1,109 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x21: [689,12,296,91,204], // EXCLAMATION MARK - 0x22: [695,-432,215,8,196], // QUOTATION MARK - 0x26: [698,11,738,49,733], // AMPERSAND - 0x27: [695,-436,212,69,134], // APOSTROPHE - 0x28: [737,186,389,114,293], // LEFT PARENTHESIS - 0x29: [735,187,389,89,276], // RIGHT PARENTHESIS - 0x2A: [693,-449,278,33,234], // ASTERISK - 0x2B: [598,82,756,47,709], // PLUS SIGN - 0x2C: [107,191,278,99,213], // COMMA - 0x2D: [275,-236,756,46,706], // HYPHEN-MINUS - 0x2E: [102,15,278,87,200], // FULL STOP - 0x2F: [721,182,502,34,466], // SOLIDUS - 0x30: [492,13,502,42,456], // DIGIT ZERO - 0x31: [468,2,502,47,460], // DIGIT ONE - 0x32: [474,-1,502,60,484], // DIGIT TWO - 0x33: [473,182,502,39,429], // DIGIT THREE - 0x34: [476,191,502,10,481], // DIGIT FOUR - 0x35: [458,185,502,47,440], // DIGIT FIVE - 0x36: [700,13,502,45,471], // DIGIT SIX - 0x37: [468,181,502,37,498], // DIGIT SEVEN - 0x38: [705,10,502,40,461], // DIGIT EIGHT - 0x39: [469,182,502,28,466], // DIGIT NINE - 0x3A: [457,12,216,50,168], // COLON - 0x3B: [458,189,216,47,179], // SEMICOLON - 0x3D: [368,-132,756,54,725], // EQUALS SIGN - 0x3F: [693,11,362,46,357], // QUESTION MARK - 0x41: [696,26,718,22,708], // LATIN CAPITAL LETTER A - 0x42: [691,28,884,48,821], // LATIN CAPITAL LETTER B - 0x43: [685,24,613,59,607], // LATIN CAPITAL LETTER C - 0x44: [685,27,832,27,745], // LATIN CAPITAL LETTER D - 0x45: [685,24,663,86,634], // LATIN CAPITAL LETTER E - 0x46: [686,154,611,11,612], // LATIN CAPITAL LETTER F - 0x47: [690,26,785,66,711], // LATIN CAPITAL LETTER G - 0x48: [666,133,720,1,645], // LATIN CAPITAL LETTER H - 0x49: [686,26,554,30,532], // LATIN CAPITAL LETTER I - 0x4A: [686,139,552,-11,522], // LATIN CAPITAL LETTER J - 0x4B: [681,27,668,17,682], // LATIN CAPITAL LETTER K - 0x4C: [686,26,666,33,644], // LATIN CAPITAL LETTER L - 0x4D: [692,28,1050,27,1048], // LATIN CAPITAL LETTER M - 0x4E: [686,25,832,27,825], // LATIN CAPITAL LETTER N - 0x4F: [729,27,827,12,744], // LATIN CAPITAL LETTER O - 0x50: [692,218,828,28,804], // LATIN CAPITAL LETTER P - 0x51: [729,69,827,11,783], // LATIN CAPITAL LETTER Q - 0x52: [686,26,828,27,824], // LATIN CAPITAL LETTER R - 0x53: [692,27,829,65,756], // LATIN CAPITAL LETTER S - 0x54: [701,27,669,34,677], // LATIN CAPITAL LETTER T - 0x55: [697,27,646,-25,665], // LATIN CAPITAL LETTER U - 0x56: [686,26,831,26,825], // LATIN CAPITAL LETTER V - 0x57: [686,27,1046,32,1055], // LATIN CAPITAL LETTER W - 0x58: [688,27,719,28,709], // LATIN CAPITAL LETTER X - 0x59: [686,218,833,27,741], // LATIN CAPITAL LETTER Y - 0x5A: [729,139,602,11,532], // LATIN CAPITAL LETTER Z - 0x5B: [740,130,278,117,278], // LEFT SQUARE BRACKET - 0x5D: [738,131,278,-4,160], // RIGHT SQUARE BRACKET - 0x5E: [734,-452,500,0,495], // CIRCUMFLEX ACCENT - 0x61: [470,35,500,66,497], // LATIN SMALL LETTER A - 0x62: [685,31,513,87,442], // LATIN SMALL LETTER B - 0x63: [466,29,389,72,359], // LATIN SMALL LETTER C - 0x64: [609,33,499,13,428], // LATIN SMALL LETTER D - 0x65: [467,30,401,70,364], // LATIN SMALL LETTER E - 0x66: [681,221,326,30,323], // LATIN SMALL LETTER F - 0x67: [470,209,504,17,455], // LATIN SMALL LETTER G - 0x68: [689,205,521,77,434], // LATIN SMALL LETTER H - 0x69: [673,20,279,14,267], // LATIN SMALL LETTER I - 0x6A: [672,208,281,-9,196], // LATIN SMALL LETTER J - 0x6B: [689,25,389,24,362], // LATIN SMALL LETTER K - 0x6C: [685,20,280,98,276], // LATIN SMALL LETTER L - 0x6D: [476,26,767,8,753], // LATIN SMALL LETTER M - 0x6E: [475,22,527,20,514], // LATIN SMALL LETTER N - 0x6F: [480,28,489,67,412], // LATIN SMALL LETTER O - 0x70: [541,212,500,12,430], // LATIN SMALL LETTER P - 0x71: [479,219,489,60,419], // LATIN SMALL LETTER Q - 0x72: [474,21,389,17,387], // LATIN SMALL LETTER R - 0x73: [478,29,443,-18,406], // LATIN SMALL LETTER S - 0x74: [640,20,333,27,348], // LATIN SMALL LETTER T - 0x75: [474,24,517,9,513], // LATIN SMALL LETTER U - 0x76: [531,28,512,55,435], // LATIN SMALL LETTER V - 0x77: [532,28,774,45,688], // LATIN SMALL LETTER W - 0x78: [472,188,389,10,363], // LATIN SMALL LETTER X - 0x79: [528,218,499,45,431], // LATIN SMALL LETTER Y - 0x7A: [471,214,391,-7,314] // LATIN SMALL LETTER Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Regular/BasicLatin.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js deleted file mode 100644 index 618f9f34..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur'] = { - directory: 'Fraktur/Regular', - family: 'MathJax_Fraktur', - testString: "MathJax Fraktur", - Ranges: [ - [0x0,0x7F,"BasicLatin"], - [0x80,0xDFFF,"Other"], - [0xE300,0xE310,"PUA"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Fraktur"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js deleted file mode 100644 index e69cb700..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +++ /dev/null @@ -1,30 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2018: [708,-410,215,45,158], // LEFT SINGLE QUOTATION MARK - 0x2019: [692,-395,215,49,163] // RIGHT SINGLE QUOTATION MARK - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Regular/Other.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js deleted file mode 100644 index 7cfe0e3f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur'], - { - 0xE300: [683,32,497,75,430], // ?? - 0xE301: [616,30,498,35,432], // ?? - 0xE302: [680,215,333,29,339], // ?? - 0xE303: [679,224,329,28,318], // ?? - 0xE304: [471,214,503,52,449], // ?? - 0xE305: [686,20,333,26,315], // ?? - 0xE306: [577,22,334,29,347], // ?? - 0xE307: [475,22,501,10,514] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Regular/PUA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js deleted file mode 100644 index 6c57bc76..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +++ /dev/null @@ -1,43 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Greek-bold'] = { - directory: 'Greek/Bold', - family: 'MathJax_Greek', - weight: 'bold', - testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,0,692,39,643], // GREEK CAPITAL LETTER GAMMA - 0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA - 0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA - 0x39B: [698,0,806,40,765], // GREEK CAPITAL LETTER LAMDA - 0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI - 0x3A3: [686,0,831,64,766], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI - 0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI - 0x3A9: [696,1,831,51,779] // GREEK CAPITAL LETTER OMEGA -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Greek-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Greek/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js deleted file mode 100644 index 0bc5b613..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +++ /dev/null @@ -1,110 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Greek-bold-italic'] = { - directory: 'Greek/BoldItalic', - family: 'MathJax_Greek', - weight: 'bold', - style: 'italic', - testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), - skew: { - 0x393: 0.0958, - 0x394: 0.192, - 0x398: 0.0958, - 0x39B: 0.192, - 0x39E: 0.0958, - 0x3A0: 0.0639, - 0x3A3: 0.0958, - 0x3A5: 0.0639, - 0x3A6: 0.0958, - 0x3A8: 0.0639, - 0x3A9: 0.0958, - 0x3B1: 0.0319, - 0x3B2: 0.0958, - 0x3B4: 0.0639, - 0x3B5: 0.0958, - 0x3B6: 0.0958, - 0x3B7: 0.0639, - 0x3B8: 0.0958, - 0x3B9: 0.0639, - 0x3BC: 0.0319, - 0x3BD: 0.0319, - 0x3BE: 0.128, - 0x3BF: 0.0639, - 0x3C1: 0.0958, - 0x3C2: 0.0958, - 0x3C4: 0.0319, - 0x3C5: 0.0319, - 0x3C6: 0.0958, - 0x3C7: 0.0639, - 0x3C8: 0.128, - 0x3D1: 0.0958, - 0x3D5: 0.0958, - 0x3F1: 0.0958, - 0x3F5: 0.0639 - }, - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,0,657,43,777], // GREEK CAPITAL LETTER GAMMA - 0x394: [711,0,958,59,904], // GREEK CAPITAL LETTER DELTA - 0x398: [702,17,867,54,844], // GREEK CAPITAL LETTER THETA - 0x39B: [711,0,806,44,776], // GREEK CAPITAL LETTER LAMDA - 0x39E: [675,0,841,62,867], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,982,43,1026], // GREEK CAPITAL LETTER PI - 0x3A3: [686,0,885,69,902], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [703,0,671,32,802], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [686,0,767,29,737], // GREEK CAPITAL LETTER PHI - 0x3A8: [686,0,714,22,790], // GREEK CAPITAL LETTER PSI - 0x3A9: [703,0,879,93,886], // GREEK CAPITAL LETTER OMEGA - 0x3B1: [452,8,761,39,712], // GREEK SMALL LETTER ALPHA - 0x3B2: [701,194,660,28,637], // GREEK SMALL LETTER BETA - 0x3B3: [451,211,590,5,617], // GREEK SMALL LETTER GAMMA - 0x3B4: [725,8,522,39,513], // GREEK SMALL LETTER DELTA - 0x3B5: [461,17,529,36,481], // GREEK SMALL LETTER EPSILON - 0x3B6: [711,202,508,48,521], // GREEK SMALL LETTER ZETA - 0x3B7: [452,211,600,24,600], // GREEK SMALL LETTER ETA - 0x3B8: [702,8,562,40,554], // GREEK SMALL LETTER THETA - 0x3B9: [452,8,412,38,386], // GREEK SMALL LETTER IOTA - 0x3BA: [452,8,668,45,642], // GREEK SMALL LETTER KAPPA - 0x3BB: [694,13,671,40,652], // GREEK SMALL LETTER LAMDA - 0x3BC: [452,211,708,33,682], // GREEK SMALL LETTER MU - 0x3BD: [452,2,577,38,608], // GREEK SMALL LETTER NU - 0x3BE: [711,201,508,23,490], // GREEK SMALL LETTER XI - 0x3BF: [452,8,585,39,576], // GREEK SMALL LETTER OMICRON - 0x3C0: [444,8,682,23,674], // GREEK SMALL LETTER PI - 0x3C1: [451,211,612,34,603], // GREEK SMALL LETTER RHO - 0x3C2: [451,105,424,33,457], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [444,8,686,35,677], // GREEK SMALL LETTER SIGMA - 0x3C4: [444,13,521,23,610], // GREEK SMALL LETTER TAU - 0x3C5: [453,8,631,24,604], // GREEK SMALL LETTER UPSILON - 0x3C6: [452,216,747,53,703], // GREEK SMALL LETTER PHI - 0x3C7: [452,201,718,32,685], // GREEK SMALL LETTER CHI - 0x3C8: [694,202,758,24,732], // GREEK SMALL LETTER PSI - 0x3C9: [453,8,718,24,691], // GREEK SMALL LETTER OMEGA - 0x3D1: [701,8,692,24,656], // GREEK THETA SYMBOL - 0x3D5: [694,202,712,51,693], // GREEK PHI SYMBOL - 0x3D6: [444,8,975,23,961], // GREEK PI SYMBOL - 0x3F1: [451,194,612,75,603], // GREEK RHO SYMBOL - 0x3F5: [444,7,483,44,450] // GREEK LUNATE EPSILON SYMBOL -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Greek-bold-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Greek/BoldItalic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js deleted file mode 100644 index cf8fd15d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +++ /dev/null @@ -1,109 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Greek-italic'] = { - directory: 'Greek/Italic', - family: 'MathJax_Greek', - style: 'italic', - testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), - skew: { - 0x393: 0.0833, - 0x394: 0.167, - 0x398: 0.0833, - 0x39B: 0.167, - 0x39E: 0.0833, - 0x3A0: 0.0556, - 0x3A3: 0.0833, - 0x3A5: 0.0556, - 0x3A6: 0.0833, - 0x3A8: 0.0556, - 0x3A9: 0.0833, - 0x3B1: 0.0278, - 0x3B2: 0.0833, - 0x3B4: 0.0556, - 0x3B5: 0.0833, - 0x3B6: 0.0833, - 0x3B7: 0.0556, - 0x3B8: 0.0833, - 0x3B9: 0.0556, - 0x3BC: 0.0278, - 0x3BD: 0.0278, - 0x3BE: 0.111, - 0x3BF: 0.0556, - 0x3C1: 0.0833, - 0x3C2: 0.0833, - 0x3C4: 0.0278, - 0x3C5: 0.0278, - 0x3C6: 0.0833, - 0x3C7: 0.0556, - 0x3C8: 0.111, - 0x3D1: 0.0833, - 0x3D5: 0.0833, - 0x3F1: 0.0833, - 0x3F5: 0.0556 - }, - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,-1,615,31,721], // GREEK CAPITAL LETTER GAMMA - 0x394: [716,0,833,48,788], // GREEK CAPITAL LETTER DELTA - 0x398: [704,22,763,50,740], // GREEK CAPITAL LETTER THETA - 0x39B: [716,0,694,35,670], // GREEK CAPITAL LETTER LAMDA - 0x39E: [678,0,742,53,777], // GREEK CAPITAL LETTER XI - 0x3A0: [681,0,831,31,887], // GREEK CAPITAL LETTER PI - 0x3A3: [683,0,780,58,806], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [705,0,583,28,700], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,0,667,24,642], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,612,21,692], // GREEK CAPITAL LETTER PSI - 0x3A9: [704,0,772,80,786], // GREEK CAPITAL LETTER OMEGA - 0x3B1: [442,11,640,34,603], // GREEK SMALL LETTER ALPHA - 0x3B2: [705,194,566,23,573], // GREEK SMALL LETTER BETA - 0x3B3: [441,216,518,11,543], // GREEK SMALL LETTER GAMMA - 0x3B4: [717,10,444,36,451], // GREEK SMALL LETTER DELTA - 0x3B5: [452,22,466,27,428], // GREEK SMALL LETTER EPSILON - 0x3B6: [704,204,438,44,471], // GREEK SMALL LETTER ZETA - 0x3B7: [442,216,497,21,503], // GREEK SMALL LETTER ETA - 0x3B8: [705,10,469,35,462], // GREEK SMALL LETTER THETA - 0x3B9: [442,10,354,48,332], // GREEK SMALL LETTER IOTA - 0x3BA: [442,11,576,49,554], // GREEK SMALL LETTER KAPPA - 0x3BB: [694,12,583,47,556], // GREEK SMALL LETTER LAMDA - 0x3BC: [442,216,603,23,580], // GREEK SMALL LETTER MU - 0x3BD: [442,2,494,45,530], // GREEK SMALL LETTER NU - 0x3BE: [704,205,438,21,443], // GREEK SMALL LETTER XI - 0x3BF: [441,11,485,34,476], // GREEK SMALL LETTER OMICRON - 0x3C0: [431,11,570,19,573], // GREEK SMALL LETTER PI - 0x3C1: [442,216,517,23,510], // GREEK SMALL LETTER RHO - 0x3C2: [442,107,363,31,405], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [431,11,571,31,572], // GREEK SMALL LETTER SIGMA - 0x3C4: [431,13,437,18,517], // GREEK SMALL LETTER TAU - 0x3C5: [443,10,540,21,523], // GREEK SMALL LETTER UPSILON - 0x3C6: [442,218,654,50,618], // GREEK SMALL LETTER PHI - 0x3C7: [442,204,626,25,600], // GREEK SMALL LETTER CHI - 0x3C8: [694,205,651,21,634], // GREEK SMALL LETTER PSI - 0x3C9: [443,11,622,15,604], // GREEK SMALL LETTER OMEGA - 0x3D1: [705,11,591,21,563], // GREEK THETA SYMBOL - 0x3D5: [694,205,596,43,579], // GREEK PHI SYMBOL - 0x3D6: [431,10,828,19,823], // GREEK PI SYMBOL - 0x3F1: [442,194,517,67,510], // GREEK RHO SYMBOL - 0x3F5: [431,11,406,40,382] // GREEK LUNATE EPSILON SYMBOL -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Greek-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Greek/Italic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js deleted file mode 100644 index 6954bb18..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +++ /dev/null @@ -1,42 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Greek'] = { - directory: 'Greek/Regular', - family: 'MathJax_Greek', - testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,0,625,25,582], // GREEK CAPITAL LETTER GAMMA - 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA - 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA - 0x39B: [716,0,694,32,661], // GREEK CAPITAL LETTER LAMDA - 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI - 0x3A3: [683,0,722,55,666], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,778,55,722], // GREEK CAPITAL LETTER PSI - 0x3A9: [704,0,722,44,677] // GREEK CAPITAL LETTER OMEGA -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Greek"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Greek/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js deleted file mode 100644 index 23bc696f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +++ /dev/null @@ -1,51 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x2190: [519,18,1150,64,1085], // LEFTWARDS ARROW - 0x2191: [694,193,575,13,562], // UPWARDS ARROW - 0x2192: [519,18,1150,65,1085], // RIGHTWARDS ARROW - 0x2193: [694,194,575,13,562], // DOWNWARDS ARROW - 0x2194: [519,18,1150,64,1085], // LEFT RIGHT ARROW - 0x2195: [767,267,575,13,562], // UP DOWN ARROW - 0x2196: [724,195,1150,64,1084], // NORTH WEST ARROW - 0x2197: [724,193,1150,64,1086], // NORTH EAST ARROW - 0x2198: [695,224,1150,65,1085], // SOUTH EAST ARROW - 0x2199: [694,224,1150,64,1085], // SOUTH WEST ARROW - 0x21A6: [519,18,1150,65,1085], // RIGHTWARDS ARROW FROM BAR - 0x21A9: [519,18,1282,64,1219], // LEFTWARDS ARROW WITH HOOK - 0x21AA: [519,18,1282,65,1217], // RIGHTWARDS ARROW WITH HOOK - 0x21BC: [518,-220,1150,64,1084], // LEFTWARDS HARPOON WITH BARB UPWARDS - 0x21BD: [281,17,1150,64,1084], // LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x21C0: [518,-220,1150,65,1085], // RIGHTWARDS HARPOON WITH BARB UPWARDS - 0x21C1: [281,17,1150,64,1085], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x21CC: [718,17,1150,64,1085], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON - 0x21D0: [548,46,1150,63,1085], // LEFTWARDS DOUBLE ARROW - 0x21D1: [694,194,703,29,672], // UPWARDS DOUBLE ARROW - 0x21D2: [548,47,1150,64,1084], // RIGHTWARDS DOUBLE ARROW - 0x21D3: [694,194,703,30,673], // DOWNWARDS DOUBLE ARROW - 0x21D4: [548,46,1150,47,1102], // LEFT RIGHT DOUBLE ARROW - 0x21D5: [768,267,703,29,673] // UP DOWN DOUBLE ARROW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/Arrows.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js deleted file mode 100644 index ddeafa16..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +++ /dev/null @@ -1,39 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x300: [706,-503,0,-461,-237], // COMBINING GRAVE ACCENT - 0x301: [706,-503,0,-339,-115], // COMBINING ACUTE ACCENT - 0x302: [694,-520,0,-449,-127], // COMBINING CIRCUMFLEX ACCENT - 0x303: [694,-551,0,-479,-97], // COMBINING TILDE - 0x304: [607,-540,0,-495,-81], // COMBINING MACRON - 0x306: [694,-500,0,-473,-103], // COMBINING BREVE - 0x307: [695,-525,0,-373,-203], // COMBINING DOT ABOVE - 0x308: [695,-535,0,-479,-97], // COMBINING DIAERESIS - 0x30A: [703,-536,0,-415,-161], // COMBINING RING ABOVE - 0x30B: [714,-511,0,-442,-82], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [660,-515,0,-445,-131], // COMBINING CARON - 0x338: [711,210,0,-734,-161] // COMBINING LONG SOLIDUS OVERLAY - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js deleted file mode 100644 index 57c24be6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x20D7: [723,-513,0,-542,-33] // COMBINING RIGHT ARROW ABOVE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/CombDiactForSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js deleted file mode 100644 index 93dac98b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +++ /dev/null @@ -1,44 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x2002: [0,0,500,0,0], // ?? - 0x2003: [0,0,999,0,0], // ?? - 0x2004: [0,0,333,0,0], // ?? - 0x2005: [0,0,250,0,0], // ?? - 0x2006: [0,0,167,0,0], // ?? - 0x2009: [0,0,167,0,0], // ?? - 0x200A: [0,0,83,0,0], // ?? - 0x2013: [300,-249,575,0,574], // EN DASH - 0x2014: [300,-249,1150,0,1149], // EM DASH - 0x2018: [694,-329,319,58,245], // LEFT SINGLE QUOTATION MARK - 0x2019: [694,-329,319,74,261], // RIGHT SINGLE QUOTATION MARK - 0x201C: [694,-329,603,110,564], // LEFT DOUBLE QUOTATION MARK - 0x201D: [694,-329,603,38,492], // RIGHT DOUBLE QUOTATION MARK - 0x2020: [702,211,511,64,446], // DAGGER - 0x2021: [702,203,511,64,446], // DOUBLE DAGGER - 0x2026: [171,-1,1295,74,1221], // HORIZONTAL ELLIPSIS - 0x2032: [563,-33,344,35,332] // PRIME - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/GeneralPunctuation.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js deleted file mode 100644 index 10c50fa6..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +++ /dev/null @@ -1,32 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x25B3: [711,-1,1022,68,953], // WHITE UP-POINTING TRIANGLE - 0x25B9: [541,39,575,33,542], // WHITE RIGHT-POINTING SMALL TRIANGLE - 0x25BD: [500,210,1022,68,953], // WHITE DOWN-POINTING TRIANGLE - 0x25C3: [539,39,575,33,542], // WHITE LEFT-POINTING SMALL TRIANGLE - 0x25EF: [711,211,1150,65,1084] // LARGE CIRCLE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/GeometricShapes.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js deleted file mode 100644 index dc98b8f2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x393: [680,0,692,39,643], // GREEK CAPITAL LETTER GAMMA - 0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA - 0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA - 0x39B: [699,0,806,40,765], // GREEK CAPITAL LETTER LAMDA - 0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI - 0x3A3: [686,0,831,63,766], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI - 0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI - 0x3A9: [696,1,831,51,780] // GREEK CAPITAL LETTER OMEGA - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/GreekAndCoptic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js deleted file mode 100644 index f3973a90..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xA8: [695,-535,575,96,478], // DIAERESIS - 0xAC: [371,-61,767,64,703], // NOT SIGN - 0xAF: [607,-540,575,80,494], // MACRON - 0xB0: [703,-536,575,160,414], // DEGREE SIGN - 0xB1: [728,35,894,64,829], // PLUS-MINUS SIGN - 0xB4: [706,-503,575,236,460], // ACUTE ACCENT - 0xD7: [531,29,894,167,727], // MULTIPLICATION SIGN - 0xF7: [597,96,894,64,828] // DIVISION SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/Latin1Supplement.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js deleted file mode 100644 index 83371f24..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x131: [453,8,394,24,367] // LATIN SMALL LETTER DOTLESS I - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/LatinExtendedA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js deleted file mode 100644 index efcdda12..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x237: [451,201,439,-12,420] // LATIN SMALL LETTER DOTLESS J - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/LatinExtendedB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js deleted file mode 100644 index 5af7f494..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x210F: [694,8,668,45,642], // stix-/hbar - Planck's over 2pi - 0x2111: [702,9,831,64,798], // BLACK-LETTER CAPITAL I - 0x2113: [702,19,474,-1,447], // SCRIPT SMALL L - 0x2118: [462,211,740,72,727], // SCRIPT CAPITAL P - 0x211C: [711,17,831,41,824], // BLACK-LETTER CAPITAL R - 0x2135: [694,1,703,64,639] // ALEF SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/LetterlikeSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js deleted file mode 100644 index e8771a26..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +++ /dev/null @@ -1,161 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'] = { - directory: 'Main/Bold', - family: 'MathJax_Main', - weight: 'bold', - testString: "MathJax Main", - skew: { - 0x131: 0.0319, - 0x237: 0.0958, - 0x210F: -0.0319, - 0x2113: 0.128, - 0x2202: 0.0958 - }, - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x180,0x24F,"LatinExtendedB"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x300,0x36F,"CombDiacritMarks"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x20D0,0x20FF,"CombDiactForSymbols"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2190,0x21FF,"Arrows"], - [0x2200,0x22FF,"MathOperators"], - [0x2300,0x23FF,"MiscTechnical"], - [0x25A0,0x25FF,"GeometricShapes"], - [0x2600,0x26FF,"MiscSymbols"], - [0x27C0,0x27EF,"MiscMathSymbolsA"], - [0x27F0,0x27FF,"SupplementalArrowsA"], - [0x2A00,0x2AFF,"SuppMathOperators"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [705,-1,350,89,260], // EXCLAMATION MARK - 0x22: [694,-329,603,38,492], // QUOTATION MARK - 0x23: [694,193,958,64,893], // NUMBER SIGN - 0x24: [750,56,575,64,510], // DOLLAR SIGN - 0x25: [750,56,958,65,893], // PERCENT SIGN - 0x26: [705,11,894,48,836], // AMPERSAND - 0x27: [694,-329,319,74,261], // APOSTROPHE - 0x28: [751,250,447,103,382], // LEFT PARENTHESIS - 0x29: [750,249,447,64,343], // RIGHT PARENTHESIS - 0x2A: [750,-306,575,73,501], // ASTERISK - 0x2B: [633,131,894,64,829], // PLUS SIGN - 0x2C: [171,194,319,74,258], // COMMA - 0x2D: [278,-166,383,13,318], // HYPHEN-MINUS - 0x2E: [171,-1,319,74,245], // FULL STOP - 0x2F: [750,250,575,63,511], // SOLIDUS - 0x30: [655,10,575,45,529], // DIGIT ZERO - 0x31: [655,0,575,80,494], // DIGIT ONE - 0x32: [654,0,575,57,517], // DIGIT TWO - 0x33: [655,12,575,47,526], // DIGIT THREE - 0x34: [657,0,575,32,542], // DIGIT FOUR - 0x35: [655,11,575,57,517], // DIGIT FIVE - 0x36: [655,11,575,48,527], // DIGIT SIX - 0x37: [676,11,575,64,559], // DIGIT SEVEN - 0x38: [654,11,575,48,526], // DIGIT EIGHT - 0x39: [654,11,575,48,526], // DIGIT NINE - 0x3A: [444,-1,319,74,245], // COLON - 0x3B: [444,194,319,74,248], // SEMICOLON - 0x3C: [587,85,894,96,797], // LESS-THAN SIGN - 0x3D: [393,-109,894,64,829], // EQUALS SIGN - 0x3E: [587,85,894,95,797], // GREATER-THAN SIGN - 0x3F: [700,-1,543,65,478], // QUESTION MARK - 0x40: [700,6,894,64,829], // COMMERCIAL AT - 0x41: [698,0,869,40,828], // LATIN CAPITAL LETTER A - 0x42: [687,0,818,39,753], // LATIN CAPITAL LETTER B - 0x43: [697,11,831,64,767], // LATIN CAPITAL LETTER C - 0x44: [687,0,882,39,817], // LATIN CAPITAL LETTER D - 0x45: [681,0,756,38,723], // LATIN CAPITAL LETTER E - 0x46: [680,0,724,39,675], // LATIN CAPITAL LETTER F - 0x47: [697,10,904,64,845], // LATIN CAPITAL LETTER G - 0x48: [686,0,900,39,860], // LATIN CAPITAL LETTER H - 0x49: [686,0,436,25,410], // LATIN CAPITAL LETTER I - 0x4A: [686,11,594,8,527], // LATIN CAPITAL LETTER J - 0x4B: [686,0,901,39,852], // LATIN CAPITAL LETTER K - 0x4C: [686,0,692,39,643], // LATIN CAPITAL LETTER L - 0x4D: [687,0,1092,39,1052], // LATIN CAPITAL LETTER M - 0x4E: [687,1,900,39,861], // LATIN CAPITAL LETTER N - 0x4F: [696,10,864,64,798], // LATIN CAPITAL LETTER O - 0x50: [686,0,786,39,721], // LATIN CAPITAL LETTER P - 0x51: [697,193,864,64,806], // LATIN CAPITAL LETTER Q - 0x52: [687,11,862,39,858], // LATIN CAPITAL LETTER R - 0x53: [697,11,639,63,575], // LATIN CAPITAL LETTER S - 0x54: [675,0,800,41,758], // LATIN CAPITAL LETTER T - 0x55: [686,12,885,39,845], // LATIN CAPITAL LETTER U - 0x56: [686,7,869,25,843], // LATIN CAPITAL LETTER V - 0x57: [686,8,1189,24,1164], // LATIN CAPITAL LETTER W - 0x58: [686,0,869,33,835], // LATIN CAPITAL LETTER X - 0x59: [686,0,869,19,849], // LATIN CAPITAL LETTER Y - 0x5A: [687,0,703,64,645], // LATIN CAPITAL LETTER Z - 0x5B: [750,250,319,128,293], // LEFT SQUARE BRACKET - 0x5C: [750,250,575,63,511], // REVERSE SOLIDUS - 0x5D: [750,250,319,25,190], // RIGHT SQUARE BRACKET - 0x5E: [694,-520,575,126,448], // CIRCUMFLEX ACCENT - 0x5F: [-10,61,575,0,574], // LOW LINE - 0x60: [706,-503,575,114,338], // GRAVE ACCENT - 0x61: [453,6,559,32,558], // LATIN SMALL LETTER A - 0x62: [694,7,639,29,601], // LATIN SMALL LETTER B - 0x63: [453,6,511,39,478], // LATIN SMALL LETTER C - 0x64: [695,6,639,38,609], // LATIN SMALL LETTER D - 0x65: [453,6,527,32,494], // LATIN SMALL LETTER E - 0x66: [700,0,351,40,452], // LATIN SMALL LETTER F - 0x67: [455,201,575,30,558], // LATIN SMALL LETTER G - 0x68: [694,0,639,37,623], // LATIN SMALL LETTER H - 0x69: [695,0,319,40,294], // LATIN SMALL LETTER I - 0x6A: [695,200,351,-71,274], // LATIN SMALL LETTER J - 0x6B: [694,0,607,29,587], // LATIN SMALL LETTER K - 0x6C: [694,0,319,40,301], // LATIN SMALL LETTER L - 0x6D: [451,0,958,37,942], // LATIN SMALL LETTER M - 0x6E: [450,0,639,37,623], // LATIN SMALL LETTER N - 0x6F: [452,5,575,32,542], // LATIN SMALL LETTER O - 0x70: [450,194,639,28,600], // LATIN SMALL LETTER P - 0x71: [450,194,607,38,609], // LATIN SMALL LETTER Q - 0x72: [450,0,474,29,442], // LATIN SMALL LETTER R - 0x73: [453,7,454,37,415], // LATIN SMALL LETTER S - 0x74: [636,6,447,21,382], // LATIN SMALL LETTER T - 0x75: [450,6,639,37,623], // LATIN SMALL LETTER U - 0x76: [444,4,607,26,580], // LATIN SMALL LETTER V - 0x77: [444,5,831,25,805], // LATIN SMALL LETTER W - 0x78: [444,0,607,21,586], // LATIN SMALL LETTER X - 0x79: [444,200,607,23,580], // LATIN SMALL LETTER Y - 0x7A: [445,0,511,31,462], // LATIN SMALL LETTER Z - 0x7B: [751,251,575,69,504], // LEFT CURLY BRACKET - 0x7C: [750,249,319,129,190], // VERTICAL LINE - 0x7D: [751,251,575,70,504], // RIGHT CURLY BRACKET - 0x7E: [344,-201,575,96,478], // TILDE - 0x393: [680,0,692,39,643], // GREEK CAPITAL LETTER GAMMA - 0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA - 0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA - 0x39B: [699,0,806,40,765], // GREEK CAPITAL LETTER LAMDA - 0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI - 0x3A3: [686,0,831,63,766], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI - 0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI - 0x3A9: [696,1,831,51,780] // GREEK CAPITAL LETTER OMEGA -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Main-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js deleted file mode 100644 index a7c164de..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +++ /dev/null @@ -1,94 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x2200: [694,16,639,0,640], // FOR ALL - 0x2202: [710,17,628,60,657], // PARTIAL DIFFERENTIAL - 0x2203: [694,-1,639,64,574], // THERE EXISTS - 0x2205: [767,73,575,46,528], // EMPTY SET - 0x2207: [686,24,958,56,901], // NABLA - 0x2208: [587,86,767,97,670], // ELEMENT OF - 0x2209: [711,210,767,97,670], // stix-negated (vert) set membership, variant - 0x220B: [588,86,767,95,670], // CONTAINS AS MEMBER - 0x2212: [281,-221,894,96,797], // MINUS SIGN - 0x2213: [537,227,894,64,829], // MINUS-OR-PLUS SIGN - 0x2215: [750,250,575,63,511], // DIVISION SLASH - 0x2216: [750,250,575,63,511], // SET MINUS - 0x2217: [472,-27,575,73,501], // ASTERISK OPERATOR - 0x2218: [474,-28,575,64,510], // RING OPERATOR - 0x2219: [474,-28,575,64,510], // BULLET OPERATOR - 0x221A: [820,180,958,78,989], // SQUARE ROOT - 0x221D: [451,8,894,65,831], // PROPORTIONAL TO - 0x221E: [452,8,1150,65,1084], // INFINITY - 0x2220: [715,0,722,55,676], // ANGLE - 0x2223: [750,249,319,129,190], // DIVIDES - 0x2225: [750,248,575,145,430], // PARALLEL TO - 0x2227: [604,17,767,64,702], // LOGICAL AND - 0x2228: [604,17,767,64,702], // LOGICAL OR - 0x2229: [603,16,767,64,702], // stix-intersection, serifs - 0x222A: [604,16,767,64,702], // stix-union, serifs - 0x222B: [711,211,569,64,632], // INTEGRAL - 0x223C: [391,-109,894,64,828], // TILDE OPERATOR - 0x2240: [583,82,319,64,254], // WREATH PRODUCT - 0x2243: [502,3,894,64,829], // ASYMPTOTICALLY EQUAL TO - 0x2245: [638,27,1000,64,829], // APPROXIMATELY EQUAL TO - 0x2248: [524,-32,894,64,829], // ALMOST EQUAL TO - 0x224D: [533,32,894,64,829], // EQUIVALENT TO - 0x2250: [721,-109,894,64,829], // APPROACHES THE LIMIT - 0x2260: [712,210,894,64,830], // stix-not (vert) equals - 0x2261: [505,3,894,64,829], // IDENTICAL TO - 0x2264: [697,199,894,96,797], // LESS-THAN OR EQUAL TO - 0x2265: [697,199,894,96,797], // GREATER-THAN OR EQUAL TO - 0x226A: [618,117,1150,64,1085], // MUCH LESS-THAN - 0x226B: [619,116,1150,64,1085], // MUCH GREATER-THAN - 0x227A: [585,86,894,95,797], // PRECEDES - 0x227B: [586,86,894,96,797], // SUCCEEDS - 0x2282: [587,85,894,96,797], // SUBSET OF - 0x2283: [587,86,894,96,797], // SUPERSET OF - 0x2286: [697,199,894,96,797], // SUBSET OF OR EQUAL TO - 0x2287: [697,199,894,96,797], // SUPERSET OF OR EQUAL TO - 0x228E: [604,16,767,64,702], // MULTISET UNION - 0x2291: [697,199,894,96,828], // SQUARE IMAGE OF OR EQUAL TO - 0x2292: [697,199,894,66,797], // SQUARE ORIGINAL OF OR EQUAL TO - 0x2293: [604,-1,767,70,696], // stix-square intersection, serifs - 0x2294: [604,-1,767,70,696], // stix-square union, serifs - 0x2295: [632,132,894,64,828], // stix-circled plus (with rim) - 0x2296: [632,132,894,64,828], // CIRCLED MINUS - 0x2297: [632,132,894,64,828], // stix-circled times (with rim) - 0x2298: [632,132,894,64,828], // CIRCLED DIVISION SLASH - 0x2299: [632,132,894,64,828], // CIRCLED DOT OPERATOR - 0x22A2: [693,-1,703,65,637], // RIGHT TACK - 0x22A3: [693,-1,703,64,638], // LEFT TACK - 0x22A4: [694,-1,894,64,829], // DOWN TACK - 0x22A5: [693,-1,894,64,829], // UP TACK - 0x22A8: [750,249,974,129,918], // TRUE - 0x22C4: [524,21,575,15,561], // DIAMOND OPERATOR - 0x22C5: [336,-166,319,74,245], // DOT OPERATOR - 0x22C6: [502,1,575,24,551], // STAR OPERATOR - 0x22C8: [541,39,1000,33,967], // BOWTIE - 0x22EE: [951,29,319,74,245], // VERTICAL ELLIPSIS - 0x22EF: [336,-166,1295,74,1221], // MIDLINE HORIZONTAL ELLIPSIS - 0x22F1: [871,-101,1323,129,1194] // DOWN RIGHT DIAGONAL ELLIPSIS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/MathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js deleted file mode 100644 index 25c89e96..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x27E8: [750,249,447,127,382], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [750,249,447,64,319] // MATHEMATICAL RIGHT ANGLE BRACKET - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/MiscMathSymbolsA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js deleted file mode 100644 index a30797ab..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +++ /dev/null @@ -1,34 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x2660: [720,130,894,63,829], // BLACK SPADE SUIT - 0x2661: [711,24,894,65,828], // WHITE HEART SUIT - 0x2662: [719,154,894,64,828], // WHITE DIAMOND SUIT - 0x2663: [720,130,894,32,861], // BLACK CLUB SUIT - 0x266D: [750,17,447,63,382], // MUSIC FLAT SIGN - 0x266E: [741,223,447,56,390], // MUSIC NATURAL SIGN - 0x266F: [724,224,447,63,383] // MUSIC SHARP SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/MiscSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js deleted file mode 100644 index f3b48e86..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x2308: [750,248,511,194,493], // LEFT CEILING - 0x2309: [750,248,511,17,317], // RIGHT CEILING - 0x230A: [749,248,511,194,493], // LEFT FLOOR - 0x230B: [749,248,511,17,317], // RIGHT FLOOR - 0x2322: [405,-108,1150,64,1084], // stix-small down curve - 0x2323: [393,-126,1150,64,1085] // stix-small up curve - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/MiscTechnical.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js deleted file mode 100644 index 3e473a29..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x2C6: [694,-520,575,126,448], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [660,-515,575,130,444], // CARON - 0x2C9: [607,-540,575,80,494], // MODIFIER LETTER MACRON - 0x2CA: [706,-503,575,236,460], // MODIFIER LETTER ACUTE ACCENT - 0x2CB: [706,-503,575,114,338], // MODIFIER LETTER GRAVE ACCENT - 0x2D8: [694,-500,575,102,472], // BREVE - 0x2D9: [695,-525,575,202,372], // DOT ABOVE - 0x2DA: [703,-536,575,160,414], // RING ABOVE - 0x2DC: [694,-551,575,96,478] // SMALL TILDE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/SpacingModLetters.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js deleted file mode 100644 index 8be24f1c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +++ /dev/null @@ -1,30 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x2A3F: [687,1,900,38,861], // AMALGAMATION OR COPRODUCT - 0x2AAF: [696,199,894,96,797], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN - 0x2AB0: [698,199,894,96,797] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/SuppMathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js deleted file mode 100644 index bbadd77f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +++ /dev/null @@ -1,34 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], - { - 0x27F5: [519,18,1805,64,1741], // LONG LEFTWARDS ARROW - 0x27F6: [519,18,1833,96,1774], // LONG RIGHTWARDS ARROW - 0x27F7: [519,18,2126,64,2062], // LONG LEFT RIGHT ARROW - 0x27F8: [548,46,1868,64,1804], // LONG LEFTWARDS DOUBLE ARROW - 0x27F9: [548,47,1870,63,1804], // LONG RIGHTWARDS DOUBLE ARROW - 0x27FA: [548,47,2126,64,2060], // LONG LEFT RIGHT DOUBLE ARROW - 0x27FC: [519,18,1833,65,1774] // LONG RIGHTWARDS ARROW FROM BAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/SupplementalArrowsA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js deleted file mode 100644 index 5a31519b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], - { - 0x300: [697,-500,0,-222,-74], // COMBINING GRAVE ACCENT - 0x301: [697,-500,0,-173,39], // COMBINING ACUTE ACCENT - 0x302: [694,-527,0,-251,17], // COMBINING CIRCUMFLEX ACCENT - 0x303: [668,-558,0,-265,60], // COMBINING TILDE - 0x304: [590,-544,0,-282,54], // COMBINING MACRON - 0x306: [695,-515,0,-237,62], // COMBINING BREVE - 0x307: [669,-548,0,-165,-41], // COMBINING DOT ABOVE - 0x308: [669,-554,0,-251,45], // COMBINING DIAERESIS - 0x30A: [716,-542,0,-199,3], // COMBINING RING ABOVE - 0x30B: [697,-503,0,-248,65], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [638,-501,0,-236,29] // COMBINING CARON - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js deleted file mode 100644 index ab6ab2bd..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], - { - 0x2013: [286,-248,511,91,554], // EN DASH - 0x2014: [285,-248,1022,117,1038], // EM DASH - 0x2018: [694,-379,307,197,362], // LEFT SINGLE QUOTATION MARK - 0x2019: [694,-379,307,213,377], // RIGHT SINGLE QUOTATION MARK - 0x201C: [694,-378,514,243,606], // LEFT DOUBLE QUOTATION MARK - 0x201D: [694,-379,514,176,538] // RIGHT DOUBLE QUOTATION MARK - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/GeneralPunctuation.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js deleted file mode 100644 index ad7176f8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], - { - 0x393: [680,0,627,54,706], // GREEK CAPITAL LETTER GAMMA - 0x394: [717,1,818,70,751], // GREEK CAPITAL LETTER DELTA - 0x398: [704,22,767,149,788], // GREEK CAPITAL LETTER THETA - 0x39B: [717,0,692,58,646], // GREEK CAPITAL LETTER LAMDA - 0x39E: [678,1,664,74,754], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,743,54,859], // GREEK CAPITAL LETTER PI - 0x3A3: [683,1,716,80,782], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [706,0,767,213,833], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,1,716,158,728], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,767,207,824], // GREEK CAPITAL LETTER PSI - 0x3A9: [705,0,716,100,759] // GREEK CAPITAL LETTER OMEGA - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/GreekAndCoptic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js deleted file mode 100644 index 8147b90f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], - { - 0xA0: [0,0,250,0,0] // NO-BREAK SPACE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/Latin1Supplement.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js deleted file mode 100644 index 8c62db10..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], - { - 0x131: [441,10,307,75,340] // LATIN SMALL LETTER DOTLESS I - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/LatinExtendedA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js deleted file mode 100644 index a97422bb..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], - { - 0x237: [442,205,332,-32,327] // LATIN SMALL LETTER DOTLESS J - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/LatinExtendedB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js deleted file mode 100644 index e9ee7973..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], - { - 0x210F: [695,13,540,42,562] // stix-/hbar - Planck's over 2pi - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/LetterlikeSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js deleted file mode 100644 index 7562ea58..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +++ /dev/null @@ -1,137 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'] = { - directory: 'Main/Italic', - family: 'MathJax_Main', - style: 'italic', - testString: "MathJax Main", - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x300,0x36F,"CombDiacritMarks"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x2100,0x214F,"LetterlikeSymbols"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [716,0,307,107,380], // EXCLAMATION MARK - 0x22: [694,-379,514,176,538], // QUOTATION MARK - 0x23: [694,194,818,115,828], // NUMBER SIGN - 0x25: [751,56,818,144,848], // PERCENT SIGN - 0x26: [716,22,767,127,802], // AMPERSAND - 0x27: [694,-379,307,213,377], // APOSTROPHE - 0x28: [750,250,409,144,517], // LEFT PARENTHESIS - 0x29: [750,250,409,17,390], // RIGHT PARENTHESIS - 0x2A: [751,-320,511,195,584], // ASTERISK - 0x2B: [558,57,767,139,753], // PLUS SIGN - 0x2C: [121,194,307,69,233], // COMMA - 0x2D: [251,-179,358,84,341], // HYPHEN-MINUS - 0x2E: [121,0,307,107,231], // FULL STOP - 0x2F: [750,250,511,19,617], // SOLIDUS - 0x30: [665,21,511,110,562], // DIGIT ZERO - 0x31: [666,0,511,110,468], // DIGIT ONE - 0x32: [666,22,511,76,551], // DIGIT TWO - 0x33: [667,22,511,96,563], // DIGIT THREE - 0x34: [666,194,511,46,479], // DIGIT FOUR - 0x35: [666,22,511,106,567], // DIGIT FIVE - 0x36: [665,22,511,120,566], // DIGIT SIX - 0x37: [666,22,511,136,634], // DIGIT SEVEN - 0x38: [666,21,511,99,553], // DIGIT EIGHT - 0x39: [666,22,511,107,553], // DIGIT NINE - 0x3A: [431,0,307,107,308], // COLON - 0x3B: [431,194,307,70,308], // SEMICOLON - 0x3D: [367,-133,767,116,776], // EQUALS SIGN - 0x3F: [717,0,511,195,551], // QUESTION MARK - 0x40: [705,11,767,152,789], // COMMERCIAL AT - 0x41: [716,1,743,58,696], // LATIN CAPITAL LETTER A - 0x42: [683,1,704,57,732], // LATIN CAPITAL LETTER B - 0x43: [705,21,716,150,812], // LATIN CAPITAL LETTER C - 0x44: [683,1,755,56,775], // LATIN CAPITAL LETTER D - 0x45: [681,0,678,54,743], // LATIN CAPITAL LETTER E - 0x46: [681,0,653,54,731], // LATIN CAPITAL LETTER F - 0x47: [705,22,774,149,812], // LATIN CAPITAL LETTER G - 0x48: [683,0,743,54,860], // LATIN CAPITAL LETTER H - 0x49: [683,0,386,49,508], // LATIN CAPITAL LETTER I - 0x4A: [683,21,525,78,622], // LATIN CAPITAL LETTER J - 0x4B: [683,0,769,54,859], // LATIN CAPITAL LETTER K - 0x4C: [683,0,627,54,628], // LATIN CAPITAL LETTER L - 0x4D: [684,0,897,58,1010], // LATIN CAPITAL LETTER M - 0x4E: [684,0,743,54,860], // LATIN CAPITAL LETTER N - 0x4F: [704,22,767,149,788], // LATIN CAPITAL LETTER O - 0x50: [684,0,678,55,729], // LATIN CAPITAL LETTER P - 0x51: [704,194,767,149,788], // LATIN CAPITAL LETTER Q - 0x52: [683,22,729,55,723], // LATIN CAPITAL LETTER R - 0x53: [706,22,562,74,634], // LATIN CAPITAL LETTER S - 0x54: [678,0,716,171,807], // LATIN CAPITAL LETTER T - 0x55: [684,22,743,194,860], // LATIN CAPITAL LETTER U - 0x56: [683,22,743,205,868], // LATIN CAPITAL LETTER V - 0x57: [683,22,999,205,1124], // LATIN CAPITAL LETTER W - 0x58: [684,0,743,50,826], // LATIN CAPITAL LETTER X - 0x59: [684,0,743,198,875], // LATIN CAPITAL LETTER Y - 0x5A: [683,1,613,80,705], // LATIN CAPITAL LETTER Z - 0x5B: [751,251,307,73,446], // LEFT SQUARE BRACKET - 0x5D: [751,251,307,-14,359], // RIGHT SQUARE BRACKET - 0x5E: [694,-527,511,260,528], // CIRCUMFLEX ACCENT - 0x5F: [-24,62,511,91,554], // LOW LINE - 0x61: [442,11,511,101,543], // LATIN SMALL LETTER A - 0x62: [694,11,460,108,467], // LATIN SMALL LETTER B - 0x63: [441,10,460,103,470], // LATIN SMALL LETTER C - 0x64: [694,11,511,100,567], // LATIN SMALL LETTER D - 0x65: [442,10,460,107,470], // LATIN SMALL LETTER E - 0x66: [705,204,307,-23,450], // LATIN SMALL LETTER F - 0x67: [442,205,460,46,495], // LATIN SMALL LETTER G - 0x68: [695,11,511,69,544], // LATIN SMALL LETTER H - 0x69: [656,10,307,75,340], // LATIN SMALL LETTER I - 0x6A: [656,204,307,-32,364], // LATIN SMALL LETTER J - 0x6B: [694,11,460,69,499], // LATIN SMALL LETTER K - 0x6C: [694,11,256,87,312], // LATIN SMALL LETTER L - 0x6D: [443,11,818,75,851], // LATIN SMALL LETTER M - 0x6E: [443,11,562,75,595], // LATIN SMALL LETTER N - 0x6F: [442,11,511,103,517], // LATIN SMALL LETTER O - 0x70: [442,194,511,5,518], // LATIN SMALL LETTER P - 0x71: [442,195,460,100,504], // LATIN SMALL LETTER Q - 0x72: [442,11,422,75,484], // LATIN SMALL LETTER R - 0x73: [442,11,409,76,418], // LATIN SMALL LETTER S - 0x74: [627,11,332,87,373], // LATIN SMALL LETTER T - 0x75: [441,11,537,75,570], // LATIN SMALL LETTER U - 0x76: [443,10,460,75,492], // LATIN SMALL LETTER V - 0x77: [443,12,664,74,696], // LATIN SMALL LETTER W - 0x78: [442,11,464,58,513], // LATIN SMALL LETTER X - 0x79: [441,206,486,75,522], // LATIN SMALL LETTER Y - 0x7A: [442,11,409,54,466], // LATIN SMALL LETTER Z - 0x7E: [318,-208,511,246,571], // TILDE - 0xA3: [714,11,769,87,699], // POUND SIGN - 0x131: [441,10,307,75,340], // LATIN SMALL LETTER DOTLESS I - 0x237: [442,205,332,-32,327], // LATIN SMALL LETTER DOTLESS J - 0x393: [680,0,627,54,706], // GREEK CAPITAL LETTER GAMMA - 0x394: [717,1,818,70,751], // GREEK CAPITAL LETTER DELTA - 0x398: [704,22,767,149,788], // GREEK CAPITAL LETTER THETA - 0x39B: [717,0,692,58,646], // GREEK CAPITAL LETTER LAMDA - 0x39E: [678,1,664,74,754], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,743,54,859], // GREEK CAPITAL LETTER PI - 0x3A3: [683,1,716,80,782], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [706,0,767,213,833], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,1,716,158,728], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,767,207,824], // GREEK CAPITAL LETTER PSI - 0x3A9: [705,0,716,100,759] // GREEK CAPITAL LETTER OMEGA -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Main-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js deleted file mode 100644 index 526b90a1..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +++ /dev/null @@ -1,51 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x2190: [511,12,1000,54,944], // LEFTWARDS ARROW - 0x2191: [694,194,500,17,483], // UPWARDS ARROW - 0x2192: [512,11,1000,55,945], // RIGHTWARDS ARROW - 0x2193: [694,194,500,17,483], // DOWNWARDS ARROW - 0x2194: [511,11,1000,55,945], // LEFT RIGHT ARROW - 0x2195: [772,272,500,17,483], // UP DOWN ARROW - 0x2196: [720,196,1000,29,944], // NORTH WEST ARROW - 0x2197: [720,195,1000,55,970], // NORTH EAST ARROW - 0x2198: [695,220,1000,55,970], // SOUTH EAST ARROW - 0x2199: [695,220,1000,29,944], // SOUTH WEST ARROW - 0x21A6: [512,11,1000,54,945], // RIGHTWARDS ARROW FROM BAR - 0x21A9: [511,12,1126,54,1070], // LEFTWARDS ARROW WITH HOOK - 0x21AA: [512,11,1126,55,1071], // RIGHTWARDS ARROW WITH HOOK - 0x21BC: [511,-230,1000,55,944], // LEFTWARDS HARPOON WITH BARB UPWARDS - 0x21BD: [270,11,1000,55,944], // LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x21C0: [511,-230,1000,55,944], // RIGHTWARDS HARPOON WITH BARB UPWARDS - 0x21C1: [270,11,1000,55,945], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x21CC: [671,11,1000,55,944], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON - 0x21D0: [525,24,1000,55,944], // LEFTWARDS DOUBLE ARROW - 0x21D1: [694,194,611,31,579], // UPWARDS DOUBLE ARROW - 0x21D2: [525,25,1000,55,944], // RIGHTWARDS DOUBLE ARROW - 0x21D3: [694,194,611,31,579], // DOWNWARDS DOUBLE ARROW - 0x21D4: [525,25,1000,34,966], // LEFT RIGHT DOUBLE ARROW - 0x21D5: [772,272,611,31,580] // UP DOWN DOUBLE ARROW - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/Arrows.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js deleted file mode 100644 index 1146023d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +++ /dev/null @@ -1,39 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x300: [699,-505,0,-394,-205], // COMBINING GRAVE ACCENT - 0x301: [699,-505,0,-297,-107], // COMBINING ACUTE ACCENT - 0x302: [694,-531,0,-388,-113], // COMBINING CIRCUMFLEX ACCENT - 0x303: [668,-565,0,-417,-84], // COMBINING TILDE - 0x304: [590,-544,0,-431,-70], // COMBINING MACRON - 0x306: [694,-515,0,-408,-93], // COMBINING BREVE - 0x307: [669,-549,0,-310,-191], // COMBINING DOT ABOVE - 0x308: [669,-554,0,-405,-96], // COMBINING DIAERESIS - 0x30A: [715,-542,0,-353,-148], // COMBINING RING ABOVE - 0x30B: [701,-510,0,-378,-80], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [644,-513,0,-386,-115], // COMBINING CARON - 0x338: [716,215,0,-639,-140] // COMBINING LONG SOLIDUS OVERLAY - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js deleted file mode 100644 index 924fedd3..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x20D7: [714,-516,0,29,471] // COMBINING RIGHT ARROW ABOVE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/CombDiactForSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js deleted file mode 100644 index a8fa4d5f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x2006: [0,0,167,0,0], // ?? - 0x2013: [285,-248,500,0,499], // EN DASH - 0x2014: [285,-248,1000,0,999], // EM DASH - 0x2018: [694,-379,278,64,198], // LEFT SINGLE QUOTATION MARK - 0x2019: [694,-379,278,78,212], // RIGHT SINGLE QUOTATION MARK - 0x201C: [694,-379,500,128,466], // LEFT DOUBLE QUOTATION MARK - 0x201D: [694,-379,500,34,372], // RIGHT DOUBLE QUOTATION MARK - 0x2020: [705,217,444,55,390], // DAGGER - 0x2021: [705,206,444,55,389], // DOUBLE DAGGER - 0x2026: [120,0,1172,78,1093], // HORIZONTAL ELLIPSIS - 0x2032: [560,-43,275,30,262] // PRIME - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/GeneralPunctuation.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js deleted file mode 100644 index 1c723159..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +++ /dev/null @@ -1,32 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x25B3: [716,0,889,59,828], // WHITE UP-POINTING TRIANGLE - 0x25B9: [505,5,500,26,474], // WHITE RIGHT-POINTING SMALL TRIANGLE - 0x25BD: [500,215,889,59,828], // WHITE DOWN-POINTING TRIANGLE - 0x25C3: [505,5,500,26,473], // WHITE LEFT-POINTING SMALL TRIANGLE - 0x25EF: [715,215,1000,56,944] // LARGE CIRCLE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/GeometricShapes.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js deleted file mode 100644 index 147544ce..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x393: [681,0,625,25,582], // GREEK CAPITAL LETTER GAMMA - 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA - 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA - 0x39B: [717,0,694,32,661], // GREEK CAPITAL LETTER LAMDA - 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI - 0x3A3: [683,1,722,55,666], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,778,54,722], // GREEK CAPITAL LETTER PSI - 0x3A9: [704,1,722,44,677] // GREEK CAPITAL LETTER OMEGA - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/GreekAndCoptic.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js deleted file mode 100644 index b2a6581d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +++ /dev/null @@ -1,32 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xAC: [356,-89,667,55,611], // NOT SIGN - 0xB1: [666,0,778,55,722], // PLUS-MINUS SIGN - 0xD7: [491,-9,778,147,631], // MULTIPLICATION SIGN - 0xF7: [537,36,778,55,721] // DIVISION SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/Latin1Supplement.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js deleted file mode 100644 index 3f1359f7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x131: [442,0,278,26,255] // LATIN SMALL LETTER DOTLESS I - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/LatinExtendedA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js deleted file mode 100644 index 2e5060ff..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x237: [442,205,306,-55,218] // LATIN SMALL LETTER DOTLESS J - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/LatinExtendedB.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js deleted file mode 100644 index bb335f52..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x210F: [695,13,540,42,562], // stix-/hbar - Planck's over 2pi - 0x2111: [705,11,722,54,693], // BLACK-LETTER CAPITAL I - 0x2113: [706,20,417,6,398], // SCRIPT SMALL L - 0x2118: [453,216,636,67,625], // SCRIPT CAPITAL P - 0x211C: [717,22,722,40,716], // BLACK-LETTER CAPITAL R - 0x2135: [694,1,611,54,556] // ALEF SYMBOL - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/LetterlikeSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js deleted file mode 100644 index 9ba59c97..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +++ /dev/null @@ -1,304 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'] = { - directory: 'Main/Regular', - family: 'MathJax_Main', - testString: "MathJax Main", - skew: { - 0x131: 0.0278, - 0x237: 0.0833, - 0x2113: 0.111, - 0x2118: 0.111, - 0x2202: 0.0833 - }, - Ranges: [ - [0x2B0,0x2FF,"SpacingModLetters"], - [0x300,0x36F,"CombDiacritMarks"], - [0x25A0,0x25FF,"GeometricShapes"], - [0x2600,0x26FF,"MiscSymbols"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [716,-1,278,78,199], // EXCLAMATION MARK - 0x22: [694,-379,500,34,372], // QUOTATION MARK - 0x23: [694,194,833,55,778], // NUMBER SIGN - 0x24: [750,56,500,54,444], // DOLLAR SIGN - 0x25: [750,56,833,56,776], // PERCENT SIGN - 0x26: [717,22,778,42,727], // AMPERSAND - 0x27: [694,-379,278,78,212], // APOSTROPHE - 0x28: [751,251,389,94,333], // LEFT PARENTHESIS - 0x29: [750,250,389,55,294], // RIGHT PARENTHESIS - 0x2A: [750,-319,500,64,435], // ASTERISK - 0x2B: [583,83,778,55,722], // PLUS SIGN - 0x2C: [121,194,278,78,210], // COMMA - 0x2D: [252,-179,333,11,277], // HYPHEN-MINUS - 0x2E: [120,0,278,78,199], // FULL STOP - 0x2F: [751,250,500,56,445], // SOLIDUS - 0x30: [666,22,500,39,460], // DIGIT ZERO - 0x31: [666,0,500,83,427], // DIGIT ONE - 0x32: [666,1,500,49,449], // DIGIT TWO - 0x33: [665,23,500,41,457], // DIGIT THREE - 0x34: [677,0,500,28,471], // DIGIT FOUR - 0x35: [666,22,500,49,449], // DIGIT FIVE - 0x36: [666,22,500,42,456], // DIGIT SIX - 0x37: [676,22,500,55,485], // DIGIT SEVEN - 0x38: [666,22,500,43,457], // DIGIT EIGHT - 0x39: [666,22,500,41,456], // DIGIT NINE - 0x3A: [430,0,278,78,199], // COLON - 0x3B: [430,194,278,78,202], // SEMICOLON - 0x3C: [540,40,778,83,694], // LESS-THAN SIGN - 0x3D: [367,-133,778,55,722], // EQUALS SIGN - 0x3E: [540,40,778,82,694], // GREATER-THAN SIGN - 0x3F: [706,-1,472,55,416], // QUESTION MARK - 0x40: [705,11,778,56,722], // COMMERCIAL AT - 0x41: [717,0,750,32,717], // LATIN CAPITAL LETTER A - 0x42: [684,0,708,28,651], // LATIN CAPITAL LETTER B - 0x43: [706,21,722,56,666], // LATIN CAPITAL LETTER C - 0x44: [683,0,764,27,708], // LATIN CAPITAL LETTER D - 0x45: [680,0,681,24,652], // LATIN CAPITAL LETTER E - 0x46: [680,0,653,25,611], // LATIN CAPITAL LETTER F - 0x47: [706,22,785,56,735], // LATIN CAPITAL LETTER G - 0x48: [683,0,750,25,724], // LATIN CAPITAL LETTER H - 0x49: [683,0,361,21,339], // LATIN CAPITAL LETTER I - 0x4A: [683,22,514,25,465], // LATIN CAPITAL LETTER J - 0x4B: [683,0,778,24,736], // LATIN CAPITAL LETTER K - 0x4C: [683,0,625,25,582], // LATIN CAPITAL LETTER L - 0x4D: [683,0,917,29,887], // LATIN CAPITAL LETTER M - 0x4E: [683,0,750,25,724], // LATIN CAPITAL LETTER N - 0x4F: [705,22,778,56,722], // LATIN CAPITAL LETTER O - 0x50: [684,0,681,27,624], // LATIN CAPITAL LETTER P - 0x51: [705,193,778,56,728], // LATIN CAPITAL LETTER Q - 0x52: [684,22,736,27,732], // LATIN CAPITAL LETTER R - 0x53: [706,23,556,55,500], // LATIN CAPITAL LETTER S - 0x54: [677,0,722,36,685], // LATIN CAPITAL LETTER T - 0x55: [684,22,750,25,724], // LATIN CAPITAL LETTER U - 0x56: [683,23,750,19,730], // LATIN CAPITAL LETTER V - 0x57: [683,23,1028,18,1009], // LATIN CAPITAL LETTER W - 0x58: [683,1,750,23,727], // LATIN CAPITAL LETTER X - 0x59: [684,0,750,11,738], // LATIN CAPITAL LETTER Y - 0x5A: [683,1,611,55,560], // LATIN CAPITAL LETTER Z - 0x5B: [750,250,278,118,255], // LEFT SQUARE BRACKET - 0x5C: [750,250,500,56,444], // REVERSE SOLIDUS - 0x5D: [750,250,278,22,159], // RIGHT SQUARE BRACKET - 0x5E: [694,-531,500,112,387], // CIRCUMFLEX ACCENT - 0x5F: [-25,62,500,0,499], // LOW LINE - 0x60: [699,-505,500,106,295], // GRAVE ACCENT - 0x61: [448,11,500,34,493], // LATIN SMALL LETTER A - 0x62: [694,11,556,20,522], // LATIN SMALL LETTER B - 0x63: [448,11,444,34,415], // LATIN SMALL LETTER C - 0x64: [694,11,556,34,535], // LATIN SMALL LETTER D - 0x65: [448,11,444,28,415], // LATIN SMALL LETTER E - 0x66: [705,0,306,25,372], // LATIN SMALL LETTER F - 0x67: [453,206,500,29,485], // LATIN SMALL LETTER G - 0x68: [695,0,556,25,543], // LATIN SMALL LETTER H - 0x69: [669,0,278,26,255], // LATIN SMALL LETTER I - 0x6A: [669,205,306,-55,218], // LATIN SMALL LETTER J - 0x6B: [695,0,528,20,512], // LATIN SMALL LETTER K - 0x6C: [694,0,278,26,263], // LATIN SMALL LETTER L - 0x6D: [443,0,833,25,820], // LATIN SMALL LETTER M - 0x6E: [443,0,556,25,543], // LATIN SMALL LETTER N - 0x6F: [448,10,500,28,471], // LATIN SMALL LETTER O - 0x70: [443,194,556,20,522], // LATIN SMALL LETTER P - 0x71: [442,194,528,33,535], // LATIN SMALL LETTER Q - 0x72: [442,0,392,20,364], // LATIN SMALL LETTER R - 0x73: [449,12,394,32,359], // LATIN SMALL LETTER S - 0x74: [615,10,389,18,334], // LATIN SMALL LETTER T - 0x75: [442,11,556,25,542], // LATIN SMALL LETTER U - 0x76: [431,11,528,19,508], // LATIN SMALL LETTER V - 0x77: [432,12,722,18,704], // LATIN SMALL LETTER W - 0x78: [431,0,528,10,516], // LATIN SMALL LETTER X - 0x79: [431,204,528,19,508], // LATIN SMALL LETTER Y - 0x7A: [431,0,444,28,401], // LATIN SMALL LETTER Z - 0x7B: [750,250,500,64,434], // LEFT CURLY BRACKET - 0x7C: [750,250,278,119,159], // VERTICAL LINE - 0x7D: [750,250,500,64,435], // RIGHT CURLY BRACKET - 0x7E: [318,-215,500,83,416], // TILDE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xA8: [669,-554,500,95,404], // DIAERESIS - 0xAC: [356,-89,667,55,611], // NOT SIGN - 0xAF: [590,-544,500,69,430], // MACRON - 0xB0: [715,-542,500,147,352], // DEGREE SIGN - 0xB1: [666,0,778,55,722], // PLUS-MINUS SIGN - 0xB4: [699,-505,500,203,393], // ACUTE ACCENT - 0xD7: [491,-9,778,147,631], // MULTIPLICATION SIGN - 0xF7: [537,36,778,55,721], // DIVISION SIGN - 0x131: [442,0,278,26,255], // LATIN SMALL LETTER DOTLESS I - 0x237: [442,205,306,-55,218], // LATIN SMALL LETTER DOTLESS J - 0x2C6: [694,-531,500,112,387], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [644,-513,500,114,385], // CARON - 0x2C9: [590,-544,500,69,430], // MODIFIER LETTER MACRON - 0x2CA: [699,-505,500,203,393], // MODIFIER LETTER ACUTE ACCENT - 0x2CB: [699,-505,500,106,295], // MODIFIER LETTER GRAVE ACCENT - 0x2D8: [694,-515,500,92,407], // BREVE - 0x2D9: [669,-549,500,190,309], // DOT ABOVE - 0x2DC: [668,-565,500,83,416], // SMALL TILDE - 0x393: [681,0,625,25,582], // GREEK CAPITAL LETTER GAMMA - 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA - 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA - 0x39B: [717,0,694,32,661], // GREEK CAPITAL LETTER LAMDA - 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI - 0x3A3: [683,1,722,55,666], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,778,54,722], // GREEK CAPITAL LETTER PSI - 0x3A9: [704,1,722,44,677], // GREEK CAPITAL LETTER OMEGA - 0x2002: [0,0,500,0,0], // ?? - 0x2003: [0,0,999,0,0], // ?? - 0x2004: [0,0,333,0,0], // ?? - 0x2005: [0,0,250,0,0], // ?? - 0x2006: [0,0,167,0,0], // ?? - 0x2009: [0,0,167,0,0], // ?? - 0x200A: [0,0,83,0,0], // ?? - 0x2013: [285,-248,500,0,499], // EN DASH - 0x2014: [285,-248,1000,0,999], // EM DASH - 0x2018: [694,-379,278,64,198], // LEFT SINGLE QUOTATION MARK - 0x2019: [694,-379,278,78,212], // RIGHT SINGLE QUOTATION MARK - 0x201C: [694,-379,500,128,466], // LEFT DOUBLE QUOTATION MARK - 0x201D: [694,-379,500,34,372], // RIGHT DOUBLE QUOTATION MARK - 0x2020: [705,217,444,55,390], // DAGGER - 0x2021: [705,206,444,55,389], // DOUBLE DAGGER - 0x2026: [120,0,1172,78,1093], // HORIZONTAL ELLIPSIS - 0x2032: [560,-43,275,30,262], // PRIME - 0x20D7: [714,-516,0,-471,-29], // COMBINING RIGHT ARROW ABOVE - 0x210F: [695,13,540,42,562], // stix-/hbar - Planck's over 2pi - 0x2111: [705,11,722,54,693], // BLACK-LETTER CAPITAL I - 0x2113: [706,20,417,6,398], // SCRIPT SMALL L - 0x2118: [453,216,636,67,625], // SCRIPT CAPITAL P - 0x211C: [717,22,722,40,716], // BLACK-LETTER CAPITAL R - 0x2135: [694,1,611,54,556], // ALEF SYMBOL - 0x2190: [511,12,1000,54,944], // LEFTWARDS ARROW - 0x2191: [694,194,500,17,483], // UPWARDS ARROW - 0x2192: [512,11,1000,55,945], // RIGHTWARDS ARROW - 0x2193: [694,194,500,17,483], // DOWNWARDS ARROW - 0x2194: [511,11,1000,55,945], // LEFT RIGHT ARROW - 0x2195: [772,272,500,17,483], // UP DOWN ARROW - 0x2196: [720,196,1000,29,944], // NORTH WEST ARROW - 0x2197: [720,195,1000,55,970], // NORTH EAST ARROW - 0x2198: [695,220,1000,55,970], // SOUTH EAST ARROW - 0x2199: [695,220,1000,29,944], // SOUTH WEST ARROW - 0x21A6: [512,11,1000,54,945], // RIGHTWARDS ARROW FROM BAR - 0x21A9: [511,12,1126,54,1070], // LEFTWARDS ARROW WITH HOOK - 0x21AA: [512,11,1126,55,1071], // RIGHTWARDS ARROW WITH HOOK - 0x21BC: [511,-230,1000,55,944], // LEFTWARDS HARPOON WITH BARB UPWARDS - 0x21BD: [270,11,1000,55,944], // LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x21C0: [511,-230,1000,55,944], // RIGHTWARDS HARPOON WITH BARB UPWARDS - 0x21C1: [270,11,1000,55,945], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x21CC: [671,11,1000,55,944], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON - 0x21D0: [525,24,1000,55,944], // LEFTWARDS DOUBLE ARROW - 0x21D1: [694,194,611,31,579], // UPWARDS DOUBLE ARROW - 0x21D2: [525,25,1000,55,944], // RIGHTWARDS DOUBLE ARROW - 0x21D3: [694,194,611,31,579], // DOWNWARDS DOUBLE ARROW - 0x21D4: [525,25,1000,34,966], // LEFT RIGHT DOUBLE ARROW - 0x21D5: [772,272,611,31,580], // UP DOWN DOUBLE ARROW - 0x2200: [694,22,556,0,556], // FOR ALL - 0x2202: [715,22,531,41,566], // PARTIAL DIFFERENTIAL - 0x2203: [694,0,556,55,500], // THERE EXISTS - 0x2205: [772,78,500,39,460], // EMPTY SET - 0x2207: [683,33,833,46,786], // NABLA - 0x2208: [541,41,667,84,584], // ELEMENT OF - 0x2209: [716,215,667,84,584], // stix-negated (vert) set membership, variant - 0x220B: [541,40,667,83,582], // CONTAINS AS MEMBER - 0x2212: [270,-230,778,83,694], // MINUS SIGN - 0x2213: [500,167,778,55,722], // MINUS-OR-PLUS SIGN - 0x2215: [751,250,500,56,445], // DIVISION SLASH - 0x2216: [750,250,500,56,444], // SET MINUS - 0x2217: [465,-34,500,64,435], // ASTERISK OPERATOR - 0x2218: [444,-55,500,55,444], // RING OPERATOR - 0x2219: [444,-55,500,55,444], // BULLET OPERATOR - 0x221A: [800,200,833,72,853], // SQUARE ROOT - 0x221D: [442,11,778,56,722], // PROPORTIONAL TO - 0x221E: [442,11,1000,55,944], // INFINITY - 0x2220: [694,0,722,55,666], // ANGLE - 0x2223: [750,250,278,119,159], // DIVIDES - 0x2225: [750,250,500,132,367], // PARALLEL TO - 0x2227: [598,22,667,55,611], // LOGICAL AND - 0x2228: [598,22,667,55,611], // LOGICAL OR - 0x2229: [598,22,667,55,611], // stix-intersection, serifs - 0x222A: [599,22,667,55,611], // stix-union, serifs - 0x222B: [716,216,417,55,472], // INTEGRAL - 0x223C: [367,-133,778,55,722], // TILDE OPERATOR - 0x2240: [583,83,278,55,222], // WREATH PRODUCT - 0x2243: [464,-36,778,55,722], // ASYMPTOTICALLY EQUAL TO - 0x2245: [589,-22,1000,55,722], // APPROXIMATELY EQUAL TO - 0x2248: [483,-55,778,55,722], // ALMOST EQUAL TO - 0x224D: [484,-16,778,55,722], // EQUIVALENT TO - 0x2250: [670,-133,778,55,722], // APPROACHES THE LIMIT - 0x2260: [716,215,778,55,722], // stix-not (vert) equals - 0x2261: [464,-36,778,55,722], // IDENTICAL TO - 0x2264: [636,138,778,83,694], // LESS-THAN OR EQUAL TO - 0x2265: [636,138,778,82,694], // GREATER-THAN OR EQUAL TO - 0x226A: [568,68,1000,56,944], // MUCH LESS-THAN - 0x226B: [567,67,1000,55,945], // MUCH GREATER-THAN - 0x227A: [539,41,778,84,695], // PRECEDES - 0x227B: [539,41,778,83,694], // SUCCEEDS - 0x2282: [540,41,778,84,695], // SUBSET OF - 0x2283: [541,40,778,82,693], // SUPERSET OF - 0x2286: [636,139,778,84,695], // SUBSET OF OR EQUAL TO - 0x2287: [637,138,778,83,693], // SUPERSET OF OR EQUAL TO - 0x228E: [599,22,667,55,611], // MULTISET UNION - 0x2291: [636,138,778,83,714], // SQUARE IMAGE OF OR EQUAL TO - 0x2292: [636,138,778,63,694], // SQUARE ORIGINAL OF OR EQUAL TO - 0x2293: [598,0,667,61,605], // stix-square intersection, serifs - 0x2294: [598,0,667,61,605], // stix-square union, serifs - 0x2295: [583,83,778,56,722], // stix-circled plus (with rim) - 0x2296: [583,83,778,56,722], // CIRCLED MINUS - 0x2297: [583,83,778,56,722], // stix-circled times (with rim) - 0x2298: [583,83,778,56,722], // CIRCLED DIVISION SLASH - 0x2299: [583,83,778,56,722], // CIRCLED DOT OPERATOR - 0x22A2: [694,0,611,55,555], // RIGHT TACK - 0x22A3: [694,0,611,55,555], // LEFT TACK - 0x22A4: [668,0,778,55,723], // DOWN TACK - 0x22A5: [668,0,778,55,723], // UP TACK - 0x22A8: [750,250,867,119,811], // TRUE - 0x22C4: [488,-12,500,12,488], // DIAMOND OPERATOR - 0x22C5: [310,-190,278,78,199], // DOT OPERATOR - 0x22C6: [486,-16,500,3,497], // STAR OPERATOR - 0x22C8: [505,6,900,25,873], // BOWTIE - 0x22EE: [900,30,278,78,199], // VERTICAL ELLIPSIS - 0x22EF: [310,-190,1172,78,1093], // MIDLINE HORIZONTAL ELLIPSIS - 0x22F1: [820,-100,1282,133,1148], // DOWN RIGHT DIAGONAL ELLIPSIS - 0x2308: [751,250,444,174,422], // LEFT CEILING - 0x2309: [751,250,444,21,269], // RIGHT CEILING - 0x230A: [750,251,444,174,422], // LEFT FLOOR - 0x230B: [751,251,444,20,269], // RIGHT FLOOR - 0x2322: [388,-122,1000,55,944], // stix-small down curve - 0x2323: [378,-134,1000,55,944], // stix-small up curve - 0x23B0: [744,245,412,55,357], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION - 0x23B1: [745,244,412,55,357], // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION - 0x27E8: [750,250,389,110,333], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [750,250,389,55,278], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x27EE: [744,245,412,173,357], // MATHEMATICAL LEFT FLATTENED PARENTHESIS - 0x27EF: [744,245,412,55,240], // MATHEMATICAL RIGHT FLATTENED PARENTHESIS - 0x27F5: [511,12,1609,54,1525], // LONG LEFTWARDS ARROW - 0x27F6: [512,11,1638,83,1554], // LONG RIGHTWARDS ARROW - 0x27F7: [512,12,1859,54,1804], // LONG LEFT RIGHT ARROW - 0x27F8: [525,24,1609,55,1553], // LONG LEFTWARDS DOUBLE ARROW - 0x27F9: [525,25,1638,55,1582], // LONG RIGHTWARDS DOUBLE ARROW - 0x27FA: [525,24,1858,55,1802], // LONG LEFT RIGHT DOUBLE ARROW - 0x27FC: [512,11,1638,54,1554], // LONG RIGHTWARDS ARROW FROM BAR - 0x2A3F: [684,0,750,28,721], // AMALGAMATION OR COPRODUCT - 0x2AAF: [636,138,778,83,695], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN - 0x2AB0: [636,138,778,83,694] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Main"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js deleted file mode 100644 index f5883f32..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +++ /dev/null @@ -1,94 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x2200: [694,22,556,0,556], // FOR ALL - 0x2202: [715,22,531,41,566], // PARTIAL DIFFERENTIAL - 0x2203: [694,0,556,55,500], // THERE EXISTS - 0x2205: [772,78,500,39,460], // EMPTY SET - 0x2207: [683,33,833,46,786], // NABLA - 0x2208: [541,41,667,84,584], // ELEMENT OF - 0x2209: [716,215,667,84,584], // stix-negated (vert) set membership, variant - 0x220B: [541,40,667,83,582], // CONTAINS AS MEMBER - 0x2212: [270,-230,778,83,694], // MINUS SIGN - 0x2213: [500,167,778,55,722], // MINUS-OR-PLUS SIGN - 0x2215: [751,250,500,56,445], // DIVISION SLASH - 0x2216: [750,250,500,56,444], // SET MINUS - 0x2217: [465,-34,500,64,435], // ASTERISK OPERATOR - 0x2218: [444,-55,500,55,444], // RING OPERATOR - 0x2219: [444,-55,500,55,444], // BULLET OPERATOR - 0x221A: [800,200,833,72,853], // SQUARE ROOT - 0x221D: [442,11,778,56,722], // PROPORTIONAL TO - 0x221E: [442,11,1000,55,944], // INFINITY - 0x2220: [694,0,722,55,666], // ANGLE - 0x2223: [750,250,278,119,159], // DIVIDES - 0x2225: [750,250,500,132,367], // PARALLEL TO - 0x2227: [598,22,667,55,611], // LOGICAL AND - 0x2228: [598,22,667,55,611], // LOGICAL OR - 0x2229: [598,22,667,55,611], // stix-intersection, serifs - 0x222A: [599,22,667,55,611], // stix-union, serifs - 0x222B: [716,216,417,55,472], // INTEGRAL - 0x223C: [367,-133,778,55,722], // TILDE OPERATOR - 0x2240: [583,83,278,55,222], // WREATH PRODUCT - 0x2243: [464,-36,778,55,722], // ASYMPTOTICALLY EQUAL TO - 0x2245: [589,-22,1000,55,722], // APPROXIMATELY EQUAL TO - 0x2248: [483,-55,778,55,722], // ALMOST EQUAL TO - 0x224D: [484,-16,778,55,722], // EQUIVALENT TO - 0x2250: [670,-133,778,55,722], // APPROACHES THE LIMIT - 0x2260: [716,215,778,55,722], // stix-not (vert) equals - 0x2261: [464,-36,778,55,722], // IDENTICAL TO - 0x2264: [636,138,778,83,694], // LESS-THAN OR EQUAL TO - 0x2265: [636,138,778,82,694], // GREATER-THAN OR EQUAL TO - 0x226A: [568,68,1000,56,944], // MUCH LESS-THAN - 0x226B: [567,67,1000,55,945], // MUCH GREATER-THAN - 0x227A: [539,41,778,84,695], // PRECEDES - 0x227B: [539,41,778,83,694], // SUCCEEDS - 0x2282: [540,41,778,84,695], // SUBSET OF - 0x2283: [541,40,778,82,693], // SUPERSET OF - 0x2286: [636,139,778,84,695], // SUBSET OF OR EQUAL TO - 0x2287: [637,138,778,83,693], // SUPERSET OF OR EQUAL TO - 0x228E: [599,22,667,55,611], // MULTISET UNION - 0x2291: [636,138,778,83,714], // SQUARE IMAGE OF OR EQUAL TO - 0x2292: [636,138,778,63,694], // SQUARE ORIGINAL OF OR EQUAL TO - 0x2293: [598,0,667,61,605], // stix-square intersection, serifs - 0x2294: [598,0,667,61,605], // stix-square union, serifs - 0x2295: [583,83,778,56,722], // stix-circled plus (with rim) - 0x2296: [583,83,778,56,722], // CIRCLED MINUS - 0x2297: [583,83,778,56,722], // stix-circled times (with rim) - 0x2298: [583,83,778,56,722], // CIRCLED DIVISION SLASH - 0x2299: [583,83,778,56,722], // CIRCLED DOT OPERATOR - 0x22A2: [694,0,611,55,555], // RIGHT TACK - 0x22A3: [694,0,611,55,555], // LEFT TACK - 0x22A4: [668,0,778,55,723], // DOWN TACK - 0x22A5: [668,0,778,55,723], // UP TACK - 0x22A8: [750,250,867,119,811], // TRUE - 0x22C4: [488,-12,500,12,488], // DIAMOND OPERATOR - 0x22C5: [310,-190,278,78,199], // DOT OPERATOR - 0x22C6: [486,-16,500,3,497], // STAR OPERATOR - 0x22C8: [505,6,900,25,873], // BOWTIE - 0x22EE: [900,30,278,78,199], // VERTICAL ELLIPSIS - 0x22EF: [310,-190,1172,78,1093], // MIDLINE HORIZONTAL ELLIPSIS - 0x22F1: [820,-100,1282,133,1148] // DOWN RIGHT DIAGONAL ELLIPSIS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/MathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js deleted file mode 100644 index f1944f78..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +++ /dev/null @@ -1,31 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x27E8: [750,250,389,110,333], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [750,250,389,55,278], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x27EE: [743,242,400,100,344], // MATHEMATICAL LEFT FLATTENED PARENTHESIS - 0x27EF: [743,241,400,56,301] // MATHEMATICAL RIGHT FLATTENED PARENTHESIS - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/MiscMathSymbolsA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js deleted file mode 100644 index 5e34497a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +++ /dev/null @@ -1,34 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x2660: [727,131,778,55,723], // BLACK SPADE SUIT - 0x2661: [716,33,778,55,723], // WHITE HEART SUIT - 0x2662: [727,163,778,55,723], // WHITE DIAMOND SUIT - 0x2663: [726,131,778,28,750], // BLACK CLUB SUIT - 0x266D: [751,22,389,54,333], // MUSIC FLAT SIGN - 0x266E: [734,223,389,65,324], // MUSIC NATURAL SIGN - 0x266F: [723,223,389,54,334] // MUSIC SHARP SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/MiscSymbols.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js deleted file mode 100644 index 4c79557a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x2308: [751,250,444,174,422], // LEFT CEILING - 0x2309: [751,250,444,21,269], // RIGHT CEILING - 0x230A: [750,251,444,174,422], // LEFT FLOOR - 0x230B: [751,251,444,20,269], // RIGHT FLOOR - 0x2322: [388,-122,1000,55,944], // stix-small down curve - 0x2323: [378,-134,1000,55,944], // stix-small up curve - 0x23B0: [743,241,512,56,456], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION - 0x23B1: [743,242,512,56,457] // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/MiscTechnical.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js deleted file mode 100644 index b1d1e2ca..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x2DA: [715,-542,500,147,352] // RING ABOVE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/SpacingModLetters.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js deleted file mode 100644 index beefe37d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +++ /dev/null @@ -1,30 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x2A3F: [684,0,750,28,721], // AMALGAMATION OR COPRODUCT - 0x2AAF: [636,138,778,83,695], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN - 0x2AB0: [636,138,778,83,694] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/SuppMathOperators.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js deleted file mode 100644 index 4b3f10c4..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +++ /dev/null @@ -1,34 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], - { - 0x27F5: [511,12,1609,54,1525], // LONG LEFTWARDS ARROW - 0x27F6: [512,11,1638,83,1554], // LONG RIGHTWARDS ARROW - 0x27F7: [512,12,1859,54,1804], // LONG LEFT RIGHT ARROW - 0x27F8: [525,24,1609,55,1553], // LONG LEFTWARDS DOUBLE ARROW - 0x27F9: [525,25,1638,55,1582], // LONG RIGHTWARDS DOUBLE ARROW - 0x27FA: [525,24,1858,55,1802], // LONG LEFT RIGHT DOUBLE ARROW - 0x27FC: [512,11,1638,54,1554] // LONG RIGHTWARDS ARROW FROM BAR - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/SupplementalArrowsA.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js deleted file mode 100644 index 7dd3a437..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +++ /dev/null @@ -1,205 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Math-bold-italic'] = { - directory: 'Math/BoldItalic', - family: 'MathJax_Math', - weight: 'bold', - style: 'italic', - testString: "MathJax Math", - skew: { - 0x41: 0.16, - 0x42: 0.0958, - 0x43: 0.0958, - 0x44: 0.0639, - 0x45: 0.0958, - 0x46: 0.0958, - 0x47: 0.0958, - 0x48: 0.0639, - 0x49: 0.128, - 0x4A: 0.192, - 0x4B: 0.0639, - 0x4C: 0.0319, - 0x4D: 0.0958, - 0x4E: 0.0958, - 0x4F: 0.0958, - 0x50: 0.0958, - 0x51: 0.0958, - 0x52: 0.0958, - 0x53: 0.0958, - 0x54: 0.0958, - 0x55: 0.0319, - 0x58: 0.0958, - 0x5A: 0.0958, - 0x63: 0.0639, - 0x64: 0.192, - 0x65: 0.0639, - 0x66: 0.192, - 0x67: 0.0319, - 0x68: -0.0319, - 0x6C: 0.0958, - 0x6F: 0.0639, - 0x70: 0.0958, - 0x71: 0.0958, - 0x72: 0.0639, - 0x73: 0.0639, - 0x74: 0.0958, - 0x75: 0.0319, - 0x76: 0.0319, - 0x77: 0.0958, - 0x78: 0.0319, - 0x79: 0.0639, - 0x7A: 0.0639, - 0x393: 0.0958, - 0x394: 0.192, - 0x398: 0.0958, - 0x39B: 0.192, - 0x39E: 0.0958, - 0x3A0: 0.0639, - 0x3A3: 0.0958, - 0x3A5: 0.0639, - 0x3A6: 0.0958, - 0x3A8: 0.0639, - 0x3A9: 0.0958, - 0x3B1: 0.0319, - 0x3B2: 0.0958, - 0x3B4: 0.0639, - 0x3B5: 0.0958, - 0x3B6: 0.0958, - 0x3B7: 0.0639, - 0x3B8: 0.0958, - 0x3B9: 0.0639, - 0x3BC: 0.0319, - 0x3BD: 0.0319, - 0x3BE: 0.128, - 0x3BF: 0.0639, - 0x3C1: 0.0958, - 0x3C2: 0.0958, - 0x3C4: 0.0319, - 0x3C5: 0.0319, - 0x3C6: 0.0958, - 0x3C7: 0.0639, - 0x3C8: 0.128, - 0x3D1: 0.0958, - 0x3D5: 0.0958, - 0x3F1: 0.0958, - 0x3F5: 0.0639 - }, - 0x20: [0,0,250,0,0], // SPACE - 0x2F: [711,210,894,160,733], // SOLIDUS - 0x41: [712,0,869,45,839], // LATIN CAPITAL LETTER A - 0x42: [687,0,866,43,853], // LATIN CAPITAL LETTER B - 0x43: [703,17,817,54,855], // LATIN CAPITAL LETTER C - 0x44: [686,0,938,43,914], // LATIN CAPITAL LETTER D - 0x45: [681,0,810,43,825], // LATIN CAPITAL LETTER E - 0x46: [681,0,689,43,810], // LATIN CAPITAL LETTER F - 0x47: [703,16,887,56,854], // LATIN CAPITAL LETTER G - 0x48: [686,0,982,43,1027], // LATIN CAPITAL LETTER H - 0x49: [686,0,511,30,574], // LATIN CAPITAL LETTER I - 0x4A: [686,17,631,42,694], // LATIN CAPITAL LETTER J - 0x4B: [686,0,971,43,1003], // LATIN CAPITAL LETTER K - 0x4C: [686,0,756,43,711], // LATIN CAPITAL LETTER L - 0x4D: [687,1,1142,43,1220], // LATIN CAPITAL LETTER M - 0x4E: [687,1,950,43,1028], // LATIN CAPITAL LETTER N - 0x4F: [703,17,837,53,815], // LATIN CAPITAL LETTER O - 0x50: [686,0,723,42,847], // LATIN CAPITAL LETTER P - 0x51: [703,194,869,53,815], // LATIN CAPITAL LETTER Q - 0x52: [687,17,872,43,881], // LATIN CAPITAL LETTER R - 0x53: [703,18,693,63,714], // LATIN CAPITAL LETTER S - 0x54: [675,1,637,22,773], // LATIN CAPITAL LETTER T - 0x55: [687,16,800,63,877], // LATIN CAPITAL LETTER U - 0x56: [686,17,678,62,886], // LATIN CAPITAL LETTER V - 0x57: [687,18,1093,60,1207], // LATIN CAPITAL LETTER W - 0x58: [686,1,947,38,953], // LATIN CAPITAL LETTER X - 0x59: [686,0,675,39,876], // LATIN CAPITAL LETTER Y - 0x5A: [686,1,773,68,805], // LATIN CAPITAL LETTER Z - 0x61: [452,8,633,37,607], // LATIN SMALL LETTER A - 0x62: [694,8,521,44,513], // LATIN SMALL LETTER B - 0x63: [451,8,513,40,509], // LATIN SMALL LETTER C - 0x64: [694,8,610,38,612], // LATIN SMALL LETTER D - 0x65: [452,8,554,42,509], // LATIN SMALL LETTER E - 0x66: [701,201,568,64,625], // LATIN SMALL LETTER F - 0x67: [452,202,545,0,540], // LATIN SMALL LETTER G - 0x68: [694,8,668,44,642], // LATIN SMALL LETTER H - 0x69: [694,8,405,24,367], // LATIN SMALL LETTER I - 0x6A: [694,202,471,-12,456], // LATIN SMALL LETTER J - 0x6B: [694,8,604,44,578], // LATIN SMALL LETTER K - 0x6C: [694,8,348,27,297], // LATIN SMALL LETTER L - 0x6D: [452,9,1032,24,1006], // LATIN SMALL LETTER M - 0x6E: [452,9,713,24,688], // LATIN SMALL LETTER N - 0x6F: [452,8,585,39,576], // LATIN SMALL LETTER O - 0x70: [452,194,601,-23,593], // LATIN SMALL LETTER P - 0x71: [452,194,542,38,550], // LATIN SMALL LETTER Q - 0x72: [452,8,529,24,500], // LATIN SMALL LETTER R - 0x73: [452,8,531,57,476], // LATIN SMALL LETTER S - 0x74: [644,7,415,21,387], // LATIN SMALL LETTER T - 0x75: [452,8,681,24,655], // LATIN SMALL LETTER U - 0x76: [453,8,567,24,540], // LATIN SMALL LETTER V - 0x77: [454,8,831,24,796], // LATIN SMALL LETTER W - 0x78: [452,8,659,43,599], // LATIN SMALL LETTER X - 0x79: [452,202,590,24,587], // LATIN SMALL LETTER Y - 0x7A: [453,9,555,33,539], // LATIN SMALL LETTER Z - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,0,657,43,777], // GREEK CAPITAL LETTER GAMMA - 0x394: [712,0,958,59,904], // GREEK CAPITAL LETTER DELTA - 0x398: [702,17,867,54,844], // GREEK CAPITAL LETTER THETA - 0x39B: [712,1,806,43,776], // GREEK CAPITAL LETTER LAMDA - 0x39E: [676,0,841,62,868], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,982,43,1026], // GREEK CAPITAL LETTER PI - 0x3A3: [686,0,885,69,902], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [704,0,671,32,802], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [687,0,767,29,737], // GREEK CAPITAL LETTER PHI - 0x3A8: [687,0,714,22,791], // GREEK CAPITAL LETTER PSI - 0x3A9: [703,1,879,93,886], // GREEK CAPITAL LETTER OMEGA - 0x3B1: [452,8,761,39,712], // GREEK SMALL LETTER ALPHA - 0x3B2: [701,195,660,28,637], // GREEK SMALL LETTER BETA - 0x3B3: [451,211,590,5,617], // GREEK SMALL LETTER GAMMA - 0x3B4: [725,8,522,39,513], // GREEK SMALL LETTER DELTA - 0x3B5: [461,17,529,35,481], // GREEK SMALL LETTER EPSILON - 0x3B6: [711,202,508,48,521], // GREEK SMALL LETTER ZETA - 0x3B7: [452,211,600,24,601], // GREEK SMALL LETTER ETA - 0x3B8: [702,8,562,39,554], // GREEK SMALL LETTER THETA - 0x3B9: [452,8,412,37,386], // GREEK SMALL LETTER IOTA - 0x3BA: [452,8,668,45,642], // GREEK SMALL LETTER KAPPA - 0x3BB: [694,13,671,40,652], // GREEK SMALL LETTER LAMDA - 0x3BC: [452,211,708,33,682], // GREEK SMALL LETTER MU - 0x3BD: [452,2,577,38,608], // GREEK SMALL LETTER NU - 0x3BE: [712,201,508,23,490], // GREEK SMALL LETTER XI - 0x3BF: [452,8,585,39,576], // GREEK SMALL LETTER OMICRON - 0x3C0: [445,8,682,23,674], // GREEK SMALL LETTER PI - 0x3C1: [451,211,612,34,603], // GREEK SMALL LETTER RHO - 0x3C2: [452,105,424,33,457], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [444,8,686,35,677], // GREEK SMALL LETTER SIGMA - 0x3C4: [444,13,521,23,610], // GREEK SMALL LETTER TAU - 0x3C5: [454,8,631,24,604], // GREEK SMALL LETTER UPSILON - 0x3C6: [452,216,747,52,703], // GREEK SMALL LETTER PHI - 0x3C7: [452,201,718,32,686], // GREEK SMALL LETTER CHI - 0x3C8: [694,203,758,24,732], // GREEK SMALL LETTER PSI - 0x3C9: [453,8,718,24,691], // GREEK SMALL LETTER OMEGA - 0x3D1: [701,9,692,23,656], // GREEK THETA SYMBOL - 0x3D5: [695,203,712,51,693], // GREEK PHI SYMBOL - 0x3D6: [444,8,975,22,961], // GREEK PI SYMBOL - 0x3F1: [451,195,612,75,604], // GREEK RHO SYMBOL - 0x3F5: [445,7,483,43,450] // GREEK LUNATE EPSILON SYMBOL -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Math-bold-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Math/BoldItalic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js deleted file mode 100644 index 783561de..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +++ /dev/null @@ -1,204 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Math-italic'] = { - directory: 'Math/Italic', - family: 'MathJax_Math', - style: 'italic', - testString: "MathJax Math", - skew: { - 0x41: 0.139, - 0x42: 0.0833, - 0x43: 0.0833, - 0x44: 0.0556, - 0x45: 0.0833, - 0x46: 0.0833, - 0x47: 0.0833, - 0x48: 0.0556, - 0x49: 0.111, - 0x4A: 0.167, - 0x4B: 0.0556, - 0x4C: 0.0278, - 0x4D: 0.0833, - 0x4E: 0.0833, - 0x4F: 0.0833, - 0x50: 0.0833, - 0x51: 0.0833, - 0x52: 0.0833, - 0x53: 0.0833, - 0x54: 0.0833, - 0x55: 0.0278, - 0x58: 0.0833, - 0x5A: 0.0833, - 0x63: 0.0556, - 0x64: 0.167, - 0x65: 0.0556, - 0x66: 0.167, - 0x67: 0.0278, - 0x68: -0.0278, - 0x6C: 0.0833, - 0x6F: 0.0556, - 0x70: 0.0833, - 0x71: 0.0833, - 0x72: 0.0556, - 0x73: 0.0556, - 0x74: 0.0833, - 0x75: 0.0278, - 0x76: 0.0278, - 0x77: 0.0833, - 0x78: 0.0278, - 0x79: 0.0556, - 0x7A: 0.0556, - 0x393: 0.0833, - 0x394: 0.167, - 0x398: 0.0833, - 0x39B: 0.167, - 0x39E: 0.0833, - 0x3A0: 0.0556, - 0x3A3: 0.0833, - 0x3A5: 0.0556, - 0x3A6: 0.0833, - 0x3A8: 0.0556, - 0x3A9: 0.0833, - 0x3B1: 0.0278, - 0x3B2: 0.0833, - 0x3B4: 0.0556, - 0x3B5: 0.0833, - 0x3B6: 0.0833, - 0x3B7: 0.0556, - 0x3B8: 0.0833, - 0x3B9: 0.0556, - 0x3BC: 0.0278, - 0x3BD: 0.0278, - 0x3BE: 0.111, - 0x3BF: 0.0556, - 0x3C1: 0.0833, - 0x3C2: 0.0833, - 0x3C4: 0.0278, - 0x3C5: 0.0278, - 0x3C6: 0.0833, - 0x3C7: 0.0556, - 0x3C8: 0.111, - 0x3D1: 0.0833, - 0x3D5: 0.0833, - 0x3F1: 0.0833, - 0x3F5: 0.0556 - }, - 0x20: [0,0,250,0,0], // SPACE - 0x2F: [716,215,778,139,638], // SOLIDUS - 0x41: [717,0,750,35,727], // LATIN CAPITAL LETTER A - 0x42: [683,0,759,35,756], // LATIN CAPITAL LETTER B - 0x43: [705,22,715,50,760], // LATIN CAPITAL LETTER C - 0x44: [683,1,828,32,804], // LATIN CAPITAL LETTER D - 0x45: [680,1,738,30,764], // LATIN CAPITAL LETTER E - 0x46: [681,0,643,30,749], // LATIN CAPITAL LETTER F - 0x47: [705,22,786,50,760], // LATIN CAPITAL LETTER G - 0x48: [683,0,831,31,889], // LATIN CAPITAL LETTER H - 0x49: [684,0,440,26,504], // LATIN CAPITAL LETTER I - 0x4A: [683,22,555,57,633], // LATIN CAPITAL LETTER J - 0x4B: [684,0,849,31,889], // LATIN CAPITAL LETTER K - 0x4C: [684,1,681,32,647], // LATIN CAPITAL LETTER L - 0x4D: [684,0,970,35,1051], // LATIN CAPITAL LETTER M - 0x4E: [684,0,803,31,888], // LATIN CAPITAL LETTER N - 0x4F: [704,22,763,50,740], // LATIN CAPITAL LETTER O - 0x50: [683,0,642,33,751], // LATIN CAPITAL LETTER P - 0x51: [704,195,791,50,740], // LATIN CAPITAL LETTER Q - 0x52: [683,22,759,33,755], // LATIN CAPITAL LETTER R - 0x53: [705,22,613,52,645], // LATIN CAPITAL LETTER S - 0x54: [678,0,584,21,705], // LATIN CAPITAL LETTER T - 0x55: [684,22,683,59,767], // LATIN CAPITAL LETTER U - 0x56: [683,23,583,52,769], // LATIN CAPITAL LETTER V - 0x57: [684,22,944,51,1048], // LATIN CAPITAL LETTER W - 0x58: [684,1,828,25,852], // LATIN CAPITAL LETTER X - 0x59: [683,-1,581,29,763], // LATIN CAPITAL LETTER Y - 0x5A: [684,1,683,58,724], // LATIN CAPITAL LETTER Z - 0x61: [441,10,529,33,506], // LATIN SMALL LETTER A - 0x62: [694,11,429,39,422], // LATIN SMALL LETTER B - 0x63: [442,11,433,34,429], // LATIN SMALL LETTER C - 0x64: [694,10,520,33,524], // LATIN SMALL LETTER D - 0x65: [442,11,466,39,429], // LATIN SMALL LETTER E - 0x66: [705,205,490,55,550], // LATIN SMALL LETTER F - 0x67: [443,205,477,10,480], // LATIN SMALL LETTER G - 0x68: [694,11,576,48,555], // LATIN SMALL LETTER H - 0x69: [661,11,345,21,303], // LATIN SMALL LETTER I - 0x6A: [661,204,412,-12,403], // LATIN SMALL LETTER J - 0x6B: [694,11,521,48,503], // LATIN SMALL LETTER K - 0x6C: [694,11,298,38,267], // LATIN SMALL LETTER L - 0x6D: [442,11,878,21,857], // LATIN SMALL LETTER M - 0x6E: [442,11,600,21,580], // LATIN SMALL LETTER N - 0x6F: [441,11,485,34,476], // LATIN SMALL LETTER O - 0x70: [442,194,503,-39,497], // LATIN SMALL LETTER P - 0x71: [442,194,446,33,460], // LATIN SMALL LETTER Q - 0x72: [442,11,451,21,430], // LATIN SMALL LETTER R - 0x73: [442,10,469,53,419], // LATIN SMALL LETTER S - 0x74: [626,11,361,19,330], // LATIN SMALL LETTER T - 0x75: [442,11,572,21,551], // LATIN SMALL LETTER U - 0x76: [443,11,485,21,467], // LATIN SMALL LETTER V - 0x77: [444,11,716,20,690], // LATIN SMALL LETTER W - 0x78: [443,11,572,35,523], // LATIN SMALL LETTER X - 0x79: [442,205,490,21,496], // LATIN SMALL LETTER Y - 0x7A: [442,12,465,35,468], // LATIN SMALL LETTER Z - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,-1,615,31,721], // GREEK CAPITAL LETTER GAMMA - 0x394: [716,1,833,48,788], // GREEK CAPITAL LETTER DELTA - 0x398: [704,22,763,50,740], // GREEK CAPITAL LETTER THETA - 0x39B: [717,0,694,35,671], // GREEK CAPITAL LETTER LAMDA - 0x39E: [678,1,742,53,777], // GREEK CAPITAL LETTER XI - 0x3A0: [681,0,831,31,888], // GREEK CAPITAL LETTER PI - 0x3A3: [683,0,780,58,806], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [706,0,583,28,701], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,0,667,24,643], // GREEK CAPITAL LETTER PHI - 0x3A8: [684,0,612,21,693], // GREEK CAPITAL LETTER PSI - 0x3A9: [704,0,772,80,786], // GREEK CAPITAL LETTER OMEGA - 0x3B1: [442,11,640,34,603], // GREEK SMALL LETTER ALPHA - 0x3B2: [706,194,566,23,573], // GREEK SMALL LETTER BETA - 0x3B3: [441,216,518,11,543], // GREEK SMALL LETTER GAMMA - 0x3B4: [717,10,444,36,451], // GREEK SMALL LETTER DELTA - 0x3B5: [453,22,466,27,428], // GREEK SMALL LETTER EPSILON - 0x3B6: [704,204,438,44,472], // GREEK SMALL LETTER ZETA - 0x3B7: [442,216,497,21,504], // GREEK SMALL LETTER ETA - 0x3B8: [705,10,469,35,462], // GREEK SMALL LETTER THETA - 0x3B9: [442,10,354,48,332], // GREEK SMALL LETTER IOTA - 0x3BA: [442,11,576,49,554], // GREEK SMALL LETTER KAPPA - 0x3BB: [694,12,583,46,556], // GREEK SMALL LETTER LAMDA - 0x3BC: [443,216,603,22,580], // GREEK SMALL LETTER MU - 0x3BD: [442,2,494,45,530], // GREEK SMALL LETTER NU - 0x3BE: [704,205,438,21,443], // GREEK SMALL LETTER XI - 0x3BF: [441,11,485,34,476], // GREEK SMALL LETTER OMICRON - 0x3C0: [431,11,570,19,573], // GREEK SMALL LETTER PI - 0x3C1: [442,216,517,22,510], // GREEK SMALL LETTER RHO - 0x3C2: [442,108,363,31,405], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [431,11,571,31,572], // GREEK SMALL LETTER SIGMA - 0x3C4: [431,13,437,17,517], // GREEK SMALL LETTER TAU - 0x3C5: [443,10,540,21,523], // GREEK SMALL LETTER UPSILON - 0x3C6: [442,219,654,50,618], // GREEK SMALL LETTER PHI - 0x3C7: [442,204,626,24,601], // GREEK SMALL LETTER CHI - 0x3C8: [694,205,651,21,634], // GREEK SMALL LETTER PSI - 0x3C9: [444,11,622,15,604], // GREEK SMALL LETTER OMEGA - 0x3D1: [705,11,591,21,563], // GREEK THETA SYMBOL - 0x3D5: [695,206,596,43,579], // GREEK PHI SYMBOL - 0x3D6: [431,10,828,19,823], // GREEK PI SYMBOL - 0x3F1: [442,194,517,67,510], // GREEK RHO SYMBOL - 0x3F5: [432,11,406,39,383] // GREEK LUNATE EPSILON SYMBOL -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Math-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Math/Italic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js deleted file mode 100644 index b705914b..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +++ /dev/null @@ -1,115 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-bold'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x21: [695,0,367,109,257], // EXCLAMATION MARK - 0x22: [694,-441,558,37,420], // QUOTATION MARK - 0x23: [694,193,917,61,855], // NUMBER SIGN - 0x24: [750,57,550,49,488], // DOLLAR SIGN - 0x25: [750,57,1029,61,967], // PERCENT SIGN - 0x26: [716,22,831,47,769], // AMPERSAND - 0x27: [694,-441,306,80,226], // APOSTROPHE - 0x28: [750,249,428,79,366], // LEFT PARENTHESIS - 0x29: [751,251,428,61,348], // RIGHT PARENTHESIS - 0x2A: [750,-293,550,67,482], // ASTERISK - 0x2B: [617,116,856,61,794], // PLUS SIGN - 0x2C: [146,107,306,80,226], // COMMA - 0x2D: [274,-185,367,12,305], // HYPHEN-MINUS - 0x2E: [146,0,306,80,226], // FULL STOP - 0x2F: [750,249,550,61,489], // SOLIDUS - 0x30: [715,22,550,42,506], // DIGIT ZERO - 0x31: [716,-1,550,76,473], // DIGIT ONE - 0x32: [716,0,550,46,495], // DIGIT TWO - 0x33: [716,22,550,46,503], // DIGIT THREE - 0x34: [695,1,550,30,519], // DIGIT FOUR - 0x35: [694,22,550,37,494], // DIGIT FIVE - 0x36: [716,22,550,46,503], // DIGIT SIX - 0x37: [696,12,550,45,504], // DIGIT SEVEN - 0x38: [716,22,550,46,503], // DIGIT EIGHT - 0x39: [716,22,550,46,503], // DIGIT NINE - 0x3A: [458,0,306,80,226], // COLON - 0x3B: [458,107,306,80,226], // SEMICOLON - 0x3D: [407,-94,856,61,794], // EQUALS SIGN - 0x3F: [706,0,519,61,457], // QUESTION MARK - 0x40: [704,11,733,61,671], // COMMERCIAL AT - 0x41: [695,1,733,42,691], // LATIN CAPITAL LETTER A - 0x42: [695,-1,733,92,671], // LATIN CAPITAL LETTER B - 0x43: [704,11,703,61,647], // LATIN CAPITAL LETTER C - 0x44: [695,0,794,91,732], // LATIN CAPITAL LETTER D - 0x45: [692,0,642,92,596], // LATIN CAPITAL LETTER E - 0x46: [692,1,611,92,565], // LATIN CAPITAL LETTER F - 0x47: [705,11,733,61,659], // LATIN CAPITAL LETTER G - 0x48: [695,1,794,92,702], // LATIN CAPITAL LETTER H - 0x49: [695,1,331,85,246], // LATIN CAPITAL LETTER I - 0x4A: [695,22,519,46,427], // LATIN CAPITAL LETTER J - 0x4B: [695,1,764,92,701], // LATIN CAPITAL LETTER K - 0x4C: [695,0,581,92,535], // LATIN CAPITAL LETTER L - 0x4D: [695,1,978,92,886], // LATIN CAPITAL LETTER M - 0x4E: [695,1,794,92,702], // LATIN CAPITAL LETTER N - 0x4F: [716,22,794,62,731], // LATIN CAPITAL LETTER O - 0x50: [694,0,703,92,641], // LATIN CAPITAL LETTER P - 0x51: [716,106,794,62,732], // LATIN CAPITAL LETTER Q - 0x52: [695,1,703,92,654], // LATIN CAPITAL LETTER R - 0x53: [716,22,611,49,549], // LATIN CAPITAL LETTER S - 0x54: [689,1,733,40,693], // LATIN CAPITAL LETTER T - 0x55: [695,22,764,92,672], // LATIN CAPITAL LETTER U - 0x56: [695,-1,733,27,705], // LATIN CAPITAL LETTER V - 0x57: [695,1,1039,23,1014], // LATIN CAPITAL LETTER W - 0x58: [695,0,733,37,694], // LATIN CAPITAL LETTER X - 0x59: [695,1,733,23,708], // LATIN CAPITAL LETTER Y - 0x5A: [694,0,672,61,617], // LATIN CAPITAL LETTER Z - 0x5B: [751,251,343,78,318], // LEFT SQUARE BRACKET - 0x5D: [751,251,343,24,263], // RIGHT SQUARE BRACKET - 0x5E: [694,-537,550,108,441], // CIRCUMFLEX ACCENT - 0x5F: [-23,110,550,0,549], // LOW LINE - 0x61: [475,11,525,31,474], // LATIN SMALL LETTER A - 0x62: [695,11,561,54,523], // LATIN SMALL LETTER B - 0x63: [475,11,489,37,457], // LATIN SMALL LETTER C - 0x64: [695,11,561,37,507], // LATIN SMALL LETTER D - 0x65: [475,10,511,30,480], // LATIN SMALL LETTER E - 0x66: [705,1,336,28,382], // LATIN SMALL LETTER F - 0x67: [469,207,550,17,534], // LATIN SMALL LETTER G - 0x68: [695,1,561,53,509], // LATIN SMALL LETTER H - 0x69: [695,1,256,45,208], // LATIN SMALL LETTER I - 0x6A: [696,205,286,-71,233], // LATIN SMALL LETTER J - 0x6B: [695,1,531,63,496], // LATIN SMALL LETTER K - 0x6C: [695,1,256,54,201], // LATIN SMALL LETTER L - 0x6D: [469,1,867,53,816], // LATIN SMALL LETTER M - 0x6E: [468,1,561,53,509], // LATIN SMALL LETTER N - 0x6F: [475,11,550,32,518], // LATIN SMALL LETTER O - 0x70: [470,194,561,54,523], // LATIN SMALL LETTER P - 0x71: [470,195,561,37,507], // LATIN SMALL LETTER Q - 0x72: [469,0,372,54,356], // LATIN SMALL LETTER R - 0x73: [474,10,422,30,396], // LATIN SMALL LETTER S - 0x74: [590,10,404,20,374], // LATIN SMALL LETTER T - 0x75: [459,11,561,52,509], // LATIN SMALL LETTER U - 0x76: [459,0,500,26,473], // LATIN SMALL LETTER V - 0x77: [459,1,744,23,719], // LATIN SMALL LETTER W - 0x78: [459,1,500,23,475], // LATIN SMALL LETTER X - 0x79: [459,205,500,28,473], // LATIN SMALL LETTER Y - 0x7A: [458,1,476,31,443], // LATIN SMALL LETTER Z - 0x7E: [344,-197,550,92,457] // TILDE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Bold/BasicLatin.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js deleted file mode 100644 index b340624d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-bold'], - { - 0x300: [695,-537,0,-458,-218], // COMBINING GRAVE ACCENT - 0x301: [694,-536,0,-334,-93], // COMBINING ACUTE ACCENT - 0x302: [694,-537,0,-442,-109], // COMBINING CIRCUMFLEX ACCENT - 0x303: [694,-547,0,-458,-93], // COMBINING TILDE - 0x304: [660,-560,0,-474,-77], // COMBINING MACRON - 0x306: [695,-552,0,-470,-80], // COMBINING BREVE - 0x307: [695,-596,0,-357,-194], // COMBINING DOT ABOVE - 0x308: [696,-594,0,-459,-90], // COMBINING DIAERESIS - 0x30A: [694,-537,0,-365,-118], // COMBINING RING ABOVE - 0x30B: [695,-536,0,-440,-93], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [658,-500,0,-442,-109] // COMBINING CARON - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Bold/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js deleted file mode 100644 index aeb0dae3..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-bold'] = { - directory: 'SansSerif/Bold', - family: 'MathJax_SansSerif', - weight: 'bold', - testString: "MathJax SansSerif", - Ranges: [ - [0x0,0x7F,"BasicLatin"], - [0x80,0xFFFF,"Other"], - [0x300,0x36F,"CombDiacritMarks"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_SansSerif-bold"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Bold/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js deleted file mode 100644 index baa9c3d3..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +++ /dev/null @@ -1,47 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-bold'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x131: [459,1,256,54,201], // LATIN SMALL LETTER DOTLESS I - 0x237: [459,205,286,-71,232], // LATIN SMALL LETTER DOTLESS J - 0x393: [692,1,581,92,535], // GREEK CAPITAL LETTER GAMMA - 0x394: [695,0,917,60,856], // GREEK CAPITAL LETTER DELTA - 0x398: [716,22,856,62,793], // GREEK CAPITAL LETTER THETA - 0x39B: [695,1,672,41,630], // GREEK CAPITAL LETTER LAMDA - 0x39E: [688,1,733,45,687], // GREEK CAPITAL LETTER XI - 0x3A0: [691,1,794,92,702], // GREEK CAPITAL LETTER PI - 0x3A3: [695,0,794,61,733], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [716,1,856,61,794], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [695,0,794,62,732], // GREEK CAPITAL LETTER PHI - 0x3A8: [695,0,856,61,794], // GREEK CAPITAL LETTER PSI - 0x3A9: [716,1,794,48,745], // GREEK CAPITAL LETTER OMEGA - 0x2013: [327,-240,550,0,549], // EN DASH - 0x2014: [327,-240,1100,0,1099], // EM DASH - 0x2018: [695,-443,306,81,226], // LEFT SINGLE QUOTATION MARK - 0x2019: [694,-441,306,80,226], // RIGHT SINGLE QUOTATION MARK - 0x201C: [695,-443,558,138,521], // LEFT DOUBLE QUOTATION MARK - 0x201D: [694,-441,558,37,420] // RIGHT DOUBLE QUOTATION MARK - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Bold/Other.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js deleted file mode 100644 index bd65dca2..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +++ /dev/null @@ -1,115 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-italic'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x21: [694,0,319,110,355], // EXCLAMATION MARK - 0x22: [694,-471,500,133,472], // QUOTATION MARK - 0x23: [694,194,833,87,851], // NUMBER SIGN - 0x24: [750,56,500,56,565], // DOLLAR SIGN - 0x25: [750,56,833,165,815], // PERCENT SIGN - 0x26: [716,22,758,71,747], // AMPERSAND - 0x27: [694,-471,278,190,335], // APOSTROPHE - 0x28: [750,250,389,104,491], // LEFT PARENTHESIS - 0x29: [750,250,389,2,390], // RIGHT PARENTHESIS - 0x2A: [750,-305,500,156,569], // ASTERISK - 0x2B: [583,83,778,108,775], // PLUS SIGN - 0x2C: [98,125,278,63,209], // COMMA - 0x2D: [259,-186,333,51,332], // HYPHEN-MINUS - 0x2E: [98,0,278,90,209], // FULL STOP - 0x2F: [750,250,500,6,600], // SOLIDUS - 0x30: [678,23,500,88,549], // DIGIT ZERO - 0x31: [678,0,500,88,451], // DIGIT ONE - 0x32: [679,0,500,50,552], // DIGIT TWO - 0x33: [678,22,500,56,544], // DIGIT THREE - 0x34: [656,0,500,62,521], // DIGIT FOUR - 0x35: [656,22,500,50,555], // DIGIT FIVE - 0x36: [678,22,500,94,548], // DIGIT SIX - 0x37: [656,11,500,143,596], // DIGIT SEVEN - 0x38: [678,22,500,77,554], // DIGIT EIGHT - 0x39: [677,22,500,77,545], // DIGIT NINE - 0x3A: [444,0,278,90,282], // COLON - 0x3B: [444,125,278,63,282], // SEMICOLON - 0x3D: [370,-130,778,87,796], // EQUALS SIGN - 0x3F: [704,0,472,173,536], // QUESTION MARK - 0x40: [705,10,667,120,707], // COMMERCIAL AT - 0x41: [694,0,667,28,638], // LATIN CAPITAL LETTER A - 0x42: [694,0,667,90,696], // LATIN CAPITAL LETTER B - 0x43: [705,10,639,124,719], // LATIN CAPITAL LETTER C - 0x44: [694,0,722,88,747], // LATIN CAPITAL LETTER D - 0x45: [691,0,597,86,688], // LATIN CAPITAL LETTER E - 0x46: [691,0,569,86,673], // LATIN CAPITAL LETTER F - 0x47: [705,11,667,125,730], // LATIN CAPITAL LETTER G - 0x48: [694,0,708,86,768], // LATIN CAPITAL LETTER H - 0x49: [694,0,278,87,338], // LATIN CAPITAL LETTER I - 0x4A: [694,22,472,46,535], // LATIN CAPITAL LETTER J - 0x4B: [694,0,694,88,785], // LATIN CAPITAL LETTER K - 0x4C: [694,0,542,87,516], // LATIN CAPITAL LETTER L - 0x4D: [694,0,875,92,929], // LATIN CAPITAL LETTER M - 0x4E: [694,0,708,88,766], // LATIN CAPITAL LETTER N - 0x4F: [716,22,736,118,763], // LATIN CAPITAL LETTER O - 0x50: [694,0,639,88,690], // LATIN CAPITAL LETTER P - 0x51: [716,125,736,118,763], // LATIN CAPITAL LETTER Q - 0x52: [694,0,646,88,699], // LATIN CAPITAL LETTER R - 0x53: [716,22,556,54,609], // LATIN CAPITAL LETTER S - 0x54: [688,0,681,165,790], // LATIN CAPITAL LETTER T - 0x55: [694,22,688,130,747], // LATIN CAPITAL LETTER U - 0x56: [694,0,667,161,799], // LATIN CAPITAL LETTER V - 0x57: [694,0,944,160,1076], // LATIN CAPITAL LETTER W - 0x58: [694,0,667,14,758], // LATIN CAPITAL LETTER X - 0x59: [694,0,667,151,810], // LATIN CAPITAL LETTER Y - 0x5A: [694,0,611,55,702], // LATIN CAPITAL LETTER Z - 0x5B: [750,250,289,41,425], // LEFT SQUARE BRACKET - 0x5D: [750,250,289,-31,353], // RIGHT SQUARE BRACKET - 0x5E: [694,-527,500,190,533], // CIRCUMFLEX ACCENT - 0x5F: [-38,114,500,50,565], // LOW LINE - 0x61: [461,11,481,61,474], // LATIN SMALL LETTER A - 0x62: [694,11,517,75,539], // LATIN SMALL LETTER B - 0x63: [461,11,444,75,499], // LATIN SMALL LETTER C - 0x64: [694,11,517,73,588], // LATIN SMALL LETTER D - 0x65: [460,11,444,71,472], // LATIN SMALL LETTER E - 0x66: [705,0,306,94,494], // LATIN SMALL LETTER F - 0x67: [455,206,500,12,568], // LATIN SMALL LETTER G - 0x68: [694,0,517,73,513], // LATIN SMALL LETTER H - 0x69: [680,0,239,74,315], // LATIN SMALL LETTER I - 0x6A: [680,204,267,-96,336], // LATIN SMALL LETTER J - 0x6B: [694,0,489,76,543], // LATIN SMALL LETTER K - 0x6C: [694,0,239,74,311], // LATIN SMALL LETTER L - 0x6D: [455,0,794,73,790], // LATIN SMALL LETTER M - 0x6E: [454,0,517,73,513], // LATIN SMALL LETTER N - 0x6F: [461,11,500,69,523], // LATIN SMALL LETTER O - 0x70: [455,194,517,34,538], // LATIN SMALL LETTER P - 0x71: [455,194,517,72,538], // LATIN SMALL LETTER Q - 0x72: [455,0,342,74,424], // LATIN SMALL LETTER R - 0x73: [461,11,383,35,436], // LATIN SMALL LETTER S - 0x74: [571,11,361,97,410], // LATIN SMALL LETTER T - 0x75: [444,11,517,90,537], // LATIN SMALL LETTER U - 0x76: [444,0,461,108,540], // LATIN SMALL LETTER V - 0x77: [444,0,683,108,762], // LATIN SMALL LETTER W - 0x78: [444,0,461,1,537], // LATIN SMALL LETTER X - 0x79: [444,205,461,1,540], // LATIN SMALL LETTER Y - 0x7A: [444,0,435,28,494], // LATIN SMALL LETTER Z - 0x7E: [327,-193,500,199,560] // TILDE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Italic/BasicLatin.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js deleted file mode 100644 index 9fcc5d44..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-italic'], - { - 0x300: [694,-527,0,-270,-87], // COMBINING GRAVE ACCENT - 0x301: [694,-527,0,-190,63], // COMBINING ACUTE ACCENT - 0x302: [694,-527,0,-310,33], // COMBINING CIRCUMFLEX ACCENT - 0x303: [677,-543,0,-301,60], // COMBINING TILDE - 0x304: [631,-552,0,-314,64], // COMBINING MACRON - 0x306: [694,-508,0,-284,73], // COMBINING BREVE - 0x307: [680,-576,0,-180,-54], // COMBINING DOT ABOVE - 0x308: [680,-582,0,-273,40], // COMBINING DIAERESIS - 0x30A: [694,-527,0,-227,-2], // COMBINING RING ABOVE - 0x30B: [694,-527,0,-287,63], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [654,-487,0,-283,60] // COMBINING CARON - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Italic/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js deleted file mode 100644 index 50762347..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-italic'] = { - directory: 'SansSerif/Italic', - family: 'MathJax_SansSerif', - style: 'italic', - testString: "MathJax SansSerif", - Ranges: [ - [0x0,0x7F,"BasicLatin"], - [0x80,0xFFFF,"Other"], - [0x300,0x36F,"CombDiacritMarks"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_SansSerif-italic"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Italic/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js deleted file mode 100644 index 1f6d214f..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +++ /dev/null @@ -1,47 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-italic'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x131: [444,0,239,74,258], // LATIN SMALL LETTER DOTLESS I - 0x237: [444,204,267,-96,286], // LATIN SMALL LETTER DOTLESS J - 0x393: [691,0,542,87,646], // GREEK CAPITAL LETTER GAMMA - 0x394: [694,0,833,42,790], // GREEK CAPITAL LETTER DELTA - 0x398: [715,22,778,119,804], // GREEK CAPITAL LETTER THETA - 0x39B: [694,0,611,28,582], // GREEK CAPITAL LETTER LAMDA - 0x39E: [688,0,667,42,765], // GREEK CAPITAL LETTER XI - 0x3A0: [691,0,708,86,768], // GREEK CAPITAL LETTER PI - 0x3A3: [694,0,722,55,813], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [716,0,778,173,843], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [694,0,722,124,743], // GREEK CAPITAL LETTER PHI - 0x3A8: [694,0,778,171,854], // GREEK CAPITAL LETTER PSI - 0x3A9: [716,0,722,44,769], // GREEK CAPITAL LETTER OMEGA - 0x2013: [312,-236,500,50,565], // EN DASH - 0x2014: [312,-236,1000,50,1065], // EM DASH - 0x2018: [694,-471,278,190,336], // LEFT SINGLE QUOTATION MARK - 0x2019: [694,-471,278,190,335], // RIGHT SINGLE QUOTATION MARK - 0x201C: [694,-471,500,274,614], // LEFT DOUBLE QUOTATION MARK - 0x201D: [694,-471,500,133,472] // RIGHT DOUBLE QUOTATION MARK - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Italic/Other.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js deleted file mode 100644 index 929a9fc5..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +++ /dev/null @@ -1,115 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x21: [694,0,319,110,208], // EXCLAMATION MARK - 0x22: [694,-471,500,32,325], // QUOTATION MARK - 0x23: [694,194,833,55,777], // NUMBER SIGN - 0x24: [750,56,500,44,444], // DOLLAR SIGN - 0x25: [750,56,833,56,776], // PERCENT SIGN - 0x26: [716,23,758,42,703], // AMPERSAND - 0x27: [694,-471,278,89,188], // APOSTROPHE - 0x28: [750,250,389,74,333], // LEFT PARENTHESIS - 0x29: [750,250,389,55,314], // RIGHT PARENTHESIS - 0x2A: [750,-306,500,63,436], // ASTERISK - 0x2B: [583,83,778,55,722], // PLUS SIGN - 0x2C: [98,125,278,89,188], // COMMA - 0x2D: [259,-186,333,11,277], // HYPHEN-MINUS - 0x2E: [98,0,278,90,188], // FULL STOP - 0x2F: [751,250,500,56,445], // SOLIDUS - 0x30: [678,22,500,39,460], // DIGIT ZERO - 0x31: [678,0,500,83,430], // DIGIT ONE - 0x32: [677,0,500,42,450], // DIGIT TWO - 0x33: [678,22,500,42,457], // DIGIT THREE - 0x34: [656,0,500,28,471], // DIGIT FOUR - 0x35: [656,22,500,33,449], // DIGIT FIVE - 0x36: [678,22,500,42,457], // DIGIT SIX - 0x37: [656,11,500,42,457], // DIGIT SEVEN - 0x38: [678,22,500,43,456], // DIGIT EIGHT - 0x39: [678,22,500,42,457], // DIGIT NINE - 0x3A: [444,0,278,90,188], // COLON - 0x3B: [444,125,278,89,188], // SEMICOLON - 0x3D: [370,-130,778,55,722], // EQUALS SIGN - 0x3F: [704,0,472,55,416], // QUESTION MARK - 0x40: [704,11,667,56,612], // COMMERCIAL AT - 0x41: [694,0,667,28,638], // LATIN CAPITAL LETTER A - 0x42: [694,0,667,90,610], // LATIN CAPITAL LETTER B - 0x43: [705,11,639,59,587], // LATIN CAPITAL LETTER C - 0x44: [695,0,722,87,666], // LATIN CAPITAL LETTER D - 0x45: [691,0,597,86,554], // LATIN CAPITAL LETTER E - 0x46: [691,0,569,86,526], // LATIN CAPITAL LETTER F - 0x47: [704,11,667,59,599], // LATIN CAPITAL LETTER G - 0x48: [694,0,708,86,621], // LATIN CAPITAL LETTER H - 0x49: [694,0,278,87,191], // LATIN CAPITAL LETTER I - 0x4A: [694,22,472,42,389], // LATIN CAPITAL LETTER J - 0x4B: [694,0,694,88,651], // LATIN CAPITAL LETTER K - 0x4C: [694,0,542,87,499], // LATIN CAPITAL LETTER L - 0x4D: [694,0,875,92,782], // LATIN CAPITAL LETTER M - 0x4E: [694,0,708,88,619], // LATIN CAPITAL LETTER N - 0x4F: [715,22,736,55,680], // LATIN CAPITAL LETTER O - 0x50: [694,0,639,88,583], // LATIN CAPITAL LETTER P - 0x51: [715,125,736,55,680], // LATIN CAPITAL LETTER Q - 0x52: [694,0,646,88,617], // LATIN CAPITAL LETTER R - 0x53: [716,22,556,44,500], // LATIN CAPITAL LETTER S - 0x54: [688,0,681,36,644], // LATIN CAPITAL LETTER T - 0x55: [694,22,688,87,600], // LATIN CAPITAL LETTER U - 0x56: [694,0,667,14,652], // LATIN CAPITAL LETTER V - 0x57: [694,0,944,14,929], // LATIN CAPITAL LETTER W - 0x58: [694,0,667,14,652], // LATIN CAPITAL LETTER X - 0x59: [694,0,667,3,663], // LATIN CAPITAL LETTER Y - 0x5A: [694,0,611,55,560], // LATIN CAPITAL LETTER Z - 0x5B: [750,250,289,94,266], // LEFT SQUARE BRACKET - 0x5D: [750,250,289,22,194], // RIGHT SQUARE BRACKET - 0x5E: [694,-527,500,78,421], // CIRCUMFLEX ACCENT - 0x5F: [-38,114,500,0,499], // LOW LINE - 0x61: [461,11,481,38,408], // LATIN SMALL LETTER A - 0x62: [694,11,517,75,482], // LATIN SMALL LETTER B - 0x63: [460,10,444,34,415], // LATIN SMALL LETTER C - 0x64: [694,10,517,33,441], // LATIN SMALL LETTER D - 0x65: [461,10,444,28,415], // LATIN SMALL LETTER E - 0x66: [706,0,306,27,347], // LATIN SMALL LETTER F - 0x67: [455,206,500,28,485], // LATIN SMALL LETTER G - 0x68: [694,0,517,73,443], // LATIN SMALL LETTER H - 0x69: [680,0,239,67,171], // LATIN SMALL LETTER I - 0x6A: [680,205,267,-59,192], // LATIN SMALL LETTER J - 0x6B: [694,0,489,76,471], // LATIN SMALL LETTER K - 0x6C: [694,0,239,74,164], // LATIN SMALL LETTER L - 0x6D: [455,0,794,73,720], // LATIN SMALL LETTER M - 0x6E: [455,0,517,73,443], // LATIN SMALL LETTER N - 0x6F: [460,10,500,28,471], // LATIN SMALL LETTER O - 0x70: [456,194,517,75,483], // LATIN SMALL LETTER P - 0x71: [455,194,517,33,441], // LATIN SMALL LETTER Q - 0x72: [455,0,342,74,327], // LATIN SMALL LETTER R - 0x73: [460,10,383,28,360], // LATIN SMALL LETTER S - 0x74: [571,10,361,18,333], // LATIN SMALL LETTER T - 0x75: [444,11,517,73,443], // LATIN SMALL LETTER U - 0x76: [444,0,461,14,446], // LATIN SMALL LETTER V - 0x77: [444,0,683,14,668], // LATIN SMALL LETTER W - 0x78: [444,0,461,0,460], // LATIN SMALL LETTER X - 0x79: [444,205,461,14,446], // LATIN SMALL LETTER Y - 0x7A: [444,0,435,28,402], // LATIN SMALL LETTER Z - 0x7E: [327,-193,500,83,416] // TILDE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Regular/BasicLatin.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js deleted file mode 100644 index fce03c6e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +++ /dev/null @@ -1,38 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif'], - { - 0x300: [694,-527,0,-417,-199], // COMBINING GRAVE ACCENT - 0x301: [694,-527,0,-302,-84], // COMBINING ACUTE ACCENT - 0x302: [694,-527,0,-422,-79], // COMBINING CIRCUMFLEX ACCENT - 0x303: [677,-543,0,-417,-84], // COMBINING TILDE - 0x304: [631,-552,0,-431,-70], // COMBINING MACRON - 0x306: [694,-508,0,-427,-74], // COMBINING BREVE - 0x307: [680,-576,0,-302,-198], // COMBINING DOT ABOVE - 0x308: [680,-582,0,-397,-104], // COMBINING DIAERESIS - 0x30A: [694,-527,0,-319,-99], // COMBINING RING ABOVE - 0x30B: [694,-527,0,-399,-84], // COMBINING DOUBLE ACUTE ACCENT - 0x30C: [654,-487,0,-422,-79] // COMBINING CARON - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Regular/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js deleted file mode 100644 index a0dbad3c..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif'] = { - directory: 'SansSerif/Regular', - family: 'MathJax_SansSerif', - testString: "MathJax SansSerif", - Ranges: [ - [0x0,0x7F,"BasicLatin"], - [0x80,0xFFFF,"Other"], - [0x300,0x36F,"CombDiacritMarks"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_SansSerif"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js deleted file mode 100644 index 06b6263d..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +++ /dev/null @@ -1,47 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x131: [444,0,239,74,164], // LATIN SMALL LETTER DOTLESS I - 0x237: [444,205,267,-59,192], // LATIN SMALL LETTER DOTLESS J - 0x393: [691,0,542,87,499], // GREEK CAPITAL LETTER GAMMA - 0x394: [694,0,833,42,790], // GREEK CAPITAL LETTER DELTA - 0x398: [716,21,778,56,722], // GREEK CAPITAL LETTER THETA - 0x39B: [694,0,611,28,582], // GREEK CAPITAL LETTER LAMDA - 0x39E: [688,0,667,42,624], // GREEK CAPITAL LETTER XI - 0x3A0: [691,0,708,86,621], // GREEK CAPITAL LETTER PI - 0x3A3: [694,0,722,55,666], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [717,0,778,55,722], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [694,0,722,55,666], // GREEK CAPITAL LETTER PHI - 0x3A8: [694,0,778,55,722], // GREEK CAPITAL LETTER PSI - 0x3A9: [716,0,722,44,677], // GREEK CAPITAL LETTER OMEGA - 0x2013: [312,-236,500,0,499], // EN DASH - 0x2014: [312,-236,1000,0,999], // EM DASH - 0x2018: [694,-471,278,90,189], // LEFT SINGLE QUOTATION MARK - 0x2019: [694,-471,278,89,188], // RIGHT SINGLE QUOTATION MARK - 0x201C: [694,-471,500,174,467], // LEFT DOUBLE QUOTATION MARK - 0x201D: [694,-471,500,32,325] // RIGHT DOUBLE QUOTATION MARK - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Regular/Other.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js deleted file mode 100644 index 6a52511a..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +++ /dev/null @@ -1,54 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Script'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x41: [718,8,803,35,1017], // LATIN CAPITAL LETTER A - 0x42: [708,28,908,31,928], // LATIN CAPITAL LETTER B - 0x43: [728,26,666,26,819], // LATIN CAPITAL LETTER C - 0x44: [708,31,774,68,855], // LATIN CAPITAL LETTER D - 0x45: [708,8,562,46,719], // LATIN CAPITAL LETTER E - 0x46: [735,36,895,39,990], // LATIN CAPITAL LETTER F - 0x47: [717,38,610,12,739], // LATIN CAPITAL LETTER G - 0x48: [718,36,969,29,1241], // LATIN CAPITAL LETTER H - 0x49: [717,17,809,59,946], // LATIN CAPITAL LETTER I - 0x4A: [718,315,1052,92,1133], // LATIN CAPITAL LETTER J - 0x4B: [717,37,914,29,1204], // LATIN CAPITAL LETTER K - 0x4C: [718,18,874,14,1036], // LATIN CAPITAL LETTER L - 0x4D: [721,50,1080,30,1216], // LATIN CAPITAL LETTER M - 0x4E: [726,36,902,29,1208], // LATIN CAPITAL LETTER N - 0x4F: [707,8,738,96,805], // LATIN CAPITAL LETTER O - 0x50: [716,38,1013,89,1031], // LATIN CAPITAL LETTER P - 0x51: [717,17,883,54,885], // LATIN CAPITAL LETTER Q - 0x52: [717,17,850,-3,887], // LATIN CAPITAL LETTER R - 0x53: [708,36,868,29,1016], // LATIN CAPITAL LETTER S - 0x54: [735,37,747,92,996], // LATIN CAPITAL LETTER T - 0x55: [717,17,800,55,960], // LATIN CAPITAL LETTER U - 0x56: [717,17,622,56,850], // LATIN CAPITAL LETTER V - 0x57: [718,17,805,46,1026], // LATIN CAPITAL LETTER W - 0x58: [718,17,944,103,1132], // LATIN CAPITAL LETTER X - 0x59: [716,17,710,57,959], // LATIN CAPITAL LETTER Y - 0x5A: [718,16,821,82,1033] // LATIN CAPITAL LETTER Z - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Script/Regular/BasicLatin.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js deleted file mode 100644 index 94463280..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +++ /dev/null @@ -1,62 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Script'] = { - directory: 'Script/Regular', - family: 'MathJax_Script', - testString: "MATHJAX SCRIPT", - skew: { - 0x41: 0.389, - 0x42: 0.194, - 0x43: 0.278, - 0x44: 0.111, - 0x45: 0.139, - 0x46: 0.222, - 0x47: 0.25, - 0x48: 0.333, - 0x49: 0.333, - 0x4A: 0.417, - 0x4B: 0.361, - 0x4C: 0.306, - 0x4D: 0.444, - 0x4E: 0.389, - 0x4F: 0.167, - 0x50: 0.222, - 0x51: 0.278, - 0x52: 0.194, - 0x53: 0.333, - 0x54: 0.222, - 0x55: 0.25, - 0x56: 0.222, - 0x57: 0.25, - 0x58: 0.278, - 0x59: 0.194, - 0x5A: 0.306 - }, - Ranges: [ - [0x0,0x7F,"BasicLatin"], - [0x80,0xFFFF,"Other"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Script"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Script/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js deleted file mode 100644 index 635c3b41..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js +++ /dev/null @@ -1,28 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Script'], - { - 0xA0: [0,0,250,0,0] // NO-BREAK SPACE - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Script/Regular/Other.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js deleted file mode 100644 index 23de71b7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Size1'] = { - directory: 'Size1/Regular', - family: 'MathJax_Size1', - testString: "() [] {}", - 0x20: [0,0,250,0,0], // SPACE - 0x28: [850,349,458,152,422], // LEFT PARENTHESIS - 0x29: [851,349,458,35,305], // RIGHT PARENTHESIS - 0x2F: [850,349,578,55,522], // SOLIDUS - 0x5B: [850,349,417,202,394], // LEFT SQUARE BRACKET - 0x5C: [850,349,578,54,522], // REVERSE SOLIDUS - 0x5D: [850,349,417,22,214], // RIGHT SQUARE BRACKET - 0x7B: [850,349,583,104,477], // LEFT CURLY BRACKET - 0x7D: [851,349,583,104,477], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2C6: [744,-551,556,-8,564], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2DC: [722,-597,556,1,554], // SMALL TILDE - 0x302: [744,-551,0,-564,8], // COMBINING CIRCUMFLEX ACCENT - 0x303: [722,-597,0,-555,-2], // COMBINING TILDE - 0x2016: [602,0,778,257,521], // DOUBLE VERTICAL LINE - 0x2191: [600,0,667,112,555], // UPWARDS ARROW - 0x2193: [600,0,667,112,555], // DOWNWARDS ARROW - 0x21D1: [599,0,778,57,721], // UPWARDS DOUBLE ARROW - 0x21D3: [600,-1,778,57,721], // DOWNWARDS DOUBLE ARROW - 0x220F: [750,250,944,55,888], // N-ARY PRODUCT - 0x2210: [750,250,944,55,888], // N-ARY COPRODUCT - 0x2211: [751,250,1056,56,999], // N-ARY SUMMATION - 0x221A: [850,350,1000,111,1020], // SQUARE ROOT - 0x2223: [627,15,333,145,188], // DIVIDES - 0x2225: [627,15,556,145,410], // PARALLEL TO - 0x222B: [805,306,472,55,610], // INTEGRAL - 0x222C: [805,306,819,55,957], // DOUBLE INTEGRAL - 0x222D: [805,306,1166,55,1304], // TRIPLE INTEGRAL - 0x222E: [805,306,472,55,610], // CONTOUR INTEGRAL - 0x22C0: [750,249,833,55,777], // N-ARY LOGICAL AND - 0x22C1: [750,249,833,55,777], // N-ARY LOGICAL OR - 0x22C2: [750,249,833,54,777], // N-ARY INTERSECTION - 0x22C3: [750,250,833,55,777], // N-ARY UNION - 0x2308: [850,349,472,202,449], // LEFT CEILING - 0x2309: [850,349,472,22,269], // RIGHT CEILING - 0x230A: [850,349,472,202,449], // LEFT FLOOR - 0x230B: [850,349,472,22,269], // RIGHT FLOOR - 0x23D0: [602,0,667,312,355], // VERTICAL LINE EXTENSION (used to extend arrows) - 0x27E8: [850,350,472,97,394], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [850,350,472,77,374], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x2A00: [750,250,1111,56,1054], // N-ARY CIRCLED DOT OPERATOR - 0x2A01: [750,250,1111,56,1054], // N-ARY CIRCLED PLUS OPERATOR - 0x2A02: [750,250,1111,56,1054], // N-ARY CIRCLED TIMES OPERATOR - 0x2A04: [750,250,833,55,777], // N-ARY UNION OPERATOR WITH PLUS - 0x2A06: [750,249,833,55,777] // N-ARY SQUARE UNION OPERATOR -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Size1"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Size1/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js deleted file mode 100644 index 34cc2da7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +++ /dev/null @@ -1,66 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Size2'] = { - directory: 'Size2/Regular', - family: 'MathJax_Size2', - testString: "() [] {}", - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1150,649,597,180,561], // LEFT PARENTHESIS - 0x29: [1151,649,597,35,416], // RIGHT PARENTHESIS - 0x2F: [1150,649,811,55,755], // SOLIDUS - 0x5B: [1150,649,472,224,455], // LEFT SQUARE BRACKET - 0x5C: [1150,649,811,54,754], // REVERSE SOLIDUS - 0x5D: [1150,649,472,16,247], // RIGHT SQUARE BRACKET - 0x7B: [1150,649,667,119,547], // LEFT CURLY BRACKET - 0x7D: [1151,649,667,119,547], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2C6: [772,-565,1000,-5,1004], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2DC: [750,-611,1000,0,999], // SMALL TILDE - 0x302: [772,-565,0,-1005,4], // COMBINING CIRCUMFLEX ACCENT - 0x303: [750,-611,0,-1000,-1], // COMBINING TILDE - 0x220F: [950,450,1278,56,1221], // N-ARY PRODUCT - 0x2210: [950,450,1278,56,1221], // N-ARY COPRODUCT - 0x2211: [950,450,1444,55,1388], // N-ARY SUMMATION - 0x221A: [1150,650,1000,111,1020], // SQUARE ROOT - 0x222B: [1360,862,556,55,944], // INTEGRAL - 0x222C: [1361,862,1084,55,1473], // DOUBLE INTEGRAL - 0x222D: [1361,862,1592,55,1981], // TRIPLE INTEGRAL - 0x222E: [1360,862,556,55,944], // CONTOUR INTEGRAL - 0x22C0: [950,450,1111,55,1055], // N-ARY LOGICAL AND - 0x22C1: [950,450,1111,55,1055], // N-ARY LOGICAL OR - 0x22C2: [949,450,1111,55,1055], // N-ARY INTERSECTION - 0x22C3: [950,449,1111,55,1055], // N-ARY UNION - 0x2308: [1150,649,528,224,511], // LEFT CEILING - 0x2309: [1150,649,528,16,303], // RIGHT CEILING - 0x230A: [1150,649,528,224,511], // LEFT FLOOR - 0x230B: [1150,649,528,16,303], // RIGHT FLOOR - 0x27E8: [1150,649,611,112,524], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1150,649,611,85,498], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR - 0x2A01: [949,449,1511,56,1454], // N-ARY CIRCLED PLUS OPERATOR - 0x2A02: [949,449,1511,56,1454], // N-ARY CIRCLED TIMES OPERATOR - 0x2A04: [950,449,1111,55,1055], // N-ARY UNION OPERATOR WITH PLUS - 0x2A06: [950,450,1111,55,1055] // N-ARY SQUARE UNION OPERATOR -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Size2"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Size2/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js deleted file mode 100644 index cb6590c8..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +++ /dev/null @@ -1,50 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Size3'] = { - directory: 'Size3/Regular', - family: 'MathJax_Size3', - testString: "() [] {}", - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1450,949,736,209,701], // LEFT PARENTHESIS - 0x29: [1451,949,736,34,526], // RIGHT PARENTHESIS - 0x2F: [1450,949,1044,55,989], // SOLIDUS - 0x5B: [1450,949,528,247,516], // LEFT SQUARE BRACKET - 0x5C: [1450,949,1044,56,988], // REVERSE SOLIDUS - 0x5D: [1450,949,528,11,280], // RIGHT SQUARE BRACKET - 0x7B: [1450,949,750,130,618], // LEFT CURLY BRACKET - 0x7D: [1451,949,750,131,618], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2C6: [772,-564,1444,-4,1447], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2DC: [749,-610,1444,1,1442], // SMALL TILDE - 0x302: [772,-564,0,-1448,3], // COMBINING CIRCUMFLEX ACCENT - 0x303: [749,-610,0,-1443,-2], // COMBINING TILDE - 0x221A: [1450,951,1000,111,1020], // SQUARE ROOT - 0x2308: [1450,949,583,246,571], // LEFT CEILING - 0x2309: [1450,949,583,11,336], // RIGHT CEILING - 0x230A: [1450,949,583,246,571], // LEFT FLOOR - 0x230B: [1450,949,583,11,336], // RIGHT FLOOR - 0x27E8: [1450,950,750,126,654], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1450,950,750,94,623] // MATHEMATICAL RIGHT ANGLE BRACKET -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Size3"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Size3/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js deleted file mode 100644 index e0ea9c20..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +++ /dev/null @@ -1,77 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Size4'] = { - directory: 'Size4/Regular', - family: 'MathJax_Size4', - testString: "() [] {}", - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1750,1249,792,237,758], // LEFT PARENTHESIS - 0x29: [1751,1250,792,33,554], // RIGHT PARENTHESIS - 0x2F: [1750,1249,1278,56,1221], // SOLIDUS - 0x5B: [1750,1249,583,269,577], // LEFT SQUARE BRACKET - 0x5C: [1750,1249,1278,56,1221], // REVERSE SOLIDUS - 0x5D: [1750,1249,583,5,313], // RIGHT SQUARE BRACKET - 0x7B: [1750,1249,806,144,662], // LEFT CURLY BRACKET - 0x7D: [1751,1249,806,144,662], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2C6: [845,-561,1889,-14,1902], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2DC: [823,-583,1889,1,1885], // SMALL TILDE - 0x302: [845,-561,0,-1903,13], // COMBINING CIRCUMFLEX ACCENT - 0x303: [823,-583,0,-1888,-4], // COMBINING TILDE - 0x221A: [1750,1251,1000,111,1020], // SQUARE ROOT - 0x2308: [1750,1249,639,269,633], // LEFT CEILING - 0x2309: [1750,1249,639,5,369], // RIGHT CEILING - 0x230A: [1750,1249,639,269,633], // LEFT FLOOR - 0x230B: [1750,1249,639,5,369], // RIGHT FLOOR - 0x239B: [1155,655,875,290,843], // LEFT PARENTHESIS UPPER HOOK - 0x239C: [610,10,875,291,417], // LEFT PARENTHESIS EXTENSION - 0x239D: [1165,644,875,291,843], // LEFT PARENTHESIS LOWER HOOK - 0x239E: [1155,655,875,31,583], // RIGHT PARENTHESIS UPPER HOOK - 0x239F: [610,10,875,457,583], // RIGHT PARENTHESIS EXTENSION - 0x23A0: [1165,645,875,31,583], // RIGHT PARENTHESIS LOWER HOOK - 0x23A1: [1154,645,667,319,666], // LEFT SQUARE BRACKET UPPER CORNER - 0x23A2: [602,0,667,319,403], // LEFT SQUARE BRACKET EXTENSION - 0x23A3: [1155,644,667,319,666], // LEFT SQUARE BRACKET LOWER CORNER - 0x23A4: [1154,645,667,0,347], // RIGHT SQUARE BRACKET UPPER CORNER - 0x23A5: [602,0,667,263,347], // RIGHT SQUARE BRACKET EXTENSION - 0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER - 0x23A7: [899,10,889,383,719], // LEFT CURLY BRACKET UPPER HOOK - 0x23A8: [1160,660,889,170,505], // LEFT CURLY BRACKET MIDDLE PIECE - 0x23A9: [10,899,889,384,718], // LEFT CURLY BRACKET LOWER HOOK - 0x23AA: [310,10,889,383,504], // CURLY BRACKET EXTENSION - 0x23AB: [900,11,889,170,504], // RIGHT CURLY BRACKET UPPER HOOK - 0x23AC: [1160,660,889,384,718], // RIGHT CURLY BRACKET MIDDLE PIECE - 0x23AD: [10,899,889,170,505], // RIGHT CURLY BRACKET LOWER HOOK - 0x23B7: [935,885,1056,111,742], // RADICAL SYMBOL BOTTOM - 0x27E8: [1750,1249,806,140,703], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1751,1249,806,103,665], // MATHEMATICAL RIGHT ANGLE BRACKET - 0xE000: [625,15,1056,702,742], // MJ-TeX: radical symbol vertical extender - 0xE001: [605,15,1056,702,1076], // MJ-TeX: radical symbol top corner piece - 0xE150: [120,213,450,-24,461], // MJ-TeX: horizontal brace, down left piece - 0xE151: [120,214,450,-11,475], // MJ-TeX: horizontal brace, down right piece - 0xE152: [333,0,450,-24,461], // MJ-TeX: horizontal brace, upper left piece - 0xE153: [333,0,450,-11,475], // MJ-TeX: horizontal brace, upper right piece - 0xE154: [120,0,400,-10,410] // MJ-TeX: horizontal brace, extender -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Size4"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Size4/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js deleted file mode 100644 index a40c3d93..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +++ /dev/null @@ -1,123 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Typewriter'], - { - 0x20: [0,0,250,0,0], // SPACE - 0x21: [622,0,525,206,320], // EXCLAMATION MARK - 0x22: [623,-333,525,122,402], // QUOTATION MARK - 0x23: [612,0,525,36,490], // NUMBER SIGN - 0x24: [695,83,525,58,467], // DOLLAR SIGN - 0x25: [694,83,525,35,489], // PERCENT SIGN - 0x26: [622,11,525,28,490], // AMPERSAND - 0x27: [611,-287,525,175,349], // APOSTROPHE - 0x28: [695,83,525,166,437], // LEFT PARENTHESIS - 0x29: [694,82,525,87,358], // RIGHT PARENTHESIS - 0x2A: [520,-90,525,68,456], // ASTERISK - 0x2B: [531,-81,525,38,487], // PLUS SIGN - 0x2C: [140,139,525,173,353], // COMMA - 0x2D: [341,-271,525,56,468], // HYPHEN-MINUS - 0x2E: [140,-1,525,193,332], // FULL STOP - 0x2F: [694,83,525,58,466], // SOLIDUS - 0x30: [621,10,525,42,482], // DIGIT ZERO - 0x31: [622,0,525,98,450], // DIGIT ONE - 0x32: [623,-1,525,52,473], // DIGIT TWO - 0x33: [622,12,525,44,479], // DIGIT THREE - 0x34: [624,-1,525,28,496], // DIGIT FOUR - 0x35: [611,10,525,52,472], // DIGIT FIVE - 0x36: [622,11,525,45,480], // DIGIT SIX - 0x37: [628,10,525,43,480], // DIGIT SEVEN - 0x38: [621,10,525,45,479], // DIGIT EIGHT - 0x39: [622,11,525,45,479], // DIGIT NINE - 0x3A: [431,-1,525,193,332], // COLON - 0x3B: [431,139,525,175,337], // SEMICOLON - 0x3C: [557,-55,525,57,468], // LESS-THAN SIGN - 0x3D: [417,-195,525,37,487], // EQUALS SIGN - 0x3E: [557,-55,525,57,468], // GREATER-THAN SIGN - 0x3F: [617,0,525,62,462], // QUESTION MARK - 0x40: [617,6,525,44,481], // COMMERCIAL AT - 0x41: [624,0,525,27,497], // LATIN CAPITAL LETTER A - 0x42: [611,-1,525,16,482], // LATIN CAPITAL LETTER B - 0x43: [622,11,525,40,485], // LATIN CAPITAL LETTER C - 0x44: [612,-1,525,15,485], // LATIN CAPITAL LETTER D - 0x45: [611,-1,525,18,503], // LATIN CAPITAL LETTER E - 0x46: [611,-1,525,21,491], // LATIN CAPITAL LETTER F - 0x47: [622,11,525,38,497], // LATIN CAPITAL LETTER G - 0x48: [612,-1,525,16,508], // LATIN CAPITAL LETTER H - 0x49: [611,-1,525,71,453], // LATIN CAPITAL LETTER I - 0x4A: [611,11,525,56,479], // LATIN CAPITAL LETTER J - 0x4B: [612,-1,525,18,496], // LATIN CAPITAL LETTER K - 0x4C: [612,1,525,25,489], // LATIN CAPITAL LETTER L - 0x4D: [612,0,525,11,513], // LATIN CAPITAL LETTER M - 0x4E: [612,1,525,20,504], // LATIN CAPITAL LETTER N - 0x4F: [621,11,525,56,468], // LATIN CAPITAL LETTER O - 0x50: [612,-1,525,18,481], // LATIN CAPITAL LETTER P - 0x51: [621,138,525,56,468], // LATIN CAPITAL LETTER Q - 0x52: [612,11,525,16,522], // LATIN CAPITAL LETTER R - 0x53: [622,12,525,51,472], // LATIN CAPITAL LETTER S - 0x54: [611,-1,525,26,499], // LATIN CAPITAL LETTER T - 0x55: [611,11,525,-4,528], // LATIN CAPITAL LETTER U - 0x56: [611,8,525,18,506], // LATIN CAPITAL LETTER V - 0x57: [612,8,525,11,513], // LATIN CAPITAL LETTER W - 0x58: [612,-1,525,27,496], // LATIN CAPITAL LETTER X - 0x59: [612,-1,525,19,505], // LATIN CAPITAL LETTER Y - 0x5A: [611,-1,525,47,482], // LATIN CAPITAL LETTER Z - 0x5B: [695,82,525,213,484], // LEFT SQUARE BRACKET - 0x5C: [694,83,525,58,466], // REVERSE SOLIDUS - 0x5D: [696,82,525,41,310], // RIGHT SQUARE BRACKET - 0x5E: [612,-459,525,95,428], // CIRCUMFLEX ACCENT - 0x5F: [-25,95,525,56,468], // LOW LINE - 0x60: [681,-357,525,176,350], // GRAVE ACCENT - 0x61: [439,6,525,48,525], // LATIN SMALL LETTER A - 0x62: [612,6,525,4,492], // LATIN SMALL LETTER B - 0x63: [441,6,525,66,466], // LATIN SMALL LETTER C - 0x64: [612,6,525,31,520], // LATIN SMALL LETTER D - 0x65: [440,6,525,48,464], // LATIN SMALL LETTER E - 0x66: [617,-1,525,34,437], // LATIN SMALL LETTER F - 0x67: [442,229,525,28,509], // LATIN SMALL LETTER G - 0x68: [612,-1,525,4,520], // LATIN SMALL LETTER H - 0x69: [612,-1,525,71,463], // LATIN SMALL LETTER I - 0x6A: [612,228,525,48,377], // LATIN SMALL LETTER J - 0x6B: [612,0,525,12,508], // LATIN SMALL LETTER K - 0x6C: [611,-1,525,50,475], // LATIN SMALL LETTER L - 0x6D: [437,0,525,-13,536], // LATIN SMALL LETTER M - 0x6E: [437,-1,525,4,520], // LATIN SMALL LETTER N - 0x6F: [440,6,525,52,472], // LATIN SMALL LETTER O - 0x70: [437,221,525,4,492], // LATIN SMALL LETTER P - 0x71: [438,222,525,34,546], // LATIN SMALL LETTER Q - 0x72: [437,0,525,24,487], // LATIN SMALL LETTER R - 0x73: [440,6,525,71,458], // LATIN SMALL LETTER S - 0x74: [555,6,525,25,448], // LATIN SMALL LETTER T - 0x75: [432,5,525,4,520], // LATIN SMALL LETTER U - 0x76: [432,5,525,24,500], // LATIN SMALL LETTER V - 0x77: [432,5,525,15,509], // LATIN SMALL LETTER W - 0x78: [432,-1,525,28,496], // LATIN SMALL LETTER X - 0x79: [432,228,525,25,500], // LATIN SMALL LETTER Y - 0x7A: [431,-1,525,33,476], // LATIN SMALL LETTER Z - 0x7B: [694,84,525,49,475], // LEFT CURLY BRACKET - 0x7C: [694,82,525,228,297], // VERTICAL LINE - 0x7D: [695,83,525,49,476], // RIGHT CURLY BRACKET - 0x7E: [611,-466,525,87,437], // TILDE - 0x7F: [612,-518,525,104,421] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Typewriter/Regular/BasicLatin.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js deleted file mode 100644 index c061c986..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Typewriter'], - { - 0x300: [611,-485,0,-409,-195], // COMBINING GRAVE ACCENT - 0x301: [611,-485,0,-331,-117], // COMBINING ACUTE ACCENT - 0x302: [612,-459,0,-430,-97], // COMBINING CIRCUMFLEX ACCENT - 0x303: [611,-466,0,-438,-88], // COMBINING TILDE - 0x304: [578,-500,0,-453,-74], // COMBINING MACRON - 0x306: [612,-503,0,-446,-78], // COMBINING BREVE - 0x308: [612,-518,0,-421,-104], // COMBINING DIAERESIS - 0x30A: [619,-499,0,-344,-182], // COMBINING RING ABOVE - 0x30C: [577,-449,0,-428,-99] // COMBINING CARON - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Typewriter/Regular/CombDiacritMarks.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js deleted file mode 100644 index 7d50bcf3..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +++ /dev/null @@ -1,35 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Typewriter'] = { - directory: 'Typewriter/Regular', - family: 'MathJax_Typewriter', - testString: "MathJax Typewriter", - Ranges: [ - [0x0,0x7F,"BasicLatin"], - [0x80,0xFFFF,"Other"], - [0x300,0x36F,"CombDiacritMarks"] - ] - -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_Typewriter"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Typewriter/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js deleted file mode 100644 index 8bb97c92..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +++ /dev/null @@ -1,44 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Typewriter'], - { - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x131: [432,-1,525,71,463], // LATIN SMALL LETTER DOTLESS I - 0x237: [432,228,525,48,377], // LATIN SMALL LETTER DOTLESS J - 0x393: [612,1,525,25,489], // GREEK CAPITAL LETTER GAMMA - 0x394: [623,0,525,35,489], // GREEK CAPITAL LETTER DELTA - 0x398: [621,11,525,56,468], // GREEK CAPITAL LETTER THETA - 0x39B: [623,-1,525,29,496], // GREEK CAPITAL LETTER LAMDA - 0x39E: [611,-1,525,32,492], // GREEK CAPITAL LETTER XI - 0x3A0: [611,-1,525,16,508], // GREEK CAPITAL LETTER PI - 0x3A3: [612,-1,525,40,485], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [623,-1,525,38,487], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [611,-1,525,41,483], // GREEK CAPITAL LETTER PHI - 0x3A8: [611,-1,525,36,487], // GREEK CAPITAL LETTER PSI - 0x3A9: [622,0,525,31,493], // GREEK CAPITAL LETTER OMEGA - 0x7E2: [611,-287,525,175,349], // ?? - 0x7E3: [681,-357,525,176,350], // ?? - 0x2032: [623,-334,525,211,313] // PRIME - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Typewriter/Regular/Other.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js deleted file mode 100644 index b3e28afb..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +++ /dev/null @@ -1,43 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_WinChrome'] = { - directory: 'WinChrome/Regular', - family: 'MathJax_WinChrome', - testString: "> T d "+String.fromCharCode(0x23A6)+" "+String.fromCharCode(0x2A00), - skew: { - 0x54: 0.0278, - 0xE2F0: 0.0319 - }, - 0x20: [0,0,250,0,0], // SPACE - 0x3E: [540,40,778,82,694], // GREATER-THAN SIGN - 0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T - 0x64: [694,11,511,100,567], // LATIN SMALL LETTER D - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x22C3: [750,250,833,55,777], // N-ARY UNION - 0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER - 0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR - 0xE2F0: [720,69,644,38,947], // ?? - 0xE2F1: [587,85,894,95,797] // ?? -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_WinChrome"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/WinChrome/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js deleted file mode 100644 index fc57212e..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +++ /dev/null @@ -1,56 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_WinIE6'], - { - 0xE2C0: [438,-63,500,57,417], // ?? - 0xE2C1: [438,-63,500,64,422], // ?? - 0xE2C2: [430,23,222,91,131], // ?? - 0xE2C3: [431,23,389,55,331], // ?? - 0xE2C4: [365,-132,778,55,719], // ?? - 0xE2C5: [753,175,778,83,694], // ?? - 0xE2C6: [753,175,778,82,694], // ?? - 0xE2C7: [708,209,778,82,693], // ?? - 0xE2C8: [708,209,778,82,694], // ?? - 0xE2CA: [694,-306,500,54,444], // ?? - 0xE2CB: [695,-306,500,55,444], // ?? - 0xE2CC: [367,23,500,54,444], // ?? - 0xE2CD: [366,22,500,55,445], // ?? - 0xE2CE: [694,195,889,0,860], // ?? - 0xE2CF: [694,195,889,0,860], // ?? - 0xE2D0: [689,0,778,55,722], // ?? - 0xE2D1: [689,0,778,55,722], // ?? - 0xE2D2: [575,20,722,84,637], // ?? - 0xE2D3: [575,20,722,84,637], // ?? - 0xE2D4: [539,41,778,83,694], // ?? - 0xE2D5: [576,20,722,84,638], // ?? - 0xE2D6: [576,20,722,84,638], // ?? - 0xE2D7: [539,41,778,83,694], // ?? - 0xE2D8: [716,132,667,56,612], // ?? - 0xE2D9: [471,82,667,24,643], // ?? - 0xE2DA: [471,82,667,23,643], // ?? - 0xE2DB: [601,101,778,15,762], // ?? - 0xE2DC: [695,111,944,49,896], // ?? - 0xE2DD: [367,-133,778,56,722] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/WinIE6/Regular/AMS.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js deleted file mode 100644 index fc40d961..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +++ /dev/null @@ -1,82 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.Hub.Insert( - MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_WinIE6'], - { - 0xE240: [519,18,1150,64,1085], // ?? - 0xE241: [694,193,575,13,562], // ?? - 0xE242: [519,18,1150,65,1085], // ?? - 0xE243: [694,194,575,13,562], // ?? - 0xE244: [519,18,1150,64,1085], // ?? - 0xE245: [767,267,575,13,562], // ?? - 0xE246: [724,195,1150,64,1084], // ?? - 0xE247: [724,193,1150,64,1086], // ?? - 0xE248: [695,224,1150,65,1085], // ?? - 0xE249: [694,224,1150,64,1085], // ?? - 0xE24A: [548,47,1150,64,1084], // ?? - 0xE24B: [548,46,1150,47,1102], // ?? - 0xE24C: [694,16,639,0,640], // ?? - 0xE24D: [710,17,628,60,657], // ?? - 0xE24E: [694,-1,639,64,574], // ?? - 0xE24F: [686,24,958,56,901], // ?? - 0xE250: [587,86,767,97,670], // ?? - 0xE251: [588,86,767,95,670], // ?? - 0xE252: [750,250,575,63,511], // ?? - 0xE253: [820,180,958,78,989], // ?? - 0xE254: [451,8,894,65,831], // ?? - 0xE255: [452,8,1150,65,1084], // ?? - 0xE256: [715,0,722,55,676], // ?? - 0xE257: [750,249,319,129,190], // ?? - 0xE258: [750,248,575,145,430], // ?? - 0xE259: [604,17,767,64,702], // ?? - 0xE25A: [604,17,767,64,702], // ?? - 0xE25B: [603,16,767,64,702], // ?? - 0xE25C: [604,16,767,64,702], // ?? - 0xE25D: [711,211,569,64,632], // ?? - 0xE25E: [391,-109,894,64,828], // ?? - 0xE25F: [524,-32,894,64,829], // ?? - 0xE260: [712,210,894,64,830], // ?? - 0xE261: [505,3,894,64,829], // ?? - 0xE262: [697,199,894,96,797], // ?? - 0xE263: [697,199,894,96,797], // ?? - 0xE264: [618,117,1150,64,1085], // ?? - 0xE265: [619,116,1150,64,1085], // ?? - 0xE266: [587,85,894,96,797], // ?? - 0xE267: [587,86,894,96,797], // ?? - 0xE268: [697,199,894,96,797], // ?? - 0xE269: [697,199,894,96,797], // ?? - 0xE26A: [632,132,894,64,828], // ?? - 0xE26B: [632,132,894,64,828], // ?? - 0xE26C: [693,-1,894,64,829], // ?? - 0xE26D: [711,-1,1022,68,953], // ?? - 0xE26E: [500,210,1022,68,953], // ?? - 0xE26F: [711,211,1150,65,1084], // ?? - 0xE270: [720,130,894,63,829], // ?? - 0xE271: [711,24,894,65,828], // ?? - 0xE272: [719,154,894,64,828], // ?? - 0xE273: [720,130,894,32,861], // ?? - 0xE274: [750,17,447,63,382], // ?? - 0xE275: [741,223,447,56,390], // ?? - 0xE276: [724,224,447,63,383] // ?? - } -); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/WinIE6/Regular/Bold.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js deleted file mode 100644 index 49dffa31..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +++ /dev/null @@ -1,111 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_WinIE6'] = { - directory: 'WinIE6/Regular', - family: 'MathJax_WinIE6', - testString: String.fromCharCode(0xE247)+" "+String.fromCharCode(0xE257)+" "+String.fromCharCode(0xE2CF), - skew: { - 0xE20D: 0.0833, - 0xE24D: 0.0958 - }, - Ranges: [ - [0xE240,0xE27F,"Bold"], - [0xE2C0,0xE2DF,"AMS"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xE200: [511,12,1000,54,944], // ?? - 0xE201: [694,194,500,17,483], // ?? - 0xE202: [512,11,1000,55,945], // ?? - 0xE203: [694,194,500,17,483], // ?? - 0xE204: [511,11,1000,55,945], // ?? - 0xE205: [772,272,500,17,483], // ?? - 0xE206: [720,196,1000,29,944], // ?? - 0xE207: [720,195,1000,55,970], // ?? - 0xE208: [695,220,1000,55,970], // ?? - 0xE209: [695,220,1000,29,944], // ?? - 0xE20A: [525,25,1000,55,944], // ?? - 0xE20B: [525,25,1000,34,966], // ?? - 0xE20C: [694,22,556,0,556], // ?? - 0xE20D: [715,22,531,41,566], // ?? - 0xE20E: [694,0,556,55,500], // ?? - 0xE20F: [683,33,833,46,786], // ?? - 0xE210: [541,41,667,84,584], // ?? - 0xE211: [541,40,667,83,582], // ?? - 0xE212: [751,250,500,56,445], // ?? - 0xE213: [800,200,833,72,853], // ?? - 0xE214: [442,11,778,56,722], // ?? - 0xE215: [442,11,1000,55,944], // ?? - 0xE216: [694,0,722,55,666], // ?? - 0xE217: [750,250,278,119,159], // ?? - 0xE218: [750,250,500,132,367], // ?? - 0xE219: [598,22,667,55,611], // ?? - 0xE21A: [598,22,667,55,611], // ?? - 0xE21B: [598,22,667,55,611], // ?? - 0xE21C: [599,22,667,55,611], // ?? - 0xE21D: [716,216,417,55,472], // ?? - 0xE21E: [367,-133,778,55,722], // ?? - 0xE21F: [483,-55,778,55,722], // ?? - 0xE220: [716,215,778,55,722], // ?? - 0xE221: [464,-36,778,55,722], // ?? - 0xE222: [636,138,778,83,694], // ?? - 0xE223: [636,138,778,82,694], // ?? - 0xE224: [568,68,1000,56,944], // ?? - 0xE225: [567,67,1000,55,945], // ?? - 0xE226: [540,41,778,84,695], // ?? - 0xE227: [541,40,778,82,693], // ?? - 0xE228: [636,139,778,84,695], // ?? - 0xE229: [637,138,778,83,693], // ?? - 0xE22A: [583,83,778,56,722], // ?? - 0xE22B: [583,83,778,56,722], // ?? - 0xE22C: [668,0,778,55,723], // ?? - 0xE22D: [716,0,889,59,828], // ?? - 0xE22E: [500,215,889,59,828], // ?? - 0xE22F: [715,215,1000,56,944], // ?? - 0xE230: [727,131,778,55,723], // ?? - 0xE231: [716,33,778,55,723], // ?? - 0xE232: [727,163,778,55,723], // ?? - 0xE233: [726,131,778,28,750], // ?? - 0xE234: [751,22,389,54,333], // ?? - 0xE235: [734,223,389,65,324], // ?? - 0xE236: [723,223,389,54,334], // ?? - 0xE280: [0,1000,944,55,888], // ?? - 0xE281: [1,1000,1056,56,999], // ?? - 0xE282: [40,1160,1000,111,1020], // ?? - 0xE283: [21,621,333,145,188], // ?? - 0xE284: [21,621,556,145,410], // ?? - 0xE285: [0,1111,472,55,610], // ?? - 0xE286: [0,1111,472,55,610], // ?? - 0xE287: [0,600,667,112,555], // ?? - 0xE288: [0,600,667,112,555], // ?? - 0xE289: [1,601,667,312,355], // ?? - 0xE290: [0,1400,1278,56,1221], // ?? - 0xE291: [0,1400,1444,55,1388], // ?? - 0xE292: [40,1760,1000,111,1020], // ?? - 0xE295: [0,2222,556,55,944], // ?? - 0xE296: [0,2222,556,55,944], // ?? - 0xE2A2: [40,2361,1000,111,1020], // ?? - 0xE2B2: [40,2961,1000,111,1020] // ?? -}; - -MathJax.OutputJax["HTML-CSS"].initFont("MathJax_WinIE6"); - -MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/WinIE6/Regular/Main.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js deleted file mode 100644 index 17a8c451..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +++ /dev/null @@ -1,1691 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js - * - * Initializes the HTML-CSS OutputJax to use the MathJax TeX fonts - * for displaying mathematics. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (HTMLCSS,MML,AJAX) { - - var MAIN = "MathJax_Main", - BOLD = "MathJax_Main-bold", - ITALIC = "MathJax_Math-italic", - AMS = "MathJax_AMS", - SIZE1 = "MathJax_Size1", - SIZE2 = "MathJax_Size2", - SIZE3 = "MathJax_Size3", - SIZE4 = "MathJax_Size4"; - var H = "H", V = "V"; - - HTMLCSS.Augment({ - FONTDATA: { - TeX_factor: 1, // TeX em's to font em's - baselineskip: 1.2, - lineH: .8, lineD: .2, - - hasStyleChar: true, // char 0xEFFD encodes font style - - FONTS: { - "MathJax_Main": "Main/Regular/Main.js", - "MathJax_Main-bold": "Main/Bold/Main.js", - "MathJax_Main-italic": "Main/Italic/Main.js", - "MathJax_Math-italic": "Math/Italic/Main.js", - "MathJax_Math-bold-italic": "Math/BoldItalic/Main.js", - "MathJax_Caligraphic": "Caligraphic/Regular/Main.js", - "MathJax_Size1": "Size1/Regular/Main.js", - "MathJax_Size2": "Size2/Regular/Main.js", - "MathJax_Size3": "Size3/Regular/Main.js", - "MathJax_Size4": "Size4/Regular/Main.js", - "MathJax_AMS": "AMS/Regular/Main.js", - "MathJax_Fraktur": "Fraktur/Regular/Main.js", - "MathJax_Fraktur-bold": "Fraktur/Bold/Main.js", - "MathJax_SansSerif": "SansSerif/Regular/Main.js", - "MathJax_SansSerif-bold": "SansSerif/Bold/Main.js", - "MathJax_SansSerif-italic": "SansSerif/Italic/Main.js", - "MathJax_Script": "Script/Regular/Main.js", - "MathJax_Typewriter": "Typewriter/Regular/Main.js" - }, - - DEFAULTFAMILY: MAIN, DEFAULTWEIGHT: "normal", DEFAULTSTYLE: "normal", - - VARIANT: { - "normal": {fonts:[MAIN,SIZE1,AMS]}, - "bold": {fonts:[BOLD,SIZE1,AMS]}, - "italic": {fonts:[ITALIC,"MathJax_Main-italic",MAIN,SIZE1,AMS], - offsetN: 0x30, variantN: "normal"}, - "bold-italic": {fonts:["MathJax_Math-bold-italic",BOLD,SIZE1,AMS]}, - "double-struck": {fonts:[AMS, MAIN]}, - "fraktur": {fonts:["MathJax_Fraktur",MAIN,SIZE1,AMS]}, - "bold-fraktur": {fonts:["MathJax_Fraktur-bold",BOLD,SIZE1,AMS]}, - "script": {fonts:["MathJax_Script",MAIN,SIZE1,AMS]}, - "bold-script": {fonts:["MathJax_Script",BOLD,SIZE1,AMS]}, - "sans-serif": {fonts:["MathJax_SansSerif",MAIN,SIZE1,AMS]}, - "bold-sans-serif": {fonts:["MathJax_SansSerif-bold",BOLD,SIZE1,AMS]}, - "sans-serif-italic": {fonts:["MathJax_SansSerif-italic","MathJax_Main-italic",SIZE1,AMS]}, - "sans-serif-bold-italic": {fonts:["MathJax_SansSerif-italic","MathJax_Main-italic",SIZE1,AMS]}, - "monospace": {fonts:["MathJax_Typewriter",MAIN,SIZE1,AMS]}, - "-tex-caligraphic": {fonts:["MathJax_Caligraphic",MAIN], offsetA: 0x41, variantA: "italic"}, - "-tex-oldstyle": {fonts:["MathJax_Caligraphic",MAIN]}, - "-largeOp": {fonts:[SIZE2,SIZE1,MAIN]}, - "-smallOp": {fonts:[SIZE1,MAIN]} - }, - - RANGES: [ - {name: "alpha", low: 0x61, high: 0x7A, offset: "A", add: 32}, - {name: "number", low: 0x30, high: 0x39, offset: "N"} - ], - - RULECHAR: 0x2212, - - REMAP: { - 0x203E: 0x2C9, // overline - 0x20D0: 0x21BC, 0x20D1: 0x21C0, // combining left and right harpoons - 0x20D6: 0x2190, 0x20E1: 0x2194, // combining left arrow and lef-right arrow - 0x20EC: 0x21C1, 0x20ED: 0x21BD, // combining low right and left harpoons - 0x20EE: 0x2190, 0x20EF: 0x2192, // combining low left and right arrows - 0x20F0: 0x2A, // combining asterisk - 0xFE37: 0x23DE, 0xFE38: 0x23DF, // OverBrace, UnderBrace - - 0xB7: 0x22C5, // center dot - 0x2B9: 0x2032, // prime, - 0x3D2: 0x3A5, // Upsilon - 0x2015: 0x2014, 0x2017: 0x5F, // horizontal bars - 0x2022: 0x2219, 0x2044: 0x2F, // bullet, fraction slash - 0x2305: 0x22BC, 0x2306: 0x2A5E, // barwedge, doublebarwedge - 0x25AA: 0x25A0, 0x25B4: 0x25B2, // blacksquare, blacktriangle - 0x25B5: 0x25B3, 0x25BE: 0x25BC, // triangle, blacktriangledown - 0x25BF: 0x25BD, 0x25C2: 0x25C0, // triangledown, blacktriangleleft - 0x2329: 0x27E8, 0x232A: 0x27E9, // langle, rangle - 0x3008: 0x27E8, 0x3009: 0x27E9, // langle, rangle - 0x2758: 0x2223, // VerticalSeparator - 0x2A2F: 0xD7 // cross product - }, - - DELIMITERS: { - 0x0028: // ( - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {top: [0x239B,SIZE4], ext: [0x239C,SIZE4], bot: [0x239D,SIZE4]} - }, - 0x0029: // ) - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {top:[0x239E,SIZE4], ext:[0x239F,SIZE4], bot:[0x23A0,SIZE4]} - }, - 0x002F: // / - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]] - }, - 0x005B: // [ - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {top:[0x23A1,SIZE4], ext:[0x23A2,SIZE4], bot:[0x23A3,SIZE4]} - }, - 0x005C: // \ - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]] - }, - 0x005D: // ] - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {top:[0x23A4,SIZE4], ext:[0x23A5,SIZE4], bot:[0x23A6,SIZE4]} - }, - 0x007B: // { - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {top:[0x23A7,SIZE4], mid:[0x23A8,SIZE4], bot:[0x23A9,SIZE4], ext:[0x23AA,SIZE4]} - }, - 0x007C: // | - { - dir: V, HW: [[1,MAIN]], stretch: {ext:[0x2223,MAIN]} - }, - 0x007D: // } - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {top: [0x23AB,SIZE4], mid:[0x23AC,SIZE4], bot: [0x23AD,SIZE4], ext: [0x23AA,SIZE4]} - }, - 0x02C6: // wide hat - { - dir: H, HW: [[.267+.05,MAIN],[.567+.05,SIZE1],[1.005+.05,SIZE2],[1.447+.1,SIZE3],[1.909+.1,SIZE4]] - }, - 0x02DC: // wide tilde - { - dir: H, HW: [[.333,MAIN],[.555+.05,SIZE1],[1+.05,SIZE2],[1.443+.1,SIZE3],[1.887+.1,SIZE4]] - }, - 0x2016: // vertical arrow extension - { - dir: V, HW: [[.602,SIZE1],[1,MAIN,null,0x2225]], stretch: {ext:[0x2225,MAIN]} - }, - 0x2190: // left arrow - { - dir: H, HW: [[1,MAIN]], stretch: {left:[0x2190,MAIN],rep:[0x2212,MAIN]} - }, - 0x2191: // \uparrow - { - dir: V, HW: [[.888,MAIN]], stretch: {top:[0x2191,SIZE1], ext:[0x23D0,SIZE1]} - }, - 0x2192: // right arrow - { - dir: H, HW: [[1,MAIN]], stretch: {rep:[0x2212,MAIN], right:[0x2192,MAIN]} - }, - 0x2193: // \downarrow - { - dir: V, HW: [[.888,MAIN]], stretch: {ext:[0x23D0,SIZE1], bot:[0x2193,SIZE1]} - }, - 0x2194: // left-right arrow - { - dir: H, HW: [[1,MAIN]], - stretch: {left:[0x2190,MAIN],rep:[0x2212,MAIN], right:[0x2192,MAIN]} - }, - 0x2195: // \updownarrow - { - dir: V, HW: [[1.044,MAIN]], - stretch: {top:[0x2191,SIZE1], ext:[0x23D0,SIZE1], bot:[0x2193,SIZE1]} - }, - 0x21D1: // \Uparrow - { - dir: V, HW: [[.888,MAIN]], stretch: {top:[0x21D1,SIZE1], ext:[0x2016,SIZE1]} - }, - 0x21D3: // \Downarrow - { - dir: V, HW: [[.888,MAIN]], stretch: {ext:[0x2016,SIZE1], bot:[0x21D3,SIZE1]} - }, - 0x21D5: // \Updownarrow - { - dir: V, HW: [[1.044,MAIN]], - stretch: {top:[0x21D1,SIZE1], ext:[0x2016,SIZE1], bot:[0x21D3,SIZE1]} - }, - 0x2212: // horizontal line - { - dir: H, HW: [[.611,MAIN]], stretch: {rep:[0x2212,MAIN]} - }, - 0x221A: // \surd - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3,SIZE4]], - stretch: {top:[0xE001,SIZE4], ext:[0xE000,SIZE4], bot:[0x23B7,SIZE4], fullExtenders:true} - }, - 0x2223: // \vert - { - dir: V, HW: [[1,MAIN]], stretch: {ext:[0x2223,MAIN]} - }, - 0x2225: // \Vert - { - dir: V, HW: [[1,MAIN]], stretch: {ext:[0x2225,MAIN]} - }, - 0x2308: // \lceil - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {top:[0x23A1,SIZE4], ext:[0x23A2,SIZE4]} - }, - 0x2309: // \rceil - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {top:[0x23A4,SIZE4], ext:[0x23A5,SIZE4]} - }, - 0x230A: // \lfloor - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {ext:[0x23A2,SIZE4], bot:[0x23A3,SIZE4]} - }, - 0x230B: // \rfloor - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], - stretch: {ext:[0x23A5,SIZE4], bot:[0x23A6,SIZE4]} - }, - 0x23AA: // \bracevert - { - dir: V, HW: [[.32,SIZE4]], - stretch: {top:[0x23AA,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23AA,SIZE4]} - }, - 0x23B0: // \lmoustache - { - dir: V, HW: [[.989,MAIN]], - stretch: {top:[0x23A7,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23AD,SIZE4]} - }, - 0x23B1: // \rmoustache - { - dir: V, HW: [[.989,MAIN]], - stretch: {top:[0x23AB,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23A9,SIZE4]} - }, - 0x23D0: // vertical line extension - { - dir: V, HW: [[.602,SIZE1],[1,MAIN,null,0x2223]], stretch: {ext:[0x2223,MAIN]} - }, - 0x23DE: // horizontal brace down - { - dir: H, HW: [], - stretch: {left:[0xE150,SIZE4], mid:[[0xE153,0xE152],SIZE4], right:[0xE151,SIZE4], rep:[0xE154,SIZE4]} - }, - 0x23DF: // horizontal brace up - { - dir: H, HW: [], - stretch: {left:[0xE152,SIZE4], mid:[[0xE151,0xE150],SIZE4], right:[0xE153,SIZE4], rep:[0xE154,SIZE4]} - }, - 0x27E8: // \langle - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]] - }, - 0x27E9: // \rangle - { - dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]] - }, - 0x27EE: // \lgroup - { - dir: V, HW: [[.989,MAIN]], - stretch: {top:[0x23A7,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23A9,SIZE4]} - }, - 0x27EF: // \rgroup - { - dir: V, HW: [[.989,MAIN]], - stretch: {top:[0x23AB,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23AD,SIZE4]} - }, - 0x002D: {alias: 0x2212, dir:H}, // minus - 0x005E: {alias: 0x02C6, dir:H}, // wide hat - 0x005F: {alias: 0x2212, dir:H}, // low line - 0x007E: {alias: 0x02DC, dir:H}, // wide tilde - 0x00AF: {alias: 0x2212, dir:H}, // over line - 0x0332: {alias: 0x2212, dir:H}, // combining low line - 0x2015: {alias: 0x2212, dir:H}, // horizontal line - 0x2017: {alias: 0x2212, dir:H}, // horizontal line - 0x203E: {alias: 0x2212, dir:H}, // over line - 0x2329: {alias: 0x27E8, dir:V}, // langle - 0x232A: {alias: 0x27E9, dir:V}, // rangle - 0x23AF: {alias: 0x2212, dir:H}, // horizontal line extension - 0x2500: {alias: 0x2212, dir:H}, // horizontal line - 0x2758: {alias: 0x2223, dir:V}, // vertical separator - 0x3008: {alias: 0x27E8, dir:V}, // langle - 0x3009: {alias: 0x27E9, dir:V}, // rangle - 0xFE37: {alias: 0x23DE, dir:H}, // horizontal brace down - 0xFE38: {alias: 0x23DF, dir:H} // horizontal brace up - } - } - }); - - // - // Handle error with reversed glyphs for \bigcap and \bigcup in version 1 of fonts - // - HTMLCSS.Font.oldLoadComplete = HTMLCSS.Font.loadComplete; - HTMLCSS.Font.loadComplete = function (font,n) { - if (n != null) {this.oldLoadComplete(font,n)} - if (font.family === SIZE1 || font.family === SIZE2) { - if (font.version === 1) { - HTMLCSS.FONTDATA.VARIANT["-largeOp"].remap = {0x22C2: 0x22C3, 0x22C3: 0x22C2}; - HTMLCSS.FONTDATA.VARIANT["-smallOp"].remap = {0x22C2: 0x22C3, 0x22C3: 0x22C2}; - } - } - }; - - MathJax.Hub.Register.StartupHook("TeX Jax Ready", function () { - var TEX = MathJax.InputJax.TeX; - TEX.Definitions.mathchar0mi.ell = ['2113',{mathvariant: MML.VARIANT.NORMAL}]; - TEX.Definitions.mathchar0mi.hbar = ['210F',{mathvariant: MML.VARIANT.NORMAL}]; - TEX.Definitions.mathchar0mi.S = ['00A7',{mathvariant: MML.VARIANT.SCRIPT}]; - if (MathJax.Hub.Browser.isOpera) { - TEX.Definitions.macros.not = ['Macro','\\mathrel{\\rlap{\\hphantom{\\mathrel{\\subset}}\\notChar}}']; - } else { - TEX.Definitions.mathchar0mo.notChar = ['002F',{mathvariant: MML.VARIANT.ITALIC}]; - TEX.Definitions.macros.not = ['Macro','\\mathrel{\\rlap{\\notChar}}']; - } - }); - - HTMLCSS.FONTDATA.FONTS['MathJax_Caligraphic'] = { - directory: 'Caligraphic/Regular', - family: 'MathJax_Caligraphic', - testString: "MATHJAX CALIGRAPHIC", - skew: { - 0x41: 0.194, - 0x42: 0.139, - 0x43: 0.139, - 0x44: 0.0833, - 0x45: 0.111, - 0x46: 0.111, - 0x47: 0.111, - 0x48: 0.111, - 0x49: 0.0278, - 0x4A: 0.167, - 0x4B: 0.0556, - 0x4C: 0.139, - 0x4D: 0.139, - 0x4E: 0.0833, - 0x4F: 0.111, - 0x50: 0.0833, - 0x51: 0.111, - 0x52: 0.0833, - 0x53: 0.139, - 0x54: 0.0278, - 0x55: 0.0833, - 0x56: 0.0278, - 0x57: 0.0833, - 0x58: 0.139, - 0x59: 0.0833, - 0x5A: 0.139 - }, - 0x20: [0,0,250,0,0], // SPACE - 0x30: [452,22,500,39,460], // DIGIT ZERO - 0x31: [454,0,500,86,426], // DIGIT ONE - 0x32: [453,0,500,44,449], // DIGIT TWO - 0x33: [452,216,500,41,456], // DIGIT THREE - 0x34: [464,194,500,27,471], // DIGIT FOUR - 0x35: [453,217,500,50,448], // DIGIT FIVE - 0x36: [666,22,500,42,456], // DIGIT SIX - 0x37: [463,216,500,54,485], // DIGIT SEVEN - 0x38: [666,21,500,43,457], // DIGIT EIGHT - 0x39: [453,216,500,42,457], // DIGIT NINE - 0x41: [728,50,798,30,819], // LATIN CAPITAL LETTER A - 0x42: [705,22,657,31,664], // LATIN CAPITAL LETTER B - 0x43: [705,25,527,12,533], // LATIN CAPITAL LETTER C - 0x44: [684,1,771,19,767], // LATIN CAPITAL LETTER D - 0x45: [706,22,528,30,565], // LATIN CAPITAL LETTER E - 0x46: [683,32,719,18,829], // LATIN CAPITAL LETTER F - 0x47: [704,119,595,43,599], // LATIN CAPITAL LETTER G - 0x48: [683,48,845,18,803], // LATIN CAPITAL LETTER H - 0x49: [683,1,545,-31,642], // LATIN CAPITAL LETTER I - 0x4A: [683,119,678,47,839], // LATIN CAPITAL LETTER J - 0x4B: [705,23,762,32,733], // LATIN CAPITAL LETTER K - 0x4C: [706,22,690,32,656], // LATIN CAPITAL LETTER L - 0x4D: [705,50,1201,28,1137], // LATIN CAPITAL LETTER M - 0x4E: [790,50,820,-27,979], // LATIN CAPITAL LETTER N - 0x4F: [705,22,796,58,777], // LATIN CAPITAL LETTER O - 0x50: [684,57,696,19,733], // LATIN CAPITAL LETTER P - 0x51: [706,131,817,114,787], // LATIN CAPITAL LETTER Q - 0x52: [683,22,848,19,837], // LATIN CAPITAL LETTER R - 0x53: [705,23,606,17,642], // LATIN CAPITAL LETTER S - 0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T - 0x55: [684,28,626,-17,687], // LATIN CAPITAL LETTER U - 0x56: [683,52,613,25,658], // LATIN CAPITAL LETTER V - 0x57: [683,53,988,25,1034], // LATIN CAPITAL LETTER W - 0x58: [684,1,713,52,807], // LATIN CAPITAL LETTER X - 0x59: [683,143,668,31,714], // LATIN CAPITAL LETTER Y - 0x5A: [683,0,725,37,767], // LATIN CAPITAL LETTER Z - 0xA0: [0,0,250,0,0] // NO-BREAK SPACE - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_Main-bold'] = { - directory: 'Main/Bold', - family: 'MathJax_Main', - weight: 'bold', - testString: "MathJax Main", - skew: { - 0x131: 0.0319, - 0x237: 0.0958, - 0x210F: -0.0319, - 0x2113: 0.128, - 0x2202: 0.0958 - }, - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x100,0x17F,"LatinExtendedA"], - [0x180,0x24F,"LatinExtendedB"], - [0x2B0,0x2FF,"SpacingModLetters"], - [0x300,0x36F,"CombDiacritMarks"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x20D0,0x20FF,"CombDiactForSymbols"], - [0x2100,0x214F,"LetterlikeSymbols"], - [0x2190,0x21FF,"Arrows"], - [0x2200,0x22FF,"MathOperators"], - [0x2300,0x23FF,"MiscTechnical"], - [0x25A0,0x25FF,"GeometricShapes"], - [0x2600,0x26FF,"MiscSymbols"], - [0x27C0,0x27EF,"MiscMathSymbolsA"], - [0x27F0,0x27FF,"SupplementalArrowsA"], - [0x2A00,0x2AFF,"SuppMathOperators"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [705,-1,350,89,260], // EXCLAMATION MARK - 0x22: [694,-329,603,38,492], // QUOTATION MARK - 0x23: [694,193,958,64,893], // NUMBER SIGN - 0x24: [750,56,575,64,510], // DOLLAR SIGN - 0x25: [750,56,958,65,893], // PERCENT SIGN - 0x26: [705,11,894,48,836], // AMPERSAND - 0x27: [694,-329,319,74,261], // APOSTROPHE - 0x28: [751,250,447,103,382], // LEFT PARENTHESIS - 0x29: [750,249,447,64,343], // RIGHT PARENTHESIS - 0x2A: [750,-306,575,73,501], // ASTERISK - 0x2B: [633,131,894,64,829], // PLUS SIGN - 0x2C: [171,194,319,74,258], // COMMA - 0x2D: [278,-166,383,13,318], // HYPHEN-MINUS - 0x2E: [171,-1,319,74,245], // FULL STOP - 0x2F: [750,250,575,63,511], // SOLIDUS - 0x30: [655,10,575,45,529], // DIGIT ZERO - 0x31: [655,0,575,80,494], // DIGIT ONE - 0x32: [654,0,575,57,517], // DIGIT TWO - 0x33: [655,12,575,47,526], // DIGIT THREE - 0x34: [657,0,575,32,542], // DIGIT FOUR - 0x35: [655,11,575,57,517], // DIGIT FIVE - 0x36: [655,11,575,48,527], // DIGIT SIX - 0x37: [676,11,575,64,559], // DIGIT SEVEN - 0x38: [654,11,575,48,526], // DIGIT EIGHT - 0x39: [654,11,575,48,526], // DIGIT NINE - 0x3A: [444,-1,319,74,245], // COLON - 0x3B: [444,194,319,74,248], // SEMICOLON - 0x3C: [587,85,894,96,797], // LESS-THAN SIGN - 0x3D: [393,-109,894,64,829], // EQUALS SIGN - 0x3E: [587,85,894,95,797], // GREATER-THAN SIGN - 0x3F: [700,-1,543,65,478], // QUESTION MARK - 0x40: [700,6,894,64,829], // COMMERCIAL AT - 0x41: [698,0,869,40,828], // LATIN CAPITAL LETTER A - 0x42: [687,0,818,39,753], // LATIN CAPITAL LETTER B - 0x43: [697,11,831,64,767], // LATIN CAPITAL LETTER C - 0x44: [687,0,882,39,817], // LATIN CAPITAL LETTER D - 0x45: [681,0,756,38,723], // LATIN CAPITAL LETTER E - 0x46: [680,0,724,39,675], // LATIN CAPITAL LETTER F - 0x47: [697,10,904,64,845], // LATIN CAPITAL LETTER G - 0x48: [686,0,900,39,860], // LATIN CAPITAL LETTER H - 0x49: [686,0,436,25,410], // LATIN CAPITAL LETTER I - 0x4A: [686,11,594,8,527], // LATIN CAPITAL LETTER J - 0x4B: [686,0,901,39,852], // LATIN CAPITAL LETTER K - 0x4C: [686,0,692,39,643], // LATIN CAPITAL LETTER L - 0x4D: [687,0,1092,39,1052], // LATIN CAPITAL LETTER M - 0x4E: [687,1,900,39,861], // LATIN CAPITAL LETTER N - 0x4F: [696,10,864,64,798], // LATIN CAPITAL LETTER O - 0x50: [686,0,786,39,721], // LATIN CAPITAL LETTER P - 0x51: [697,193,864,64,806], // LATIN CAPITAL LETTER Q - 0x52: [687,11,862,39,858], // LATIN CAPITAL LETTER R - 0x53: [697,11,639,63,575], // LATIN CAPITAL LETTER S - 0x54: [675,0,800,41,758], // LATIN CAPITAL LETTER T - 0x55: [686,12,885,39,845], // LATIN CAPITAL LETTER U - 0x56: [686,7,869,25,843], // LATIN CAPITAL LETTER V - 0x57: [686,8,1189,24,1164], // LATIN CAPITAL LETTER W - 0x58: [686,0,869,33,835], // LATIN CAPITAL LETTER X - 0x59: [686,0,869,19,849], // LATIN CAPITAL LETTER Y - 0x5A: [687,0,703,64,645], // LATIN CAPITAL LETTER Z - 0x5B: [750,250,319,128,293], // LEFT SQUARE BRACKET - 0x5C: [750,250,575,63,511], // REVERSE SOLIDUS - 0x5D: [750,250,319,25,190], // RIGHT SQUARE BRACKET - 0x5E: [694,-520,575,126,448], // CIRCUMFLEX ACCENT - 0x5F: [-10,61,575,0,574], // LOW LINE - 0x60: [706,-503,575,114,338], // GRAVE ACCENT - 0x61: [453,6,559,32,558], // LATIN SMALL LETTER A - 0x62: [694,7,639,29,601], // LATIN SMALL LETTER B - 0x63: [453,6,511,39,478], // LATIN SMALL LETTER C - 0x64: [695,6,639,38,609], // LATIN SMALL LETTER D - 0x65: [453,6,527,32,494], // LATIN SMALL LETTER E - 0x66: [700,0,351,40,452], // LATIN SMALL LETTER F - 0x67: [455,201,575,30,558], // LATIN SMALL LETTER G - 0x68: [694,0,639,37,623], // LATIN SMALL LETTER H - 0x69: [695,0,319,40,294], // LATIN SMALL LETTER I - 0x6A: [695,200,351,-71,274], // LATIN SMALL LETTER J - 0x6B: [694,0,607,29,587], // LATIN SMALL LETTER K - 0x6C: [694,0,319,40,301], // LATIN SMALL LETTER L - 0x6D: [451,0,958,37,942], // LATIN SMALL LETTER M - 0x6E: [450,0,639,37,623], // LATIN SMALL LETTER N - 0x6F: [452,5,575,32,542], // LATIN SMALL LETTER O - 0x70: [450,194,639,28,600], // LATIN SMALL LETTER P - 0x71: [450,194,607,38,609], // LATIN SMALL LETTER Q - 0x72: [450,0,474,29,442], // LATIN SMALL LETTER R - 0x73: [453,7,454,37,415], // LATIN SMALL LETTER S - 0x74: [636,6,447,21,382], // LATIN SMALL LETTER T - 0x75: [450,6,639,37,623], // LATIN SMALL LETTER U - 0x76: [444,4,607,26,580], // LATIN SMALL LETTER V - 0x77: [444,5,831,25,805], // LATIN SMALL LETTER W - 0x78: [444,0,607,21,586], // LATIN SMALL LETTER X - 0x79: [444,200,607,23,580], // LATIN SMALL LETTER Y - 0x7A: [445,0,511,31,462], // LATIN SMALL LETTER Z - 0x7B: [751,251,575,69,504], // LEFT CURLY BRACKET - 0x7C: [750,249,319,129,190], // VERTICAL LINE - 0x7D: [751,251,575,70,504], // RIGHT CURLY BRACKET - 0x7E: [344,-201,575,96,478], // TILDE - 0x393: [680,0,692,39,643], // GREEK CAPITAL LETTER GAMMA - 0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA - 0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA - 0x39B: [699,0,806,40,765], // GREEK CAPITAL LETTER LAMDA - 0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI - 0x3A3: [686,0,831,63,766], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI - 0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI - 0x3A9: [696,1,831,51,780] // GREEK CAPITAL LETTER OMEGA - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_Main-italic'] = { - directory: 'Main/Italic', - family: 'MathJax_Main', - style: 'italic', - testString: "MathJax Main", - Ranges: [ - [0xA0,0xFF,"Latin1Supplement"], - [0x300,0x36F,"CombDiacritMarks"], - [0x2000,0x206F,"GeneralPunctuation"], - [0x2100,0x214F,"LetterlikeSymbols"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [716,0,307,107,380], // EXCLAMATION MARK - 0x22: [694,-379,514,176,538], // QUOTATION MARK - 0x23: [694,194,818,115,828], // NUMBER SIGN - 0x25: [751,56,818,144,848], // PERCENT SIGN - 0x26: [716,22,767,127,802], // AMPERSAND - 0x27: [694,-379,307,213,377], // APOSTROPHE - 0x28: [750,250,409,144,517], // LEFT PARENTHESIS - 0x29: [750,250,409,17,390], // RIGHT PARENTHESIS - 0x2A: [751,-320,511,195,584], // ASTERISK - 0x2B: [558,57,767,139,753], // PLUS SIGN - 0x2C: [121,194,307,69,233], // COMMA - 0x2D: [251,-179,358,84,341], // HYPHEN-MINUS - 0x2E: [121,0,307,107,231], // FULL STOP - 0x2F: [750,250,511,19,617], // SOLIDUS - 0x30: [665,21,511,110,562], // DIGIT ZERO - 0x31: [666,0,511,110,468], // DIGIT ONE - 0x32: [666,22,511,76,551], // DIGIT TWO - 0x33: [667,22,511,96,563], // DIGIT THREE - 0x34: [666,194,511,46,479], // DIGIT FOUR - 0x35: [666,22,511,106,567], // DIGIT FIVE - 0x36: [665,22,511,120,566], // DIGIT SIX - 0x37: [666,22,511,136,634], // DIGIT SEVEN - 0x38: [666,21,511,99,553], // DIGIT EIGHT - 0x39: [666,22,511,107,553], // DIGIT NINE - 0x3A: [431,0,307,107,308], // COLON - 0x3B: [431,194,307,70,308], // SEMICOLON - 0x3D: [367,-133,767,116,776], // EQUALS SIGN - 0x3F: [717,0,511,195,551], // QUESTION MARK - 0x40: [705,11,767,152,789], // COMMERCIAL AT - 0x41: [716,1,743,58,696], // LATIN CAPITAL LETTER A - 0x42: [683,1,704,57,732], // LATIN CAPITAL LETTER B - 0x43: [705,21,716,150,812], // LATIN CAPITAL LETTER C - 0x44: [683,1,755,56,775], // LATIN CAPITAL LETTER D - 0x45: [681,0,678,54,743], // LATIN CAPITAL LETTER E - 0x46: [681,0,653,54,731], // LATIN CAPITAL LETTER F - 0x47: [705,22,774,149,812], // LATIN CAPITAL LETTER G - 0x48: [683,0,743,54,860], // LATIN CAPITAL LETTER H - 0x49: [683,0,386,49,508], // LATIN CAPITAL LETTER I - 0x4A: [683,21,525,78,622], // LATIN CAPITAL LETTER J - 0x4B: [683,0,769,54,859], // LATIN CAPITAL LETTER K - 0x4C: [683,0,627,54,628], // LATIN CAPITAL LETTER L - 0x4D: [684,0,897,58,1010], // LATIN CAPITAL LETTER M - 0x4E: [684,0,743,54,860], // LATIN CAPITAL LETTER N - 0x4F: [704,22,767,149,788], // LATIN CAPITAL LETTER O - 0x50: [684,0,678,55,729], // LATIN CAPITAL LETTER P - 0x51: [704,194,767,149,788], // LATIN CAPITAL LETTER Q - 0x52: [683,22,729,55,723], // LATIN CAPITAL LETTER R - 0x53: [706,22,562,74,634], // LATIN CAPITAL LETTER S - 0x54: [678,0,716,171,807], // LATIN CAPITAL LETTER T - 0x55: [684,22,743,194,860], // LATIN CAPITAL LETTER U - 0x56: [683,22,743,205,868], // LATIN CAPITAL LETTER V - 0x57: [683,22,999,205,1124], // LATIN CAPITAL LETTER W - 0x58: [684,0,743,50,826], // LATIN CAPITAL LETTER X - 0x59: [684,0,743,198,875], // LATIN CAPITAL LETTER Y - 0x5A: [683,1,613,80,705], // LATIN CAPITAL LETTER Z - 0x5B: [751,251,307,73,446], // LEFT SQUARE BRACKET - 0x5D: [751,251,307,-14,359], // RIGHT SQUARE BRACKET - 0x5E: [694,-527,511,260,528], // CIRCUMFLEX ACCENT - 0x5F: [-24,62,511,91,554], // LOW LINE - 0x61: [442,11,511,101,543], // LATIN SMALL LETTER A - 0x62: [694,11,460,108,467], // LATIN SMALL LETTER B - 0x63: [441,10,460,103,470], // LATIN SMALL LETTER C - 0x64: [694,11,511,100,567], // LATIN SMALL LETTER D - 0x65: [442,10,460,107,470], // LATIN SMALL LETTER E - 0x66: [705,204,307,-23,450], // LATIN SMALL LETTER F - 0x67: [442,205,460,46,495], // LATIN SMALL LETTER G - 0x68: [695,11,511,69,544], // LATIN SMALL LETTER H - 0x69: [656,10,307,75,340], // LATIN SMALL LETTER I - 0x6A: [656,204,307,-32,364], // LATIN SMALL LETTER J - 0x6B: [694,11,460,69,499], // LATIN SMALL LETTER K - 0x6C: [694,11,256,87,312], // LATIN SMALL LETTER L - 0x6D: [443,11,818,75,851], // LATIN SMALL LETTER M - 0x6E: [443,11,562,75,595], // LATIN SMALL LETTER N - 0x6F: [442,11,511,103,517], // LATIN SMALL LETTER O - 0x70: [442,194,511,5,518], // LATIN SMALL LETTER P - 0x71: [442,195,460,100,504], // LATIN SMALL LETTER Q - 0x72: [442,11,422,75,484], // LATIN SMALL LETTER R - 0x73: [442,11,409,76,418], // LATIN SMALL LETTER S - 0x74: [627,11,332,87,373], // LATIN SMALL LETTER T - 0x75: [441,11,537,75,570], // LATIN SMALL LETTER U - 0x76: [443,10,460,75,492], // LATIN SMALL LETTER V - 0x77: [443,12,664,74,696], // LATIN SMALL LETTER W - 0x78: [442,11,464,58,513], // LATIN SMALL LETTER X - 0x79: [441,206,486,75,522], // LATIN SMALL LETTER Y - 0x7A: [442,11,409,54,466], // LATIN SMALL LETTER Z - 0x7E: [318,-208,511,246,571], // TILDE - 0xA3: [714,11,769,87,699], // POUND SIGN - 0x131: [441,10,307,75,340], // LATIN SMALL LETTER DOTLESS I - 0x237: [442,205,332,-32,327], // LATIN SMALL LETTER DOTLESS J - 0x393: [680,0,627,54,706], // GREEK CAPITAL LETTER GAMMA - 0x394: [717,1,818,70,751], // GREEK CAPITAL LETTER DELTA - 0x398: [704,22,767,149,788], // GREEK CAPITAL LETTER THETA - 0x39B: [717,0,692,58,646], // GREEK CAPITAL LETTER LAMDA - 0x39E: [678,1,664,74,754], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,743,54,859], // GREEK CAPITAL LETTER PI - 0x3A3: [683,1,716,80,782], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [706,0,767,213,833], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,1,716,158,728], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,767,207,824], // GREEK CAPITAL LETTER PSI - 0x3A9: [705,0,716,100,759] // GREEK CAPITAL LETTER OMEGA - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_Main'] = { - directory: 'Main/Regular', - family: 'MathJax_Main', - testString: "MathJax Main", - skew: { - 0x131: 0.0278, - 0x237: 0.0833, - 0x2113: 0.111, - 0x2118: 0.111, - 0x2202: 0.0833 - }, - Ranges: [ - [0x2B0,0x2FF,"SpacingModLetters"], - [0x300,0x36F,"CombDiacritMarks"], - [0x25A0,0x25FF,"GeometricShapes"], - [0x2600,0x26FF,"MiscSymbols"] - ], - 0x20: [0,0,250,0,0], // SPACE - 0x21: [716,-1,278,78,199], // EXCLAMATION MARK - 0x22: [694,-379,500,34,372], // QUOTATION MARK - 0x23: [694,194,833,55,778], // NUMBER SIGN - 0x24: [750,56,500,54,444], // DOLLAR SIGN - 0x25: [750,56,833,56,776], // PERCENT SIGN - 0x26: [717,22,778,42,727], // AMPERSAND - 0x27: [694,-379,278,78,212], // APOSTROPHE - 0x28: [751,251,389,94,333], // LEFT PARENTHESIS - 0x29: [750,250,389,55,294], // RIGHT PARENTHESIS - 0x2A: [750,-319,500,64,435], // ASTERISK - 0x2B: [583,83,778,55,722], // PLUS SIGN - 0x2C: [121,194,278,78,210], // COMMA - 0x2D: [252,-179,333,11,277], // HYPHEN-MINUS - 0x2E: [120,0,278,78,199], // FULL STOP - 0x2F: [751,250,500,56,445], // SOLIDUS - 0x30: [666,22,500,39,460], // DIGIT ZERO - 0x31: [666,0,500,83,427], // DIGIT ONE - 0x32: [666,1,500,49,449], // DIGIT TWO - 0x33: [665,23,500,41,457], // DIGIT THREE - 0x34: [677,0,500,28,471], // DIGIT FOUR - 0x35: [666,22,500,49,449], // DIGIT FIVE - 0x36: [666,22,500,42,456], // DIGIT SIX - 0x37: [676,22,500,55,485], // DIGIT SEVEN - 0x38: [666,22,500,43,457], // DIGIT EIGHT - 0x39: [666,22,500,41,456], // DIGIT NINE - 0x3A: [430,0,278,78,199], // COLON - 0x3B: [430,194,278,78,202], // SEMICOLON - 0x3C: [540,40,778,83,694], // LESS-THAN SIGN - 0x3D: [367,-133,778,55,722], // EQUALS SIGN - 0x3E: [540,40,778,82,694], // GREATER-THAN SIGN - 0x3F: [706,-1,472,55,416], // QUESTION MARK - 0x40: [705,11,778,56,722], // COMMERCIAL AT - 0x41: [717,0,750,32,717], // LATIN CAPITAL LETTER A - 0x42: [684,0,708,28,651], // LATIN CAPITAL LETTER B - 0x43: [706,21,722,56,666], // LATIN CAPITAL LETTER C - 0x44: [683,0,764,27,708], // LATIN CAPITAL LETTER D - 0x45: [680,0,681,24,652], // LATIN CAPITAL LETTER E - 0x46: [680,0,653,25,611], // LATIN CAPITAL LETTER F - 0x47: [706,22,785,56,735], // LATIN CAPITAL LETTER G - 0x48: [683,0,750,25,724], // LATIN CAPITAL LETTER H - 0x49: [683,0,361,21,339], // LATIN CAPITAL LETTER I - 0x4A: [683,22,514,25,465], // LATIN CAPITAL LETTER J - 0x4B: [683,0,778,24,736], // LATIN CAPITAL LETTER K - 0x4C: [683,0,625,25,582], // LATIN CAPITAL LETTER L - 0x4D: [683,0,917,29,887], // LATIN CAPITAL LETTER M - 0x4E: [683,0,750,25,724], // LATIN CAPITAL LETTER N - 0x4F: [705,22,778,56,722], // LATIN CAPITAL LETTER O - 0x50: [684,0,681,27,624], // LATIN CAPITAL LETTER P - 0x51: [705,193,778,56,728], // LATIN CAPITAL LETTER Q - 0x52: [684,22,736,27,732], // LATIN CAPITAL LETTER R - 0x53: [706,23,556,55,500], // LATIN CAPITAL LETTER S - 0x54: [677,0,722,36,685], // LATIN CAPITAL LETTER T - 0x55: [684,22,750,25,724], // LATIN CAPITAL LETTER U - 0x56: [683,23,750,19,730], // LATIN CAPITAL LETTER V - 0x57: [683,23,1028,18,1009], // LATIN CAPITAL LETTER W - 0x58: [683,1,750,23,727], // LATIN CAPITAL LETTER X - 0x59: [684,0,750,11,738], // LATIN CAPITAL LETTER Y - 0x5A: [683,1,611,55,560], // LATIN CAPITAL LETTER Z - 0x5B: [750,250,278,118,255], // LEFT SQUARE BRACKET - 0x5C: [750,250,500,56,444], // REVERSE SOLIDUS - 0x5D: [750,250,278,22,159], // RIGHT SQUARE BRACKET - 0x5E: [694,-531,500,112,387], // CIRCUMFLEX ACCENT - 0x5F: [-25,62,500,0,499], // LOW LINE - 0x60: [699,-505,500,106,295], // GRAVE ACCENT - 0x61: [448,11,500,34,493], // LATIN SMALL LETTER A - 0x62: [694,11,556,20,522], // LATIN SMALL LETTER B - 0x63: [448,11,444,34,415], // LATIN SMALL LETTER C - 0x64: [694,11,556,34,535], // LATIN SMALL LETTER D - 0x65: [448,11,444,28,415], // LATIN SMALL LETTER E - 0x66: [705,0,306,25,372], // LATIN SMALL LETTER F - 0x67: [453,206,500,29,485], // LATIN SMALL LETTER G - 0x68: [695,0,556,25,543], // LATIN SMALL LETTER H - 0x69: [669,0,278,26,255], // LATIN SMALL LETTER I - 0x6A: [669,205,306,-55,218], // LATIN SMALL LETTER J - 0x6B: [695,0,528,20,512], // LATIN SMALL LETTER K - 0x6C: [694,0,278,26,263], // LATIN SMALL LETTER L - 0x6D: [443,0,833,25,820], // LATIN SMALL LETTER M - 0x6E: [443,0,556,25,543], // LATIN SMALL LETTER N - 0x6F: [448,10,500,28,471], // LATIN SMALL LETTER O - 0x70: [443,194,556,20,522], // LATIN SMALL LETTER P - 0x71: [442,194,528,33,535], // LATIN SMALL LETTER Q - 0x72: [442,0,392,20,364], // LATIN SMALL LETTER R - 0x73: [449,12,394,32,359], // LATIN SMALL LETTER S - 0x74: [615,10,389,18,334], // LATIN SMALL LETTER T - 0x75: [442,11,556,25,542], // LATIN SMALL LETTER U - 0x76: [431,11,528,19,508], // LATIN SMALL LETTER V - 0x77: [432,12,722,18,704], // LATIN SMALL LETTER W - 0x78: [431,0,528,10,516], // LATIN SMALL LETTER X - 0x79: [431,204,528,19,508], // LATIN SMALL LETTER Y - 0x7A: [431,0,444,28,401], // LATIN SMALL LETTER Z - 0x7B: [750,250,500,64,434], // LEFT CURLY BRACKET - 0x7C: [750,250,278,119,159], // VERTICAL LINE - 0x7D: [750,250,500,64,435], // RIGHT CURLY BRACKET - 0x7E: [318,-215,500,83,416], // TILDE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0xA8: [669,-554,500,95,404], // DIAERESIS - 0xAC: [356,-89,667,55,611], // NOT SIGN - 0xAF: [590,-544,500,69,430], // MACRON - 0xB0: [715,-542,500,147,352], // DEGREE SIGN - 0xB1: [666,0,778,55,722], // PLUS-MINUS SIGN - 0xB4: [699,-505,500,203,393], // ACUTE ACCENT - 0xD7: [491,-9,778,147,631], // MULTIPLICATION SIGN - 0xF7: [537,36,778,55,721], // DIVISION SIGN - 0x131: [442,0,278,26,255], // LATIN SMALL LETTER DOTLESS I - 0x237: [442,205,306,-55,218], // LATIN SMALL LETTER DOTLESS J - 0x2C6: [694,-531,500,112,387], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2C7: [644,-513,500,114,385], // CARON - 0x2C9: [590,-544,500,69,430], // MODIFIER LETTER MACRON - 0x2CA: [699,-505,500,203,393], // MODIFIER LETTER ACUTE ACCENT - 0x2CB: [699,-505,500,106,295], // MODIFIER LETTER GRAVE ACCENT - 0x2D8: [694,-515,500,92,407], // BREVE - 0x2D9: [669,-549,500,190,309], // DOT ABOVE - 0x2DC: [668,-565,500,83,416], // SMALL TILDE - 0x393: [681,0,625,25,582], // GREEK CAPITAL LETTER GAMMA - 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA - 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA - 0x39B: [717,0,694,32,661], // GREEK CAPITAL LETTER LAMDA - 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI - 0x3A3: [683,1,722,55,666], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,778,54,722], // GREEK CAPITAL LETTER PSI - 0x3A9: [704,1,722,44,677], // GREEK CAPITAL LETTER OMEGA - 0x2002: [0,0,500,0,0], // ?? - 0x2003: [0,0,999,0,0], // ?? - 0x2004: [0,0,333,0,0], // ?? - 0x2005: [0,0,250,0,0], // ?? - 0x2006: [0,0,167,0,0], // ?? - 0x2009: [0,0,167,0,0], // ?? - 0x200A: [0,0,83,0,0], // ?? - 0x2013: [285,-248,500,0,499], // EN DASH - 0x2014: [285,-248,1000,0,999], // EM DASH - 0x2018: [694,-379,278,64,198], // LEFT SINGLE QUOTATION MARK - 0x2019: [694,-379,278,78,212], // RIGHT SINGLE QUOTATION MARK - 0x201C: [694,-379,500,128,466], // LEFT DOUBLE QUOTATION MARK - 0x201D: [694,-379,500,34,372], // RIGHT DOUBLE QUOTATION MARK - 0x2020: [705,217,444,55,390], // DAGGER - 0x2021: [705,206,444,55,389], // DOUBLE DAGGER - 0x2026: [120,0,1172,78,1093], // HORIZONTAL ELLIPSIS - 0x2032: [560,-43,275,30,262], // PRIME - 0x20D7: [714,-516,0,-471,-29], // COMBINING RIGHT ARROW ABOVE - 0x210F: [695,13,540,42,562], // stix-/hbar - Planck's over 2pi - 0x2111: [705,11,722,54,693], // BLACK-LETTER CAPITAL I - 0x2113: [706,20,417,6,398], // SCRIPT SMALL L - 0x2118: [453,216,636,67,625], // SCRIPT CAPITAL P - 0x211C: [717,22,722,40,716], // BLACK-LETTER CAPITAL R - 0x2135: [694,1,611,54,556], // ALEF SYMBOL - 0x2190: [511,12,1000,54,944], // LEFTWARDS ARROW - 0x2191: [694,194,500,17,483], // UPWARDS ARROW - 0x2192: [512,11,1000,55,945], // RIGHTWARDS ARROW - 0x2193: [694,194,500,17,483], // DOWNWARDS ARROW - 0x2194: [511,11,1000,55,945], // LEFT RIGHT ARROW - 0x2195: [772,272,500,17,483], // UP DOWN ARROW - 0x2196: [720,196,1000,29,944], // NORTH WEST ARROW - 0x2197: [720,195,1000,55,970], // NORTH EAST ARROW - 0x2198: [695,220,1000,55,970], // SOUTH EAST ARROW - 0x2199: [695,220,1000,29,944], // SOUTH WEST ARROW - 0x21A6: [512,11,1000,54,945], // RIGHTWARDS ARROW FROM BAR - 0x21A9: [511,12,1126,54,1070], // LEFTWARDS ARROW WITH HOOK - 0x21AA: [512,11,1126,55,1071], // RIGHTWARDS ARROW WITH HOOK - 0x21BC: [511,-230,1000,55,944], // LEFTWARDS HARPOON WITH BARB UPWARDS - 0x21BD: [270,11,1000,55,944], // LEFTWARDS HARPOON WITH BARB DOWNWARDS - 0x21C0: [511,-230,1000,55,944], // RIGHTWARDS HARPOON WITH BARB UPWARDS - 0x21C1: [270,11,1000,55,945], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS - 0x21CC: [671,11,1000,55,944], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON - 0x21D0: [525,24,1000,55,944], // LEFTWARDS DOUBLE ARROW - 0x21D1: [694,194,611,31,579], // UPWARDS DOUBLE ARROW - 0x21D2: [525,25,1000,55,944], // RIGHTWARDS DOUBLE ARROW - 0x21D3: [694,194,611,31,579], // DOWNWARDS DOUBLE ARROW - 0x21D4: [525,25,1000,34,966], // LEFT RIGHT DOUBLE ARROW - 0x21D5: [772,272,611,31,580], // UP DOWN DOUBLE ARROW - 0x2200: [694,22,556,0,556], // FOR ALL - 0x2202: [715,22,531,41,566], // PARTIAL DIFFERENTIAL - 0x2203: [694,0,556,55,500], // THERE EXISTS - 0x2205: [772,78,500,39,460], // EMPTY SET - 0x2207: [683,33,833,46,786], // NABLA - 0x2208: [541,41,667,84,584], // ELEMENT OF - 0x2209: [716,215,667,84,584], // stix-negated (vert) set membership, variant - 0x220B: [541,40,667,83,582], // CONTAINS AS MEMBER - 0x2212: [270,-230,778,83,694], // MINUS SIGN - 0x2213: [500,167,778,55,722], // MINUS-OR-PLUS SIGN - 0x2215: [751,250,500,56,445], // DIVISION SLASH - 0x2216: [750,250,500,56,444], // SET MINUS - 0x2217: [465,-34,500,64,435], // ASTERISK OPERATOR - 0x2218: [444,-55,500,55,444], // RING OPERATOR - 0x2219: [444,-55,500,55,444], // BULLET OPERATOR - 0x221A: [800,200,833,72,853], // SQUARE ROOT - 0x221D: [442,11,778,56,722], // PROPORTIONAL TO - 0x221E: [442,11,1000,55,944], // INFINITY - 0x2220: [694,0,722,55,666], // ANGLE - 0x2223: [750,250,278,119,159], // DIVIDES - 0x2225: [750,250,500,132,367], // PARALLEL TO - 0x2227: [598,22,667,55,611], // LOGICAL AND - 0x2228: [598,22,667,55,611], // LOGICAL OR - 0x2229: [598,22,667,55,611], // stix-intersection, serifs - 0x222A: [599,22,667,55,611], // stix-union, serifs - 0x222B: [716,216,417,55,472], // INTEGRAL - 0x223C: [367,-133,778,55,722], // TILDE OPERATOR - 0x2240: [583,83,278,55,222], // WREATH PRODUCT - 0x2243: [464,-36,778,55,722], // ASYMPTOTICALLY EQUAL TO - 0x2245: [589,-22,1000,55,722], // APPROXIMATELY EQUAL TO - 0x2248: [483,-55,778,55,722], // ALMOST EQUAL TO - 0x224D: [484,-16,778,55,722], // EQUIVALENT TO - 0x2250: [670,-133,778,55,722], // APPROACHES THE LIMIT - 0x2260: [716,215,778,55,722], // stix-not (vert) equals - 0x2261: [464,-36,778,55,722], // IDENTICAL TO - 0x2264: [636,138,778,83,694], // LESS-THAN OR EQUAL TO - 0x2265: [636,138,778,82,694], // GREATER-THAN OR EQUAL TO - 0x226A: [568,68,1000,56,944], // MUCH LESS-THAN - 0x226B: [567,67,1000,55,945], // MUCH GREATER-THAN - 0x227A: [539,41,778,84,695], // PRECEDES - 0x227B: [539,41,778,83,694], // SUCCEEDS - 0x2282: [540,41,778,84,695], // SUBSET OF - 0x2283: [541,40,778,82,693], // SUPERSET OF - 0x2286: [636,139,778,84,695], // SUBSET OF OR EQUAL TO - 0x2287: [637,138,778,83,693], // SUPERSET OF OR EQUAL TO - 0x228E: [599,22,667,55,611], // MULTISET UNION - 0x2291: [636,138,778,83,714], // SQUARE IMAGE OF OR EQUAL TO - 0x2292: [636,138,778,63,694], // SQUARE ORIGINAL OF OR EQUAL TO - 0x2293: [598,0,667,61,605], // stix-square intersection, serifs - 0x2294: [598,0,667,61,605], // stix-square union, serifs - 0x2295: [583,83,778,56,722], // stix-circled plus (with rim) - 0x2296: [583,83,778,56,722], // CIRCLED MINUS - 0x2297: [583,83,778,56,722], // stix-circled times (with rim) - 0x2298: [583,83,778,56,722], // CIRCLED DIVISION SLASH - 0x2299: [583,83,778,56,722], // CIRCLED DOT OPERATOR - 0x22A2: [694,0,611,55,555], // RIGHT TACK - 0x22A3: [694,0,611,55,555], // LEFT TACK - 0x22A4: [668,0,778,55,723], // DOWN TACK - 0x22A5: [668,0,778,55,723], // UP TACK - 0x22A8: [750,250,867,119,811], // TRUE - 0x22C4: [488,-12,500,12,488], // DIAMOND OPERATOR - 0x22C5: [310,-190,278,78,199], // DOT OPERATOR - 0x22C6: [486,-16,500,3,497], // STAR OPERATOR - 0x22C8: [505,6,900,25,873], // BOWTIE - 0x22EE: [900,30,278,78,199], // VERTICAL ELLIPSIS - 0x22EF: [310,-190,1172,78,1093], // MIDLINE HORIZONTAL ELLIPSIS - 0x22F1: [820,-100,1282,133,1148], // DOWN RIGHT DIAGONAL ELLIPSIS - 0x2308: [751,250,444,174,422], // LEFT CEILING - 0x2309: [751,250,444,21,269], // RIGHT CEILING - 0x230A: [750,251,444,174,422], // LEFT FLOOR - 0x230B: [751,251,444,20,269], // RIGHT FLOOR - 0x2322: [388,-122,1000,55,944], // stix-small down curve - 0x2323: [378,-134,1000,55,944], // stix-small up curve - 0x23B0: [744,245,412,55,357], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION - 0x23B1: [745,244,412,55,357], // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION - 0x27E8: [750,250,389,110,333], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [750,250,389,55,278], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x27EE: [744,245,412,173,357], // MATHEMATICAL LEFT FLATTENED PARENTHESIS - 0x27EF: [744,245,412,55,240], // MATHEMATICAL RIGHT FLATTENED PARENTHESIS - 0x27F5: [511,12,1609,54,1525], // LONG LEFTWARDS ARROW - 0x27F6: [512,11,1638,83,1554], // LONG RIGHTWARDS ARROW - 0x27F7: [512,12,1859,54,1804], // LONG LEFT RIGHT ARROW - 0x27F8: [525,24,1609,55,1553], // LONG LEFTWARDS DOUBLE ARROW - 0x27F9: [525,25,1638,55,1582], // LONG RIGHTWARDS DOUBLE ARROW - 0x27FA: [525,24,1858,55,1802], // LONG LEFT RIGHT DOUBLE ARROW - 0x27FC: [512,11,1638,54,1554], // LONG RIGHTWARDS ARROW FROM BAR - 0x2A3F: [684,0,750,28,721], // AMALGAMATION OR COPRODUCT - 0x2AAF: [636,138,778,83,695], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN - 0x2AB0: [636,138,778,83,694] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_Math-italic'] = { - directory: 'Math/Italic', - family: 'MathJax_Math', - style: 'italic', - testString: "MathJax Math", - skew: { - 0x41: 0.139, - 0x42: 0.0833, - 0x43: 0.0833, - 0x44: 0.0556, - 0x45: 0.0833, - 0x46: 0.0833, - 0x47: 0.0833, - 0x48: 0.0556, - 0x49: 0.111, - 0x4A: 0.167, - 0x4B: 0.0556, - 0x4C: 0.0278, - 0x4D: 0.0833, - 0x4E: 0.0833, - 0x4F: 0.0833, - 0x50: 0.0833, - 0x51: 0.0833, - 0x52: 0.0833, - 0x53: 0.0833, - 0x54: 0.0833, - 0x55: 0.0278, - 0x58: 0.0833, - 0x5A: 0.0833, - 0x63: 0.0556, - 0x64: 0.167, - 0x65: 0.0556, - 0x66: 0.167, - 0x67: 0.0278, - 0x68: -0.0278, - 0x6C: 0.0833, - 0x6F: 0.0556, - 0x70: 0.0833, - 0x71: 0.0833, - 0x72: 0.0556, - 0x73: 0.0556, - 0x74: 0.0833, - 0x75: 0.0278, - 0x76: 0.0278, - 0x77: 0.0833, - 0x78: 0.0278, - 0x79: 0.0556, - 0x7A: 0.0556, - 0x393: 0.0833, - 0x394: 0.167, - 0x398: 0.0833, - 0x39B: 0.167, - 0x39E: 0.0833, - 0x3A0: 0.0556, - 0x3A3: 0.0833, - 0x3A5: 0.0556, - 0x3A6: 0.0833, - 0x3A8: 0.0556, - 0x3A9: 0.0833, - 0x3B1: 0.0278, - 0x3B2: 0.0833, - 0x3B4: 0.0556, - 0x3B5: 0.0833, - 0x3B6: 0.0833, - 0x3B7: 0.0556, - 0x3B8: 0.0833, - 0x3B9: 0.0556, - 0x3BC: 0.0278, - 0x3BD: 0.0278, - 0x3BE: 0.111, - 0x3BF: 0.0556, - 0x3C1: 0.0833, - 0x3C2: 0.0833, - 0x3C4: 0.0278, - 0x3C5: 0.0278, - 0x3C6: 0.0833, - 0x3C7: 0.0556, - 0x3C8: 0.111, - 0x3D1: 0.0833, - 0x3D5: 0.0833, - 0x3F1: 0.0833, - 0x3F5: 0.0556 - }, - 0x20: [0,0,250,0,0], // SPACE - 0x2F: [716,215,778,139,638], // SOLIDUS - 0x41: [717,0,750,35,727], // LATIN CAPITAL LETTER A - 0x42: [683,0,759,35,756], // LATIN CAPITAL LETTER B - 0x43: [705,22,715,50,760], // LATIN CAPITAL LETTER C - 0x44: [683,1,828,32,804], // LATIN CAPITAL LETTER D - 0x45: [680,1,738,30,764], // LATIN CAPITAL LETTER E - 0x46: [681,0,643,30,749], // LATIN CAPITAL LETTER F - 0x47: [705,22,786,50,760], // LATIN CAPITAL LETTER G - 0x48: [683,0,831,31,889], // LATIN CAPITAL LETTER H - 0x49: [684,0,440,26,504], // LATIN CAPITAL LETTER I - 0x4A: [683,22,555,57,633], // LATIN CAPITAL LETTER J - 0x4B: [684,0,849,31,889], // LATIN CAPITAL LETTER K - 0x4C: [684,1,681,32,647], // LATIN CAPITAL LETTER L - 0x4D: [684,0,970,35,1051], // LATIN CAPITAL LETTER M - 0x4E: [684,0,803,31,888], // LATIN CAPITAL LETTER N - 0x4F: [704,22,763,50,740], // LATIN CAPITAL LETTER O - 0x50: [683,0,642,33,751], // LATIN CAPITAL LETTER P - 0x51: [704,195,791,50,740], // LATIN CAPITAL LETTER Q - 0x52: [683,22,759,33,755], // LATIN CAPITAL LETTER R - 0x53: [705,22,613,52,645], // LATIN CAPITAL LETTER S - 0x54: [678,0,584,21,705], // LATIN CAPITAL LETTER T - 0x55: [684,22,683,59,767], // LATIN CAPITAL LETTER U - 0x56: [683,23,583,52,769], // LATIN CAPITAL LETTER V - 0x57: [684,22,944,51,1048], // LATIN CAPITAL LETTER W - 0x58: [684,1,828,25,852], // LATIN CAPITAL LETTER X - 0x59: [683,-1,581,29,763], // LATIN CAPITAL LETTER Y - 0x5A: [684,1,683,58,724], // LATIN CAPITAL LETTER Z - 0x61: [441,10,529,33,506], // LATIN SMALL LETTER A - 0x62: [694,11,429,39,422], // LATIN SMALL LETTER B - 0x63: [442,11,433,34,429], // LATIN SMALL LETTER C - 0x64: [694,10,520,33,524], // LATIN SMALL LETTER D - 0x65: [442,11,466,39,429], // LATIN SMALL LETTER E - 0x66: [705,205,490,55,550], // LATIN SMALL LETTER F - 0x67: [443,205,477,10,480], // LATIN SMALL LETTER G - 0x68: [694,11,576,48,555], // LATIN SMALL LETTER H - 0x69: [661,11,345,21,303], // LATIN SMALL LETTER I - 0x6A: [661,204,412,-12,403], // LATIN SMALL LETTER J - 0x6B: [694,11,521,48,503], // LATIN SMALL LETTER K - 0x6C: [694,11,298,38,267], // LATIN SMALL LETTER L - 0x6D: [442,11,878,21,857], // LATIN SMALL LETTER M - 0x6E: [442,11,600,21,580], // LATIN SMALL LETTER N - 0x6F: [441,11,485,34,476], // LATIN SMALL LETTER O - 0x70: [442,194,503,-39,497], // LATIN SMALL LETTER P - 0x71: [442,194,446,33,460], // LATIN SMALL LETTER Q - 0x72: [442,11,451,21,430], // LATIN SMALL LETTER R - 0x73: [442,10,469,53,419], // LATIN SMALL LETTER S - 0x74: [626,11,361,19,330], // LATIN SMALL LETTER T - 0x75: [442,11,572,21,551], // LATIN SMALL LETTER U - 0x76: [443,11,485,21,467], // LATIN SMALL LETTER V - 0x77: [444,11,716,20,690], // LATIN SMALL LETTER W - 0x78: [443,11,572,35,523], // LATIN SMALL LETTER X - 0x79: [442,205,490,21,496], // LATIN SMALL LETTER Y - 0x7A: [442,12,465,35,468], // LATIN SMALL LETTER Z - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,-1,615,31,721], // GREEK CAPITAL LETTER GAMMA - 0x394: [716,1,833,48,788], // GREEK CAPITAL LETTER DELTA - 0x398: [704,22,763,50,740], // GREEK CAPITAL LETTER THETA - 0x39B: [717,0,694,35,671], // GREEK CAPITAL LETTER LAMDA - 0x39E: [678,1,742,53,777], // GREEK CAPITAL LETTER XI - 0x3A0: [681,0,831,31,888], // GREEK CAPITAL LETTER PI - 0x3A3: [683,0,780,58,806], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [706,0,583,28,701], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,0,667,24,643], // GREEK CAPITAL LETTER PHI - 0x3A8: [684,0,612,21,693], // GREEK CAPITAL LETTER PSI - 0x3A9: [704,0,772,80,786], // GREEK CAPITAL LETTER OMEGA - 0x3B1: [442,11,640,34,603], // GREEK SMALL LETTER ALPHA - 0x3B2: [706,194,566,23,573], // GREEK SMALL LETTER BETA - 0x3B3: [441,216,518,11,543], // GREEK SMALL LETTER GAMMA - 0x3B4: [717,10,444,36,451], // GREEK SMALL LETTER DELTA - 0x3B5: [453,22,466,27,428], // GREEK SMALL LETTER EPSILON - 0x3B6: [704,204,438,44,472], // GREEK SMALL LETTER ZETA - 0x3B7: [442,216,497,21,504], // GREEK SMALL LETTER ETA - 0x3B8: [705,10,469,35,462], // GREEK SMALL LETTER THETA - 0x3B9: [442,10,354,48,332], // GREEK SMALL LETTER IOTA - 0x3BA: [442,11,576,49,554], // GREEK SMALL LETTER KAPPA - 0x3BB: [694,12,583,46,556], // GREEK SMALL LETTER LAMDA - 0x3BC: [443,216,603,22,580], // GREEK SMALL LETTER MU - 0x3BD: [442,2,494,45,530], // GREEK SMALL LETTER NU - 0x3BE: [704,205,438,21,443], // GREEK SMALL LETTER XI - 0x3BF: [441,11,485,34,476], // GREEK SMALL LETTER OMICRON - 0x3C0: [431,11,570,19,573], // GREEK SMALL LETTER PI - 0x3C1: [442,216,517,22,510], // GREEK SMALL LETTER RHO - 0x3C2: [442,108,363,31,405], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [431,11,571,31,572], // GREEK SMALL LETTER SIGMA - 0x3C4: [431,13,437,17,517], // GREEK SMALL LETTER TAU - 0x3C5: [443,10,540,21,523], // GREEK SMALL LETTER UPSILON - 0x3C6: [442,219,654,50,618], // GREEK SMALL LETTER PHI - 0x3C7: [442,204,626,24,601], // GREEK SMALL LETTER CHI - 0x3C8: [694,205,651,21,634], // GREEK SMALL LETTER PSI - 0x3C9: [444,11,622,15,604], // GREEK SMALL LETTER OMEGA - 0x3D1: [705,11,591,21,563], // GREEK THETA SYMBOL - 0x3D5: [695,206,596,43,579], // GREEK PHI SYMBOL - 0x3D6: [431,10,828,19,823], // GREEK PI SYMBOL - 0x3F1: [442,194,517,67,510], // GREEK RHO SYMBOL - 0x3F5: [432,11,406,39,383] // GREEK LUNATE EPSILON SYMBOL - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_Size1'] = { - directory: 'Size1/Regular', - family: 'MathJax_Size1', - testString: "() [] {}", - 0x20: [0,0,250,0,0], // SPACE - 0x28: [850,349,458,152,422], // LEFT PARENTHESIS - 0x29: [851,349,458,35,305], // RIGHT PARENTHESIS - 0x2F: [850,349,578,55,522], // SOLIDUS - 0x5B: [850,349,417,202,394], // LEFT SQUARE BRACKET - 0x5C: [850,349,578,54,522], // REVERSE SOLIDUS - 0x5D: [850,349,417,22,214], // RIGHT SQUARE BRACKET - 0x7B: [850,349,583,104,477], // LEFT CURLY BRACKET - 0x7D: [851,349,583,104,477], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2C6: [744,-551,556,-8,564], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2DC: [722,-597,556,1,554], // SMALL TILDE - 0x302: [744,-551,0,-564,8], // COMBINING CIRCUMFLEX ACCENT - 0x303: [722,-597,0,-555,-2], // COMBINING TILDE - 0x2016: [602,0,778,257,521], // DOUBLE VERTICAL LINE - 0x2191: [600,0,667,112,555], // UPWARDS ARROW - 0x2193: [600,0,667,112,555], // DOWNWARDS ARROW - 0x21D1: [599,0,778,57,721], // UPWARDS DOUBLE ARROW - 0x21D3: [600,-1,778,57,721], // DOWNWARDS DOUBLE ARROW - 0x220F: [750,250,944,55,888], // N-ARY PRODUCT - 0x2210: [750,250,944,55,888], // N-ARY COPRODUCT - 0x2211: [751,250,1056,56,999], // N-ARY SUMMATION - 0x221A: [850,350,1000,111,1020], // SQUARE ROOT - 0x2223: [627,15,333,145,188], // DIVIDES - 0x2225: [627,15,556,145,410], // PARALLEL TO - 0x222B: [805,306,472,55,610], // INTEGRAL - 0x222C: [805,306,819,55,957], // DOUBLE INTEGRAL - 0x222D: [805,306,1166,55,1304], // TRIPLE INTEGRAL - 0x222E: [805,306,472,55,610], // CONTOUR INTEGRAL - 0x22C0: [750,249,833,55,777], // N-ARY LOGICAL AND - 0x22C1: [750,249,833,55,777], // N-ARY LOGICAL OR - 0x22C2: [750,249,833,54,777], // N-ARY INTERSECTION - 0x22C3: [750,250,833,55,777], // N-ARY UNION - 0x2308: [850,349,472,202,449], // LEFT CEILING - 0x2309: [850,349,472,22,269], // RIGHT CEILING - 0x230A: [850,349,472,202,449], // LEFT FLOOR - 0x230B: [850,349,472,22,269], // RIGHT FLOOR - 0x23D0: [602,0,667,312,355], // VERTICAL LINE EXTENSION (used to extend arrows) - 0x27E8: [850,350,472,97,394], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [850,350,472,77,374], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x2A00: [750,250,1111,56,1054], // N-ARY CIRCLED DOT OPERATOR - 0x2A01: [750,250,1111,56,1054], // N-ARY CIRCLED PLUS OPERATOR - 0x2A02: [750,250,1111,56,1054], // N-ARY CIRCLED TIMES OPERATOR - 0x2A04: [750,250,833,55,777], // N-ARY UNION OPERATOR WITH PLUS - 0x2A06: [750,249,833,55,777] // N-ARY SQUARE UNION OPERATOR - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_Size2'] = { - directory: 'Size2/Regular', - family: 'MathJax_Size2', - testString: "() [] {}", - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1150,649,597,180,561], // LEFT PARENTHESIS - 0x29: [1151,649,597,35,416], // RIGHT PARENTHESIS - 0x2F: [1150,649,811,55,755], // SOLIDUS - 0x5B: [1150,649,472,224,455], // LEFT SQUARE BRACKET - 0x5C: [1150,649,811,54,754], // REVERSE SOLIDUS - 0x5D: [1150,649,472,16,247], // RIGHT SQUARE BRACKET - 0x7B: [1150,649,667,119,547], // LEFT CURLY BRACKET - 0x7D: [1151,649,667,119,547], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2C6: [772,-565,1000,-5,1004], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2DC: [750,-611,1000,0,999], // SMALL TILDE - 0x302: [772,-565,0,-1005,4], // COMBINING CIRCUMFLEX ACCENT - 0x303: [750,-611,0,-1000,-1], // COMBINING TILDE - 0x220F: [950,450,1278,56,1221], // N-ARY PRODUCT - 0x2210: [950,450,1278,56,1221], // N-ARY COPRODUCT - 0x2211: [950,450,1444,55,1388], // N-ARY SUMMATION - 0x221A: [1150,650,1000,111,1020], // SQUARE ROOT - 0x222B: [1360,862,556,55,944], // INTEGRAL - 0x222C: [1361,862,1084,55,1473], // DOUBLE INTEGRAL - 0x222D: [1361,862,1592,55,1981], // TRIPLE INTEGRAL - 0x222E: [1360,862,556,55,944], // CONTOUR INTEGRAL - 0x22C0: [950,450,1111,55,1055], // N-ARY LOGICAL AND - 0x22C1: [950,450,1111,55,1055], // N-ARY LOGICAL OR - 0x22C2: [949,450,1111,55,1055], // N-ARY INTERSECTION - 0x22C3: [950,449,1111,55,1055], // N-ARY UNION - 0x2308: [1150,649,528,224,511], // LEFT CEILING - 0x2309: [1150,649,528,16,303], // RIGHT CEILING - 0x230A: [1150,649,528,224,511], // LEFT FLOOR - 0x230B: [1150,649,528,16,303], // RIGHT FLOOR - 0x27E8: [1150,649,611,112,524], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1150,649,611,85,498], // MATHEMATICAL RIGHT ANGLE BRACKET - 0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR - 0x2A01: [949,449,1511,56,1454], // N-ARY CIRCLED PLUS OPERATOR - 0x2A02: [949,449,1511,56,1454], // N-ARY CIRCLED TIMES OPERATOR - 0x2A04: [950,449,1111,55,1055], // N-ARY UNION OPERATOR WITH PLUS - 0x2A06: [950,450,1111,55,1055] // N-ARY SQUARE UNION OPERATOR - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_Size3'] = { - directory: 'Size3/Regular', - family: 'MathJax_Size3', - testString: "() [] {}", - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1450,949,736,209,701], // LEFT PARENTHESIS - 0x29: [1451,949,736,34,526], // RIGHT PARENTHESIS - 0x2F: [1450,949,1044,55,989], // SOLIDUS - 0x5B: [1450,949,528,247,516], // LEFT SQUARE BRACKET - 0x5C: [1450,949,1044,56,988], // REVERSE SOLIDUS - 0x5D: [1450,949,528,11,280], // RIGHT SQUARE BRACKET - 0x7B: [1450,949,750,130,618], // LEFT CURLY BRACKET - 0x7D: [1451,949,750,131,618], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2C6: [772,-564,1444,-4,1447], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2DC: [749,-610,1444,1,1442], // SMALL TILDE - 0x302: [772,-564,0,-1448,3], // COMBINING CIRCUMFLEX ACCENT - 0x303: [749,-610,0,-1443,-2], // COMBINING TILDE - 0x221A: [1450,951,1000,111,1020], // SQUARE ROOT - 0x2308: [1450,949,583,246,571], // LEFT CEILING - 0x2309: [1450,949,583,11,336], // RIGHT CEILING - 0x230A: [1450,949,583,246,571], // LEFT FLOOR - 0x230B: [1450,949,583,11,336], // RIGHT FLOOR - 0x27E8: [1450,950,750,126,654], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1450,950,750,94,623] // MATHEMATICAL RIGHT ANGLE BRACKET - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_Size4'] = { - directory: 'Size4/Regular', - family: 'MathJax_Size4', - testString: "() [] {}", - 0x20: [0,0,250,0,0], // SPACE - 0x28: [1750,1249,792,237,758], // LEFT PARENTHESIS - 0x29: [1751,1250,792,33,554], // RIGHT PARENTHESIS - 0x2F: [1750,1249,1278,56,1221], // SOLIDUS - 0x5B: [1750,1249,583,269,577], // LEFT SQUARE BRACKET - 0x5C: [1750,1249,1278,56,1221], // REVERSE SOLIDUS - 0x5D: [1750,1249,583,5,313], // RIGHT SQUARE BRACKET - 0x7B: [1750,1249,806,144,662], // LEFT CURLY BRACKET - 0x7D: [1751,1249,806,144,662], // RIGHT CURLY BRACKET - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x2C6: [845,-561,1889,-14,1902], // MODIFIER LETTER CIRCUMFLEX ACCENT - 0x2DC: [823,-583,1889,1,1885], // SMALL TILDE - 0x302: [845,-561,0,-1903,13], // COMBINING CIRCUMFLEX ACCENT - 0x303: [823,-583,0,-1888,-4], // COMBINING TILDE - 0x221A: [1750,1251,1000,111,1020], // SQUARE ROOT - 0x2308: [1750,1249,639,269,633], // LEFT CEILING - 0x2309: [1750,1249,639,5,369], // RIGHT CEILING - 0x230A: [1750,1249,639,269,633], // LEFT FLOOR - 0x230B: [1750,1249,639,5,369], // RIGHT FLOOR - 0x239B: [1155,655,875,290,843], // LEFT PARENTHESIS UPPER HOOK - 0x239C: [610,10,875,291,417], // LEFT PARENTHESIS EXTENSION - 0x239D: [1165,644,875,291,843], // LEFT PARENTHESIS LOWER HOOK - 0x239E: [1155,655,875,31,583], // RIGHT PARENTHESIS UPPER HOOK - 0x239F: [610,10,875,457,583], // RIGHT PARENTHESIS EXTENSION - 0x23A0: [1165,645,875,31,583], // RIGHT PARENTHESIS LOWER HOOK - 0x23A1: [1154,645,667,319,666], // LEFT SQUARE BRACKET UPPER CORNER - 0x23A2: [602,0,667,319,403], // LEFT SQUARE BRACKET EXTENSION - 0x23A3: [1155,644,667,319,666], // LEFT SQUARE BRACKET LOWER CORNER - 0x23A4: [1154,645,667,0,347], // RIGHT SQUARE BRACKET UPPER CORNER - 0x23A5: [602,0,667,263,347], // RIGHT SQUARE BRACKET EXTENSION - 0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER - 0x23A7: [899,10,889,383,719], // LEFT CURLY BRACKET UPPER HOOK - 0x23A8: [1160,660,889,170,505], // LEFT CURLY BRACKET MIDDLE PIECE - 0x23A9: [10,899,889,384,718], // LEFT CURLY BRACKET LOWER HOOK - 0x23AA: [310,10,889,383,504], // CURLY BRACKET EXTENSION - 0x23AB: [900,11,889,170,504], // RIGHT CURLY BRACKET UPPER HOOK - 0x23AC: [1160,660,889,384,718], // RIGHT CURLY BRACKET MIDDLE PIECE - 0x23AD: [10,899,889,170,505], // RIGHT CURLY BRACKET LOWER HOOK - 0x23B7: [935,885,1056,111,742], // RADICAL SYMBOL BOTTOM - 0x27E8: [1750,1249,806,140,703], // MATHEMATICAL LEFT ANGLE BRACKET - 0x27E9: [1751,1249,806,103,665], // MATHEMATICAL RIGHT ANGLE BRACKET - 0xE000: [625,15,1056,702,742], // MJ-TeX: radical symbol vertical extender - 0xE001: [605,15,1056,702,1076], // MJ-TeX: radical symbol top corner piece - 0xE150: [120,213,450,-24,461], // MJ-TeX: horizontal brace, down left piece - 0xE151: [120,214,450,-11,475], // MJ-TeX: horizontal brace, down right piece - 0xE152: [333,0,450,-24,461], // MJ-TeX: horizontal brace, upper left piece - 0xE153: [333,0,450,-11,475], // MJ-TeX: horizontal brace, upper right piece - 0xE154: [120,0,400,-10,410] // MJ-TeX: horizontal brace, extender - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_WinChrome'] = { - directory: 'WinChrome/Regular', - family: 'MathJax_WinChrome', - testString: "> T d "+String.fromCharCode(0x23A6)+" "+String.fromCharCode(0x2A00), - skew: { - 0x54: 0.0278, - 0xE2F0: 0.0319 - }, - 0x20: [0,0,250,0,0], // SPACE - 0x3E: [540,40,778,82,694], // GREATER-THAN SIGN - 0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T - 0x64: [694,11,511,100,567], // LATIN SMALL LETTER D - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x22C3: [750,250,833,55,777], // N-ARY UNION - 0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER - 0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR - 0xE2F0: [720,69,644,38,947], // ?? - 0xE2F1: [587,85,894,95,797] // ?? - }; - - HTMLCSS.FONTDATA.FONTS['MathJax_Main'][0x22EE][0] += 400; // adjust height for \vdots - HTMLCSS.FONTDATA.FONTS['MathJax_Main'][0x22F1][0] += 700; // adjust height for \ddots - HTMLCSS.FONTDATA.FONTS['MathJax_Size4'][0xE154][0] += 200; // adjust height for brace extender - HTMLCSS.FONTDATA.FONTS['MathJax_Size4'][0xE154][1] += 200; // adjust depth for brace extender - - if (!HTMLCSS.imgFonts) { - MathJax.Hub.Browser.Select({ - MSIE: function (browser) { - - if (!HTMLCSS.imgFonts && HTMLCSS.config.availableFonts && HTMLCSS.config.availableFonts.length) { - - HTMLCSS.FONTDATA.REMAP[0x2C9] = 0xAF; // macron - HTMLCSS.FONTDATA.REMAP[0x2CA] = 0xB4; // acute - HTMLCSS.FONTDATA.REMAP[0x2CB] = 0x60; // grave - HTMLCSS.FONTDATA.REMAP[0x2DA] = 0xB0; // ring above - - var testString = HTMLCSS.msieCheckGreek = - String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B); - - HTMLCSS.FONTDATA.RANGES.push({name: "greek", low: 0x03B1, high: 0x03C9, offset: "G", add: 32}); - HTMLCSS.FONTDATA.RANGES.push({name: "Greek", low: 0x0391, high: 0x03F6, offset: "G"}); - - if (HTMLCSS.Font.testFont({family:"MathJax_Greek", testString: testString})) { - HTMLCSS.Augment({ - FONTDATA: { - VARIANT: { - normal: {offsetG: 0x391, variantG: "-Greek"}, - "fraktur": {offsetG: 0x391, variantG: "-Greek"}, - "script": {offsetG: 0x391, variantG: "-Greek"}, - "-tex-caligraphic": {offsetG: 0x391, variantG: "-Greek"}, - "-tex-oldstyle": {offsetG: 0x391, variantG: "-Greek"}, - "-Greek": {fonts:["MathJax_Greek"]} - } - } - }); - - HTMLCSS.FONTDATA.FONTS['MathJax_Greek'] = { - directory: 'Greek/Regular', - family: 'MathJax_Greek', - testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,0,625,25,582], // GREEK CAPITAL LETTER GAMMA - 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA - 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA - 0x39B: [716,0,694,32,661], // GREEK CAPITAL LETTER LAMDA - 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI - 0x3A3: [683,0,722,55,666], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,778,55,722], // GREEK CAPITAL LETTER PSI - 0x3A9: [704,0,722,44,677] // GREEK CAPITAL LETTER OMEGA - }; - - } - - if (HTMLCSS.Font.testFont({family:"MathJax_Greek", weight:"bold", testString: testString})) { - HTMLCSS.Augment({ - FONTDATA: { - VARIANT: { - bold: {offsetG: 0x391, variantG: "-Greek-Bold"}, - "bold-fraktur": {offsetG: 0x391, variantG: "-Greek-Bold"}, - "bold-script": {offsetG: 0x391, variantG: "-Greek-Bold"}, - "-Greek-Bold": {fonts:["MathJax_Greek-bold"]} - } - } - }); - - HTMLCSS.FONTDATA.FONTS['MathJax_Greek-bold'] = { - directory: 'Greek/Bold', - family: 'MathJax_Greek', - weight: 'bold', - testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,0,692,39,643], // GREEK CAPITAL LETTER GAMMA - 0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA - 0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA - 0x39B: [698,0,806,40,765], // GREEK CAPITAL LETTER LAMDA - 0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI - 0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI - 0x3A3: [686,0,831,64,766], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI - 0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI - 0x3A9: [696,1,831,51,779] // GREEK CAPITAL LETTER OMEGA - }; - - } - - if (HTMLCSS.Font.testFont({family:"MathJax_Greek", style:"italic", testString: testString})) { - HTMLCSS.Augment({ - FONTDATA: { - VARIANT: { - italic: {offsetG: 0x391, variantG: "-Greek-Italic"}, - "-Greek-Italic": {fonts:["MathJax_Greek-italic"]} - } - } - }); - - HTMLCSS.FONTDATA.FONTS['MathJax_Greek-italic'] = { - directory: 'Greek/Italic', - family: 'MathJax_Greek', - style: 'italic', - testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), - skew: { - 0x393: 0.0833, - 0x394: 0.167, - 0x398: 0.0833, - 0x39B: 0.167, - 0x39E: 0.0833, - 0x3A0: 0.0556, - 0x3A3: 0.0833, - 0x3A5: 0.0556, - 0x3A6: 0.0833, - 0x3A8: 0.0556, - 0x3A9: 0.0833, - 0x3B1: 0.0278, - 0x3B2: 0.0833, - 0x3B4: 0.0556, - 0x3B5: 0.0833, - 0x3B6: 0.0833, - 0x3B7: 0.0556, - 0x3B8: 0.0833, - 0x3B9: 0.0556, - 0x3BC: 0.0278, - 0x3BD: 0.0278, - 0x3BE: 0.111, - 0x3BF: 0.0556, - 0x3C1: 0.0833, - 0x3C2: 0.0833, - 0x3C4: 0.0278, - 0x3C5: 0.0278, - 0x3C6: 0.0833, - 0x3C7: 0.0556, - 0x3C8: 0.111, - 0x3D1: 0.0833, - 0x3D5: 0.0833, - 0x3F1: 0.0833, - 0x3F5: 0.0556 - }, - 0x20: [0,0,250,0,0], // SPACE - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x393: [680,-1,615,31,721], // GREEK CAPITAL LETTER GAMMA - 0x394: [716,0,833,48,788], // GREEK CAPITAL LETTER DELTA - 0x398: [704,22,763,50,740], // GREEK CAPITAL LETTER THETA - 0x39B: [716,0,694,35,670], // GREEK CAPITAL LETTER LAMDA - 0x39E: [678,0,742,53,777], // GREEK CAPITAL LETTER XI - 0x3A0: [681,0,831,31,887], // GREEK CAPITAL LETTER PI - 0x3A3: [683,0,780,58,806], // GREEK CAPITAL LETTER SIGMA - 0x3A5: [705,0,583,28,700], // GREEK CAPITAL LETTER UPSILON - 0x3A6: [683,0,667,24,642], // GREEK CAPITAL LETTER PHI - 0x3A8: [683,0,612,21,692], // GREEK CAPITAL LETTER PSI - 0x3A9: [704,0,772,80,786], // GREEK CAPITAL LETTER OMEGA - 0x3B1: [442,11,640,34,603], // GREEK SMALL LETTER ALPHA - 0x3B2: [705,194,566,23,573], // GREEK SMALL LETTER BETA - 0x3B3: [441,216,518,11,543], // GREEK SMALL LETTER GAMMA - 0x3B4: [717,10,444,36,451], // GREEK SMALL LETTER DELTA - 0x3B5: [452,22,466,27,428], // GREEK SMALL LETTER EPSILON - 0x3B6: [704,204,438,44,471], // GREEK SMALL LETTER ZETA - 0x3B7: [442,216,497,21,503], // GREEK SMALL LETTER ETA - 0x3B8: [705,10,469,35,462], // GREEK SMALL LETTER THETA - 0x3B9: [442,10,354,48,332], // GREEK SMALL LETTER IOTA - 0x3BA: [442,11,576,49,554], // GREEK SMALL LETTER KAPPA - 0x3BB: [694,12,583,47,556], // GREEK SMALL LETTER LAMDA - 0x3BC: [442,216,603,23,580], // GREEK SMALL LETTER MU - 0x3BD: [442,2,494,45,530], // GREEK SMALL LETTER NU - 0x3BE: [704,205,438,21,443], // GREEK SMALL LETTER XI - 0x3BF: [441,11,485,34,476], // GREEK SMALL LETTER OMICRON - 0x3C0: [431,11,570,19,573], // GREEK SMALL LETTER PI - 0x3C1: [442,216,517,23,510], // GREEK SMALL LETTER RHO - 0x3C2: [442,107,363,31,405], // GREEK SMALL LETTER FINAL SIGMA - 0x3C3: [431,11,571,31,572], // GREEK SMALL LETTER SIGMA - 0x3C4: [431,13,437,18,517], // GREEK SMALL LETTER TAU - 0x3C5: [443,10,540,21,523], // GREEK SMALL LETTER UPSILON - 0x3C6: [442,218,654,50,618], // GREEK SMALL LETTER PHI - 0x3C7: [442,204,626,25,600], // GREEK SMALL LETTER CHI - 0x3C8: [694,205,651,21,634], // GREEK SMALL LETTER PSI - 0x3C9: [443,11,622,15,604], // GREEK SMALL LETTER OMEGA - 0x3D1: [705,11,591,21,563], // GREEK THETA SYMBOL - 0x3D5: [694,205,596,43,579], // GREEK PHI SYMBOL - 0x3D6: [431,10,828,19,823], // GREEK PI SYMBOL - 0x3F1: [442,194,517,67,510], // GREEK RHO SYMBOL - 0x3F5: [431,11,406,40,382] // GREEK LUNATE EPSILON SYMBOL - }; - - } - } - - if (HTMLCSS.msieIE6) { - - var WinIE6 = "MathJax_WinIE6"; - HTMLCSS.FONTDATA.FONTS[WinIE6] = "WinIE6/Regular/Main.js"; - HTMLCSS.FONTDATA.RANGES.push({name: "arrows", low: 0x2190, high: 0x2199, offset: "AR"}); - - var REMAP = {variant:"-WinIE6", - 0x21D2:0xE20A, 0x21D4:0xE20B, // \Rightarrow, \Leftrightarrow - 0x2200:0xE20C, 0x2202:0xE20D, 0x2203:0xE20E, 0x2207:0xE20F, // \forall, \partial, \exists, \nabla - 0x2208:0xE210, 0x220B:0xE211, 0x2215:0xE212, 0x221A:0xE213, // \in, \ni, /, \surd - 0x221D:0xE214, 0x221E:0xE215, 0x2220:0xE216, 0x2223:0xE217, // \propto, \infty, \angle, \vert - 0x2225:0xE218, 0x2227:0xE219, 0x2228:0xE21A, 0x2229:0xE21B, // \Vert, \wedge, \vee, \cap - 0x222A:0xE21C, 0x222B:0xE21D, 0x223C:0xE21E, 0x2248:0xE21F, // \cup, \int, \sim, \approx - 0x2260:0xE220, 0x2261:0xE221, 0x2264:0xE222, 0x2265:0xE223, // \ne, \equiv, \le, \ge - 0x226A:0xE224, 0x226B:0xE225, 0x2282:0xE226, 0x2283:0xE227, // \ll, \gg, \subset, \supset - 0x2286:0xE228, 0x2287:0xE229, 0x2295:0xE22A, 0x2299:0xE22B, // \subseteq, \supseteq, \oplus, \odot - 0x22A5:0xE22C, 0x25B3:0xE22D, 0x25BD:0xE22E, 0x25EF:0xE22F, // \bot, \bigtriangleup, \bigtriangledown, \bigcirc - 0x2660:0xE230, 0x2661:0xE231, 0x2662:0xE232, 0x2663:0xE233, // \spadesuit, \heartsuit, \diamondsuit, \clubsuit - 0x266D:0xE234, 0x266E:0xE235, 0x266F:0xE236, // \flat, \naturl, \sharp - 0x2266:0xE2C5, 0x2267:0xE2C6, 0x226E:0xE2C7, 0x226F:0xE2C8, // \leqq, \geqq, \nless, \ngtr - 0x250C:0xE2CA, 0x2510:0xE2CB, 0x2514:0xE2CC, 0x2518:0xE2CD, // corners - 0x2571:0xE2CE, 0x2572:0xE2CF, 0x25A0:0xE2D0, 0x25A1:0xE2D1, // \diagup, \diagdown, \blacksquare, \square - 0x25B2:0xE2D2, 0x25B6:0xE2D4, 0x25BC:0xE2D5, // \blacktriangle, \blacktriangleright, \blacktriangledown - 0x25BD:0xE2D6, 0x25C0:0xE2D7, 0x25CA:0xE2D8, // \vartriangledown, \blacktriangleleft, \lozenge - 0x2234:0xE2D9, 0x2235:0xE2DA, 0x2252:0xE2DB, 0x2605:0xE2DC, // \therefor, \because, \fallingdotseq, \bigstar - 0x223D:0xE2DD // \backsim - }; - var REMAPBOLD = {variant:"-WinIE6", - 0x21D2:0xE24A, 0x21D4:0xE24B, // \Rightarrow, \Leftrightarrow - 0x2200:0xE24C, 0x2202:0xE24D, 0x2203:0xE24E, 0x2207:0xE24F, // \forall, \partial, \exists, \nabla - 0x2208:0xE250, 0x220B:0xE251, 0x2215:0xE252, 0x221A:0xE253, // \in, \ni, /, \surd - 0x221D:0xE254, 0x221E:0xE255, 0x2220:0xE256, 0x2223:0xE257, // \propto, \infty, \angle, \vert - 0x2225:0xE258, 0x2227:0xE259, 0x2228:0xE25A, 0x2229:0xE25B, // \Vert, \wedge, \vee, \cap - 0x222A:0xE25C, 0x222B:0xE25D, 0x223C:0xE25E, 0x2248:0xE25F, // \cup, \int, \sim, \approx - 0x2260:0xE260, 0x2261:0xE261, 0x2264:0xE262, 0x2265:0xE263, // \ne, \equiv, \le, \ge - 0x226A:0xE264, 0x226B:0xE265, 0x2282:0xE266, 0x2283:0xE267, // \ll, \gg, \subset, \supset - 0x2286:0xE268, 0x2287:0xE269, 0x2295:0xE26A, 0x2299:0xE26B, // \subseteq, \supseteq, \oplus, \odot - 0x22A5:0xE26C, 0x25B3:0xE26D, 0x25BD:0xE26E, 0x25EF:0xE26F, // \bot, \bigtriangleup, \bigtriangledown, \bigcirc - 0x2660:0xE270, 0x2661:0xE271, 0x2662:0xE272, 0x2663:0xE273, // \spadesuit, \heartsuit, \diamondsuit, \clubsuit - 0x266D:0xE274, 0x266E:0xE275, 0x266F:0xE276, // \flat, \naturl, \sharp - 0x2266:0xE2C5, 0x2267:0xE2C6, 0x226E:0xE2C7, 0x226F:0xE2C8, // \leqq, \geqq, \nless, \ngtr - 0x250C:0xE2CA, 0x2510:0xE2CB, 0x2514:0xE2CC, 0x2518:0xE2CD, // corners - 0x2571:0xE2CE, 0x2572:0xE2CF, 0x25A0:0xE2D0, 0x25A1:0xE2D1, // \diagup, \diagdown, \blacksquare, \square - 0x25B2:0xE2D2, 0x25B6:0xE2D4, 0x25BC:0xE2D5, // \blacktriangle, \blacktriangleright, \blacktriangledown - 0x25BD:0xE2D6, 0x25C0:0xE2D7, 0x25CA:0xE2D8, // \vartriangledown, \blacktriangleleft, \lozenge - 0x2234:0xE2D9, 0x2235:0xE2DA, 0x2252:0xE2DB, 0x2605:0xE2DC, // \therefor, \because, \fallingdotseq, \bigstar - 0x223D:0xE2DD // \backsim - }; - var VARNORMAL = {offsetAR:0xE200, variantAR:"-WinIE6", remap: REMAP}; - var VARBOLD = {offsetAR:0xE240, variantAR:"-WinIE6", remap: REMAPBOLD}; - - HTMLCSS.Augment({ - FONTDATA: { - VARIANT: { - "normal": VARNORMAL, - "bold": VARBOLD, - "italic": VARNORMAL, - "bold-italic": VARBOLD, - "-largeOp": {fonts:[WinIE6,SIZE2,SIZE1,MAIN], - remap: {0x220F:0xE290, 0x2211:0xE291, 0x222B:0xE295, 0x222E:0xE296}}, - "-smallOp": {fonts:[WinIE6,SIZE1,MAIN], - remap: {0x220F:0xE280, 0x2211:0xE281, 0x222B:0xE285, 0x222E:0xE286}}, - "-WinIE6": {fonts:[WinIE6]} - }, - DELIMITERS: { - 0x221A: { - HW:{ - 0:[1,WinIE6,null,0xE213], 1:[1.2,WinIE6,null,0xE282], 2:[1.8,WinIE6,null,0xE292], - 3:[2.4,WinIE6,null,0xE2A2], 4:[3,WinIE6,null,0xE2B2] - } - }, - 0x007C: {stretch:{ext:[0xE217,WinIE6]}}, - 0x2223: {HW:{0:[1,WinIE6,null,0xE217]}, stretch:{ext:[0xE217,WinIE6]}}, - 0x23D0: {HW:{1:[1,WinIE6,null,0xE217]}, stretch:{ext:[0xE217,WinIE6]}}, - 0x2225: {HW:{0:[1,WinIE6,null,0xE218]}, stretch:{ext:[0xE218,WinIE6]}}, - 0x2190: {HW:{0:[.889,WinIE6,null,0xE200]}, stretch:{left:[0xE200,WinIE6]}}, - 0x2191: {HW:{0:[.888,WinIE6,null,0xE201]}, stretch:{top:[0xE287,WinIE6],ext:[0xE289,WinIE6]}}, - 0x2192: {HW:{0:[.889,WinIE6,null,0xE202]}, stretch:{right:[0xE202,WinIE6]}}, - 0x2193: {HW:{0:[.888,WinIE6,null,0xE203]}, stretch:{bot:[0xE288,WinIE6],ext:[0xE289,WinIE6]}}, - 0x2194: {HW:{0:[1,WinIE6,null,0xE204]}, stretch:{left:[0xE200,WinIE6],right:[0xE202,WinIE6]}}, - 0x2195: {HW:{0:[1.044,WinIE6,null,0xE203]}, stretch:{top:[0xE287,WinIE6],bot:[0xE288,WinIE6], ext:[0xE289,WinIE6]}} - } - } - }); - - } - - }, - - Chrome: function (browser) { - if (browser.isPC && !MathJax.Hub.Browser.versionAtLeast("5.0")) { - // FIXME: patch caligraphic bold, too - var WinChrome = "-WinChrome"; - HTMLCSS.Augment({ - FONTDATA: { - VARIANT: { - normal: {remap: {0x3E: [0x3E,WinChrome]}}, - bold: {remap: {0xE2F1: [0x3E,WinChrome]}}, - italic: {remap: {0x64: [0x64,WinChrome]}}, - "-tex-caligraphic": {remap: {0x54: [0x54,WinChrome]}}, - "-largeOp": {remap: {0x2A00: [0x2A00,WinChrome]}}, - "-smallOp": {remap: {0x22C3: [0x22C3,WinChrome]}}, - "-WinChrome": {fonts:["MathJax_WinChrome"]} - }, - DELIMITERS: { - 0x005D: {stretch:{bot:[0x23A6,"MathJax_WinChrome"]}}, - 0x230B: {stretch:{bot:[0x23A6,"MathJax_WinChrome"]}} - } - } - }); - - HTMLCSS.FONTDATA.FONTS['MathJax_WinChrome'] = { - directory: 'WinChrome/Regular', - family: 'MathJax_WinChrome', - testString: "> T d "+String.fromCharCode(0x23A6)+" "+String.fromCharCode(0x2A00), - skew: { - 0x54: 0.0278, - 0xE2F0: 0.0319 - }, - 0x20: [0,0,250,0,0], // SPACE - 0x3E: [540,40,778,82,694], // GREATER-THAN SIGN - 0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T - 0x64: [694,11,511,100,567], // LATIN SMALL LETTER D - 0xA0: [0,0,250,0,0], // NO-BREAK SPACE - 0x22C3: [750,250,833,55,777], // N-ARY UNION - 0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER - 0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR - 0xE2F0: [720,69,644,38,947], // ?? - 0xE2F1: [587,85,894,95,797] // ?? - }; - - } - } - - }); - } - - // - // Create @font-face stylesheet for the declared fonts - // - (function () { - var FONTS = HTMLCSS.FONTDATA.FONTS, AVAIL = HTMLCSS.config.availableFonts; - var name, faces = []; - if (HTMLCSS.allowWebFonts) { - for (name in FONTS) { - if (FONTS[name].family) { - if (AVAIL && AVAIL.length && HTMLCSS.Font.testFont(FONTS[name])) { - FONTS[name].available = true; - HTMLCSS.Font.loadComplete(FONTS[name]); - } else { - FONTS[name].isWebFont = true; - if (HTMLCSS.FontFaceBug) {FONTS[name].family = name} - faces.push(HTMLCSS.Font.fontFace(name)); - } - } - } - if (!HTMLCSS.config.preloadWebFonts) {HTMLCSS.config.preloadWebFonts = []} - HTMLCSS.config.preloadWebFonts.push(MAIN,ITALIC,SIZE1); - if (faces.length) {HTMLCSS.config.styles["@font-face"] = faces} - } else if (AVAIL && AVAIL.length) { - for (name in FONTS) { - if (FONTS[name].family && HTMLCSS.Font.testFont(FONTS[name])) { - FONTS[name].available = true; - HTMLCSS.Font.loadComplete(FONTS[name]); - } - } - } - })(); - - AJAX.loadComplete(HTMLCSS.fontDir + "/fontdata.js"); - -})(MathJax.OutputJax["HTML-CSS"],MathJax.ElementJax.mml,MathJax.Ajax); - diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js deleted file mode 100644 index fdbb1793..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js +++ /dev/null @@ -1,185 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/imageFonts.js - * - * Implements the image fallback fonts for the HTML-CSS OutputJax. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (HUB,HTMLCSS,AJAX) { - HUB.Register.LoadHook(HTMLCSS.fontDir + "/fontdata.js",function () { - - HTMLCSS.Augment({ - allowWebFonts: false, - - imgDir: HTMLCSS.webfontDir+"/png", - imgSize: ['050','060','071','085',100,120,141,168,200,238,283,336,400,476], - imgBaseIndex: 4, // set by initImg() - imgSizeForEm: {}, // cache of indexes by em-size - imgSizeForScale: {}, // cache of indexes by scale for a given em-size - - handleImg: function (span,font,c,n,text) { - if (text.length) {this.addText(span,text)} - var orig = c[5].orig; if (!orig) {orig = c[5].orig = [c[0],c[1],c[2],c[3],c[4]]} - var bscale = this.imgBrowserZoom(); if (!span.scale) {span.scale = 1} - var index = this.imgIndex(span.scale*bscale); - if (index == this.imgEmWidth.length-1 && - this.em*span.scale*bscale/this.imgEmWidth[index] > 1.1) - {bscale = this.imgEmWidth[index]/(this.em*span.scale)} - var factor = this.imgEmWidth[index]/(this.em*(span.scale||1)*bscale); - c[0] = orig[0]*factor; c[1] = orig[1]*factor; c[2] = orig[2]*factor; - c[3] = orig[3]*factor; c[4] = orig[4]*factor; - var dir = this.imgDir+"/"+font.directory+"/"+this.imgSize[index]; - var chr = n.toString(16).toUpperCase(); while (chr.length < 4) {chr = "0"+chr}; - var file = dir+"/"+chr+".png"; - var img = c[5].img[index]; - var style = {width:Math.floor(img[0]/bscale+.5)+"px", height:Math.floor(img[1]/bscale+.5)+"px"}; - if (img[2]) {style.verticalAlign = Math.floor(-img[2]/bscale+.5)+"px"} - if (c[3] < 0) {style.marginLeft = this.Em(c[3]/1000)} - if (c[4] != c[2]) {style.marginRight = this.Em((c[2]-c[4])/1000)} - if (this.msieIE6) { - style.filter = "progid:DXImageTransform.Microsoft." + - "AlphaImageLoader(src='"+AJAX.fileURL(file)+"', sizingMethod='scale')"; - file = this.directory+"/blank.gif" - } - this.addElement(span,"img",{src:AJAX.fileURL(file), style:style}); - return ""; - }, - - defineImageData: function (def) { - for (var font in def) {if (def.hasOwnProperty(font)) { - var FONT = HTMLCSS.FONTDATA.FONTS[font]; - if (FONT) { - font = def[font]; - for (var n in font) {if (font.hasOwnProperty(n) && FONT[n]) {FONT[n][5] = {img: font[n]}}} - } - }} - }, - - initImg: function (span) { - if (this.imgSizeForEm[this.em]) {this.imgBaseIndex = this.imgSizeForEm[this.em]} - for (var i = 0, m = this.imgEmWidth.length-1; i < m; i++) - {if (this.em <= this.imgEmWidth[i]) break} - if (i && this.imgEmWidth[i] - this.em > this.em - this.imgEmWidth[i-1]) {i--} - this.imgSizeForEm[this.em] = this.imgBaseIndex = i; - }, - - imgIndex: function (scale) { - if (!scale) {return this.imgBaseIndex} - if (!this.imgSizeForScale[this.em]) {this.imgSizeForScale[this.em] = {}} - if (this.imgSizeForScale[this.em][scale]) {return this.imgSizeForScale[this.em][scale]} - var em = this.em * scale; - for (var i = 0, m = this.imgEmWidth.length-1; i < m; i++) - {if (em <= this.imgEmWidth[i]) break} - if (i && this.imgEmWidth[i] - em > em - this.imgEmWidth[i-1]) {i--} - this.imgSizeForScale[this.em][scale] = i; - return i; - }, - - imgBrowserZoom: function () {return 1} - - }); - - HUB.Browser.Select({ - - Firefox: function (browser) { - var ZDIV = HTMLCSS.addElement(document.body,"div",{ - style: { - display:"none", visibility:"hidden", overflow:"scroll", - position:"absolute", top:0, left: 0, width:"200px", height:"200px" - } - }); - - var ZFRAME = HTMLCSS.addElement(ZDIV,"div",{ - style: {position:"absolute", left:0, top:0, right:0, bottom:0} - }); - - HTMLCSS.Augment({ - imgSpaceBug: true, - imgSpace: String.fromCharCode(0xA0), - - imgZoomLevel: (browser.isMac ? - {50:.3, 30:.5, 22:.67, 19:.8, 16:.9, 15:1, 13:1.1, 12:1.2, - 11:1.33, 10:1.5, 9:1.7, 7:2, 6:2.4, 5:3, 0:15} : - {56:.3, 34:.5, 25:.67, 21:.8, 19:.9, 17:1, 15:1.1, 14:1.2, - 13:1.33, 11:1.5, 10:1.7, 8:2, 7:2.4, 6:3, 0:17} - ), - - imgZoomDiv: ZDIV, - - imgBrowserZoom: function () { - var size = this.imgZoomLevel; - ZDIV.style.display = ""; - var ratio = (ZDIV.offsetWidth-ZFRAME.offsetWidth); - ratio = (size[ratio] ? size[ratio] : size[0]/ratio); - ZDIV.style.display = "none"; - return ratio; - } - }); - }, - - Safari: function (browser) { - // for iPhone and iTouch -// var webkit = (navigator.appVersion+"AppleWebKit/530").match(/AppleWebKit\/(\d+)/)[1]; - HTMLCSS.Augment({ -// imgHeightBug: (!browser.isMac || webkit > 525), -// imgDepthBug: (!browser.isMac || webkit > 525), - imgBrowserZoom: function () {return 3} - }); - }, - - Chrome: function (browser) { - HTMLCSS.Augment({ - imgHeightBug: true, - imgBrowserZoom: function () {return 3} - }); - }, - - Opera: function (browser) { - HTMLCSS.Augment({ - imgSpaceBug: true, - imgSpace: String.fromCharCode(0xA0)+String.fromCharCode(0xA0), - - imgDoc: (document.compatMode == "BackCompat" ? document.body : - document.documentElement), - - imgBrowserZoom: function () { - if (browser.isMac) {return 3} // Mac Opera scales very nicely - var H = this.imgDoc.clientHeight, d = Math.floor(15*H/window.innerHeight); - if (this.imgDoc.clientWidth < this.imgDoc.scrollWidth-d) {H += d} - return parseFloat((window.innerHeight/H+.05).toString().replace(/(\.\d)\d+/,"$1")); - } - }); - } - }); - - var GETWIDTHS = function () { - var img = HTMLCSS.FONTDATA.FONTS["MathJax_Main"][0x2014][5].img; // em-dash - HTMLCSS.imgEmWidth = []; - for (var i = 0, m = img.length; i < m; i++) {HTMLCSS.imgEmWidth[i] = img[i][0]} - }; - - MathJax.CallBack.Queue( - ["Require",AJAX,HTMLCSS.webfontDir+"/imagedata.js"], - GETWIDTHS, - ["loadComplete",AJAX,HTMLCSS.directory+"/imageFonts.js"] - ); - - }); - -})(MathJax.Hub,MathJax.OutputJax["HTML-CSS"],MathJax.Ajax); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js deleted file mode 100644 index 2ea9adda..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js +++ /dev/null @@ -1,1991 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/HTML-CSS/jax.js - * - * Implements the HTML-CSS OutputJax that displays mathematics - * using HTML and CSS to position the characters from math fonts - * in their proper locations. - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009-2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (MML,AJAX,HTMLCSS) { - - var FONTTEST = MathJax.Object.Subclass({ - FontInfo: { - STIX: {family: "STIXSizeOneSym", testString: "() {} []"}, - TeX: {family: "MathJax_Size1", testString: "() {} []"} - }, - comparisonFont: ["sans-serif","monospace","script","Times","Courier","Arial","Helvetica"], - testSize: ["40px","50px","60px","30px","20px"], - - Init: function () { - var div = this.div = document.body.appendChild(document.createElement("div")); - div.style.position = "absolute"; div.style.visibility = "hidden"; - div.style.top = div.style.left = 0; - div.style.fontWeight = "normal"; - div.style.fontStyle = "normal"; - div.style.fontSize = this.testSize[0]; - this.text = this.div.appendChild(document.createTextNode("")); - }, - - findFont: function (fonts,pref) { - if (pref && this.testCollection(pref)) {return pref} - for (var i = 0, m = fonts.length; i < m; i++) { - if (fonts[i] === pref) continue; - if (this.testCollection(fonts[i])) {return fonts[i]} - } - return null; - }, - - testCollection: function (name) {return this.testFont(this.FontInfo[name])}, - - testFont: function (font) { - if (font.isWebFont && HTMLCSS.FontFaceBug) { - this.div.style.fontWeight = this.div.style.fontStyle = "normal"; - } else { - this.div.style.fontWeight = (font.weight||"normal"); - this.div.style.fontStyle = (font.style||"normal"); - } - var W = this.getComparisonWidths(font.testString); - if (W) { - this.div.style.fontFamily = "'"+font.family+"',"+this.comparisonFont[0]; - if (this.div.offsetWidth == W[0]) { - this.div.style.fontFamily = "'"+font.family+"',"+this.comparisonFont[W[2]]; - if (this.div.offsetWidth == W[1]) {return false} - } - if (this.div.offsetWidth != W[3]) { - if (!HTMLCSS.FONTDATA || !HTMLCSS.FONTDATA.hasStyleChar) {return true} - for (var i = 0, m = this.testSize.length; i < m; i++) - {if (this.testStyleChar(font,this.testSize[i])) {return true}} - } - } - return false; - }, - - styleChar: String.fromCharCode(0xEFFD), // width encodes style - versionChar: String.fromCharCode(0xEFFE), // width encodes version - compChar: String.fromCharCode(0xEFFF), // "standard" width to compare to - - testStyleChar: function (font,size) { - var n = 3 + (font.weight ? 2 : 0) + (font.style ? 4 : 0); - var extra = "", dw = 0; - var SIZE = this.div.style.fontSize; this.div.style.fontSize = size; - if (HTMLCSS.msieItalicWidthBug && font.style === "italic") { - this.text.nodeValue = extra = this.compChar; - dw = this.div.offsetWidth; - } - if (HTMLCSS.safariTextNodeBug) {this.div.innerHTML = this.compChar+extra} - else {this.text.nodeValue = this.compChar+extra} - var W = this.div.offsetWidth-dw; - if (HTMLCSS.safariTextNodeBug) {this.div.innerHTML = this.styleChar+extra} - else {this.text.nodeValue = this.styleChar+extra} - var N = Math.floor((this.div.offsetWidth-dw)/W+.5); - if (N === n) { - if (HTMLCSS.safariTextNodeBug) {this.div.innerHTML = this.versionChar+extra} - else {this.text.nodeValue = this.versionChar+extra} - font.version = Math.floor((this.div.offsetWidth-dw)/W+1.5)/2; - } - this.div.style.fontSize = SIZE; - return (N === n); - }, - - getComparisonWidths: function (string) { - if (HTMLCSS.FONTDATA && HTMLCSS.FONTDATA.hasStyleChar) - {string += this.styleChar + " " + this.compChar} - if (HTMLCSS.safariTextNodeBug) {this.div.innerHTML = string} - else {this.text.nodeValue = string} - this.div.style.fontFamily = this.comparisonFont[0]; - var W = this.div.offsetWidth, sW = -1; - if (HTMLCSS.safariWebFontSerif) { - this.div.style.fontFamily = HTMLCSS.safariWebFontSerif[0]; - sW = this.div.offsetWidth; - } - for (var i = 1, m = this.comparisonFont.length; i < m; i++) { - this.div.style.fontFamily = this.comparisonFont[i]; - if (this.div.offsetWidth != W) {return [W,this.div.offsetWidth,i,sW]} - } - return null; - }, - - loadWebFont: function (font) { - var n = MathJax.Message.File("Web-Font "+HTMLCSS.fontInUse+"/"+font.directory); - var callback = MathJax.CallBack(["loadComplete",this,font,n]); - AJAX.timer.start(AJAX,[this.checkWebFont,font,callback],1); - return callback; - }, - loadComplete: function (font,n) { - MathJax.Message.Clear(n); - }, - - checkWebFont: function (check,font,callback) { - if (check.time(callback)) return; - if (HTMLCSS.Font.testFont(font)) {callback(check.STATUS.OK)} - else {setTimeout(check,check.delay)} - }, - - fontFace: function (name) { - var type = HTMLCSS.allowWebFonts; - var dir = AJAX.fileURL(HTMLCSS.webfontDir+"/"+type); - var fullname = name.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold"); - if (!fullname.match(/-/)) {fullname += "-Regular"} - if (type === "svg") {fullname += ".svg#"+fullname} else {fullname += "."+type} - var def = { - "font-family": HTMLCSS.FONTDATA.FONTS[name].family, - src: "url('"+dir+"/"+fullname+"')" - }; - if (type === "svg") def.src += " format('svg')"; - if (!(HTMLCSS.FontFaceBug && HTMLCSS.FONTDATA.FONTS[name].isWebFont)) { - if (name.match(/-bold/)) {def["font-weight"] = "bold"} - if (name.match(/-italic/)) {def["font-style"] = "italic"} - } - return def; - } - }); - - HTMLCSS.Augment({ - - config: { - styles: { - ".MathJax": { - "font-family": "serif", - "font-style": "normal", - "font-weight": "normal", - "line-height": "normal", - "font-size": "100%", - "text-indent": 0, - "text-align": "left", - "text-transform": "none", - "letter-spacing": "normal", - "word-spacing": "normal", - "word-wrap": "none", - "white-space": "nowrap", - border: 0, padding: 0, margin: 0, - "float": "none" - }, - - ".MathJax_Display": { - position: "relative" - }, - - ".MathJax span, .MathJax img, .MathJax nobr, .MathJax a": { - border: 0, padding: 0, margin: 0, - "vertical-align": 0, - "line-height": "normal", - "text-decoration": "none" - } - } - }, - - Font: FONTTEST(), - - Config: function () { - MathJax.OutputJax.prototype.Config.call(this); - var font = this.Font.findFont(this.config.availableFonts,this.config.preferredFont); - if (!font && this.allowWebFonts) {font = this.config.webFont} - if (!font && this.config.imageFont) {font = this.config.imageFont; this.imgFonts = true} - if (font) { - this.fontInUse = font; this.fontDir += "/" + font; this.webfontDir += "/" + font; - if (!this.require) {this.require = []} - this.require.push(this.fontDir+"/fontdata.js"); - if (this.imgFonts) {this.require.push(this.directory+"/imageFonts.js")} - } else { - MathJax.Message.Set("Can't find a valid font using ["+this.config.availableFonts.join(", ")+"]",null,3000); - this.FONTDATA = { - TeX_factor: 1, baselineskip: 1.2, lineH: .8, lineD: .2, ffLineH: .8, - FONTS: {}, VARIANT: {normal: {fonts:[]}}, RANGES: [], - DEFAULTFAMILY: "serif", DEFAULTWEIGHT: "normal", DEFAULTSTYLE: "normal", - DELIMITERS: {}, RULECHAR: 0x2D, REMAP: {} - }; - MathJax.InputJax.TeX.Definitions.macros.overline[1] = "002D"; - MathJax.InputJax.TeX.Definitions.macros.underline[1] = "002D"; - } - }, - - Startup: function () { - // Set up default fonts - var MJ = this.config.styles[".MathJax"]; - var family = [], fonts = this.FONTDATA.VARIANT.normal.fonts; - if (!(fonts instanceof Array)) {fonts = [fonts]} - for (var i = 0, m = fonts.length; i < m; i++) { - family[i] = this.FONTDATA.FONTS[fonts[i]].family; - if (!family[i]) {family[i] = fonts[i]} - } - MJ["font-family"] = family.join(','); - - // Make hidden div for when math is in a display:none block - this.hiddenDiv = this.Element("div",{ - style:{visibility:"hidden", overflow:"hidden", height:"1px", - position:"absolute", top:0} - }); - if (!document.body.firstChild) {document.body.appendChild(this.hiddenDiv)} - else {document.body.insertBefore(this.hiddenDiv,document.body.firstChild)} - this.hiddenDiv = this.addElement(this.hiddenDiv,"div",{id:"MathJax_Hidden"}); - - // Determine pixels per inch - var div = this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}}); - this.pxPerInch = div.offsetWidth/5; this.hiddenDiv.removeChild(div); - - // Markers used by getW - this.startMarker = HTMLCSS.createStrut(this.Element("span"),10,true); - this.endMarker = this.addText(this.Element("span"),"x").parentNode; - - // Used in getHD - this.HDspan = this.Element("span"); - if (this.operaHeightBug) {this.createStrut(this.HDspan,0)} - if (this.msieInlineBlockAlignBug) { - this.HDimg = this.addElement(this.HDspan,"img",{style:{height:"0px", width:"1px"}}); - try {this.HDimg.src = "about:blank"} catch(err) {} - } else { - this.HDimg = HTMLCSS.createStrut(this.HDspan,0); - } - - // Used in getScales - this.HDMspan = this.Element("span",{style: {position:"absolute"}}); - if (this.msieInlineBlockAlignBug) { - this.HDMimg = this.addElement(this.HDMspan,"img",{style:{height:"0px",width:"1px"}}); - try {this.HDMimg.src = "about:blank"} catch(err) {} - } else { - this.HDMimg = HTMLCSS.createStrut(this.HDMspan,0); this.HDMimg.style.marginRight = ""; - } - - // Used for computing factor to fix margin width in MSIE - this.marginCheck = HTMLCSS.Element("span"); - HTMLCSS.addElement(this.marginCheck,"span",{style: {display:"inline-block", width:"5em"}}); - this.marginMove = HTMLCSS.addElement(this.marginCheck,"span", - {style: {display:"inline-block", width:"5em", marginLeft:"-5em"}}); - - // Set up styles and preload web fonts - return MathJax.Ajax.Styles(this.config.styles,["PreloadWebFonts",this]); - }, - - PreloadWebFonts: function () { - if (!HTMLCSS.allowWebFonts || !HTMLCSS.config.preloadWebFonts) return; - for (var i = 0, m = HTMLCSS.config.preloadWebFonts.length; i < m; i++) { - var FONT = HTMLCSS.FONTDATA.FONTS[HTMLCSS.config.preloadWebFonts[i]]; - if (!FONT.available) {HTMLCSS.Font.testFont(FONT)} - } - }, - - Translate: function (script) { - var math = script.MathJax.elementJax.root; - var span = this.Element("span",{className:"MathJax"}), div = span; - if (math.Get("display") === "block") { - div = this.Element("div",{className:"MathJax_Display", style:{width:"100%", position:"relative"}}); - div.appendChild(span); - } - // (screen readers don't know about role="math" yet, so use "textbox" instead) - div.setAttribute("role","textbox"); div.setAttribute("aria-readonly","true"); - script.parentNode.insertBefore(div,script); - this.getScales(div,span); var isHidden = (this.em === 0 || String(this.em) === "NaN"); - if (isHidden) {this.hiddenDiv.appendChild(div); this.getScales(div,span)} - this.initImg(span); - this.initHTML(math,span); - math.setTeXclass(); - try {math.toHTML(span,div)} catch (err) { - if (err.restart) {div.parentNode.removeChild(div)} - throw err; - } - if (isHidden) {script.parentNode.insertBefore(div,script)} - }, - - initImg: function (span) {}, - initHTML: function (math,span) {}, - initFont: function (name) { - var FONTS = HTMLCSS.FONTDATA.FONTS, AVAIL = HTMLCSS.config.availableFonts; - if (AVAIL && AVAIL.length && HTMLCSS.Font.testFont(FONTS[name])) - {FONTS[name].available = true; return null} - if (!this.allowWebFonts) {return null} - FONTS[name].isWebFont = true; - if (HTMLCSS.FontFaceBug) {FONTS[name].family = name} - return AJAX.Styles({"@font-face":this.Font.fontFace(name)}); - }, - - Remove: function (jax) { - var span = jax.SourceElement(); if (!span) return; - span = span.previousSibling; if (!span) return; - if (span.className.match(/^MathJax/)) {span.parentNode.removeChild(span)} - }, - - getScales: function (span,mj) { - span.parentNode.insertBefore(this.HDMspan,span); - this.HDMspan.className = ""; - this.HDMimg.style.height = "1px"; this.HDMimg.style.width = "60ex"; - var ex = this.HDMspan.offsetWidth/60; - this.HDMspan.className = "MathJax"; this.HDMimg.style.width = "60em"; - var em = this.HDMspan.offsetWidth/60; - var scale = Math.floor((ex/this.TeX.x_height) / em * this.config.scale); - mj.style.fontSize = this.HDMspan.style.fontSize = scale+"%"; - this.em = MML.mbase.prototype.em = this.HDMspan.offsetWidth/60; - span.parentNode.removeChild(this.HDMspan); - this.msieMarginScale = this.getMarginScale(mj); - }, - getMarginScale: function (span) {return 1}, - getMSIEmarginScale: function (span) { - span.appendChild(this.marginCheck); - var W = this.marginCheck.offsetWidth, w = this.marginMove.offsetWidth; - var scale = w/(2*w - W); - span.removeChild(this.marginCheck); - return scale; - }, - getHD: function (span) { - var position = span.style.position; - span.style.position = "absolute"; - this.HDimg.style.height = "0px"; - span.appendChild(this.HDspan); - var HD = {h:span.offsetHeight}; - this.HDimg.style.height = HD.h+"px"; - HD.d = span.offsetHeight - HD.h; HD.h -= HD.d; - HD.h /= this.em; HD.d /= this.em; - span.removeChild(this.HDspan); - span.style.position = position; - return HD; - }, - getW: function (span) { - var W = span.offsetWidth, w = (span.bbox ? span.bbox.w: -1), start = span; - if ((w < 0 || this.negativeSkipBug) && W >= 0) { - // IE can't deal with a space at the beginning, so put something else first - if (this.negativeSkipBug) { - var position = span.style.position; span.style.position = "absolute"; - start = this.startMarker; - if (span.firstChild) {span.insertBefore(start,span.firstChild)} - else {span.appendChild(start)} - start = this.startMarker; - } - span.appendChild(this.endMarker); - W = this.endMarker.offsetLeft - start.offsetLeft; - span.removeChild(this.endMarker); - if (this.negativeSkipBug) { - span.removeChild(start); - span.style.position = position; - } - } - return W/this.em; - }, - Measured: function (span,parent) { - if (span.bbox.width == null && span.bbox.w) { - var w = this.getW(span); - span.bbox.rw += w - span.bbox.w; - span.bbox.w = w; - } - if (!parent) {parent = span.parentNode} - if (!parent.bbox) {parent.bbox = span.bbox} - return span; - }, - Remeasured: function (span,parent) { - parent.bbox = this.Measured(span,parent).bbox; - }, - - Em: function (m) { - if (Math.abs(m) < .0006) {return "0em"} - return (m < 0 ? "-" : "")+String(Math.abs(m)+.0005).replace(/(\.\d\d\d).+/,'$1') + "em"; - }, - Percent: function (m) { - return String(m*100+.5).replace(/\..+/,'') + "%"; - }, - length2percent: function (length) { - return this.Percent(this.length2em(length)); - }, - length2em: function (length,size) { - if (typeof(length) !== "string") {length = length.toString()} - if (length === "") {return ""} - if (length === MML.SIZE.NORMAL) {return 1} - if (length === MML.SIZE.BIG) {return 2} - if (length === MML.SIZE.SMALL) {return .71} - if (length === "infinity") {return HTMLCSS.BIGDIMEN} - var factor = this.FONTDATA.TeX_factor; - if (length.match(/mathspace$/)) {return HTMLCSS.MATHSPACE[length]*factor} - var match = length.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|in|mm|cm|%)?/); - var m = parseFloat(match[1]||"1"), unit = match[2]; - if (size == null) {size = 1} - if (unit === "em") {return m * factor} - if (unit === "ex") {return m * HTMLCSS.TeX.x_height * factor} - if (unit === "%") {return m / 100 * size} - if (unit === "px") {return m / HTMLCSS.em} - if (unit === "pt") {return m / 10 * factor} // 10 pt to an em - if (unit === "in") {return m * this.pxPerInch / HTMLCSS.em} - if (unit === "cm") {return m * this.pxPerInch / HTMLCSS.em / 2.54} // 2.54 cm to an inch - if (unit === "mm") {return m * this.pxPerInch / HTMLCSS.em / 25.4} // 10 mm to a cm - if (unit === "pc") {return m * this.pxPerInch / HTMLCSS.em / 12} // 12 pc to an inch - if (unit === "mu") {return m / 18 * factor} // FIXME: needs to include scale - return m*factor*size; // relative to given size (or 1em as default) - }, - thickness2em: function (length) { - var thick = HTMLCSS.TeX.rule_thickness; - if (length === MML.LINETHICKNESS.MEDIUM) {return thick} - if (length === MML.LINETHICKNESS.THIN) {return .67*thick} - if (length === MML.LINETHICKNESS.THICK) {return 1.67*thick} - return this.length2em(length,thick); - }, - - createStrut: function (span,h,before) { - var strut = this.Element("span",{ - style:{display:"inline-block", overflow:"hidden", height:h+"px", - width:"1px", marginRight:"-1px"} - }); - if (before) {span.insertBefore(strut,span.firstChild)} else {span.appendChild(strut)} - return strut; - }, - createBlank: function (span,w,before) { - var blank = this.Element("span",{ - style: {display:"inline-block", overflow:"hidden", height:"1px", width:this.Em(w)} - }); - if (before) {span.insertBefore(blank,span.firstChild)} else {span.appendChild(blank)} - return blank; - }, - createShift: function (span,w,before) { - var space = this.Element("span",{style:{marginLeft:this.Em(w)}}); - if (before) {span.insertBefore(space,span.firstChild)} else {span.appendChild(space)} - return space; - }, - createSpace: function (span,h,d,w,color) { - var H = this.Em(Math.max(0,h+d)), D = this.Em(-d); - if (this.msieInlineBlockAlignBug) {D = this.Em(HTMLCSS.getHD(span.parentNode).d-d)} - if (span.isBox || span.className == "mspace") { - span.bbox = { - h: h*span.scale, d: d*span.scale, - w: w*span.scale, rw: w*span.scale, lw: 0 - }; - span.style.height = H; span.style.verticalAlign = D; - } else { - span = this.addElement(span,"span",{style: {height:H, verticalAlign:D}}); - } - if (w >= 0) { - span.style.width = this.Em(w); - span.style.display = "inline-block"; - } else { - if (this.msieNegativeSpaceBug) {span.style.height = ""} - span.style.marginLeft = this.Em(w); - if (HTMLCSS.safariNegativeSpaceBug && span.parentNode.firstChild == span) - {this.createBlank(span,0,true)} - } - if (color && color !== MML.COLOR.TRANSPARENT) {span.style.backgroundColor = color} - return span; - }, - createRule: function (span,h,d,w,color) { - var min = HTMLCSS.TeX.min_rule_thickness; - // If rule is very thin, make it at least min_rule_thickness so it doesn't disappear - if (w > 0 && w*this.em < min) {w = min/this.em} - if (h+d > 0 && (h+d)*this.em < min) {var f = 1/(h+d)*(min/this.em); h *= f; d *= f} - if (!color) {color = "solid"} else {color = "solid "+color} - color = this.Em(w)+" "+color; - var H = this.Em(h+d), D = this.Em(-d); - if (span.isBox || span.className == "mspace") {span.bbox = {h:h, d:d, w:w, rw:w, lw: 0}} - span = this.addElement(span,"span",{ - style: {borderLeft: color, display: "inline-block", overflow:"hidden", - width:0, height:H, verticalAlign:D} - }); - if (w > 0 && span.offsetWidth == 0) {span.style.width = this.Em(w)} - return span; - }, - - createStack: function (span,nobbox,w) { - if (this.msiePaddingWidthBug) {this.createStrut(span,0)} - span = this.addElement(span,"span",{ - style: {display:"inline-block", position:"relative", - width:(w == null ? 0: "100%"), height:0} - }); - if (!nobbox) { - span.parentNode.bbox = span.bbox = { - h: -this.BIGDIMEN, d: -this.BIGDIMEN, - w:0, lw: this.BIGDIMEN, rw: -this.BIGDIMEN - }; - if (w != null) {span.bbox.width = span.parentNode.bbox.width = w} - } - return span; - }, - createBox: function (span,w) { - var box = this.addElement(span,"span",{style:{position:"absolute"}, isBox: true}); - if (w != null) {box.style.width = w} - return box; - }, - addBox: function (span,box) { - box.style.position = "absolute"; box.isBox = true; - return span.appendChild(box); - }, - placeBox: function (span,x,y,noclip) { - var parent = span.parentNode, bbox = span.bbox, BBOX = parent.bbox; - if (this.msiePlaceBoxBug) {this.addText(span,this.NBSP)} - if (this.imgSpaceBug) {this.addText(span,this.imgSpace)} - var HD = this.getHD(span), dx = 0; - // Make sure vertical alignment of baseline is correct - span.style.top = this.Em(-HD.h); - if (-span.offsetTop !== Math.floor(HD.h*this.em+.5)) - {HD.h += .95*Math.floor(HD.h*this.em+span.offsetTop+.5)/this.em}; - // Clip so that bbox doesn't include extra height and depth - if (bbox) { - if (this.negativeSkipBug) { - if (bbox.lw < 0) {dx = bbox.lw; HTMLCSS.createBlank(span,-dx,true); l = 0} - if (bbox.rw > bbox.w) {HTMLCSS.createBlank(span,bbox.rw-bbox.w+.1)} - } - if (!this.msieClipRectBug && !bbox.noclip && !noclip) { - var dd = 3/this.em; - var H = (bbox.H == null ? bbox.h : bbox.H), D = (bbox.D == null ? bbox.d : bbox.D); - var t = HD.h - H - dd, b = HD.h + D + dd, l = bbox.lw - 3*dd, r = 1000; - span.style.clip = "rect("+this.Em(t)+" "+this.Em(r)+" "+this.Em(b)+" "+this.Em(l)+")"; - } - } - // Place the box - span.style.left = this.Em(x+dx); - span.style.top = this.Em(-(y+HD.h)); - // Update the bounding box - if (bbox && BBOX) { - if (bbox.H != null && (BBOX.H == null || bbox.H + y > BBOX.H)) {BBOX.H = bbox.H + y} - if (bbox.D != null && (BBOX.D == null || bbox.D - y > BBOX.D)) {BBOX.D = bbox.D - y} - if (bbox.h + y > BBOX.h) {BBOX.h = bbox.h + y} - if (bbox.d - y > BBOX.d) {BBOX.d = bbox.d - y} - if (BBOX.H != null && BBOX.H <= BBOX.h) {delete BBOX.H} - if (BBOX.D != null && BBOX.D <= BBOX.d) {delete BBOX.D} - if (bbox.w + x > BBOX.w) { - BBOX.w = bbox.w + x; - if (BBOX.width == null) {parent.style.width = this.Em(BBOX.w)} - } - if (bbox.rw + x > BBOX.rw) {BBOX.rw = bbox.rw + x} - if (bbox.lw + x < BBOX.lw) {BBOX.lw = bbox.lw + x} - // FIXME: deal with non-percent widths - if (bbox.width != null) { - if (BBOX.width == null) {parent.style.width = BBOX.width = "100%"} - span.style.width = bbox.width; - } - } - }, - alignBox: function (span,align,y) { - this.placeBox(span,0,y); // set y position (and left aligned) - var r = 0, c = -span.bbox.w/2; - if (this.negativeSkipBug) {r = span.bbox.w-span.bbox.rw-.1; c += span.bbox.lw} - // FIXME: handle width that is not a percent - c = (span.bbox.width ? "-"+Math.floor(parseInt(span.bbox.width)/2)+"%" : - this.Em(c*this.msieMarginScale)); - MathJax.Hub.Insert(span.style,({ - right: {left:"", right: this.Em(r)}, - center: {left:"50%", marginLeft: c} - })[align]); - }, - setStackWidth: function (span,w) { - if (typeof(w) === "number") { - span.style.width = this.Em(Math.max(0,w)); - if (span.bbox) {span.bbox.w = w}; - if (span.parentNode.bbox) {span.parentNode.bbox.w = w} - } else { - span.style.width = span.parentNode.style.width = "100%"; - if (span.bbox) {span.bbox.width = w} - if (span.parentNode.bbox) {span.parentNode.bbox.width = w} - } - }, - - createDelimiter: function (span,code,HW,scale,font) { - if (!code) { - span.bbox = {h:0, d:0, w:this.TeX.nulldelimiterspace, lw: 0}; - span.bbox.rw = span.bbox.w; - this.createSpace(span,span.bbox.h,span.bbox.d,span.bbox.w); - return; - } - if (!scale) {scale = 1}; - if (!(HW instanceof Array)) {HW = [HW,HW]} - var hw = HW[1]; HW = HW[0]; - var delim = {alias: code}; - while (delim.alias) { - code = delim.alias; delim = this.FONTDATA.DELIMITERS[code]; - if (!delim) {delim = {HW: [0,this.FONTDATA.VARIANT[MML.VARIANT.NORMAL]]}} - } - for (var i = 0, m = delim.HW.length; i < m; i++) { - if (delim.HW[i][0]*scale >= HW-.01 || (i == m-1 && !delim.stretch)) { - if (delim.HW[i][2]) {scale *= delim.HW[i][2]} - if (delim.HW[i][3]) {code = delim.HW[i][3]} - var chr = this.addElement(span,"span"); - this.createChar(chr,[code,delim.HW[i][1]],scale,font); - span.bbox = chr.bbox; - span.offset = .65 * span.bbox.w; - span.scale = scale; - return; - } - } - if (delim.stretch) {this["extendDelimiter"+delim.dir](span,hw,delim.stretch,scale,font)} - }, - extendDelimiterV: function (span,H,delim,scale,font) { - var stack = this.createStack(span,true); - var top = this.createBox(stack), bot = this.createBox(stack); - this.createChar(top,(delim.top||delim.ext),scale,font); - this.createChar(bot,(delim.bot||delim.ext),scale,font); - var ext = {bbox:{w:0,lw:0,rw:0}}, mid = ext; - var h = top.bbox.h + top.bbox.d + bot.bbox.h + bot.bbox.d; - var y = -top.bbox.h; this.placeBox(top,0,y,true); y -= top.bbox.d; - if (delim.mid) { - mid = this.createBox(stack); this.createChar(mid,delim.mid,scale,font); - h += mid.bbox.h + mid.bbox.d; - } - if (H > h) { - ext = this.Element("span"); this.createChar(ext,delim.ext,scale,font); - var eH = ext.bbox.h + ext.bbox.d, eh = eH - .05, n, N, k = (delim.mid ? 2 : 1); - N = n = Math.ceil((H-h)/(k*eh)); - if (!delim.fullExtenders) {eh = (H-h)/(k*n)} - var dy = (n/(n+1))*(eH - eh); eh = eH - dy; y += dy + eh - ext.bbox.h; - while (k-- > 0) { - while (n-- > 0) {y -= eh; this.placeBox(this.addBox(stack,ext.cloneNode(true)),0,y,true)} - y += dy - ext.bbox.d; - if (delim.mid && k) { - this.placeBox(mid,0,y-mid.bbox.h,true); n = N; - y += -(mid.bbox.h + mid.bbox.d) + dy + eh - ext.bbox.h; - } - } - } else { - y += (h - H)/2; - if (delim.mid) {this.placeBox(mid,0,y-mid.bbox.h,true); y += -(mid.bbox.h + mid.bbox.d)} - y += (h - H)/2; - } - this.placeBox(bot,0,y-bot.bbox.h,true); y -= bot.bbox.h + bot.bbox.d; - span.bbox = { - w: Math.max(top.bbox.w,ext.bbox.w,bot.bbox.w,mid.bbox.w), - lw: Math.min(top.bbox.lw,ext.bbox.lw,bot.bbox.lw,mid.bbox.lw), - rw: Math.max(top.bbox.rw,ext.bbox.rw,bot.bbox.rw,mid.bbox.rw), - h: 0, d: -y - } - span.scale = scale; - span.offset = .55 * span.bbox.w; - span.isMultiChar = true; - this.setStackWidth(stack,span.bbox.w); - }, - extendDelimiterH: function (span,W,delim,scale,font) { - var stack = this.createStack(span,true); - var left = this.createBox(stack), right = this.createBox(stack); - this.createChar(left,(delim.left||delim.rep),scale,font); - this.createChar(right,(delim.right||delim.rep),scale,font); - var rep = this.Element("span"); this.createChar(rep,delim.rep,scale,font); - var mid = {bbox: {h:-this.BIGDIMEN, d:-this.BIGDIMEN}}; - this.placeBox(left,-left.bbox.lw,0,true); - var w = (left.bbox.rw - left.bbox.lw) + (right.bbox.rw - right.bbox.lw) - .05, - x = left.bbox.rw - left.bbox.lw - .025; - if (delim.mid) { - mid = this.createBox(stack); this.createChar(mid,delim.mid,scale,font); - w += mid.bbox.w; - } - if (W > w) { - var rW = rep.bbox.rw-rep.bbox.lw, rw = rW - .05, n, N, k = (delim.mid ? 2 : 1); - N = n = Math.ceil((W-w)/(k*rw)); rw = (W-w)/(k*n); - var dx = (n/(n+1))*(rW - rw); rw = rW - dx; x -= rep.bbox.lw + dx; - while (k-- > 0) { - while (n-- > 0) {this.placeBox(this.addBox(stack,rep.cloneNode(true)),x,0,true); x += rw} - if (delim.mid && k) {this.placeBox(mid,x,0,true); x += mid.bbox.w - dx; n = N} - } - } else { - x -= (w - W)/2; - if (delim.mid) {this.placeBox(mid,x,0,true); x += mid.bbox.w} - x -= (w - W)/2; - } - this.placeBox(right,x,0,true); - span.bbox = { - w: x+right.bbox.rw, lw: 0, rw: x+right.bbox.rw, - H: Math.max(left.bbox.h,rep.bbox.h,right.bbox.h,mid.bbox.h), - D: Math.max(left.bbox.d,rep.bbox.d,right.bbox.d,mid.bbox.d), - h: rep.bbox.h, d: rep.bbox.d - } - span.scale = scale; - span.isMultiChar = true; - this.setStackWidth(stack,span.bbox.w); - }, - createChar: function (span,data,scale,font) { - var SPAN = span, text = "", variant = {fonts: [data[1]], noRemap:true}; - if (font && font === MML.VARIANT.BOLD) {variant.fonts = [data[1]+"-bold",data[1]]} - if (typeof(data[1]) !== "string") {variant = data[1]} - if (data[0] instanceof Array) { - for (var i = 0, m = data[0].length; i < m; i++) {text += String.fromCharCode(data[0][i])} - } else {text = String.fromCharCode(data[0])} - if (scale !== 1) { - SPAN = this.addElement(span,"span",{style:{fontSize: this.Percent(scale)}, scale:scale}); - this.handleVariant(SPAN,variant,text); - span.bbox = SPAN.bbox; - } else {this.handleVariant(span,variant,text)} - if (data[2]) {span.style.marginLeft = this.Em(data[2])} - if (this.AccentBug && span.bbox.w === 0) { - // Handle combining characters by adding a non-breaking space and removing that width - SPAN.firstChild.nodeValue += this.NBSP; - HTMLCSS.createSpace(span,0,0,-span.offsetWidth/HTMLCSS.em); - } - }, - positionDelimiter: function (span,h) { - h -= span.bbox.h; span.bbox.d -= h; span.bbox.h += h; - if (h) { - if (this.safariVerticalAlignBug || this.msieVerticalAlignBug || this.konquerorVerticalAlignBug || - (this.operaVerticalAlignBug && span.isMultiChar)) { - if (span.firstChild.style.display === "" && span.style.top !== "") - {span = span.firstChild; h -= parseFloat(span.style.top)} - span.style.position = "relative"; - span.style.top = this.Em(-h); - } else { - span.style.verticalAlign = this.Em(h); - if (HTMLCSS.ffVerticalAlignBug) {HTMLCSS.createRule(span.parentNode,span.bbox.h,0,0)} - } - } - }, - - handleVariant: function (span,variant,text) { - var newtext = "", n, c, C, font, noVariant = 1, VARIANT; - if (text.length === 0) return; - if (!span.bbox) { - span.bbox = { - w: 0, h: -this.BIGDIMEN, d: -this.BIGDIMEN, - rw: -this.BIGDIMEN, lw: this.BIGDIMEN - }; - } - if (!variant) {variant = this.FONTDATA.VARIANT[MML.VARIANT.NORMAL]} - VARIANT = variant; - for (var i = 0, m = text.length; i < m; i++) { - variant = VARIANT; - n = text.charCodeAt(i); c = text.charAt(i); - if (c == this.PLANE1) { - i++; n = text.charCodeAt(i) + 0x1D400 - 0xDC00; - } else { - var id, M, RANGES = this.FONTDATA.RANGES; - for (id = 0, M = RANGES.length; id < M; id++) { - if (RANGES[id].name === "alpha" && variant.noLowerCase) continue; - var N = variant["offset"+RANGES[id].offset]; - if (N && n >= RANGES[id].low && n <= RANGES[id].high) { - if (RANGES[id].remap && RANGES[id].remap[n]) { - n = N + RANGES[id].remap[n]; - } else { - n = n - RANGES[id].low + N; - if (RANGES[id].add) {n += RANGES[id].add} - } - if (variant["variant"+RANGES[id].offset]) - {variant = this.FONTDATA.VARIANT[variant["variant"+RANGES[id].offset]]} - break; - } - } - } - if (variant.remap && variant.remap[n]) { - if (variant.remap[n] instanceof Array) { - var remap = variant.remap[n]; - n = remap[0]; variant = this.FONTDATA.VARIANT[remap[1]]; - } else { - n = variant.remap[n]; - if (variant.remap.variant) {variant = this.FONTDATA.VARIANT[variant.remap.variant]} - } - } - if (this.FONTDATA.REMAP[n] && !variant.noRemap) {n = this.FONTDATA.REMAP[n]} - font = this.lookupChar(variant,n); c = font[n]; - if (noVariant && !c[5].img) {this.handleFont(span,font); noVariant = 1} - newtext = this.handleChar(span,font,c,n,newtext); - if (c[0]/1000 > span.bbox.h) {span.bbox.h = c[0]/1000} - if (c[1]/1000 > span.bbox.d) {span.bbox.d = c[1]/1000} - if (span.bbox.w + c[3]/1000 < span.bbox.lw) {span.bbox.lw = span.bbox.w + c[3]/1000} - if (span.bbox.w + c[4]/1000 > span.bbox.rw) {span.bbox.rw = span.bbox.w + c[4]/1000} - span.bbox.w += c[2]/1000; - } - if (newtext.length) {this.addText(span,newtext)} - if (span.scale && span.scale !== 1) { - span.bbox.h *= span.scale; span.bbox.d *= span.scale; - span.bbox.w *= span.scale; span.bbox.lw *= span.scale; span.bbox.rw *= span.scale; - } - if (text.length == 1 && font.skew && font.skew[n]) {span.bbox.skew = font.skew[n]} - }, - - handleFont: function (span,font) { - span.style.fontFamily = font.family; - if (!(HTMLCSS.FontFaceBug && font.isWebFont)) { - var style = font.style || this.FONTDATA.DEFAULTSTYLE, - weight = font.weight || this.FONTDATA.DEFAULTWEIGHT; - if (style !== "normal") {span.style.fontStyle = style} - if (weight !== "normal") {span.style.fontWeight = weight} - } - }, - - handleChar: function (span,font,c,n,text) { - var C = c[5]; - if (C.img) {return this.handleImg(span,font,c,n,text)} - if (C.c == null) { - if (n <= 0xFFFF) {C.c = String.fromCharCode(n)} - else {C.c = this.PLANE1 + String.fromCharCode(n-0x1D400+0xDC00)} - } - if (c[2] || !this.msieAccentBug || text.length) {return text + C.c} - // Handle IE accent clipping bug - HTMLCSS.createShift(span,c[3]/1000); - HTMLCSS.createShift(span,(c[4]-c[3])/1000); - this.addText(span,C.c); - HTMLCSS.createShift(span,-c[4]/1000); - return ""; - }, - handleImg: function (span,font,c,n,text) {return text}, // replaced by imageFont extension - - lookupChar: function (variant,n) { - var i, m; - if (!variant.FONTS) { - var FONTS = this.FONTDATA.FONTS; - var fonts = (variant.fonts || this.FONTDATA.VARIANT.normal.fonts); - if (!(fonts instanceof Array)) {fonts = [fonts]} - if (variant.fonts != fonts) {variant.fonts = fonts} - variant.FONTS = []; - for (i = 0, m = fonts.length; i < m; i++) { - if (FONTS[fonts[i]]) { - variant.FONTS.push(FONTS[fonts[i]]); - FONTS[fonts[i]].name = fonts[i]; // FIXME: should really be in the font files - } - } - } - for (i = 0, m = variant.FONTS.length; i < m; i++) { - var font = variant.FONTS[i]; - if (typeof(font) === "string") { - delete variant.FONTS; this.loadFont(font); - } - if (font[n]) { - if (font[n].length === 5) {font[n][5] = {}} - if (HTMLCSS.allowWebFonts && !font.available) - {this.loadWebFont(font)} else {return font} - } else {this.findBlock(font,n)} - } - var unknown = (variant.defaultFont || {family:HTMLCSS.FONTDATA.DEFAULTFAMILY+",serif"}); - unknown[n] = [800,200,500,0,500,{isUnknown:true}]; // [h,d,w,lw,rw,{data}] - return unknown; - }, - - findBlock: function (font,c) { - if (font.Ranges) { - // FIXME: do binary search? - for (var i = 0, m = font.Ranges.length; i < m; i++) { - if (c < font.Ranges[i][0]) return; - if (c <= font.Ranges[i][1]) { - var file = font.Ranges[i][2]; - for (var j = font.Ranges.length-1; j >= 0; j--) - {if (font.Ranges[j][2] == file) {font.Ranges.splice(j,1)}} - this.loadFont(font.directory+"/"+file+".js"); - } - } - } - }, - - loadFont: function (file) { - var queue = MathJax.CallBack.Queue(); - queue.Push(["Require",MathJax.Ajax,this.fontDir+"/"+file]); - if (this.imgFonts) {queue.Push(["Require",MathJax.Ajax,this.webfontDir+"/png/"+file])} - MathJax.Hub.RestartAfter(queue.Push({})); - }, - - loadWebFont: function (font) { - font.available = font.isWebFont = true; - if (HTMLCSS.FontFaceBug) {font.family = font.name} - var callback = this.Font.loadWebFont(font); - MathJax.Hub.RestartAfter(callback); - }, - - Element: function (type,def) { - var obj = document.createElement(type); - for (var i = 1, m = arguments.length; i < m; i++) { - if (arguments[i]) {MathJax.Hub.Insert(obj,arguments[i]);} - } - return obj; - }, - addElement: function (span,type,def) {return span.appendChild(this.Element(type,def))}, - TextNode: function (text) {return document.createTextNode(text)}, - addText: function (span,text) {return span.appendChild(this.TextNode(text))}, - - BIGDIMEN: 10000000, - ID: 0, - GetID: function () {this.ID++; return this.ID}, - - MATHSPACE: { - veryverythinmathspace: 1/18, - verythinmathspace: 2/18, - thinmathspace: 3/18, - mediummathspace: 4/18, - thickmathspace: 5/18, - verythickmathspace: 6/18, - veryverythickmathspace: 7/18, - negativeveryverythinmathspace: -1/18, - negativeverythinmathspace: -2/18, - negativethinmathspace: -3/18, - negativemediummathspace: -4/18, - negativethickmathspace: -5/18, - negativeverythickmathspace: -6/18, - negativeveryverythickmathspace: -7/18 - }, - - TeX: { - x_height: .430554, - quad: 1, - num1: .676508, - num2: .393732, - num3: .44373, - denom1: .685951, - denom2: .344841, - sup1: .412892, - sup2: .362892, - sup3: .288888, - sub1: .15, - sub2: .247217, - sup_drop: .386108, - sub_drop: .05, - delim1: 2.39, - delim2: 1.0, - axis_height: .25, - rule_thickness: .06, - big_op_spacing1: .111111, - big_op_spacing2: .166666, - big_op_spacing3: .2, - big_op_spacing4: .6, - big_op_spacing5: .1, - - scriptspace: .1, - nulldelimiterspace: .12, - delimiterfactor: 901, - delimitershortfall: .1, // originally .3, - - min_rule_thickness: 1.25 // in pixels - }, - - PLANE1: String.fromCharCode(0xD835), - NBSP: String.fromCharCode(0xA0), - - rfuzz: 0 // adjustment to rule placements in roots - }); - - MML.mbase.Augment({ - toHTML: function (span) { - span = this.HTMLcreateSpan(span); - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {this.data[i].toHTML(span)}} - var stretchy = this.HTMLcomputeBBox(span); - var h = span.bbox.h, d = span.bbox.d; - for (i = 0, m = stretchy.length; i < m; i++) {stretchy[i].HTMLstretchV(span,h,d)} - if (stretchy.length) {this.HTMLcomputeBBox(span,true)} - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLcomputeBBox: function (span,full) { - var i, m, child, bbox, BBOX, hasDimens = 0, width, stretchy = []; - BBOX = span.bbox = {}; - for (i = 0, m = this.data.length; i < m; i++) { - var core = this.data[i]; if (!core) continue; - if (!full && core.HTMLcanStretch("Vertical")) - {stretchy.push(core); core = (core.CoreMO()||core)} - this.HTMLcombineBBoxes(core,BBOX); - } - this.HTMLcleanBBox(BBOX); - return stretchy; - }, - HTMLcombineBBoxes: function (core,BBOX) { - if (BBOX.w == null) { - BBOX.h = BBOX.d = BBOX.H = BBOX.D = BBOX.rw = -HTMLCSS.BIGDIMEN; - BBOX.w = 0; BBOX.lw = HTMLCSS.BIGDIMEN; - } - var child = core.HTMLspanElement(); if (!child || !child.bbox) return; - var bbox = child.bbox; - if (bbox.d > BBOX.d) {BBOX.d = bbox.d} - if (bbox.h > BBOX.h) {BBOX.h = bbox.h} - if (bbox.D != null && bbox.D > BBOX.D) {BBOX.D = bbox.D} - if (bbox.H != null && bbox.H > BBOX.H) {BBOX.H = bbox.H} - if (child.style.paddingLeft) {BBOX.w += parseFloat(child.style.paddingLeft)*(child.scale||1)} - if (BBOX.w + bbox.lw < BBOX.lw) {BBOX.lw = BBOX.w + bbox.lw} - if (BBOX.w + bbox.rw > BBOX.rw) {BBOX.rw = BBOX.w + bbox.rw} - BBOX.w += bbox.w; - if (child.style.paddingRight) {BBOX.w += parseFloat(child.style.paddingRight)*(child.scale||1)} - if (bbox.width) {BBOX.width = bbox.width} - }, - HTMLcleanBBox: function (BBOX) { - if (BBOX.h === this.BIGDIMEN) - {BBOX.h = BBOX.d = BBOX.H = BBOX.D = BBOX.w = BBOX.rw = BBOX.lw = 0} - if (BBOX.D <= BBOX.d) {delete BBOX.D}; if (BBOX.H <= BBOX.h) {delete BBOX.H} - }, - HTMLcanStretch: function (direction) { - if (this.isEmbellished()) {return this.Core().HTMLcanStretch(direction)} - return false; - }, - HTMLstretchH: function (box,W) {return this.HTMLspanElement()}, - HTMLstretchV: function (box,h,d) {return this.HTMLspanElement()}, - - HTMLcreateSpan: function (span) { - if (this.spanID) { - var SPAN = this.HTMLspanElement(); - if (SPAN) { - while (SPAN.firstChild) {SPAN.removeChild(SPAN.firstChild)} - SPAN.bbox = {w:0, h:0, d:0, lw:0, rw:0}; - SPAN.scale = 1; SPAN.isMultChar = null; - SPAN.style.cssText = ""; - return SPAN; - } - } - if (this.href) {span = HTMLCSS.addElement(span,"a",{href:this.href})} - span = HTMLCSS.addElement(span,"span",{className: this.type}); - if (HTMLCSS.imgHeightBug) {span.style.display = "inline-block"} - if (this["class"] != null) {span.className += " "+this["class"]} - if (this.style) {span.style.cssText = this.style} - this.spanID = HTMLCSS.GetID(); span.id = (this.id || "MathJax-Span-"+this.spanID); - span.bbox = {w:0, h:0, d:0, lw:0, lr:0}; - if (this.href) {span.parentNode.bbox = span.bbox} - return span; - }, - HTMLspanElement: function () { - if (!this.spanID) {return null} - return document.getElementById(this.id || "MathJax-Span-"+this.spanID); - }, - - HTMLhandleVariant: function (span,variant,text) {HTMLCSS.handleVariant(span,variant,text)}, - - HTMLhandleSize: function (span) { - if (!span.scale) { - span.scale = this.HTMLgetScale(); - if (span.scale !== 1) {span.style.fontSize = HTMLCSS.Percent(span.scale)} - } - return span; - }, - - HTMLhandleColor: function (span) { - var values = this.getValues("mathcolor","color"); - if (this.mathbackground) {values.mathbackground = this.mathbackground} - if (this.background) {values.background = this.background} - if (this.style && span.style.backgroundColor) {values.mathbackground = span.style.backgroundColor} - if (values.color && !this.mathcolor) {values.mathcolor = values.color} - if (values.background && !this.mathbackground) {values.mathbackground = values.background} - if (values.mathcolor) {span.style.color = values.mathcolor} - if (values.mathbackground && values.mathbackground !== MML.COLOR.TRANSPARENT) { - var dd = 1/HTMLCSS.em, lW = 0, rW = 0; - if (this.isToken) {lW = span.bbox.lw; rW = span.bbox.rw - span.bbox.w} - if (span.style.paddingLeft !== "") {lW += parseFloat(span.style.paddingLeft)*(span.scale||1)} - if (span.style.paddingRight !== "") {rW -= parseFloat(span.style.paddingRight)*(span.scale||1)} - var W = Math.max(0,HTMLCSS.getW(span) + (HTMLCSS.PaddingWidthBug ? 0 : rW - lW)); - if (HTMLCSS.msieCharPaddingWidthBug && span.style.paddingLeft !== "") - {W += parseFloat(span.style.paddingLeft)*(span.scale||1)} - var H = span.bbox.h + span.bbox.d, D = -span.bbox.d; - if (W > 0) {W += 2*dd; lW -= dd}; if (H > 0) {H += 2*dd; D -= dd}; rW = -W-lW; - var frame = HTMLCSS.Element("span",{id:"MathJax-Color-"+this.spanID, - style:{display:"inline-block", backgroundColor:values.mathbackground, - width: HTMLCSS.Em(W), height:HTMLCSS.Em(H), verticalAlign: HTMLCSS.Em(D), - marginLeft: HTMLCSS.Em(lW), marginRight: HTMLCSS.Em(rW)} - }); - if (HTMLCSS.msieInlineBlockAlignBug) { - frame.style.position = "relative"; frame.style.width = frame.style.height = 0; - frame.style.verticalAlign = frame.style.marginLeft = frame.style.marginRight = ""; - HTMLCSS.placeBox(HTMLCSS.addElement(frame,"span",{ - style: {display:"inline-block", position:"absolute", overflow:"hidden", - width: HTMLCSS.Em(W), height: HTMLCSS.Em(H), - background: values.mathbackground} - }),lW,span.bbox.h+dd); - } else { - } - span.parentNode.insertBefore(frame,span); - } - }, - HTMLremoveColor: function () { - var color = document.getElementById("MathJax-Color-"+this.spanID); - if (color) {color.parentNode.removeChild(color)} - }, - - HTMLhandleSpace: function (span) { - if (this.useMMLspacing) { - if (this.type !== "mo") return; - var values = this.getValues("scriptlevel","lspace","rspace"); - if (values.scriptlevel <= 0 || this.hasValue("lspace") || this.hasValue("rspace")) { - values.lspace = Math.max(0,HTMLCSS.length2em(values.lspace)); - values.rspace = Math.max(0,HTMLCSS.length2em(values.rspace)); - var core = this, parent = this.Parent(); - while (parent && parent.isEmbellished() && parent.Core() === core) - {core = parent; parent = parent.Parent(); span = core.HTMLspanElement()} - if (values.lspace) {span.style.paddingLeft = HTMLCSS.Em(values.lspace)} - if (values.rspace) {span.style.paddingRight = HTMLCSS.Em(values.rspace)} - } - } else { - var space = this.texSpacing(); - if (space !== "") { - space = HTMLCSS.length2em(space)/(span.scale||1); - if (span.style.paddingLeft) {space += parseFloat(span.style.paddingLeft)} - span.style.paddingLeft = HTMLCSS.Em(space); - } - } - }, - - HTMLgetScale: function () { - var scale = 1, values = this.getValues("mathsize","scriptlevel","fontsize","scriptminsize"); - if (this.style) { - var span = this.HTMLspanElement(); - if (span.style.fontSize != "") {values.fontsize = span.style.fontSize} - } - if (values.fontsize && !this.mathsize) {values.mathsize = values.fontsize} - if (values.scriptlevel !== 0) { - if (values.scriptlevel > 2) {values.scriptlevel = 2} - scale = Math.pow(this.Get("scriptsizemultiplier"),values.scriptlevel); - values.scriptminsize = HTMLCSS.length2em(values.scriptminsize); - if (scale < values.scriptminsize) {scale = values.scriptminsize} - } - scale *= HTMLCSS.length2em(values.mathsize); - return scale; - }, - - HTMLgetVariant: function () { - var values = this.getValues("mathvariant","fontfamily","fontweight","fontstyle"); - if (this.style) { - var span = this.HTMLspanElement(); - if (span.style.fontFamily) {values.fontfamily = span.style.fontFamily} - if (span.style.fontWeight) {values.fontweight = span.style.fontWeight} - if (span.style.fontStyle) {values.fontStyle = span.style.fontStyle} - } - var variant = values.mathvariant; if (this.variantForm) {variant = "-"+HTMLCSS.fontInUse+"-variant"} - if (values.fontfamily && !this.mathvariant) { - if (!values.fontweight && values.mathvariant.match(/bold/)) {values.fontweight = "bold"} - if (!values.fontstyle && values.mathvariant.match(/italic/)) {values.fontstyle = "italic"} - return {FONTS:[], fonts:[], noRemap:true, - defaultFont: {family:values.fontfamily, style:values.fontstyle, weight:values.fontweight}}; - } - if (values.fontweight === "bold") { - variant = { - normal:MML.VARIANT.BOLD, italic:MML.VARIANT.BOLDITALIC, - fraktur:MML.VARIANT.BOLDFRAKTUR, script:MML.VARIANT.BOLDSCRIPT, - "sans-serif":MML.VARIANT.BOLDSANSSERIF, - "sans-serif-italic":MML.VARIANT.SANSSERIFBOLDITALIC - }[variant]||variant; - } else if (values.fontweight === "normal") { - variant = { - bold:MML.VARIANT.normal, "bold-italic":MML.VARIANT.ITALIC, - "bold-fraktur":MML.VARIANT.FRAKTUR, "bold-script":MML.VARIANT.SCRIPT, - "bold-sans-serif":MML.VARIANT.SANSSERIF, - "sans-serif-bold-italic":MML.VARIANT.SANSSERIFITALIC - }[variant]||variant; - } - if (values.fontstyle === "italic") { - variant = { - normal:MML.VARIANT.ITALIC, bold:MML.VARIANT.BOLDITALIC, - "sans-serif":MML.VARIANT.SANSSERIFITALIC, - "bold-sans-serif":MML.VARIANT.SANSSERIFBOLDITALIC - }[variant]||variant; - } else if (values.fontstyle === "normal") { - variant = { - italic:MML.VARIANT.NORMAL, "bold-italic":MML.VARIANT.BOLD, - "sans-serif-italic":MML.VARIANT.SANSSERIF, - "sans-serif-bold-italic":MML.VARIANT.BOLDSANSSERIF - }[variant]||variant; - } - return HTMLCSS.FONTDATA.VARIANT[variant]; - } - },{ - HTMLautoload: function () { - var file = HTMLCSS.autoloadDir+"/"+this.type+".js"; - MathJax.Hub.RestartAfter(AJAX.Require(file)); - }, - - HTMLstretchH: function (box,w) { - this.HTMLremoveColor(); - return this.toHTML(box,w); - }, - - HTMLstretchV: function (box,h,d) { - this.HTMLremoveColor(); - return this.toHTML(box,h,d); - } - }); - - MML.chars.Augment({ - toHTML: function (span,variant) { - this.HTMLhandleVariant(span,variant,this.data.join("").replace(/[\u2061-\u2064]/g,"")); // remove invisibles - } - }); - MML.entity.Augment({ - toHTML: function (span,variant) { - this.HTMLhandleVariant(span,variant,this.toString().replace(/[\u2061-\u2064]/g,"")); // remove invisibles - } - }); - - MML.mi.Augment({ - toHTML: function (span) { - span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); span.bbox = null; - var variant = this.HTMLgetVariant(); - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {this.data[i].toHTML(span,variant)}} - if (!span.bbox) {span.bbox = {w:0, h:0, d:0, rw:0, lw:0}} - if (this.data.join("").length !== 1) {delete span.bbox.skew} - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - } - }); - - MML.mn.Augment({ - toHTML: function (span) { - span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); span.bbox = null; - var variant = this.HTMLgetVariant(); - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {this.data[i].toHTML(span,variant)}} - if (!span.bbox) {span.bbox = {w:0, h:0, d:0, rw:0, lw:0}} - if (this.data.join("").length !== 1) {delete span.bbox.skew} - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - } - }); - - MML.mo.Augment({ - toHTML: function (span) { - span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); - if (this.data.length == 0) {return span} else {span.bbox = null} - var text = this.data.join(""); - var variant = this.HTMLgetVariant(); - var values = this.getValues("largeop","displaystyle"); - if (values.largeop) - {variant = HTMLCSS.FONTDATA.VARIANT[values.displaystyle ? "-largeOp" : "-smallOp"]} - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {this.data[i].toHTML(span,variant)}} - if (!span.bbox) {span.bbox = {w:0, h:0, d:0, rw:0, lw:0}} - if (text.length !== 1) {delete span.bbox.skew} - if (HTMLCSS.AccentBug && span.bbox.w === 0 && text.length === 1 && span.firstChild) { - // Handle combining characters by adding a non-breaking space and removing that width - span.firstChild.nodeValue += HTMLCSS.NBSP; - HTMLCSS.createSpace(span,0,0,-span.offsetWidth/HTMLCSS.em); - } - if (values.largeop) { - var p = (span.bbox.h - span.bbox.d)/2 - HTMLCSS.TeX.axis_height*span.scale; - if (HTMLCSS.safariVerticalAlignBug && span.lastChild.nodeName === "IMG") { - span.lastChild.style.verticalAlign = - HTMLCSS.Em(parseFloat(span.lastChild.style.verticalAlign||0)/HTMLCSS.em-p/span.scale); - } else if (HTMLCSS.konquerorVerticalAlignBug && span.lastChild.nodeName === "IMG") { - span.style.position = "relative"; - span.lastChild.style.position="relative"; - span.lastChild.style.top = HTMLCSS.Em(p/span.scale); - } else { - span.style.verticalAlign = HTMLCSS.Em(-p/span.scale); - } - span.bbox.h -= p; span.bbox.d += p; - if (span.bbox.rw > span.bbox.w) { - span.bbox.ic = span.bbox.rw-span.bbox.w; - HTMLCSS.createBlank(span,span.bbox.ic); - span.bbox.w = span.bbox.rw; - } - } - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLcanStretch: function (direction) { - if (!this.Get("stretchy")) {return false} - var c = this.data.join(""); - if (c.length > 1) {return false} - c = HTMLCSS.FONTDATA.DELIMITERS[c.charCodeAt(0)]; - return (c && c.dir == direction.substr(0,1)); - }, - HTMLstretchV: function (box,h,d) { - this.HTMLremoveColor(); - var values = this.getValues("symmetric","maxsize","minsize"); - var span = this.HTMLspanElement(), H, W = span.bbox.w; - var axis = HTMLCSS.TeX.axis_height, scale = span.scale; - if (values.symmetric) {H = 2*Math.max(h-axis,d+axis)} else {H = h + d} - values.maxsize = HTMLCSS.length2em(values.maxsize,span.bbox.h+span.bbox.d); - values.minsize = HTMLCSS.length2em(values.minsize,span.bbox.h+span.bbox.d); - H = Math.max(values.minsize,Math.min(values.maxsize,H)); - span = this.HTMLcreateSpan(box); // clear contents and attributes - HTMLCSS.createDelimiter(span,this.data.join("").charCodeAt(0),H,scale); - if (values.symmetric) {H = (span.bbox.h + span.bbox.d)/2 + axis} - else {H = (span.bbox.h + span.bbox.d) * h/(h + d)} - HTMLCSS.positionDelimiter(span,H); - this.HTMLhandleSpace(span); // add in lspace/rspace, if any - this.HTMLhandleColor(span); - return span; - }, - HTMLstretchH: function (box,W) { - this.HTMLremoveColor(); - var values = this.getValues("maxsize","minsize","mathvariant","fontweight"); - if (values.fontweight === "bold" && !this.mathvariant) {values.mathvariant = MML.VARIANT.BOLD} - var span = this.HTMLspanElement(), scale = span.scale; - values.maxsize = HTMLCSS.length2em(values.maxsize,span.bbox.w); - values.minsize = HTMLCSS.length2em(values.minsize,span.bbox.w); - W = Math.max(values.minsize,Math.min(values.maxsize,W)); - span = this.HTMLcreateSpan(box); // clear contents and attributes - HTMLCSS.createDelimiter(span,this.data.join("").charCodeAt(0),W,scale,values.mathvariant); - this.HTMLhandleSpace(span); // add in lspace/rspace, if any - this.HTMLhandleColor(span); - return span; - } - }); - - MML.mtext.Augment({ - toHTML: function (span) { - span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); span.bbox = null; - if (this.Parent().type === "merror") { - // Avoid setting the font style for error text - HTMLCSS.addText(span,this.data.join("")); - var HD = HTMLCSS.getHD(span), W = HTMLCSS.getW(span); - span.bbox = {h: HD.h, d: HD.d, w: W, lw: 0, rw: W}; - } else { - var variant = this.HTMLgetVariant(); - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {this.data[i].toHTML(span,variant)}} - if (!span.bbox) {span.bbox = {w:0, h:0, d:0, rw:0, lw:0}} - if (this.data.join("").length !== 1) {delete span.bbox.skew} - } - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - } - }); - - MML.ms.Augment({toHTML: MML.mbase.HTMLautoload}); - - MML.mglyph.Augment({toHTML: MML.mbase.HTMLautoload}); - - MML.mspace.Augment({ - toHTML: function (span) { - span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); - var values = this.getValues("height","depth","width"); - values.mathbackground = this.mathbackground; - if (this.background && !this.mathbackground) {values.mathbackground = this.background} - var h = HTMLCSS.length2em(values.height), d = HTMLCSS.length2em(values.depth), - w = HTMLCSS.length2em(values.width); - HTMLCSS.createSpace(span,h,d,w,values.mathbackground); - return span; - } - }); - - MML.mphantom.Augment({ - toHTML: function (span,HW,D) { - span = this.HTMLcreateSpan(span); - var box = HTMLCSS.Measured(this.data[0].toHTML(span),span); - if (D != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchV(span,HW,D),span)} - else if (HW != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchH(span,HW),span)} - span.bbox = {w: box.bbox.w, h: box.bbox.h, d: box.bbox.d, lw: 0, rw: 0}; - for (var i = 0, m = span.childNodes.length; i < m; i++) - {span.childNodes[i].style.visibility = "hidden"} - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLstretchH: MML.mbase.HTMLstretchH, - HTMLstretchV: MML.mbase.HTMLstretchV - }); - - MML.mpadded.Augment({ - toHTML: function (span,HW,D) { - span = this.HTMLcreateSpan(span); - var stack = HTMLCSS.createStack(span,true); - var box = HTMLCSS.createBox(stack); - HTMLCSS.Measured(this.data[0].toHTML(box),box); - if (D != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchV(box,HW,D),box)} - else if (HW != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchH(box,HW),box)} - var values = this.getValues("height","depth","width","lspace","voffset"), x = 0, y = 0, v; - if (values.lspace) {x = this.HTMLlength2em(box,values.lspace)} - if (values.voffset) {y = this.HTMLlength2em(box,values.voffset)} - HTMLCSS.placeBox(box,x,y); - span.bbox = { - h: box.bbox.h, d: box.bbox.d, w: box.bbox.w, - lw: Math.min(0,box.bbox.lw+x), rw: Math.max(box.bbox.w,box.bbox.rw+x), - H: Math.max((box.bbox.H == null ? -HTMLCSS.BIGDIMEN : box.bbox.H),box.bbox.h+y), - D: Math.max((box.bbox.D == null ? -HTMLCSS.BIGDIMEN : box.bbox.D),box.bbox.d-y) - }; - if (values.height !== "") {span.bbox.h = this.HTMLlength2em(box,values.height,"h",0)} - if (values.depth !== "") {span.bbox.d = this.HTMLlength2em(box,values.depth,"d",0)} - if (values.width !== "") {span.bbox.w = this.HTMLlength2em(box,values.width,"w",0)} - if (span.bbox.H <= span.bbox.h) {delete span.bbox.H} - if (span.bbox.D <= span.bbox.d) {delete span.bbox.D} - HTMLCSS.setStackWidth(stack,span.bbox.w); - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLlength2em: function (span,length,d,m) { - if (m == null) {m = -HTMLCSS.BIGDIMEN} - var match = String(length).match(/width|height|depth/); - var size = (match ? span.bbox[match[0].charAt(0)] : (d ? span.bbox[d] : null)); - var v = HTMLCSS.length2em(length,size); - if (d && String(length).match(/^\s*[-+]/)) - {return Math.max(m,span.bbox[d]+v)} else {return v} - }, - HTMLstretchH: MML.mbase.HTMLstretchH, - HTMLstretchV: MML.mbase.HTMLstretchV - }); - - MML.mrow.Augment({ - HTMLstretchH: function (box,w) { - this.HTMLremoveColor(); - var span = this.HTMLspanElement(); - this.data[this.core].HTMLstretchH(span,w); - this.HTMLcomputeBBox(span,true); - this.HTMLhandleColor(span); - return span; - }, - HTMLstretchV: function (box,h,d) { - this.HTMLremoveColor(); - var span = this.HTMLspanElement(); - this.data[this.core].HTMLstretchV(span,h,d); - this.HTMLcomputeBBox(span,true); - this.HTMLhandleColor(span); - return span; - } - }); - - MML.mstyle.Augment({ - toHTML: function (span) { - if (this.data.length) { - span = this.data[0].toHTML(span); - this.spanID = this.data[0].spanID; - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - } - return span; - }, - HTMLspanElement: function () { - return (this.data.length ? this.data[0].HTMLspanElement() : null); - }, - HTMLstretchH: function (box,w) { - return (this.data.length ? this.data[0].HTMLstretchH(box,w) : box); - }, - HTMLstretchV: function (box,h,d) { - return (this.data.length ? this.data[0].HTMLstretchV(box,h,d) : box); - } - }); - - MML.mfrac.Augment({ - toHTML: function (span) { - span = this.HTMLcreateSpan(span); - var frac = HTMLCSS.createStack(span); - var num = HTMLCSS.createBox(frac), den = HTMLCSS.createBox(frac); - HTMLCSS.Measured(this.data[0].toHTML(num),num); - HTMLCSS.Measured(this.data[1].toHTML(den),den); - var values = this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"); - var scale = this.HTMLgetScale(), isDisplay = values.displaystyle; - var a = HTMLCSS.TeX.axis_height * scale; - if (values.bevelled) { - var delta = (isDisplay ? .4 : .15); - var H = Math.max(num.bbox.h+num.bbox.d,den.bbox.h+den.bbox.d)+2*delta; - var bevel = HTMLCSS.createBox(frac); - HTMLCSS.createDelimiter(bevel,0x2F,H); - HTMLCSS.placeBox(num,0,(num.bbox.d-num.bbox.h)/2+a+delta); - HTMLCSS.placeBox(bevel,num.bbox.w-delta/2,(bevel.bbox.d-bevel.bbox.h)/2+a); - HTMLCSS.placeBox(den,num.bbox.w+bevel.bbox.w-delta,(den.bbox.d-den.bbox.h)/2+a-delta); - } else { - var W = Math.max(num.bbox.w,den.bbox.w); - var t = HTMLCSS.thickness2em(values.linethickness), p,q, u,v; - var mt = HTMLCSS.TeX.min_rule_thickness/this.em; - if (isDisplay) {u = HTMLCSS.TeX.num1; v = HTMLCSS.TeX.denom1} - else {u = (t === 0 ? HTMLCSS.TeX.num3 : HTMLCSS.TeX.num2); v = HTMLCSS.TeX.denom2} - u *= scale; v *= scale; - if (t === 0) {// \atop - p = Math.max((isDisplay ? 7 : 3) * HTMLCSS.TeX.rule_thickness, 2*mt); // force to at least 2 px - q = (u - num.bbox.d) - (den.bbox.h - v); - if (q < p) {u += (p - q)/2; v += (p - q)/2} - } else {// \over - p = Math.max((isDisplay ? 2 : 0) * mt + t, t/2 + 1.5*mt); // force to be at least 1.5px - q = (u - num.bbox.d) - (a + t/2); if (q < p) {u += p - q} - q = (a - t/2) - (den.bbox.h - v); if (q < p) {v += p - q} - var rule = HTMLCSS.createBox(frac); - HTMLCSS.createRule(rule,t,0,W+2*t); - HTMLCSS.placeBox(rule,0,a-t/2); - } - HTMLCSS.alignBox(num,values.numalign,u); - HTMLCSS.alignBox(den,values.denomalign,-v); - } - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLcanStretch: function (direction) {return false}, - HTMLhandleSpace: function (span) { - if (!this.texWithDelims) { - var space = (this.useMMLspacing ? 0 : HTMLCSS.length2em(this.texSpacing()||0)) + .12; - span.style.paddingLeft = HTMLCSS.Em(space); - span.style.paddingRight = ".12em"; - } - } - }); - - MML.msqrt.Augment({ - toHTML: function (span) { - span = this.HTMLcreateSpan(span); - var sqrt = HTMLCSS.createStack(span); - var base = HTMLCSS.createBox(sqrt), - rule = HTMLCSS.createBox(sqrt), - surd = HTMLCSS.createBox(sqrt); - HTMLCSS.Measured(this.data[0].toHTML(base),base); - var scale = this.HTMLgetScale(); - var t = HTMLCSS.TeX.rule_thickness * scale, p,q, H, W; - if (this.Get("displaystyle")) {p = HTMLCSS.TeX.x_height * scale} else {p = t} - q = Math.max(t + p/4,2*HTMLCSS.TeX.min_rule_thickness/this.em); // force to be at least 2px - H = base.bbox.h + base.bbox.d + q + t; - W = base.bbox.w; - HTMLCSS.createDelimiter(surd,0x221A,H,scale); HTMLCSS.Measured(surd); - var x = 0; - if (surd.isMultiChar || (HTMLCSS.AdjustSurd && HTMLCSS.imgFonts)) {surd.bbox.w *= .95} - if (surd.bbox.h + surd.bbox.d > H) {q += ((surd.bbox.h+surd.bbox.d) - (H-t))/2} - var ruleC = HTMLCSS.FONTDATA.DELIMITERS[HTMLCSS.FONTDATA.RULECHAR]; - if (!ruleC || W < ruleC.HW[0][0]*scale || scale < .75) { - HTMLCSS.createRule(rule,t,0,W); - } else { - HTMLCSS.createDelimiter(rule,HTMLCSS.FONTDATA.RULECHAR,W,scale); - } - H = base.bbox.h + q + t; - x = this.HTMLaddRoot(sqrt,surd,x,surd.bbox.h+surd.bbox.d-H,scale); - HTMLCSS.placeBox(surd,x,H-surd.bbox.h); - HTMLCSS.placeBox(rule,x+surd.bbox.w,H-rule.bbox.h+HTMLCSS.rfuzz); - HTMLCSS.placeBox(base,x+surd.bbox.w,0); - span.bbox.h += t; - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLaddRoot: function (sqrt,surd,x,d,scale) {return x} - }); - - MML.mroot.Augment({ - toHTML: MML.msqrt.prototype.toHTML, - HTMLaddRoot: function (sqrt,surd,x,d,scale) { - var box = HTMLCSS.createBox(sqrt); - var root = this.data[1].toHTML(box); - root.style.paddingRight = root.style.paddingLeft = ""; // remove extra padding, if any - HTMLCSS.Measured(root,box); - var h = this.HTMLrootHeight(surd.bbox.h+surd.bbox.d,scale,box)-d; - var w = Math.min(box.bbox.w,box.bbox.rw); // remove extra right-hand padding, if any - x = Math.max(w,surd.offset); - HTMLCSS.placeBox(box,x-w,h); - return x - surd.offset; - }, - HTMLrootHeight: function (d,scale,root) { - return .45*(d-.9*scale)+.6*scale + Math.max(0,root.bbox.d-.075); - } - }); - - MML.mfenced.Augment({ - toHTML: function (span) { - span = this.HTMLcreateSpan(span); - if (this.data.open) {this.data.open.toHTML(span)} - if (this.data[0]) {this.data[0].toHTML(span)} - for (var i = 1, m = this.data.length; i < m; i++) { - if (this.data[i]) { - if (this.data["sep"+i]) {this.data["sep"+i].toHTML(span)} - this.data[i].toHTML(span); - } - } - if (this.data.close) {this.data.close.toHTML(span)} - var stretchy = this.HTMLcomputeBBox(span); - var h = span.bbox.h, d = span.bbox.d; - for (i = 0, m = stretchy.length; i < m; i++) {stretchy[i].HTMLstretchV(span,h,d)} - if (stretchy.length) {this.HTMLcomputeBBox(span,true)} - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLcomputeBBox: function (span,full) { - var i, m, child, bbox, BBOX, hasDimens = 0, width, stretchy = []; - BBOX = span.bbox = {}; - this.HTMLcheckStretchy(this.data.open,BBOX,stretchy,full); - this.HTMLcheckStretchy(this.data[0],BBOX,stretchy,full); - for (i = 1, m = this.data.length; i < m; i++) { - if (this.data[i]) { - this.HTMLcheckStretchy(this.data["sep"+i],BBOX,stretchy,full); - this.HTMLcheckStretchy(this.data[i],BBOX,stretchy,full); - } - } - this.HTMLcheckStretchy(this.data.close,BBOX,stretchy,full); - this.HTMLcleanBBox(BBOX); - return stretchy; - }, - HTMLcheckStretchy: function (core,BBOX,stretchy,full) { - if (core) { - if (!full && core.HTMLcanStretch("Vertical")) - {stretchy.push(core); core = (core.CoreMO()||core)} - this.HTMLcombineBBoxes(core,BBOX); - } - } - }); - - MML.menclose.Augment({toHTML: MML.mbase.HTMLautoload}); - - MML.semantics.Augment({ - toHTML: function (span) { - if (this.data.length) { - span = this.data[0].toHTML(span); - this.spanID = this.data[0].spanID; - this.HTMLhandleSpace(span); - } - return span; - }, - HTMLspanElement: function () { - return (this.data.length ? this.data[0].HTMLspanElement() : null); - }, - HTMLstretchH: function (box,w) { - return (this.data.length ? this.data[0].HTMLstretchH(box,w) : box); - }, - HTMLstretchV: function (box,h,d) { - return (this.data.length ? this.data[0].HTMLstretchV(box,h,d) : box); - } - }); - - MML.munderover.Augment({ - toHTML: function (span,HW,D) { - var values = this.getValues("displaystyle","accent","accentunder","align"); - if (!values.displaystyle && this.data[this.base].Get("movablelimits")) - {return MML.msubsup.prototype.toHTML.call(this,span)} - span = this.HTMLcreateSpan(span); var scale = this.HTMLgetScale(); - var stack = HTMLCSS.createStack(span); - var boxes = [], stretch = [], box, i, m, W = -HTMLCSS.BIGDIMEN, WW = W; - for (i = 0, m = this.data.length; i < m; i++) { - if (this.data[i]) { - box = boxes[i] = HTMLCSS.createBox(stack); - HTMLCSS.Measured(this.data[i].toHTML(box),box); - if (i == this.base) { - if (D != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchV(box,HW,D),box)} - else if (HW != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchH(box,HW),box)} - stretch[i] = (D == null && HW != null ? false : - this.data[i].HTMLcanStretch("Horizontal")); - } else { - stretch[i] = this.data[i].HTMLcanStretch("Horizontal"); - } - if (box.bbox.w > WW) {WW = box.bbox.w} - if (!stretch[i] && WW > W) {W = WW} - } - } - if (W == -HTMLCSS.BIGDIMEN) {W = WW} - if (D == null && HW != null) {W = WW = HW} - var t = HTMLCSS.TeX.rule_thickness, factor = HTMLCSS.FONTDATA.TeX_factor; - var base = boxes[this.base], delta = (base.bbox.ic || 0); - var x, y, z1, z2, z3, dw, k; - for (i = 0, m = this.data.length; i < m; i++) { - if (this.data[i]) { - box = boxes[i]; - if (stretch[i]) {box.bbox = this.data[i].HTMLstretchH(box,W).bbox} - z3 = HTMLCSS.TeX.big_op_spacing5 * scale; - var accent = (i != this.base && values[this.ACCENTS[i]]); - if (accent && box.bbox.w <= 1/HTMLCSS.em+.0001) { // images can get the width off by 1px - box.bbox.w = box.bbox.rw - box.bbox.lw; box.bbox.noclip = true; - if (box.bbox.lw) - {box.insertBefore(HTMLCSS.createSpace(box.parentNode,0,0,-box.bbox.lw),box.firstChild)} - HTMLCSS.createBlank(box,0,0,box.bbox.rw+.1); - } - dw = {left:0, center:(W-box.bbox.w)/2, right:W-box.bbox.w}[values.align]; - x = dw; y = 0; - if (i == this.over) { - if (accent) { - k = Math.max(t * scale * factor,2.5/this.em); z3 = 0; - if (base.bbox.skew) {x += base.bbox.skew} - } else { - z1 = HTMLCSS.TeX.big_op_spacing1 * scale * factor; - z2 = HTMLCSS.TeX.big_op_spacing3 * scale * factor; - k = Math.max(z1,z2-Math.max(0,box.bbox.d)); - } - k = Math.max(k,1.5/this.em); // force to be at least 1.5px - x += delta; y = base.bbox.h + box.bbox.d + k; - box.bbox.h += z3; - } else if (i == this.under) { - if (accent) { - k = 3*t * scale * factor; z3 = 0; - } else { - z1 = HTMLCSS.TeX.big_op_spacing2 * scale * factor; - z2 = HTMLCSS.TeX.big_op_spacing4 * scale * factor; - k = Math.max(z1,z2-box.bbox.h); - } - k = Math.max(k,1.5/this.em); // force to be at least 1.5px - x -= delta; y = -(base.bbox.d + box.bbox.h + k); - box.bbox.d += z3; - } - HTMLCSS.placeBox(box,x,y); - } - } - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLstretchH: MML.mbase.HTMLstretchH, - HTMLstretchV: MML.mbase.HTMLstretchV - }); - - MML.msubsup.Augment({ - toHTML: function (span,HW,D) { - span = this.HTMLcreateSpan(span); var scale = this.HTMLgetScale(); - var stack = HTMLCSS.createStack(span), script, box, values; - var base = HTMLCSS.createBox(stack); - HTMLCSS.Measured(this.data[this.base].toHTML(base),base); - if (D != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchV(base,HW,D),base)} - else if (HW != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchH(base,HW),base)} - HTMLCSS.placeBox(base,0,0); - var sscale = (this.data[this.sup] || this.data[this.sub]).HTMLgetScale(); - var x_height = HTMLCSS.TeX.x_height * scale, - s = HTMLCSS.TeX.scriptspace * scale * .75; // FIXME: .75 can be removed when IC is right? - var sup, sub; - if (this.data[this.sup]) { - sup = HTMLCSS.createBox(stack); - HTMLCSS.Measured(this.data[this.sup].toHTML(sup),sup); - sup.bbox.w += s; sup.bbox.rw = Math.max(sup.bbox.w,sup.bbox.rw); - } - if (this.data[this.sub]) { - sub = HTMLCSS.createBox(stack); - HTMLCSS.Measured(this.data[this.sub].toHTML(sub),sub); - sub.bbox.w += s; sub.bbox.rw = Math.max(sub.bbox.w,sub.bbox.rw); - } - var q = HTMLCSS.TeX.sup_drop * sscale, r = HTMLCSS.TeX.sub_drop * sscale; - var u = base.bbox.h - q, v = base.bbox.d + r, delta = 0, p; - if (base.bbox.ic) {delta = base.bbox.ic} - if (this.data[this.base].type === "mi" || this.data[this.base].type === "mo") { - if (this.data[this.base].data.join("").length === 1 && base.bbox.scale === 1 && - !this.data[this.base].Get("largeop")) {u = v = 0} - } - var min = this.getValues("subscriptshift","superscriptshift"); - min.subscriptshift = (min.subscriptshift === "" ? 0 : HTMLCSS.length2em(min.subscriptshift)); - min.superscriptshift = (min.superscriptshift === "" ? 0 : HTMLCSS.length2em(min.superscriptshift)); - if (!sup) { - v = Math.max(v,HTMLCSS.TeX.sub1*scale,sub.bbox.h-(4/5)*x_height,min.subscriptshift); - HTMLCSS.placeBox(sub,base.bbox.w+s-delta,-v,sub.bbox); - } else { - if (!sub) { - var values = this.getValues("displaystyle","texprimestyle"); - p = HTMLCSS.TeX[(values.displaystyle ? "sup1" : (values.texprimestyle ? "sup3" : "sup2"))]; - u = Math.max(u,p*scale,sup.bbox.d+(1/4)*x_height,min.superscriptshift); - HTMLCSS.placeBox(sup,base.bbox.w+s,u,sup.bbox); - } else { - v = Math.max(v,HTMLCSS.TeX.sub2*scale); - var t = HTMLCSS.TeX.rule_thickness * scale; - if ((u - sup.bbox.d) - (sub.bbox.h - v) < 3*t) { - v = 3*t - u + sup.bbox.d + sub.bbox.h; - q = (4/5)*x_height - (u - sup.bbox.d) + .05*scale*0; - if (q > 0) {u += q; v -= q} - } - HTMLCSS.placeBox(sup,base.bbox.w+s,Math.max(u,min.superscriptshift)); - HTMLCSS.placeBox(sub,base.bbox.w+s-delta,-Math.max(v,min.subscriptshift)); - } - } - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLstretchH: MML.mbase.HTMLstretchH, - HTMLstretchV: MML.mbase.HTMLstretchV - }); - - MML.mtable.Augment({ - toHTML: function (span) { - span = this.HTMLcreateSpan(span); - if (this.data.length === 0) {return span} - var values = this.getValues("columnalign","columnspacing","rowspacing", - "align","useHeight","width","side","minlabelspacing"); - var WIDTH = (values.width === "auto" ? null : values.width); - var COLWIDTH = (WIDTH ? "100%" : null); - var stack = HTMLCSS.createStack(span,false,WIDTH); - var scale = this.HTMLgetScale(); var LABEL = -1; - // - // Create cells and measure columns and rows - // - var H = [], D = [], W = [], A = [], i, j, J = 0, m, M, s, row, C = []; - var LHD = HTMLCSS.FONTDATA.baselineskip * scale * values.useHeight, - LH = HTMLCSS.FONTDATA.lineH * scale, LD = HTMLCSS.FONTDATA.lineD * scale; - for (i = 0, m = this.data.length; i < m; i++) { - row = this.data[i]; s = (row.type === "mlabeledtr" ? LABEL : 0); - A[i] = []; H[i] = 0; D[i] = 0; - for (j = s, M = row.data.length + s; j < M; j++) { - if (W[j] == null) { - W[j] = -HTMLCSS.BIGDIMEN; if (j > J) {J =j} - // FIXME: these widths should come from columnwidths attribute - C[j] = HTMLCSS.createStack(HTMLCSS.createBox(stack,COLWIDTH),false,COLWIDTH); - } - A[i][j] = HTMLCSS.createBox(C[j]); - HTMLCSS.Measured(row.data[j-s].toHTML(A[i][j]),A[i][j]); - if (A[i][j].bbox.h > H[i]) {H[i] = A[i][j].bbox.h} - if (A[i][j].bbox.d > D[i]) {D[i] = A[i][j].bbox.d} - if (A[i][j].bbox.w > W[j]) {W[j] = A[i][j].bbox.w} - } - } - H[0] = Math.max(H[0],LH); D[A.length-1] = Math.max(D[A.length-1],LD); - // - // Determine spacing and alignment - // - var CSPACE = values.columnspacing.split(/ /), - RSPACE = values.rowspacing.split(/ /), - CALIGN = values.columnalign.split(/ /); - for (i = 0, m = CSPACE.length; i < m; i++) {CSPACE[i] = HTMLCSS.length2em(CSPACE[i])} - for (i = 0, m = RSPACE.length; i < m; i++) {RSPACE[i] = HTMLCSS.length2em(RSPACE[i])} - while (CSPACE.length <= J) {CSPACE.push(CSPACE[CSPACE.length-1])} - while (CALIGN.length <= J) {CALIGN.push(CALIGN[CALIGN.length-1])} - while (RSPACE.length <= A.length) {RSPACE.push(RSPACE[RSPACE.length-1])} - if (C[LABEL]) { - CALIGN[LABEL] = (values.side.substr(0,1) === "l" ? "left" : "right"); - CSPACE[LABEL] = -W[LABEL]; - } - // - // Determine array total height - // - var HD = H[0] + D[A.length-1]; - for (i = 0, m = A.length-1; i < m; i++) {HD += Math.max(LHD,D[i]+H[i+1]+RSPACE[i])} - // - // Compute alignment - // - var Y = HD/2 + HTMLCSS.TeX.axis_height*scale - H[0]; - // - // Lay out array by columns - // - var x = 0, y = Y; s = (C[LABEL] ? LABEL : 0); - for (j = s; j <= J; j++) { - for (i = 0, m = A.length; i < m; i++) { - s = (this.data[i].type === "mlabeledtr" ? LABEL : 0); - if (A[i][j]) - {HTMLCSS.alignBox(A[i][j],(this.data[i].data[j-s].columnalign||CALIGN[j]),y)} - if (i < A.length-1) {y -= Math.max(LHD,D[i]+H[i+1]+ RSPACE[i])} - } - HTMLCSS.placeBox(C[j].parentNode,x,0); - x += W[j] + CSPACE[j]; y = Y; - } - // - // Place the labels, if any - // - if (C[LABEL]) { - var eqn = HTMLCSS.createStack(span,false,"100%"); - var align = HTMLCSS.config.styles[".MathJax_Display"]["text-align"]; - HTMLCSS.addBox(eqn,stack); HTMLCSS.alignBox(stack,align,0); - HTMLCSS.addBox(eqn,C[LABEL]); HTMLCSS.alignBox(C[LABEL],CALIGN[LABEL],0); - C[LABEL].style.marginRight = C[LABEL].style.marginLeft = - HTMLCSS.Em(HTMLCSS.length2em(values.minlabelspacing)); - } - // - // Finish the table - // - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - }, - HTMLhandleSpace: function (span) { - span.style.paddingLeft = span.style.paddingRight = ".1667em"; - } - }); - - MML.math.Augment({ - toHTML: function (span,node) { - var alttext = this.Get("alttext"); if (alttext) {node.setAttribute("aria-label",alttext)} - var nobr = HTMLCSS.addElement(span,"nobr",{style:{visibility:"hidden"}}); - span = this.HTMLcreateSpan(nobr); - var stack = HTMLCSS.createStack(span); - var box = HTMLCSS.createBox(stack); - if (HTMLCSS.msieColorBug) { - this.data[0].background = this.background; - this.data[0].mathbackground = this.mathbackground; - delete this.background; delete this.mathbackground; - } - var math = HTMLCSS.Measured(this.data[0].toHTML(box),box); - HTMLCSS.placeBox(box,0,0); - if (math.bbox.width != null) { - stack.style.width = math.bbox.width; - box.style.width = "100%"; - } - this.HTMLhandleColor(span); - HTMLCSS.createRule(span,math.bbox.h,math.bbox.d,0); - nobr.style.visibility = ""; - return span; - } - }); - - MML.TeXAtom.Augment({ - toHTML: function (span) { - span = this.HTMLcreateSpan(span); - if (this.texClass === MML.TEXCLASS.VCENTER) { - var stack = HTMLCSS.createStack(span); - var box = HTMLCSS.createBox(stack); - HTMLCSS.Measured(this.data[0].toHTML(box),box); - // FIXME: should the axis height be scaled? - HTMLCSS.placeBox(box,0,HTMLCSS.TeX.axis_height-(box.bbox.h+box.bbox.d)/2+box.bbox.d); - } else { - span.bbox = this.data[0].toHTML(span).bbox; - } - this.HTMLhandleSpace(span); - this.HTMLhandleColor(span); - return span; - } - }); - - // - // Handle browser-specific setup - // - MathJax.Hub.Browser.Select({ - MSIE: function (browser) { - var isIE7 = browser.versionAtLeast("7.0"); - var isIE8 = browser.versionAtLeast("8.0") && document.documentMode > 7; - var quirks = (document.compatMode === "BackCompat"); - // MSIE can't measure widths properly without this - HTMLCSS.config.styles[".MathJax span"] = {position: "relative"}; - // FIXME: work out tests for these? - HTMLCSS.Augment({ - getMarginScale: HTMLCSS.getMSIEmarginScale, - PaddingWidthBug: true, - msieAccentBug: true, - msieColorBug: true, - msieMarginWidthBug: true, - msiePaddingWidthBug: true, - msieCharPaddingWidthBug: (isIE8 && !quirks), - msieBorderWidthBug: quirks, - msieInlineBlockAlignBug: (!isIE8 || quirks), - msieVerticalAlignBug: (isIE8 && !quirks), - msiePlaceBoxBug: (isIE8 && !quirks), - msieClipRectBug: !isIE8, - msieNegativeSpaceBug: quirks, - negativeSkipBug: true, - msieIE6: !isIE7, - msieItalicWidthBug: true, - FontFaceBug: true, - allowWebFonts: "eot" - }); - }, - - Firefox: function (browser) { - var webFonts = false; - if (browser.versionAtLeast("3.5")) { - var root = String(document.location).replace(/[^\/]*$/,""); - if (document.location.protocol !== "file:" || - (MathJax.Hub.config.root+"/").substr(0,root.length) === root) {webFonts = "otf"} - } - HTMLCSS.Augment({ - ffVerticalAlignBug: true, - AccentBug: true, - allowWebFonts: webFonts - }); - }, - - Safari: function (browser) { - var v3p0 = browser.versionAtLeast("3.0"); - var v3p1 = browser.versionAtLeast("3.1"); - browser.isMobile = (navigator.appVersion.match(/Mobile/i) != null); - HTMLCSS.Augment({ - rfuzz: .05, - AccentBug: true, - AdjustSurd: true, - safariNegativeSpaceBug: true, - safariVerticalAlignBug: !v3p1, - safariTextNodeBug: !v3p0, - safariWebFontSerif: ["serif"], - allowWebFonts: (v3p1 && !browser.isMobile ? (browser.isPC ? "svg" : "otf") : false) - }); - }, - - Chrome: function (browser) { - HTMLCSS.Augment({ - rfuzz: .05, - AccentBug: true, - AdjustSurd: true, - allowWebFonts: "svg", - safariNegativeSpaceBug: true, - safariWebFontSerif: [""] - }); - }, - - Opera: function (browser) { - HTMLCSS.config.styles[".MathJax .merror"]["vertical-align"] = null; - HTMLCSS.Augment({ - operaHeightBug: true, - operaVerticalAlignBug: true, - negativeSkipBug: true, - FontFaceBug: true, - PaddingWidthBug: true, - allowWebFonts: (browser.versionAtLeast("10.0") ? "otf" : false) - }); - }, - - Konqueror: function (browser) { - HTMLCSS.Augment({ - konquerorVerticalAlignBug: true - }); - } - }); - - HTMLCSS.loadComplete("jax.js"); - -})(MathJax.ElementJax.mml, MathJax.Ajax, MathJax.OutputJax["HTML-CSS"]); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js deleted file mode 100644 index 345d61c4..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js +++ /dev/null @@ -1,51 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/NativeMML/config.js - * - * Initializes the NativeMML OutputJax (the main definition is in - * MathJax/jax/input/NativeMML/jax.js, which is loaded when needed). - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2009 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -MathJax.OutputJax.NativeMML = MathJax.OutputJax({ - name: "NativeMML", - version: 1.0, - directory: MathJax.OutputJax.directory + "/NativeMML", - extensionDir: MathJax.OutputJax.extensionDir + "/NativeMML", - - config: { - styles: { - "DIV.MathJax_MathML": { - "text-align": "center", - margin: ".75em 0px" - } - } - } -}); -MathJax.OutputJax.NativeMML.Register("jax/mml"); - -if (MathJax.Hub.Browser.isMSIE) { - // - // Insert code needed to use MathPlayer for MathML output - // - document.write(''); - document.write(''); - document.write(''); -} - -MathJax.OutputJax.NativeMML.loadComplete("config.js"); diff --git a/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js b/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js deleted file mode 100644 index fd4fc034..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js +++ /dev/null @@ -1,230 +0,0 @@ -/************************************************************* - * - * MathJax/jax/output/NativeMML/jax.js - * - * Implements the NativeMML OutputJax that displays mathematics - * using a browser's native MathML capabilities (if any). - * - * --------------------------------------------------------------------- - * - * Copyright (c) 2010 Design Science, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function (MML,nMML) { - - nMML.Augment({ - // - // User can configure styles - // - config: {styles: {}}, - Startup: function () {return MathJax.Ajax.Styles(this.config.styles)}, - // - // Add a SPAN to use as a container, and render the math into it - // - Translate: function (script) { - var math = script.MathJax.elementJax.root; - var type = (math.Get("display") === "block" ? "div" : "span"); - var span = script.parentNode.insertBefore(document.createElement(type),script); - span.className = "MathJax_MathML"; - try {math.toNativeMML(span)} catch (err) { - if (err.restart) {span.parentNode.removeChild(span)} - throw err; - } - }, - // - // Remove MathML preceeding the script - // - Remove: function (jax) { - var span = jax.SourceElement(); if (!span) return; - span = span.previousSibling; if (!span) return; - if (span.className.match(/MathJax_MathML/)) {span.parentNode.removeChild(span)} - }, - // - // The namespace to use for MML - // - MMLnamespace: "http://www.w3.org/1998/Math/MathML" - }); - - MML.mbase.Augment({ - // - // Add a MathML tag of the correct type, and set its attributes - // then populate it with its children and append it to the parent - // - toNativeMML: function (parent) { - var tag = this.NativeMMLelement(this.type); - this.NativeMMLattributes(tag); - for (var i = 0, m = this.data.length; i < m; i++) { - if (this.data[i]) {this.data[i].toNativeMML(tag)} - else {tag.appendChild(this.NativeMMLelement("mrow"))} - } - parent.appendChild(tag); - }, - // - // Look for attributes that are different from the defaults - // and set those in the tag's attribute list - // - NativeMMLattributes: function (tag) { - var defaults = this.defaults, id; - var copy = this.NativeMMLcopyAttributes, - skip = this.NativeMMLskipAttributes; - if (this.type === "mstyle") {defaults = MML.math.prototype.defaults} - for (var id in defaults) {if (!skip[id] && defaults.hasOwnProperty(id)) { - if (this[id] != null) {tag.setAttribute(id,String(this[id]))} - }} - for (var i = 0, m = copy.length; i < m; i++) { - if (this[copy[i]] != null) {tag.setAttribute(copy[i],String(this[copy[i]]))} - } - if (this.style) {tag.setAttribute("style",this.style)} - }, - NativeMMLcopyAttributes: [ - "fontfamily","fontsize","fontweight","fontstyle", - "color","background", - "id","class","href","style" - ], - NativeMMLskipAttributes: {texClass: 1, useHeight: 1, texprimestyle: 1}, - // - // Create a MathML element - // - NativeMMLelement: ( - MathJax.Hub.Browser.isMSIE ? - function (type) {return document.createElement("mjx:"+type)} : - function (type) {return document.createElementNS(nMML.MMLnamespace,type)} - ) - }); - - MML.mrow.Augment({ - // - // Make inferred rows not include an mrow tag - // - toNativeMML: function (parent) { - if (this.inferred && this.parent.inferRow) { - for (var i = 0, m = this.data.length; i < m; i++) { - if (this.data[i]) {this.data[i].toNativeMML(parent)} - else {parent.appendChild(this.NativeMMLelement("mrow"))} - } - } else { - this.SUPER(arguments).toNativeMML.call(this,parent); - } - } - }); - - MML.msubsup.Augment({ - // - // Use proper version of msub, msup, or msubsup, depending on - // which items are present - // - toNativeMML: function (parent) { - var type = this.type; - if (this.data[this.sup] == null) {type = "msub"} - if (this.data[this.sub] == null) {type = "msup"} - var tag = this.NativeMMLelement(type); - this.NativeMMLattributes(tag); - delete this.data[0].inferred; - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {this.data[i].toNativeMML(tag)}} - parent.appendChild(tag); - } - }); - - MML.munderover.Augment({ - // - // Use proper version of munder, mover, or munderover, depending on - // which items are present - // - toNativeMML: function (parent) { - var type = this.type; - if (this.data[this.under] == null) {type = "mover"} - if (this.data[this.over] == null) {type = "munder"} - var tag = this.NativeMMLelement(type); - this.NativeMMLattributes(tag); - delete this.data[0].inferred; - for (var i = 0, m = this.data.length; i < m; i++) - {if (this.data[i]) {this.data[i].toNativeMML(tag)}} - parent.appendChild(tag); - } - }); - - if (MathJax.Hub.Browser.isFirefox) { - MML.mtable.Augment({ - toNativeMML: function (parent) { - // - // FF doesn't handle width, so put it in styles instead - // - if (this.width) { - var styles = (this.style||"").replace(/;\s*$/,"").split(";"); - styles.push("width:"+this.width); - this.style = styles.join(";"); - } - this.SUPER(arguments).toNativeMML.call(this,parent); - } - }); - MML.mlabeledtr.Augment({ - toNativeMML: function (parent) { - // - // FF doesn't handle mlabeledtr, so remove the label - // - var tag = this.NativeMMLelement("mtr"); - this.NativeMMLattributes(tag); - for (var i = 1, m = this.data.length; i < m; i++) { - if (this.data[i]) {this.data[i].toNativeMML(tag)} - else {tag.appendChild(this.NativeMMLelement("mrow"))} - } - parent.appendChild(tag); - } - }); - } - - MML.TeXAtom.Augment({ - // - // Convert TeXatom to an mrow - // - toNativeMML: function (parent) { - // FIXME: Handle spacing using mpadded? - var tag = this.NativeMMLelement("mrow"); - this.data[0].toNativeMML(tag); - parent.appendChild(tag); - } - }); - - MML.chars.Augment({ - // - // Add a text node - // - toNativeMML: function (parent) { - parent.appendChild(document.createTextNode(this.toString())); - } - }); - - MML.entity.Augment({ - // - // Add a text node - // - toNativeMML: function (parent) { - parent.appendChild(document.createTextNode(this.toString())); - } - }); - - MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function () { - MML.TeXmathchoice.Augment({ - // - // Get the MathML for the selected choice - // - toNativeMML: function (parent) {this.Core().toNativeMML(parent)} - }); - }); - - nMML.loadComplete("jax.js"); - -})(MathJax.ElementJax.mml, MathJax.OutputJax.NativeMML); diff --git a/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html b/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html deleted file mode 100644 index b75cffb9..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html +++ /dev/null @@ -1,119 +0,0 @@ - - - -MathJax Test Page - - - - - - - - - - -
- -

MathJax Test Page

- -If you see typeset mathematics below, then MathJax is working. If you see -TeX code instead, MathJax is not working for you. -

- -


- - -\[ -\frac{-b\pm\sqrt{b^2-4ac}}{2a} -\] -

- -

-
-MathJax is not working! -
-
- - -
-

- -If the mathematics does not show up properly, you may not have not -installed the MathJax web fonts correctly. Follow the instructions in the -README file. -

- -The MathJax-webfonts archive is available from the MathJax SourceForge -project. Unpack the archive in the MathJax directory; you should -obtain a fonts directory, with a hierarchy of: -

-    MathJax/
-      fonts/
-        HTML-CSS/
-          TeX/
-            eot/
-              ...
-            imagedata.js
-            png/
-              ...
-            otf/
-              ...
-            svg/
-              ...
-
- -
- - - diff --git a/lib/gollum/frontend/public/javascript/MathJax/test/index.html b/lib/gollum/frontend/public/javascript/MathJax/test/index.html deleted file mode 100644 index 400d74c1..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/test/index.html +++ /dev/null @@ -1,127 +0,0 @@ - - - -MathJax Test Page - - - - - - - - - - -
- - - -

MathJax Test Page

- -If you see typeset mathematics below, then MathJax is working. If you see -TeX code instead, MathJax is not working for you. -

- -


- - -\[ -\frac{-b\pm\sqrt{b^2-4ac}}{2a} -\] -

- -

-
-MathJax is not working! -
-
- - -
-

- -

- -

- -Once you have MathJax working properly, view the image mode test page to make sure that the -image fallback mode is working as well. - -

- - - diff --git a/lib/gollum/frontend/public/javascript/MathJax/test/sample.html b/lib/gollum/frontend/public/javascript/MathJax/test/sample.html deleted file mode 100644 index 53a5d3a7..00000000 --- a/lib/gollum/frontend/public/javascript/MathJax/test/sample.html +++ /dev/null @@ -1,99 +0,0 @@ - - - -MathJax Test Page - - - - - - - - - - -
- -

The Lorenz Equations

- -

-\begin{align} -\dot{x} & = \sigma(y-x) \\ -\dot{y} & = \rho x - y - xz \\ -\dot{z} & = -\beta z + xy -\end{align} -

- -

The Cauchy-Schwarz Inequality

- -

\[ -\left( \sum_{k=1}^n a_k b_k \right)^{\!\!2} \leq - \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) -\]

- -

A Cross Product Formula

- -

\[ - \mathbf{V}_1 \times \mathbf{V}_2 = - \begin{vmatrix} - \mathbf{i} & \mathbf{j} & \mathbf{k} \\ - \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ - \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \\ - \end{vmatrix} -\]

- -

The probability of getting \(k\) heads when flipping \(n\) coins is:

- -

\[P(E) = {n \choose k} p^k (1-p)^{ n-k} \]

- -

An Identity of Ramanujan

- -

\[ - \frac{1}{(\sqrt{\phi \sqrt{5}}-\phi) e^{\frac25 \pi}} = - 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} - {1+\frac{e^{-8\pi}} {1+\ldots} } } } -\]

- -

A Rogers-Ramanujan Identity

- -

\[ - 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = - \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, - \quad\quad \text{for $|q|<1$}. -\]

- -

Maxwell's Equations

- -

-\begin{align} - \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ - \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ - \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ - \nabla \cdot \vec{\mathbf{B}} & = 0 -\end{align} -

- -

Finally, while display equations look good for a page of samples, the -ability to mix math and text in a paragraph is also important. This -expression \(\sqrt{3x-1}+(1+x)^2\) is an example of an inline equation. As -you see, MathJax equations can be used this way as well, without unduly -disturbing the spacing between lines.

- - -
- - - diff --git a/lib/gollum/frontend/public/javascript/editor/gollum.editor.js b/lib/gollum/frontend/public/javascript/editor/gollum.editor.js new file mode 100755 index 00000000..fd6adabc --- /dev/null +++ b/lib/gollum/frontend/public/javascript/editor/gollum.editor.js @@ -0,0 +1,1073 @@ +/** + * gollum.editor.js + * A jQuery plugin that creates the Gollum Editor. + * + * Usage: + * $.GollumEditor(); on DOM ready. + */ +(function($) { + + // Editor options + var DefaultOptions = { + MarkupType: 'markdown', + EditorMode: 'code', + NewFile: false, + HasFunctionBar: true, + Debug: false, + NoDefinitionsFor: [] + }; + var ActiveOptions = {}; + + /** + * $.GollumEditor + * + * You don't need to do anything. Just run this on DOM ready. + */ + $.GollumEditor = function( IncomingOptions ) { + + ActiveOptions = $.extend( DefaultOptions, IncomingOptions ); + + debug('GollumEditor loading'); + + if ( EditorHas.baseEditorMarkup() ) { + + if ( EditorHas.titleDisplayed() ) { + $('#gollum-editor-title-field').addClass('active'); + } + + if ( EditorHas.editSummaryMarkup() ) { + $.GollumEditor.Placeholder.add($('#gollum-editor-edit-summary input')); + $('#gollum-editor form[name="gollum-editor"]').submit(function( e ) { + e.preventDefault(); + $.GollumEditor.Placeholder.clearAll(); + debug('submitting'); + $(this).unbind('submit'); + $(this).submit(); + }); + } + + if ( EditorHas.collapsibleInputs() ) { + $('#gollum-editor .collapsed a.button, ' + + '#gollum-editor .expanded a.button').click(function( e ) { + e.preventDefault(); + $(this).parent().toggleClass('expanded'); + $(this).parent().toggleClass('collapsed'); + }); + } + + if ( EditorHas.previewButton() ) { + var formAction = + $('#gollum-editor #gollum-editor-preview').click(function() { + // make a dummy form, submit to new target window + // get form fields + var oldAction = $('#gollum-editor form').attr('action'); + var $form = $($('#gollum-editor form').get(0)); + $form.attr('action', this.href || '/preview'); + $form.attr('target', '_blank'); + $form.submit(); + + + $form.attr('action', oldAction); + $form.removeAttr('target'); + return false; + }); + } + + // Initialize the function bar by loading proper definitions + if ( EditorHas.functionBar() ) { + + var htmlSetMarkupLang = + $('#gollum-editor-body').attr('data-markup-lang'); + + if ( htmlSetMarkupLang ) { + ActiveOptions.MarkupType = htmlSetMarkupLang; + } + + // load language definition + LanguageDefinition.setActiveLanguage( ActiveOptions.MarkupType ); + if ( EditorHas.formatSelector() ) { + FormatSelector.init( + $('#gollum-editor-format-selector select') ); + } + + if ( EditorHas.help() ) { + $('#gollum-editor-help').hide(); + $('#gollum-editor-help').removeClass('jaws'); + } + + } + // EditorHas.functionBar + } + // EditorHas.baseEditorMarkup + }; + + + + /** + * $.GollumEditor.defineLanguage + * Defines a set of language actions that Gollum can use. + * Used by the definitions in langs/ to register language definitions. + */ + $.GollumEditor.defineLanguage = function( language_name, languageObject ) { + if ( typeof languageObject == 'object' ) { + LanguageDefinition.define( language_name, languageObject ); + } else { + debug('GollumEditor.defineLanguage: definition for ' + language_name + + ' is not an object'); + } + }; + + + /** + * debug + * Prints debug information to console.log if debug output is enabled. + * + * @param mixed Whatever you want to dump to console.log + * @return void + */ + var debug = function(m) { + if ( ActiveOptions.Debug && + typeof console != 'undefined' ) { + console.log( m ); + } + }; + + + + /** + * LanguageDefinition + * Language definition file handler + * Loads language definition files as necessary. + */ + var LanguageDefinition = { + + _ACTIVE_LANG: '', + _LOADED_LANGS: [], + _LANG: {}, + + /** + * Defines a language + * + * @param name string The name of the language + * @param name object The definition object + */ + define: function( name, definitionObject ) { + LanguageDefinition._ACTIVE_LANG = name; + LanguageDefinition._LOADED_LANGS.push( name ); + if ( typeof $.GollumEditor.WikiLanguage == 'object' ) { + var definition = {}; + $.extend(definition, $.GollumEditor.WikiLanguage, definitionObject); + LanguageDefinition._LANG[name] = definition; + } else { + LanguageDefinition._LANG[name] = definitionObject; + } + }, + + getActiveLanguage: function() { + return LanguageDefinition._ACTIVE_LANG; + }, + + setActiveLanguage: function( name ) { + if ( !LanguageDefinition.isLoadedFor(name) ) { + LanguageDefinition._ACTIVE_LANG = null; + LanguageDefinition.loadFor( name, function(x, t) { + if ( t != 'success' ) { + debug('Failed to load language definition for ' + name); + // well, fake it and turn everything off for this one + LanguageDefinition.define( name, {} ); + } + + // update features that rely on the language definition + if ( EditorHas.functionBar() ) { + FunctionBar.refresh(); + } + + if ( LanguageDefinition.isValid() && EditorHas.formatSelector() ) { + FormatSelector.updateSelected(); + } + + } ); + } else { + LanguageDefinition._ACTIVE_LANG = name; + FunctionBar.refresh(); + } + }, + + + /** + * gets a definition object for a specified attribute + * + * @param string attr The specified attribute. + * @param string specified_lang The language to pull a definition for. + * @return object if exists, null otherwise + */ + getDefinitionFor: function( attr, specified_lang ) { + if ( !specified_lang ) { + specified_lang = LanguageDefinition._ACTIVE_LANG; + } + + if ( LanguageDefinition.isLoadedFor(specified_lang) && + LanguageDefinition._LANG[specified_lang][attr] && + typeof LanguageDefinition._LANG[specified_lang][attr] == 'object' ) { + return LanguageDefinition._LANG[specified_lang][attr]; + } + + return null; + }, + + + /** + * loadFor + * Asynchronously loads a definition file for the current markup. + * Definition files are necessary to use the code editor. + * + * @param string markup_name The markup name you want to load + * @return void + */ + loadFor: function( markup_name, on_complete ) { + // Keep us from hitting 404s on our site, check the definition blacklist + if ( ActiveOptions.NoDefinitionsFor.length ) { + for ( var i=0; i < ActiveOptions.NoDefinitionsFor.length; i++ ) { + if ( markup_name == ActiveOptions.NoDefinitionsFor[i] ) { + // we don't have this. get out. + if ( typeof on_complete == 'function' ) { + on_complete( null, 'error' ); + return; + } + } + } + } + + // attempt to load the definition for this language + var script_uri = '/javascript/editor/langs/' + markup_name + '.js'; + $.ajax({ + url: script_uri, + dataType: 'script', + complete: function( xhr, textStatus ) { + if ( typeof on_complete == 'function' ) { + on_complete( xhr, textStatus ); + } + } + }); + }, + + + /** + * isLoadedFor + * Checks to see if a definition file has been loaded for the + * specified markup language. + * + * @param string markup_name The name of the markup. + * @return boolean + */ + isLoadedFor: function( markup_name ) { + if ( LanguageDefinition._LOADED_LANGS.length === 0 ) { + return false; + } + + for ( var i=0; i < LanguageDefinition._LOADED_LANGS.length; i++ ) { + if ( LanguageDefinition._LOADED_LANGS[i] == markup_name ) { + return true; + } + } + return false; + }, + + isValid: function() { + return ( LanguageDefinition._ACTIVE_LANG && + typeof LanguageDefinition._LANG[LanguageDefinition._ACTIVE_LANG] == + 'object' ); + } + + }; + + + /** + * EditorHas + * Various conditionals to check what features of the Gollum Editor are + * active/operational. + */ + var EditorHas = { + + + /** + * EditorHas.baseEditorMarkup + * True if the basic editor form is in place. + * + * @return boolean + */ + baseEditorMarkup: function() { + return ( $('#gollum-editor').length && + $('#gollum-editor-body').length ); + }, + + + /** + * EditorHas.collapsibleInputs + * True if the editor contains collapsible inputs for things like the + * sidebar or footer, false otherwise. + * + * @return boolean + */ + collapsibleInputs: function() { + return $('#gollum-editor .collapsed, #gollum-editor .expanded').length; + }, + + + /** + * EditorHas.formatSelector + * True if the editor has a format selector (for switching between + * language types), false otherwise. + * + * @return boolean + */ + formatSelector: function() { + return $('#gollum-editor-format-selector select').length; + }, + + + /** + * EditorHas.functionBar + * True if the Function Bar markup exists. + * + * @return boolean + */ + functionBar: function() { + return ( ActiveOptions.HasFunctionBar && + $('#gollum-editor-function-bar').length ); + }, + + + /** + * EditorHas.ff4Environment + * True if in a Firefox 4.0 Beta environment. + * + * @return boolean + */ + ff4Environment: function() { + var ua = new RegExp(/Firefox\/4.0b/); + return ( ua.test( navigator.userAgent ) ); + }, + + + /** + * EditorHas.editSummaryMarkup + * True if the editor has a summary field (Gollum's commit message), + * false otherwise. + * + * @return boolean + */ + editSummaryMarkup: function() { + return ( $('input#gollum-editor-message-field').length > 0 ); + }, + + + /** + * EditorHas.help + * True if the editor contains the inline help sector, false otherwise. + * + * @return boolean + */ + help: function() { + return ( $('#gollum-editor #gollum-editor-help').length && + $('#gollum-editor #function-help').length ); + }, + + + /** + * EditorHas.previewButton + * True if the editor has a preview button, false otherwise. + * + * @return boolean + */ + previewButton: function() { + return ( $('#gollum-editor #gollum-editor-preview').length ); + }, + + + /** + * EditorHas.titleDisplayed + * True if the editor is displaying a title field, false otherwise. + * + * @return boolean + */ + titleDisplayed: function() { + return ( ActiveOptions.NewFile ); + } + + }; + + + /** + * FunctionBar + * + * Things the function bar does. + */ + var FunctionBar = { + + isActive: false, + + + /** + * FunctionBar.activate + * Activates the function bar, attaching all click events + * and displaying the bar. + * + */ + activate: function() { + debug('Activating function bar'); + + // check these out + $('#gollum-editor-function-bar a.function-button').each(function() { + if ( LanguageDefinition.getDefinitionFor( $(this).attr('id') ) ) { + $(this).click( FunctionBar.evtFunctionButtonClick ); + $(this).removeClass('disabled'); + } + else if ( $(this).attr('id') != 'function-help' ) { + $(this).addClass('disabled'); + } + }); + + // show bar as active + $('#gollum-editor-function-bar').addClass( 'active' ); + FunctionBar.isActive = true; + }, + + + deactivate: function() { + $('#gollum-editor-function-bar a.function-button').unbind('click'); + $('#gollum-editor-function-bar').removeClass( 'active' ); + FunctionBar.isActive = false; + }, + + + /** + * FunctionBar.evtFunctionButtonClick + * Event handler for the function buttons. Traps the click and + * executes the proper language action. + * + * @param jQuery.Event jQuery event object. + */ + evtFunctionButtonClick: function(e) { + e.preventDefault(); + var def = LanguageDefinition.getDefinitionFor( $(this).attr('id') ); + if ( typeof def == 'object' ) { + FunctionBar.executeAction( def ); + } + }, + + + /** + * FunctionBar.executeAction + * Executes a language-specific defined action for a function button. + * + */ + executeAction: function( definitionObject ) { + // get the selected text from the textarea + var txt = $('#gollum-editor-body').val(); + // hmm, I'm not sure this will work in a textarea + var selPos = FunctionBar + .getFieldSelectionPosition( $('#gollum-editor-body') ); + var selText = FunctionBar.getFieldSelection( $('#gollum-editor-body') ); + var repText = selText; + var reselect = true; + var cursor = null; + + // execute a replacement function if one exists + if ( definitionObject.exec && + typeof definitionObject.exec == 'function' ) { + definitionObject.exec( txt, selText, $('#gollum-editor-body') ); + return; + } + + // execute a search/replace if they exist + var searchExp = /([^\n]+)/gi; + if ( definitionObject.search && + typeof definitionObject.search == 'object' ) { + debug('Replacing search Regex'); + searchExp = null; + searchExp = new RegExp ( definitionObject.search ); + debug( searchExp ); + } + debug('repText is ' + '"' + repText + '"'); + // replace text + if ( definitionObject.replace && + typeof definitionObject.replace == 'string' ) { + debug('Running replacement - using ' + definitionObject.replace); + var rt = definitionObject.replace; + repText = repText.replace( searchExp, rt ); + // remove backreferences + repText = repText.replace( /\$[\d]/g, '' ); + + if ( repText === '' ) { + debug('Search string is empty'); + + // find position of $1 - this is where we will place the cursor + cursor = rt.indexOf('$1'); + + // we have an empty string, so just remove backreferences + repText = rt.replace( /\$[\d]/g, '' ); + + // if the position of $1 doesn't exist, stick the cursor in + // the middle + if ( cursor == -1 ) { + cursor = Math.floor( rt.length / 2 ); + } + } + } + + // append if necessary + if ( definitionObject.append && + typeof definitionObject.append == 'string' ) { + if ( repText == selText ) { + reselect = false; + } + repText += definitionObject.append; + } + + if ( repText ) { + FunctionBar.replaceFieldSelection( $('#gollum-editor-body'), + repText, reselect, cursor ); + } + + }, + + + /** + * getFieldSelectionPosition + * Retrieves the selection range for the textarea. + * + * @return object the .start and .end offsets in the string + */ + getFieldSelectionPosition: function( $field ) { + if ($field.length) { + var start = 0, end = 0; + var el = $field.get(0); + + if (typeof el.selectionStart == "number" && + typeof el.selectionEnd == "number") { + start = el.selectionStart; + end = el.selectionEnd; + } else { + var range = document.selection.createRange(); + var stored_range = range.duplicate(); + stored_range.moveToElementText( el ); + stored_range.setEndPoint( 'EndToEnd', range ); + start = stored_range.text.length - range.text.length; + end = start + range.text.length; + + // so, uh, we're close, but we need to search for line breaks and + // adjust the start/end points accordingly since IE counts them as + // 2 characters in TextRange. + var s = start; + var lb = 0; + var i; + debug('IE: start position is currently ' + s); + for ( i=0; i < s; i++ ) { + if ( el.value.charAt(i).match(/\r/) ) { + ++lb; + } + } + + if ( lb ) { + debug('IE start: compensating for ' + lb + ' line breaks'); + start = start - lb; + lb = 0; + } + + var e = end; + for ( i=0; i < e; i++ ) { + if ( el.value.charAt(i).match(/\r/) ) { + ++lb; + } + } + + if ( lb ) { + debug('IE end: compensating for ' + lb + ' line breaks'); + end = end - lb; + } + } + + return { + start: start, + end: end + }; + } // end if ($field.length) + }, + + + /** + * getFieldSelection + * Returns the currently selected substring of the textarea. + * + * @param jQuery A jQuery object for the textarea. + * @return string Selected string. + */ + getFieldSelection: function( $field ) { + var selStr = ''; + var selPos; + + if ( $field.length ) { + selPos = FunctionBar.getFieldSelectionPosition( $field ); + selStr = $field.val().substring( selPos.start, selPos.end ); + debug('Selected: ' + selStr + ' (' + selPos.start + ', ' + + selPos.end + ')'); + return selStr; + } + return false; + }, + + + isShown: function() { + return ($('#gollum-editor-function-bar').is(':visible')); + }, + + refresh: function() { + if ( EditorHas.functionBar() ) { + debug('Refreshing function bar'); + if ( LanguageDefinition.isValid() ) { + $('#gollum-editor-function-bar a.function-button').unbind('click'); + FunctionBar.activate(); + if ( Help ) { + Help.setActiveHelp( LanguageDefinition.getActiveLanguage() ); + } + } else { + debug('Language definition is invalid.'); + if ( FunctionBar.isShown() ) { + // deactivate the function bar; it's not gonna work now + FunctionBar.deactivate(); + } + if ( Help.isShown() ) { + Help.hide(); + } + } + } + }, + + + /** + * replaceFieldSelection + * Replaces the currently selected substring of the textarea with + * a new string. + * + * @param jQuery A jQuery object for the textarea. + * @param string The string to replace the current selection with. + * @param boolean Reselect the new text range. + */ + replaceFieldSelection: function( $field, replaceText, reselect, cursorOffset ) { + var selPos = FunctionBar.getFieldSelectionPosition( $field ); + var fullStr = $field.val(); + var selectNew = true; + if ( reselect === false) { + selectNew = false; + } + + var scrollTop = null; + if ( $field[0].scrollTop ) { + scrollTop = $field[0].scrollTop; + } + + $field.val( fullStr.substring(0, selPos.start) + replaceText + + fullStr.substring(selPos.end) ); + $field[0].focus(); + + if ( selectNew ) { + if ( $field[0].setSelectionRange ) { + if ( cursorOffset ) { + $field[0].setSelectionRange( + selPos.start + cursorOffset, + selPos.start + cursorOffset + ); + } else { + $field[0].setSelectionRange( selPos.start, + selPos.start + replaceText.length ); + } + } else if ( $field[0].createTextRange ) { + var range = $field[0].createTextRange(); + range.collapse( true ); + if ( cursorOffset ) { + range.moveEnd( selPos.start + cursorOffset ); + range.moveStart( selPos.start + cursorOffset ); + } else { + range.moveEnd( 'character', selPos.start + replaceText.length ); + range.moveStart( 'character', selPos.start ); + } + range.select(); + } + } + + if ( scrollTop ) { + // this jumps sometimes in FF + $field[0].scrollTop = scrollTop; + } + } + }; + + + + /** + * FormatSelector + * + * Functions relating to the format selector (if it exists) + */ + var FormatSelector = { + + $_SELECTOR: null, + + /** + * FormatSelector.evtChangeFormat + * Event handler for when a format has been changed by the format + * selector. Will automatically load a new language definition + * via JS if necessary. + * + * @return void + */ + evtChangeFormat: function( e ) { + var newMarkup = $(this).val(); + LanguageDefinition.setActiveLanguage( newMarkup ); + }, + + + /** + * FormatSelector.init + * Initializes the format selector. + * + * @return void + */ + init: function( $sel ) { + debug('Initializing format selector'); + + // unbind events if init is being called twice for some reason + if ( FormatSelector.$_SELECTOR && + typeof FormatSelector.$_SELECTOR == 'object' ) { + FormatSelector.$_SELECTOR.unbind( 'change' ); + } + + FormatSelector.$_SELECTOR = $sel; + + // set format selector to the current language + FormatSelector.updateSelected(); + FormatSelector.$_SELECTOR.change( FormatSelector.evtChangeFormat ); + }, + + + /** + * FormatSelector.update + */ + updateSelected: function() { + var currentLang = LanguageDefinition.getActiveLanguage(); + FormatSelector.$_SELECTOR.val( currentLang ); + } + + }; + + + + /** + * Help + * + * Functions that manage the display and loading of inline help files. + */ + var Help = { + + _ACTIVE_HELP: '', + _LOADED_HELP_LANGS: [], + _HELP: {}, + + /** + * Help.define + * + * Defines a new help context and enables the help function if it + * exists in the Gollum Function Bar. + * + * @param string name The name you're giving to this help context. + * Generally, this should match the language name. + * @param object definitionObject The definition object being loaded from a + * language / help definition file. + * @return void + */ + define: function( name, definitionObject ) { + if ( Help.isValidHelpFormat( definitionObject ) ) { + debug('help is a valid format'); + + Help._ACTIVE_HELP_LANG = name; + Help._LOADED_HELP_LANGS.push( name ); + Help._HELP[name] = definitionObject; + + if ( $("#function-help").length ) { + if ( $('#function-help').hasClass('disabled') ) { + $('#function-help').removeClass('disabled'); + } + $('#function-help').unbind('click'); + $('#function-help').click( Help.evtHelpButtonClick ); + + // generate help menus + Help.generateHelpMenuFor( name ); + + if ( $('#gollum-editor-help').length && + typeof $('#gollum-editor-help').attr('data-autodisplay') !== 'undefined' && + $('#gollum-editor-help').attr('data-autodisplay') === 'true' ) { + Help.show(); + } + } + } else { + if ( $('#function-help').length ) { + $('#function-help').addClass('disabled'); + } + } + }, + + /** + * Help.generateHelpMenuFor + * Generates the markup for the main help menu given a context name. + * + * @param string name The context name. + * @return void + */ + generateHelpMenuFor: function( name ) { + if ( !Help._HELP[name] ) { + debug('Help is not defined for ' + name.toString()); + return false; + } + var helpData = Help._HELP[name]; + + // clear this shiz out + $('#gollum-editor-help-parent').html(''); + $('#gollum-editor-help-list').html(''); + $('#gollum-editor-help-content').html(''); + + // go go inefficient algorithm + for ( var i=0; i < helpData.length; i++ ) { + if ( typeof helpData[i] != 'object' ) { + break; + } + + var $newLi = $('
  • ' + + helpData[i].menuName + '
  • '); + $('#gollum-editor-help-parent').append( $newLi ); + if ( i === 0 ) { + // select on first run + $newLi.children('a').addClass('selected'); + } + $newLi.children('a').click( Help.evtParentMenuClick ); + } + + // generate parent submenu on first run + Help.generateSubMenu( helpData[0], 0 ); + $($('#gollum-editor-help-list li a').get(0)).click(); + + }, + + /** + * Help.generateSubMenu + * Generates the markup for the inline help sub-menu given the data + * object for the submenu and the array index to start at. + * + * @param object subData The data for the sub-menu. + * @param integer index The index clicked on (parent menu index). + * @return void + */ + generateSubMenu: function( subData, index ) { + $('#gollum-editor-help-list').html(''); + $('#gollum-editor-help-content').html(''); + for ( var i=0; i < subData.content.length; i++ ) { + if ( typeof subData.content[i] != 'object' ) { + break; + } + + var $subLi = $('
  • ' + + subData.content[i].menuName + '
  • '); + + + $('#gollum-editor-help-list').append( $subLi ); + $subLi.children('a').click( Help.evtSubMenuClick ); + } + }, + + hide: function() { + if ( $.browser.msie ) { + $('#gollum-editor-help').css('display', 'none'); + } else { + $('#gollum-editor-help').animate({ + opacity: 0 + }, 200, function() { + $('#gollum-editor-help') + .animate({ height: 'hide' }, 200); + }); + } + }, + + show: function() { + if ( $.browser.msie ) { + // bypass effects for internet explorer, since it does weird crap + // to text antialiasing with opacity animations + $('#gollum-editor-help').css('display', 'block'); + } else { + $('#gollum-editor-help').animate({ + height: 'show' + }, 200, function() { + $('#gollum-editor-help') + .animate({ opacity: 1 }, 300); + }); + } + }, + + /** + * Help.showHelpFor + * Displays the actual help content given the two menu indexes, which are + * rendered in the rel="" attributes of the help menus + * + * @param integer index1 parent index + * @param integer index2 submenu index + * @return void + */ + showHelpFor: function( index1, index2 ) { + var html = + Help._HELP[Help._ACTIVE_HELP_LANG][index1].content[index2].data; + $('#gollum-editor-help-content').html(html); + }, + + /** + * Help.isLoadedFor + * Returns true if help is loaded for a specific markup language, + * false otherwise. + * + * @param string name The name of the markup language. + * @return boolean + */ + isLoadedFor: function( name ) { + for ( var i=0; i < Help._LOADED_HELP_LANGS.length; i++ ) { + if ( name == Help._LOADED_HELP_LANGS[i] ) { + return true; + } + } + return false; + }, + + isShown: function() { + return ($('#gollum-editor-help').is(':visible')); + }, + + /** + * Help.isValidHelpFormat + * Does a quick check to make sure that the help definition isn't in a + * completely messed-up format. + * + * @param object (Array) helpArr The help definition array. + * @return boolean + */ + isValidHelpFormat: function( helpArr ) { + return ( typeof helpArr == 'object' && + helpArr.length && + typeof helpArr[0].menuName == 'string' && + typeof helpArr[0].content == 'object' && + helpArr[0].content.length ); + }, + + /** + * Help.setActiveHelp + * Sets the active help definition to the one defined in the argument, + * re-rendering the help menu to match the new definition. + * + * @param string name The name of the help definition. + * @return void + */ + setActiveHelp: function( name ) { + if ( !Help.isLoadedFor( name ) ) { + if ( $('#function-help').length ) { + $('#function-help').addClass('disabled'); + } + if ( Help.isShown() ) { + Help.hide(); + } + } else { + Help._ACTIVE_HELP_LANG = name; + if ( $("#function-help").length ) { + if ( $('#function-help').hasClass('disabled') ) { + $('#function-help').removeClass('disabled'); + } + $('#function-help').unbind('click'); + $('#function-help').click( Help.evtHelpButtonClick ); + Help.generateHelpMenuFor( name ); + } + } + }, + + /** + * Help.evtHelpButtonClick + * Event handler for clicking the help button in the function bar. + * + * @param jQuery.Event e The jQuery event object. + * @return void + */ + evtHelpButtonClick: function( e ) { + e.preventDefault(); + if ( Help.isShown() ) { + // turn off autodisplay if it's on + if ( $('#gollum-editor-help').length && + $('#gollum-editor-help').attr('data-autodisplay') !== 'undefined' && + $('#gollum-editor-help').attr('data-autodisplay') === 'true' ) { + $.post('/wiki/help?_method=delete'); + $('#gollum-editor-help').attr('data-autodisplay', ''); + } + Help.hide(); } + else { Help.show(); } + }, + + /** + * Help.evtParentMenuClick + * Event handler for clicking on an item in the parent menu. Automatically + * renders the submenu for the parent menu as well as the first result for + * the actual plain text. + * + * @param jQuery.Event e The jQuery event object. + * @return void + */ + evtParentMenuClick: function( e ) { + e.preventDefault(); + // short circuit if we've selected this already + if ( $(this).hasClass('selected') ) { return; } + + // populate from help data for this + var helpIndex = $(this).attr('rel'); + var subData = Help._HELP[Help._ACTIVE_HELP_LANG][helpIndex]; + + $('#gollum-editor-help-parent li a').removeClass('selected'); + $(this).addClass('selected'); + Help.generateSubMenu( subData, helpIndex ); + $($('#gollum-editor-help-list li a').get(0)).click(); + }, + + /** + * Help.evtSubMenuClick + * Event handler for clicking an item in a help submenu. Renders the + * appropriate text for the submenu link. + * + * @param jQuery.Event e The jQuery event object. + * @return void + */ + evtSubMenuClick: function( e ) { + e.preventDefault(); + if ( $(this).hasClass('selected') ) { return; } + + // split index rel data + var rawIndex = $(this).attr('rel').split(':'); + $('#gollum-editor-help-list li a').removeClass('selected'); + $(this).addClass('selected'); + Help.showHelpFor( rawIndex[0], rawIndex[1] ); + } + }; + + // Publicly-accessible function to Help.define + $.GollumEditor.defineHelp = Help.define; + + // Dialog exists as its own thing now + $.GollumEditor.Dialog = $.GollumDialog; + $.GollumEditor.replaceSelection = function( repText ) { + FunctionBar.replaceFieldSelection( $('#gollum-editor-body'), repText ); + }; + + // Placeholder exists as its own thing now + $.GollumEditor.Placeholder = $.GollumPlaceholder; + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/editor/langs/asciidoc.js b/lib/gollum/frontend/public/javascript/editor/langs/asciidoc.js new file mode 100644 index 00000000..4b690198 --- /dev/null +++ b/lib/gollum/frontend/public/javascript/editor/langs/asciidoc.js @@ -0,0 +1,167 @@ +/** + * ASCIIDoc Language Definition + * + */ + +(function($) { + +var ASCIIDoc = { + + 'function-bold' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "*$1*$2" + }, + + 'function-italic' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "_$1_$2" + }, + + 'function-code' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "+$1+$2" + }, + + 'function-ul' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "* $1$2" + }, + + 'function-ol' : { + search: /(.+)([\n]?)/g, + replace: ". $1$2" + }, + + 'function-blockquote' : { + search: /(.+)([\n]?)/g, + replace: "----\n$1$2\n----\n" + }, + + 'function-link' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Link', + fields: [ + { + id: 'text', + name: 'Link Text', + type: 'text', + help: 'The text to display to the user.' + }, + { + id: 'href', + name: 'URL', + type: 'text', + help: 'The URL to link to.' + } + ], + OK: function( res ) { + var h = ''; + if ( res['text'] && res['href'] ) { + h = res['href'] + '[' + + res['text'] + ']'; + } + $.GollumEditor.replaceSelection( h ); + } + }); + + + } + }, + + 'function-image' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Image', + fields: [ + { + id: 'url', + name: 'Image URL', + type: 'text' + }, + { + id: 'alt', + name: 'Alt Text', + type: 'text' + } + ], + OK: function( res ) { + var h = ''; + if ( res['url'] && res['alt'] ) { + h = 'image::' + res['url'] + + '[' + res['alt'] + ']'; + } + $.GollumEditor.replaceSelection( h ); + } + }); + } + } + +}; + +$.GollumEditor.defineLanguage('asciidoc', ASCIIDoc); + + +var ASCIIDocHelp = [ + { + menuName: 'Text Formatting', + content: [ + { + menuName: 'Headers', + data: '

    ASCIIDoc headers can be written in two ways: with differing underlines or with different indentation using = (equals sign). ASCIIDoc supports headings 1-4. The editor will automatically use the = notation. To create a level one header, prefix your line with one =. Level two headers are created with == and so on.

    ' + }, + { + menuName: 'Bold / Italic', + data: '

    To display text as bold, wrap the text in * (asterisks). To display text as italic, wrap the text in _ (underscores). To create monospace text, wrap the text in + (plus signs).' + }, + { + menuName: 'Scripts', + data: '

    Superscript and subscript is created the same way as other inline formats. To create superscript text, wrap your text in ^ (carats). To create subscript text, wrap your text in ~ (tildes).

    ' + }, + { + menuName: 'Special Characters', + data: '

    ASCIIDoc will automatically convert textual representations of commonly-used special characters. For example, (R) becomes ®, (C) becomes © and (TM) becomes ™.

    ' + } + ] + }, + { + menuName: 'Blocks', + content: [ + { + menuName: 'Paragraphs', + data: '

    ASCIIDoc allows paragraphs to have optional titles or icons to denote special sections. To make a normal paragraph, simply add a line between blocks and a new paragraph will start. If you want to title your paragraphs, adda line prefixed by . (full stop). An example paragraph with optional title is displayed below:

    .Optional Title

    This is my paragraph. It is two sentences long.

    ' + }, + { + menuName: 'Source Blocks', + data: '

    To create source blocks (long blocks of code), follow the same syntax as above but with an extra line denoting the inline source and lines of four dashes (----) delimiting the source block.. An example of Python source is below:

    .python.py
    [source,python]
    ----
    # i just wrote a comment in python
    # and maybe one more
    ----

    ' + }, + { + menuName: 'Comment Blocks', + data: '

    Comment blocks are useful if you want to keep notes for yourself inline but do not want them displayed to the public. To create a comment block, simply wrap the paragraph in dividers with four slashes (////). An example comment block is below:

    ////
    My comment block is here now

    It can be multiple paragraphs. Really.
    ////

    ' + }, + { + menuName: 'Quote Blocks', + data: '

    Quote blocks work much like comment blocks — simply create dividers using four underscores (____) around your quote. An example quote block is displayed below:
    ____
    This is my quote block. Quote something nice here, otherwise there is no point in quoting.
    ____

    ' + } + ] + }, + { + menuName: 'Macros', + content: [ + { + menuName: 'Links', + data: '

    To create links to external pages, you can simply write the URI if you want the URI to link to itself. (i.e., http://github.com/ will automatically be parsed to http://github.com/. If you want different text to be displayed, simply append it to the end of the URI in between [ (brackets.) For example, http://github.com/[GitHub] will be parsed as GitHub, with the URI pointing to http://github.com.

    ' + }, + { + menuName: 'Images', + data: '

    Images in ASCIIDoc work much like hyperlinks, but image URLs are prefixed with image:. For example, to link to an image at images/icons/home.png, write image:images/icons/home.png. Alt text can be added by appending the text to the URI in [ (brackets).

    ' + } + ] + } +]; + +$.GollumEditor.defineHelp('asciidoc', ASCIIDocHelp); + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/editor/langs/creole.js b/lib/gollum/frontend/public/javascript/editor/langs/creole.js new file mode 100644 index 00000000..c0651d52 --- /dev/null +++ b/lib/gollum/frontend/public/javascript/editor/langs/creole.js @@ -0,0 +1,104 @@ +/** + * Creole Language Definition + * + */ +(function($) { + +var Creole = { + + 'function-bold' : { + search: /([^\n]+)([\n]*)/gi, + replace: "**$1**$2" + }, + + 'function-italic' : { + search: /([^\n]+)([\n]*)/gi, + replace: "//$1//$2" + }, + + 'function-code' : { + search: /([^\n]+)([\n]*)/gi, + replace: "{{{$1}}}$2" + }, + + 'function-hr' : { + append: "\n\n----\n\n" + }, + + 'function-ul' : { + search: /(.+)([\n]?)/gi, + replace: "* $1$2" + }, + + /* This looks silly but is completely valid Markdown */ + 'function-ol' : { + search: /(.+)([\n]?)/gi, + replace: "# $1$2" + }, + + 'function-link' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Link', + fields: [ + { + id: 'text', + name: 'Link Text', + type: 'text', + help: 'The text to display to the user.' + }, + { + id: 'href', + name: 'URL', + type: 'text', + help: 'The URL to link to.' + } + ], + OK: function( res ) { + var h = '[[' + res['href'] + '|' + + res['text'] + ']]'; + $.GollumEditor.replaceSelection( h ); + } + }); + + + } + }, + + 'function-image' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Image', + fields: [ + { + id: 'url', + name: 'Image URL', + type: 'text' + }, + { + id: 'alt', + name: 'Alt Text', + type: 'text' + } + ], + OK: function( res ) { + var h = ''; + if ( res['url'] && res['alt'] ) { + h = '{{' + res['url']; + if ( res['alt'] != '' ) { + h += '|' + res['alt'] + '}}'; + } + } + $.GollumEditor.replaceSelection( h ); + } + }); + } + } + +}; + +$.GollumEditor.defineLanguage('creole', Creole); + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/editor/langs/markdown.js b/lib/gollum/frontend/public/javascript/editor/langs/markdown.js new file mode 100644 index 00000000..a3b54f4d --- /dev/null +++ b/lib/gollum/frontend/public/javascript/editor/langs/markdown.js @@ -0,0 +1,211 @@ +/** + * Markdown Language Definition + * + * A language definition for string manipulation operations, in this case + * for the Markdown, uh, markup language. Uses regexes for various functions + * by default. If regexes won't do and you need to do some serious + * manipulation, you can declare a function in the object instead. + * + * Code example: + * 'functionbar-id' : { + * exec: function(text, selectedText) { + * functionStuffHere(); + * }, + * search: /somesearchregex/gi, + * replace: 'replace text for RegExp.replace', + * append: "just add this where the cursor is" + * } + * +**/ +(function($) { + +var MarkDown = { + + 'function-bold' : { + search: /([^\n]+)([\n\s]*)/g, + replace: "**$1**$2" + }, + + 'function-italic' : { + search: /([^\n]+)([\n\s]*)/g, + replace: "_$1_$2" + }, + + 'function-code' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "`$1`$2" + }, + + 'function-hr' : { + append: "\n***\n" + }, + + 'function-ul' : { + search: /(.+)([\n]?)/g, + replace: "* $1$2" + }, + + /* This looks silly but is completely valid Markdown */ + 'function-ol' : { + search: /(.+)([\n]?)/g, + replace: "1. $1$2" + }, + + 'function-blockquote' : { + search: /(.+)([\n]?)/g, + replace: "> $1$2" + }, + + 'function-h1' : { + search: /(.+)([\n]?)/g, + replace: "# $1$2" + }, + + 'function-h2' : { + search: /(.+)([\n]?)/g, + replace: "## $1$2" + }, + + 'function-h3' : { + search: /(.+)([\n]?)/g, + replace: "### $1$2" + }, + + 'function-link' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Link', + fields: [ + { + id: 'text', + name: 'Link Text', + type: 'text' + }, + { + id: 'href', + name: 'URL', + type: 'text' + } + ], + OK: function( res ) { + var rep = ''; + if ( res['text'] && res['href'] ) { + rep = '[' + res['text'] + '](' + + res['href'] + ')'; + } + $.GollumEditor.replaceSelection( rep ); + } + }); + } + }, + + 'function-image' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Image', + fields: [ + { + id: 'url', + name: 'Image URL', + type: 'text' + }, + { + id: 'alt', + name: 'Alt Text', + type: 'text' + } + ], + OK: function( res ) { + var rep = ''; + if ( res['url'] && res['alt'] ) { + rep = '![' + res['alt'] + ']' + + '(' + res['url'] + ')'; + } + $.GollumEditor.replaceSelection( rep ); + } + }); + } + } + +}; + +var MarkDownHelp = [ + + { + menuName: 'Block Elements', + content: [ + { + menuName: 'Paragraphs & Breaks', + data: '

    To create a paragraph, simply create a block of text that is not separated by one or more blank lines. Blocks of text separated by one or more blank lines will be parsed as paragraphs.

    If you want to create a line break, end a line with two or more spaces, then hit Return/Enter.

    ' + }, + { + menuName: 'Headers', + data: '

    Markdown supports two header formats. The wiki editor uses the “atx’-style headers. Simply prefix your header text with the number of # characters to specify heading depth. For example: # Header 1, ## Header 2 and ### Header 3 will be progressively smaller headers. You may end your headers with any number of hashes.

    ' + }, + { + menuName: 'Blockquotes', + data: '

    Markdown creates blockquotes email-style by prefixing each line with the >. This looks best if you decide to hard-wrap text and prefix each line with a > character, but Markdown supports just putting > before your paragraph.

    ' + }, + { + menuName: 'Lists', + data: '

    Markdown supports both ordered and unordered lists. To create an ordered list, simply prefix each line with a number (any number will do — this is why the editor only uses one number.) To create an unordered list, you can prefix each line with *, + or -.

    List items can contain multiple paragraphs, however each paragraph must be indented by at least 4 spaces or a tab.' + }, + { + menuName: 'Code Blocks', + data: '

    Markdown wraps code blocks in pre-formatted tags to preserve indentation in your code blocks. To create a code block, indent the entire block by at least 4 spaces or one tab. Markdown will strip the extra indentation you’ve added to the code block.

    ' + }, + { + menuName: 'Horizontal Rules', + data: 'Horizontal rules are created by placing three or more hyphens, asterisks or underscores on a line by themselves. Spaces are allowed between the hyphens, asterisks or underscores.' + } + ] + }, + + { + menuName: 'Span Elements', + content: [ + { + menuName: 'Links', + data: '

    Markdown has two types of links: inline and reference. For both types of links, the text you want to display to the user is placed in square brackets. For example, if you want your link to display the text “GitHub”, you write [GitHub].

    To create an inline link, create a set of parentheses immediately after the brackets and write your URL within the parentheses. (e.g., [GitHub](http://github.com/)). Relative paths are allowed in inline links.

    To create a reference link, use two sets of square brackets. [my internal link][internal-ref] will link to the internal reference internal-ref.

    ' + }, + + { + menuName: 'Emphasis', + data: '

    Asterisks (*) and underscores (_) are treated as emphasis and are wrapped with an <em> tag, which usually displays as italics in most browsers. Double asterisks (**) or double underscores (__) are treated as bold using the <strong> tag. To create italic or bold text, simply wrap your words in single/double asterisks/underscores. For example, **My double emphasis text** becomes My double emphasis text, and *My single emphasis text* becomes My single emphasis text.

    ' + }, + + { + menuName: 'Code', + data: '

    To create inline spans of code, simply wrap the code in backticks (`). Markdown will turn `myFunction` into myFunction.

    ' + }, + + { + menuName: 'Images', + data: '

    Markdown image syntax looks a lot like the syntax for links; it is essentially the same syntax preceded by an exclamation point (!). For example, if you want to link to an image at http://github.com/unicorn.png with the alternate text My Unicorn, you would write ![My Unicorn](http://github.com/unicorn.png).

    ' + } + ] + }, + + { + menuName: 'Miscellaneous', + content: [ + { + menuName: 'Automatic Links', + data: '

    If you want to create a link that displays the actual URL, markdown allows you to quickly wrap the URL in < and > to do so. For example, the link http://github.com/ is easily produced by writing <http://github.com/>.

    ' + }, + + { + menuName: 'Escaping', + data: '

    If you want to use a special Markdown character in your document (such as displaying literal asterisks), you can escape the character with the backslash (\\). Markdown will ignore the character directly after a backslash.' + } + ] + } +]; + + +$.GollumEditor.defineLanguage('markdown', MarkDown); +$.GollumEditor.defineHelp('markdown', MarkDownHelp); + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/editor/langs/org.js b/lib/gollum/frontend/public/javascript/editor/langs/org.js new file mode 100644 index 00000000..7c67c896 --- /dev/null +++ b/lib/gollum/frontend/public/javascript/editor/langs/org.js @@ -0,0 +1,173 @@ +/** + * Org-mode Language Definition +**/ +(function($) { + +var OrgMode = { + + 'function-bold' : { + search: /([^\n]+)([\n\s]*)/g, + replace: "*$1*$2" + }, + + 'function-italic' : { + search: /([^\n]+)([\n\s]*)/g, + replace: "/$1/$2" + }, + + 'function-code' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "=$1=$2" + }, + + 'function-ul' : { + search: /(.+)([\n]?)/g, + replace: "* $1$2" + }, + + /* This works, just like it works for Markdown */ + 'function-ol' : { + search: /(.+)([\n]?)/g, + replace: "1. $1$2" + }, + + 'function-blockquote' : { + search: /(.+)([\n]?)/g, + replace: "#+BEGIN_QUOTE\n$1$2\n#+END_QUOTE\n" + }, + + 'function-h1' : { + search: /(.+)([\n]?)/g, + replace: "* $1$2" + }, + + 'function-h2' : { + search: /(.+)([\n]?)/g, + replace: "** $1$2" + }, + + 'function-h3' : { + search: /(.+)([\n]?)/g, + replace: "*** $1$2" + }, + + 'function-link' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Link', + fields: [ + { + id: 'text', + name: 'Link Text', + type: 'text' + }, + { + id: 'href', + name: 'URL', + type: 'text' + } + ], + OK: function( res ) { + var rep = ''; + if ( res['text'] && res['href'] ) { + rep = '[[' + res['href'] + '][' + + res['text'] + ']]'; + } + else if ( res['href'] ) { + rep = '[[' + res['href'] + ']]'; + } + $.GollumEditor.replaceSelection( rep ); + } + }); + } + }, + + 'function-image' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Image', + fields: [ + { + id: 'url', + name: 'Image URL', + type: 'text' + } + ], + OK: function( res ) { + var rep = ''; + if ( res['url'] ) { + rep = '[[' + res['url'] + ']]'; + } + $.GollumEditor.replaceSelection( rep ); + } + }); + } + } + +}; + +var OrgModeHelp = [ + + { + menuName: 'Block Elements', + content: [ + { + menuName: 'Paragraphs & Breaks', + data: '

    To create a paragraph, simply create a block of text that is not separated by one or more blank lines. Blocks of text separated by one or more blank lines will be parsed as paragraphs.

    ' + }, + { + menuName: 'Headers', + data: '

    Simply prefix your header text with the number of * characters to specify heading depth. For example: * Header 1, ** Header 2 and *** Header 3 will be progressively smaller headers.

    ' + }, + { + menuName: 'Blockquotes', + data: '

    To create a blockquote, simple embed the text between #+BEGIN_QUOTE and #+END_QUOTE. An example quote block is displayed below:
    #+BEGIN_QUOTE
    This is my quote block. Quote something nice here, otherwise there is no point in quoting.
    #+END_QUOTE

    ' + }, + { + menuName: 'Lists', + data: '

    Org-mode supports both ordered and unordered lists. To create an ordered list, simply prefix each line with a number (any number will do — this is why the editor only uses one number.) To create an unordered list, you can prefix each line with + or -.

    ' + }, + { + menuName: 'Code Blocks', + data: '

    Code Blocks are similar to blockquote, except that #+BEGIN_EXAMPLE and #+END_EXAMPLE are used.

    ' + }, + { + menuName: 'Tables', + data: '

    Org-mode supports simple tables (tables with equal number of cells in each row). To create a simple table, just separate the contents of each cell with a | character. For example,

    |one|two|three|
    |four|five|six|


    will appear as a table with two rows and three columns. Additionally,

    |one|two|three|
    |---+---+-----|
    |four|five|six|


    will also appear as a table, but the first row will be interpreted as a header row and the <th> tag will be used to render it.

    ' + } + ] + }, + + { + menuName: 'Span Elements', + content: [ + { + menuName: 'Links', + data: '

    To create links to external pages, you need to enclose the URI in double square brackets. (i.e., [[http://github.com/]] will automatically be parsed to http://github.com/)If you want to add text, to be displayed to the user, you write the URI and the text next to each other, both enclosed in square brackets and both of them together enclosed in another pair of square brackets. For example, if you want your link to display the text “GitHub”, you write [[http://github.com][GitHub]].

    ' + }, + + { + menuName: 'Emphasis', + data: '

    Forward slashes (/) are treated as emphasis and are wrapped with an <i> tag. Asterisks (*) are treated as bold using the <b> tag.

    ' + }, + + { + menuName: 'Code', + data: '

    To create inline spans of code, simply wrap the code in equal signs (=). Orgmode will turn =myFunction= into myFunction.

    ' + }, + + { + menuName: 'Images', + data: "

    Org-mode image syntax is exactly same as the syntax that you would use for a URI to link to itself. The image URI is enclosed in double square brackets. Alt text on images is not currently supported by Gollum's Org-mode parser.

    " + } + ] + } +]; + + +$.GollumEditor.defineLanguage('org', OrgMode); +$.GollumEditor.defineHelp('org', OrgModeHelp); + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/editor/langs/pod.js b/lib/gollum/frontend/public/javascript/editor/langs/pod.js new file mode 100644 index 00000000..94ddc87f --- /dev/null +++ b/lib/gollum/frontend/public/javascript/editor/langs/pod.js @@ -0,0 +1,111 @@ +/** + * Pod Language Definition +**/ +(function($) { + +var Pod = { + + 'function-bold' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "B<$1>$2" + }, + + 'function-italic' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "I<$1>$2" + }, + + 'function-code' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "C<$1>$2" + }, + + 'function-h1' : { + search: /(.+)([\n]?)/gi, + replace: "=head1 $1$2" + }, + + 'function-h2' : { + search: /(.+)([\n]?)/gi, + replace: "=head2 $1$2" + }, + + 'function-h3' : { + search: /(.+)([\n]?)/gi, + replace: "=head3 $1$2" + }, + + 'function-link' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Link', + fields: [ + { + id: 'text', + name: 'Link Text', + type: 'text' + }, + { + id: 'href', + name: 'URL', + type: 'text' + } + ], + OK: function( res ) { + var rep = ''; + if ( res['text'] && res['href'] ) { + rep = 'L<' + res['text'] + '|' + + res['href'] + '>'; + } + $.GollumEditor.replaceSelection( rep ); + } + }); + } + } + +}; + +$.GollumEditor.defineLanguage('pod', Pod); + + +var PodHelp = [ + { + menuName: 'Command Paragraphs', + content: [ + { + menuName: 'Headings', + data: '

    All command paragraphs start with = (equals sign).

    To create headings 1 through 4, begin your command paragraph with =headN, where N is the number of the heading 1 through 4. For example, to make a first-order heading (the largest possible,) write =head1, then on the next line begin your paragraph that you want under the heading.

    ' + }, + { + menuName: 'Beginning & Ending', + data: '

    Perl pod blocks should begin with =pod and end with =cut, signifying to Pod parsers that the pod block has begun and ended. These command paragraphs only signal the beginning and end of a pod block.

    ' + }, + { + menuName: 'Other Formats', + data: '

    pod also allows blocks in other formats, such as HTML or plain text. To create one of these blocks, use the =format SYNTAX command paragraph, where SYNTAX is the syntax of the block (e.g. html or txt). At the end of your block, use the =end SYNTAX block.

    ' + }, + { + menuName: 'Encoding', + data: '

    If you are having encoding troubles, use the =encoding ENC_TYPE command, where ENC_TYPE is the encoding type (e.g. utf8, koi8-r). This will affect the entire document, not just the block below the command.

    ' + } + ] + }, + { + menuName: 'Formatting', + content: [ + { + menuName: 'Text', + data: '

    Formatting text as bold, italic or code works in the S<word> syntax, where S is an abbreviation for the type of text you are trying to create. For example, B<my bold text> becomes my bold text, I<italic text> becomes italic text and C<code here()> becomes code here().

    ' + }, + { + menuName: 'Hyperlinks', + data: '

    Writing hyperlinks in pod is much like formatting text, using the same S<> syntax. Instead of B, I or C, use L to begin a hyperlink.

    pod allows you to hyperlink to a man page, a Perl documentation page, or another web page. To link to a man or Perl documentation page, simply include the page name in the link (e.g. L<perl(1)> or L<Net::Ping>). If you want to link to a web page, separate the URL and the link text with a pipe (e.g. to link to github.com, write L<GitHub|http://github.com/>).' + } + ] + } +]; + +$.GollumEditor.defineHelp('pod', PodHelp); + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/editor/langs/rdoc.js b/lib/gollum/frontend/public/javascript/editor/langs/rdoc.js new file mode 100644 index 00000000..f0df80b8 --- /dev/null +++ b/lib/gollum/frontend/public/javascript/editor/langs/rdoc.js @@ -0,0 +1,74 @@ +/** + * Markdown Language Definition + * + * A language definition for string manipulation operations, in this case + * for the Markdown, uh, markup language. Uses regexes for various functions + * by default. If regexes won't do and you need to do some serious + * manipulation, you can declare a function in the object instead. + * + * Code example: + * 'functionbar-id' : { + * exec: function(text, selectedText) { + * functionStuffHere(); + * }, + * search: /somesearchregex/gi, + * replace: 'replace text for RegExp.replace', + * append: "just add this where the cursor is" + * } + * +**/ +(function($) { + +var RDoc = { + + 'function-bold' : { + search: /([^\n]+)([\n\s]*)/g, + replace: "((*$1*))$2" + }, + 'function-code' : { + search: /([^\n]+)([\n\s]*)/g, + replace: "(({$1}))$2" + }, + + 'function-ul' : { + search: /(.+)([\n]?)/gi, + replace: "* $1$2" + }, + + 'function-ol' : { + exec: function( txt, selText, $field ) { + var count = 1; + // split into lines + var repText = ''; + var lines = selText.split("\n"); + var hasContent = /[\w]+/; + for ( var i = 0; i < lines.length; i++ ) { + if ( hasContent.test(lines[i]) ) { + repText += '(' + (i + 1).toString() + ') ' + + lines[i]; + } + } + $.GollumEditor.replaceSelection( repText ); + } + }, + + 'function-h1' : { + search: /(.+)([\n]?)/gi, + replace: "= $1$2" + }, + + 'function-h2' : { + search: /(.+)([\n]?)/gi, + replace: "== $1$2" + }, + + 'function-h3' : { + search: /(.+)([\n]?)/gi, + replace: "=== $1$2" + } + +}; + +$.GollumEditor.defineLanguage('rdoc', RDoc); + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/editor/langs/textile.js b/lib/gollum/frontend/public/javascript/editor/langs/textile.js new file mode 100644 index 00000000..a9793d3d --- /dev/null +++ b/lib/gollum/frontend/public/javascript/editor/langs/textile.js @@ -0,0 +1,175 @@ +/** + * Textile Language Definition + */ +(function($) { + +var Textile = { + + 'function-bold' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "*$1*$2" + }, + + 'function-italic' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "_$1_$2" + }, + + 'function-hr' : { + append: "\n***\n" + }, + + 'function-code' : { + search: /(^[\n]+)([\n\s]*)/g, + replace: "

    $1
    $2" + }, + + 'function-ul' : { + search: /(.+)([\n]?)/gi, + replace: "* $1$2" + }, + + 'function-ol' : { + search: /(.+)([\n]?)/gi, + replace: "# $1$2" + }, + + 'function-blockquote' : { + search: /(.+)([\n]?)/gi, + replace: "bq. $1$2" + }, + + 'function-link' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Link', + fields: [ + { + id: 'text', + name: 'Link Text', + type: 'text', + help: 'The text to display to the user.' + }, + { + id: 'href', + name: 'URL', + type: 'text', + help: 'The URL to link to.' + } + ], + OK: function( res ) { + var h = ''; + if ( res['text'] && res['href'] ) { + h = '"' + res['text'] + '":' + + res['href']; + } + $.GollumEditor.replaceSelection( h ); + } + }); + + + } + }, + + 'function-image' : { + exec: function( txt, selText, $field ) { + var results = null; + $.GollumEditor.Dialog.init({ + title: 'Insert Image', + fields: [ + { + id: 'url', + name: 'Image URL', + type: 'text' + }, + { + id: 'alt', + name: 'Alt Text', + type: 'text' + } + ], + OK: function( res ) { + if ( res['url'] ) { + var h = '!' + res['url']; + if ( res['alt'] != '' ) { + h += '(' + res['alt'] + ')'; + } + h += '!'; + $.GollumEditor.replaceSelection( h ); + } + } + }); + } + } + +}; + +$.GollumEditor.defineLanguage('textile', Textile); + + +var TextileHelp = [ + { + menuName: 'Phrase Modifiers', + content: [ + { + menuName: 'Emphasis / Strength', + data: '

    To place emphasis or strength on inline text, simply place _ (underscores) around the text for emphasis or * (asterisks) around the text for strength. In most browsers, _mytext_ will appear as italics and *mytext* will appear as bold.

    To force italics or bold, simply double the characters: __mytext__ will appear italic and **mytext** will appear as bold text.

    ' + }, + { + menuName: 'Citations / Editing', + data: '

    To display citations, wrap your text in ?? (two question marks).

    To display edit marks such as deleted text (strikethrough) or inserted text (underlined text), wrap your text in - (minuses) or + (pluses). For example -mytext- will be rendered as mytext and +mytext+ will be rendered as mytext

    ' + }, + { + menuName: 'Superscript / Subscript', + data: '

    To display superscript, wrap your text in ^ (carets). To display subscript, wrap your text in ~ (tildes).

    ' + }, + { + menuName: 'Code', + data: '

    To display monospace code, wrap your text in @ (at symbol). For example, @mytext@ will appear as mytext.

    ' + }, + { + menuName: 'Acronyms', + data: '

    To create an acronym, suffix the acronym with the definition in parentheses. For example, JS(JavaScript) will be displayed as JS.

    ' + } + ] + }, + { + menuName: 'Block Modifiers', + content: [ + { + menuName: 'Headings', + data: '

    To display a heading in Textile, prefix your line of text with hn., where n equals the heading size you want (1 is largest, 6 is smallest).

    ' + }, + { + menuName: 'Paragraphs / Quotes', + data: '

    To create a new paragraph, prefix your first line of a block of text with p..

    To create a blockquote, make sure at least one blank line exists between your text and any surrounding text, and then prefix that block with bq. If you need to extend a blockquote to more than one text block, write bq.. (note the two periods) and prefix your next normal paragraph with p.

    ' + }, + { + menuName: 'Code Blocks', + data: '

    Code blocks in textile are simply prefixed like any other block. To create a code block, place the beginning of the block on a separate line and prefix it with bc.

    To display a preformatted block, prefix the block with pre.

    ' + }, + { + menuName: 'Lists', + data: '

    To create ordered lists, prefix each line with #. To create unordered lists, prefix each line with *.

    ' + } + ] + }, + { + menuName: 'Links / Images', + content: [ + { + menuName: 'Links', + data: '

    To display a link, put the text you want to display in quotes, then a colon (:), then the URL after the colon. For example "GitHub":http://github.com/ will appear as GitHub.

    ' + }, + { + menuName: 'Images', + data: '

    To display an image, simply wrap the image’s URL in ! (exclamation points). If you want to link the image to a URL, you can blend the image and link syntax: place your image URL in the exclamation points and suffix that with a colon and your URL. For example, an image at http://myurl/image.png that should link to http://myurl/ should be written as !http://myurl/image.png!:http://myurl/.

    ' + } + ] + } +]; + +$.GollumEditor.defineHelp('textile', TextileHelp); + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/gollum.dialog.js b/lib/gollum/frontend/public/javascript/gollum.dialog.js new file mode 100755 index 00000000..b5402420 --- /dev/null +++ b/lib/gollum/frontend/public/javascript/gollum.dialog.js @@ -0,0 +1,263 @@ +/** + * gollum.dialog.js + * + * Used for dialogs. Duh. + * + */ + +(function($) { + + var Dialog = { + + debugOn: false, + markupCreated: false, + markup: '', + + attachEvents: function( evtOK ) { + $('#gollum-dialog-action-ok').click(function( e ) { + Dialog.eventOK( e, evtOK ); + }); + $('#gollum-dialog-action-cancel').click( Dialog.eventCancel ); + $('#gollum-dialog-dialog input[type="text"]').keydown(function( e ) { + if ( e.keyCode == 13 ) { + Dialog.eventOK( e, evtOK ); + } + }); + }, + + detachEvents: function() { + $('#gollum-dialog-action-ok').unbind('click'); + $('#gollum-dialog-action-cancel').unbind('click'); + }, + + createFieldMarkup: function( fieldArray ) { + var fieldMarkup = '
    '; + for ( var i=0; i < fieldArray.length; i++ ) { + if ( typeof fieldArray[i] == 'object' ) { + fieldMarkup += '
    '; + switch ( fieldArray[i].type ) { + + // only text is supported for now + case 'text': + fieldMarkup += Dialog.createFieldText( fieldArray[i] ); + break; + + default: + break; + + } + fieldMarkup += '
    '; + } + + } + fieldMarkup += '
    '; + return fieldMarkup; + }, + + createFieldText: function( fieldAttributes ) { + var html = ''; + + if ( fieldAttributes.name ) { + html += ''; + } + + html += ''; + } + + return html; + }, + + createMarkup: function( title, body ) { + Dialog.markupCreated = true; + if ($.facebox) { + return '
    ' + + '

    ' + + title +'

    ' + + '
    ' + body + '
    ' + + '
    ' + + 'Cancel' + + 'OK' + + '
    ' + + '
    '; + } else { + return '
    ' + + '
    ' + + '
    ' + + '

    ' + + title +'

    ' + + '
    ' + body + '
    ' + + '
    ' + + 'Cancel' + + 'OK' + + '
    ' + + '
    ' + + '
    ' + + '
    '; + } + }, + + eventCancel: function( e ) { + e.preventDefault(); + debug('Cancelled dialog.'); + Dialog.hide(); + }, + + eventOK: function( e, evtOK ) { + e.preventDefault(); + + var results = []; + // get the results from each field and build them into the object + $('#gollum-dialog-dialog-body input').each(function() { + results[$(this).attr('name')] = $(this).val(); + }); + + // pass them to evtOK if it exists (which it should) + if ( evtOK && + typeof evtOK == 'function' ) { + evtOK( results ); + } + Dialog.hide(); + }, + + hide: function() { + if ( $.facebox ) { + Dialog.markupCreated = false; + $(document).trigger('close.facebox'); + Dialog.detachEvents(); + } else { + if ( $.browser.msie ) { + $('#gollum-dialog-dialog').hide().removeClass('active'); + $('select').css('visibility', 'visible'); + } else { + $('#gollum-dialog-dialog').animate({ opacity: 0 }, { + duration: 200, + complete: function() { + $('#gollum-dialog-dialog').removeClass('active'); + } + }); + } + } + }, + + init: function( argObject ) { + var title = ''; + var body = ''; + + // bail out if necessary + if ( !argObject || + typeof argObject != 'object' ) { + debug('Editor Dialog: Cannot init; invalid init object'); + return; + } + + if ( argObject.body && typeof argObject.body == 'string' ) { + body = '

    ' + argObject.body + '

    '; + } + + // alright, build out fields + if ( argObject.fields && typeof argObject.fields == 'object' ) { + body += Dialog.createFieldMarkup( argObject.fields ); + } + + if ( argObject.title && typeof argObject.title == 'string' ) { + title = argObject.title; + } + + if ( Dialog.markupCreated ) { + if ($.facebox) { + $(document).trigger('close.facebox'); + } else { + $('#gollum-dialog-dialog').remove(); + } + } + + Dialog.markup = Dialog.createMarkup( title, body ); + + if ($.facebox) { + $(document).bind('reveal.facebox', function() { + if ( argObject.OK && + typeof argObject.OK == 'function' ) { + Dialog.attachEvents( argObject.OK ); + $($('#facebox input[type="text"]').get(0)).focus(); + } + }); + } else { + $('body').append( Dialog.markup ); + if ( argObject.OK && + typeof argObject.OK == 'function' ) { + Dialog.attachEvents( argObject.OK ); + } + } + + Dialog.show(); + }, + + show: function() { + if ( !Dialog.markupCreated ) { + debug('Dialog: No markup to show. Please use init first.'); + } else { + debug('Showing dialog'); + if ($.facebox) { + $.facebox( Dialog.markup ); + } else { + if ( $.browser.msie ) { + $('#gollum-dialog.dialog').addClass('active'); + Dialog.position(); + $('select').css('visibility', 'hidden'); + } else { + $('#gollum-dialog.dialog').css('display', 'none'); + $('#gollum-dialog-dialog').animate({ opacity: 0 }, { + duration: 0, + complete: function() { + $('#gollum-dialog-dialog').css('display', 'block'); + Dialog.position(); // position this thing + $('#gollum-dialog-dialog').animate({ opacity: 1 }, { + duration: 500 + }); + } + }); + } + } + } + }, + + position: function() { + var dialogHeight = $('#gollum-dialog-dialog-inner').height(); + $('#gollum-dialog-dialog-inner') + .css('height', dialogHeight + 'px') + .css('margin-top', -1 * parseInt( dialogHeight / 2 )); + } + }; + + if ($.facebox) { + $(document).bind('reveal.facebox', function() { + $('#facebox img.close_image').remove(); + }); + } + + var debug = function(m) { + if ( Dialog.debugOn + && typeof console != 'undefined' ) { + console.log( m ); + } + }; + + $.GollumDialog = Dialog; + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/gollum.js b/lib/gollum/frontend/public/javascript/gollum.js old mode 100644 new mode 100755 index 5583ea8d..2d832a9c --- a/lib/gollum/frontend/public/javascript/gollum.js +++ b/lib/gollum/frontend/public/javascript/gollum.js @@ -1,244 +1,161 @@ -Gollum = { - encloseStrategy: function(prefix, content, suffix) { - return { - type: 'enclose', - content: content, - prefix: prefix, - suffix: suffix - } - }, +// ua +$(document).ready(function() { + var nodeSelector = { + node1: null, + node2: null, - prefixStrategy: function(prefix, content, newline) { - return { - type: 'prefixLine', - prefix: prefix, - content: content, - newline: newline - } - }, + selectNodeRange: function( n1, n2 ) { + if ( nodeSelector.node1 && nodeSelector.node2 ) { + $('#wiki-history td.selected').removeClass('selected'); + nodeSelector.node1.addClass('selected'); + nodeSelector.node2.addClass('selected'); - enclose: function(el, format, kind) { - var cfg = Gollum.Formats[format][kind] - var sel = el.getSelectionRange() - if (sel.start == sel.end) { - el.insertText(cfg.prefix + cfg.content + cfg.suffix, sel.start, sel.start, false) - el.setSelectionRange(sel.start + cfg.prefix.length, sel.start + cfg.prefix.length + cfg.content.length) - } else { - el.insertText(cfg.prefix + el.getSelectedText() + cfg.suffix, sel.start, sel.end, false) - } - }, - - prefix: function(el, format, kind) { - var cfg = Gollum.Formats[format][kind] - var sel = el.getSelectionRange() - var cnt = el.getSelectedText() - var prefix = cfg.prefix - if (cfg.newline) { - el.setSelectionRange(sel.start - 1, sel.start) - var before = el.getSelectedText() - if (before != '\n') { - prefix = '\n' + prefix - } - } - if (sel.start == sel.end) { - el.insertText(prefix + cfg.content, sel.start, sel.start, false) - el.setSelectionRange(sel.start + prefix.length, sel.start + prefix.length + cfg.content.length) - } else { - el.insertText(prefix + cnt + '\n', sel.start, sel.end, false) - } - } -} - -Gollum.Formats = { - asciidoc: { - bold: Gollum.encloseStrategy('*', 'bold text', '*'), - italic: Gollum.encloseStrategy('_', 'italic text', '_'), - ul: Gollum.prefixStrategy('* ', 'Bullet list item', true), - ol: Gollum.prefixStrategy('. ', 'Numbered list item', true) - }, - creole: { - bold: Gollum.encloseStrategy('**', 'bold text', '**'), - italic: Gollum.encloseStrategy('//', 'italic text', '//'), - ul: Gollum.prefixStrategy('* ', 'Bullet list item', true), - ol: Gollum.prefixStrategy('# ', 'Numbered list item', true) - }, - gollum: { - link: Gollum.encloseStrategy('[[', 'Page Name', ']]'), - image: Gollum.encloseStrategy('[[', '/path/to/image.png', ']]') - }, - markdown: { - bold: Gollum.encloseStrategy('**', 'bold text', '**'), - italic: Gollum.encloseStrategy('*', 'italic text', '*'), - ul: Gollum.prefixStrategy('* ', 'Bullet list item', true), - ol: Gollum.prefixStrategy('1. ', 'Numbered list item', true) - }, - org: { - bold: Gollum.encloseStrategy('*', 'bold text', '*'), - italic: Gollum.encloseStrategy('/', 'italic text', '/'), - ul: Gollum.prefixStrategy('- ', 'Bullet list item', true), - ol: Gollum.prefixStrategy('1. ', 'Numbered list item', true) - }, - pod: { - bold: Gollum.encloseStrategy('B<', 'bold text', '>'), - italic: Gollum.encloseStrategy('I<', 'italic text', '>'), - ul: Gollum.prefixStrategy('=item * ', 'Bullet list item', true), - ol: Gollum.prefixStrategy('=item 1. ', 'Numbered list item', true) - }, - rest: { - bold: Gollum.encloseStrategy('**', 'bold text', '**'), - italic: Gollum.encloseStrategy('*', 'italic text', '*'), - ul: Gollum.prefixStrategy('* ', 'Bullet list item', true), - ol: Gollum.prefixStrategy('1. ', 'Numbered list item', true) - }, - rdoc: { - bold: Gollum.encloseStrategy('*', 'bold text', '*'), - italic: Gollum.encloseStrategy('_', 'italic text', '_'), - ul: Gollum.prefixStrategy('* ', 'Bullet list item', true), - ol: Gollum.prefixStrategy('1. ', 'Numbered list item', true) - }, - textile: { - bold: Gollum.encloseStrategy('*', 'bold text', '*'), - italic: Gollum.encloseStrategy('_', 'italic text', '_'), - ul: Gollum.prefixStrategy('* ', 'Bullet list item', true), - ol: Gollum.prefixStrategy('# ', 'Numbered list item', true) - } -} - -$(function(){ - /* Version selector */ - - $('#versions_select').change(function() { - location.href = this.value - }) - - /* EditBar */ - - $('#editbar .link').click(function() { - var el = $('#guides .write textarea') - var format = $('#guides .write select[name=format] option:selected').attr('value') - Gollum.enclose(el, 'gollum', 'link') - }) - - $('#editbar .image').click(function() { - var el = $('#guides .write textarea') - var format = $('#guides .write select[name=format] option:selected').attr('value') - Gollum.enclose(el, 'gollum', 'image') - }) - - $('#editbar .bold').click(function() { - var el = $('#guides .write textarea') - var format = $('#guides .write select[name=format] option:selected').attr('value') - Gollum.enclose(el, format, 'bold') - }) - - $('#editbar .italic').click(function() { - var el = $('#guides .write textarea') - var format = $('#guides .write select[name=format] option:selected').attr('value') - Gollum.enclose(el, format, 'italic') - }) - - $('#editbar .ul').click(function() { - var el = $('#guides .write textarea') - var format = $('#guides .write select[name=format] option:selected').attr('value') - Gollum.prefix(el, format, 'ul') - }) - - $('#editbar .ol').click(function() { - var el = $('#guides .write textarea') - var format = $('#guides .write select[name=format] option:selected').attr('value') - Gollum.prefix(el, format, 'ol') - }) - - $('#editbar .tab.help a').click(function() { - if ($(this).hasClass("open")) { - $(this).removeClass("open") - $('#editbar .sections').slideUp() - } else { - $(this).addClass("open") - if (!$('#editbar .sections .toc .current').get(0)) { - var target = $('#editbar .sections .toc .headers').get(0) - sectionItemClick.call(target) - } - $('#editbar .sections').slideDown() - } - }) - - $('#wiki_format').change(function() { - var target = $('#editbar .sections .toc div.current').get(0) - if (target != undefined) { - sectionItemClick.call(target) - } - }) - - var sectionItemClick = function() { - $('#editbar .sections .toc div').removeClass('current') - $(this).addClass('current') - $('#editbar .sections .page').removeClass('current') - var classes = $(this).attr('class').split(' ') - var name = classes[0] - var format = $('#wiki_format option:selected').attr('value') - if (classes.indexOf('gollum') == -1) { - $('#editbar .sections .page.' + name + '.' + format).addClass('current') - } else { - $('#editbar .sections .page.' + name).addClass('current') - } - return false; - } - - $('#editbar .sections .toc div').click(sectionItemClick) - - var whichType = function(){ - return $('#wiki_format').val() - } - - $('#wiki-form').previewableCommentForm({ - previewUrl: "/preview", - previewOptions: {'wiki_format': whichType}, - onSuccess: function() { - MathJax.Hub.Typeset(this[0]) - $('#wiki_format option').each(function() { - $('#preview_bucket').removeClass($(this).val()) - }) - $('#preview_bucket').addClass(whichType) - } - }) - - $('ul.inline-tabs').tabs(); - - var selectedRevisions = []; - - // disable submit button js for accessiblity - $('form#history input[type=submit]').attr('disabled', true); - - $('form#history input[type=checkbox]').change(function() { - var id = $(this).val() - var i = selectedRevisions.indexOf(id) - - if (i > -1) { - selectedRevisions.splice(i, 1) - } else { - selectedRevisions.push(id) - if (selectedRevisions.length > 2) { - var shiftedId = selectedRevisions.shift() - $('input[value=' + shiftedId + ']').attr('checked', false) - } - } - - $('form#history tr.commit').removeClass("selected") - $('form#history input[type=submit]').attr('disabled', true) - - if (selectedRevisions.length == 2) { - $('form#history input[type=submit]').attr('disabled', false) - var on = false - $('form#history tr.commit').each(function() { - if (on) { $(this).addClass("selected") } - - if ($(this).find('input:checked').length > 0) { - on = !on + // swap the nodes around if they went in reverse + if ( nodeSelector.nodeComesAfter( nodeSelector.node1, + nodeSelector.node2 ) ) { + var n = nodeSelector.node1; + nodeSelector.node1 = nodeSelector.node2; + nodeSelector.node2 = n; } - if (on) { $(this).addClass("selected") } - }) + var s = true; + var $nextNode = nodeSelector.node1.next(); + while ( $nextNode ) { + $nextNode.addClass('selected'); + if ( $nextNode[0] == nodeSelector.node2[0] ) { + break; + } + $nextNode = $nextNode.next(); + } + } + }, + + nodeComesAfter: function ( n1, n2 ) { + var s = false; + $(n1).prevAll().each(function() { + if ( $(this)[0] == $(n2)[0] ) { + s = true; + } + }); + return s; + }, + + checkNode: function( nodeCheckbox ) { + var $nodeCheckbox = nodeCheckbox; + var $node = $(nodeCheckbox).parent().parent(); + // if we're unchecking + if ( !$nodeCheckbox.is(':checked') ) { + + // remove the range, since we're breaking it + $('#wiki-history tr.selected').each(function() { + if ( $(this).find('td.checkbox input').is(':checked') ) { + return; + } + $(this).removeClass('selected'); + }); + + // no longer track this + if ( $node[0] == nodeSelector.node1[0] ) { + nodeSelector.node1 = null; + if ( nodeSelector.node2 ) { + nodeSelector.node1 = nodeSelector.node2; + nodeSelector.node2 = null; + } + } else if ( $node[0] == nodeSelector.node2[0] ) { + nodeSelector.node2 = null; + } + + } else { + if ( !nodeSelector.node1 ) { + nodeSelector.node1 = $node; + nodeSelector.node1.addClass('selected'); + } else if ( !nodeSelector.node2 ) { + // okay, we don't have a node 2 but have a node1 + nodeSelector.node2 = $node; + nodeSelector.node2.addClass('selected'); + nodeSelector.selectNodeRange( nodeSelector.node1, + nodeSelector.node2 ); + } else { + // we have two selected already + $nodeCheckbox[0].checked = false; + } + } } - }) -}) + }; + + // ua detection + if ($.browser.mozilla) { + $('body').addClass('ff'); + } else if ($.browser.webkit) { + $('body').addClass('webkit'); + } else if ($.browser.msie) { + $('body').addClass('ie'); + if ($.browser.version == "7.0") { + $('body').addClass('ie7'); + } else if ($.browser.version == "8.0") { + $('body').addClass('ie8'); + } + } + + if ($('#minibutton-new-page').length) { + $('#minibutton-new-page').removeClass('jaws'); + $('#minibutton-new-page').click(function(e) { + e.preventDefault(); + $.GollumDialog.init({ + title: 'Create New Page', + fields: [ + { + id: 'name', + name: 'Page Name', + type: 'text' + } + ], + OK: function( res ) { + var n = 'New Page'; + if ( res['name'] ) + var n = res['name']; + n = encodeURIComponent( n ); + window.location = '/' + n; + } + }); + }); + } + + if ($('#wiki-wrapper').hasClass('history')) { + $('#wiki-history td.checkbox input').each(function() { + $(this).click(function() { + nodeSelector.checkNode($(this)); + }); + if ( $(this).is(':checked') ) { + nodeSelector.checkNode($(this)); + } + }); + + if ($('.history a.action-compare-revision').length) { + $('.history a.action-compare-revision').click(function() { + $("#version-form").submit(); + }); + } + } + + if ($('#searchbar a#search-submit').length) { + $.GollumPlaceholder.add($('#searchbar #search-query')); + $('#searchbar a#search-submit').click(function(e) { + e.preventDefault(); + $('#searchbar #search-form')[0].submit(); + }); + $('#searchbar #search-form').submit(function(e) { + $.GollumPlaceholder.clearAll(); + $(this).unbind('submit'); + $(this).submit(); + }); + } + + if ($('#gollum-revert-form').length && + $('.gollum-revert-button').length ) { + $('a.gollum-revert-button').click(function(e) { + e.preventDefault(); + $('#gollum-revert-form').submit(); + }); + } +}); diff --git a/lib/gollum/frontend/public/javascript/gollum.placeholder.js b/lib/gollum/frontend/public/javascript/gollum.placeholder.js new file mode 100644 index 00000000..51e143d1 --- /dev/null +++ b/lib/gollum/frontend/public/javascript/gollum.placeholder.js @@ -0,0 +1,54 @@ +(function($) { + + var Placeholder = { + + _PLACEHOLDERS : [], + + _p : function( $field ) { + + this.fieldObject = $field; + this.placeholderText = $field.val(); + var placeholderText = $field.val(); + + $field.addClass('ph'); + + $field.blur(function() { + if ( $(this).val() == '' ) { + $(this).val( placeholderText ); + $(this).addClass('ph'); + } + }); + + $field.focus(function() { + $(this).removeClass('ph'); + if ( $(this).val() == placeholderText ) { + $(this).val(''); + } else { + $(this)[0].select(); + } + }); + + }, + + add : function( $field ) { + Placeholder._PLACEHOLDERS.push( new Placeholder._p( $field ) ); + }, + + clearAll: function() { + for ( var i=0; i < Placeholder._PLACEHOLDERS.length; i++ ) { + if ( Placeholder._PLACEHOLDERS[i].fieldObject.val() == + Placeholder._PLACEHOLDERS[i].placeholderText ) { + Placeholder._PLACEHOLDERS[i].fieldObject.val(''); + } + } + }, + + exists : function() { + return ( _PLACEHOLDERS.length ); + } + + }; + + $.GollumPlaceholder = Placeholder; + +})(jQuery); \ No newline at end of file diff --git a/lib/gollum/frontend/public/javascript/jquery-1.4.2.min.js b/lib/gollum/frontend/public/javascript/jquery-1.4.2.min.js deleted file mode 100644 index 48a88b8f..00000000 --- a/lib/gollum/frontend/public/javascript/jquery-1.4.2.min.js +++ /dev/null @@ -1,154 +0,0 @@ -/*! - * jQuery JavaScript Library v1.4.2 - * http://jquery.com/ - * - * Copyright 2010, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2010, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Sat Feb 13 22:33:48 2010 -0500 - */ -(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/, -Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&& -(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this, -a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b=== -"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this, -function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b
    a"; -var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected, -parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent= -false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n= -s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true, -applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando]; -else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this, -a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b=== -w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i, -cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected= -c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"); -a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g, -function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split("."); -k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a), -C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B=0){a.type= -e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&& -f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive; -if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data", -e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a, -"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a, -d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, -e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift(); -t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D|| -g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, -CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, -g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, -text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, -setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return hl[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= -h[3];l=0;for(m=h.length;l=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== -"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, -h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& -q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML=""; -if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="

    ";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); -(function(){var g=s.createElement("div");g.innerHTML="
    ";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: -function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j= -{},i;if(f&&a.length){e=0;for(var o=a.length;e-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a=== -"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode", -d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")? -a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType=== -1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div
    ","
    "];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= -c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, -wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, -prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, -this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); -return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja, -""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]); -return this}else{e=0;for(var j=d.length;e0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["", -""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]===""&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e= -c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]? -c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja= -function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter= -Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a, -"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f= -a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b= -a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=//gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!== -"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("
    ").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this}, -serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), -function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href, -global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&& -e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)? -"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache=== -false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B= -false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since", -c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E|| -d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x); -g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status=== -1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b=== -"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional; -if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration=== -"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]|| -c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start; -this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now= -this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem, -e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b
    "; -a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b); -c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a, -d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top- -f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset": -"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in -e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window); \ No newline at end of file diff --git a/lib/gollum/frontend/public/javascript/jquery.color.js b/lib/gollum/frontend/public/javascript/jquery.color.js new file mode 100644 index 00000000..634719d3 --- /dev/null +++ b/lib/gollum/frontend/public/javascript/jquery.color.js @@ -0,0 +1,123 @@ +/* + * jQuery Color Animations + * Copyright 2007 John Resig + * Released under the MIT and GPL licenses. + */ + +(function(jQuery){ + + // We override the animation for all of these color styles + jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ + jQuery.fx.step[attr] = function(fx){ + if ( fx.state == 0 ) { + fx.start = getColor( fx.elem, attr ); + fx.end = getRGB( fx.end ); + } + + fx.elem.style[attr] = "rgb(" + [ + Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0), + Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0), + Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0) + ].join(",") + ")"; + } + }); + + // Color Conversion functions from highlightFade + // By Blair Mitchelmore + // http://jquery.offput.ca/highlightFade/ + + // Parse strings looking for color tuples [255,255,255] + function getRGB(color) { + var result; + + // Check if we're already dealing with an array of colors + if ( color && color.constructor == Array && color.length == 3 ) + return color; + + // Look for rgb(num,num,num) + if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) + return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])]; + + // Look for rgb(num%,num%,num%) + if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color)) + return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55]; + + // Look for #a0b1c2 + if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color)) + return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)]; + + // Look for #fff + if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color)) + return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)]; + + // Otherwise, we're most likely dealing with a named color + return colors[jQuery.trim(color).toLowerCase()]; + } + + function getColor(elem, attr) { + var color; + + do { + color = jQuery.curCSS(elem, attr); + + // Keep going until we find an element that has color, or we hit the body + if ( color != '' && color != 'transparent' || jQuery.nodeName(elem, "body") ) + break; + + attr = "backgroundColor"; + } while ( elem = elem.parentNode ); + + return getRGB(color); + }; + + // Some named colors to work with + // From Interface by Stefan Petre + // http://interface.eyecon.ro/ + + var colors = { + aqua:[0,255,255], + azure:[240,255,255], + beige:[245,245,220], + black:[0,0,0], + blue:[0,0,255], + brown:[165,42,42], + cyan:[0,255,255], + darkblue:[0,0,139], + darkcyan:[0,139,139], + darkgrey:[169,169,169], + darkgreen:[0,100,0], + darkkhaki:[189,183,107], + darkmagenta:[139,0,139], + darkolivegreen:[85,107,47], + darkorange:[255,140,0], + darkorchid:[153,50,204], + darkred:[139,0,0], + darksalmon:[233,150,122], + darkviolet:[148,0,211], + fuchsia:[255,0,255], + gold:[255,215,0], + green:[0,128,0], + indigo:[75,0,130], + khaki:[240,230,140], + lightblue:[173,216,230], + lightcyan:[224,255,255], + lightgreen:[144,238,144], + lightgrey:[211,211,211], + lightpink:[255,182,193], + lightyellow:[255,255,224], + lime:[0,255,0], + magenta:[255,0,255], + maroon:[128,0,0], + navy:[0,0,128], + olive:[128,128,0], + orange:[255,165,0], + pink:[255,192,203], + purple:[128,0,128], + violet:[128,0,128], + red:[255,0,0], + silver:[192,192,192], + white:[255,255,255], + yellow:[255,255,0] + }; + +})(jQuery); diff --git a/lib/gollum/frontend/public/javascript/jquery.js b/lib/gollum/frontend/public/javascript/jquery.js new file mode 100644 index 00000000..a4f11458 --- /dev/null +++ b/lib/gollum/frontend/public/javascript/jquery.js @@ -0,0 +1,7179 @@ +/*! + * jQuery JavaScript Library v1.4.4 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Nov 11 19:04:53 2010 -0500 + */ +(function( window, undefined ) { + +// Use the correct document accordingly with window argument (sandbox) +var document = window.document; +var jQuery = (function() { + +// Define a local copy of jQuery +var jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.fn.init( selector, context ); + }, + + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$, + + // A central reference to the root jQuery(document) + rootjQuery, + + // A simple way to check for HTML strings or ID strings + // (both of which we optimize for) + quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/, + + // Is it a simple selector + isSimple = /^.[^:#\[\.,]*$/, + + // Check if a string has a non-whitespace character in it + rnotwhite = /\S/, + rwhite = /\s/, + + // Used for trimming whitespace + trimLeft = /^\s+/, + trimRight = /\s+$/, + + // Check for non-word characters + rnonword = /\W/, + + // Check for digits + rdigit = /\d/, + + // Match a standalone tag + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, + + // JSON RegExp + rvalidchars = /^[\],:{}\s]*$/, + rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, + rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + + // Useragent RegExp + rwebkit = /(webkit)[ \/]([\w.]+)/, + ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/, + rmsie = /(msie) ([\w.]+)/, + rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/, + + // Keep a UserAgent string for use with jQuery.browser + userAgent = navigator.userAgent, + + // For matching the engine and version of the browser + browserMatch, + + // Has the ready events already been bound? + readyBound = false, + + // The functions to execute on DOM ready + readyList = [], + + // The ready event handler + DOMContentLoaded, + + // Save a reference to some core methods + toString = Object.prototype.toString, + hasOwn = Object.prototype.hasOwnProperty, + push = Array.prototype.push, + slice = Array.prototype.slice, + trim = String.prototype.trim, + indexOf = Array.prototype.indexOf, + + // [[Class]] -> type pairs + class2type = {}; + +jQuery.fn = jQuery.prototype = { + init: function( selector, context ) { + var match, elem, ret, doc; + + // Handle $(""), $(null), or $(undefined) + if ( !selector ) { + return this; + } + + // Handle $(DOMElement) + if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + } + + // The body element only exists once, optimize finding it + if ( selector === "body" && !context && document.body ) { + this.context = document; + this[0] = document.body; + this.selector = "body"; + this.length = 1; + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + // Are we dealing with HTML string or an ID? + match = quickExpr.exec( selector ); + + // Verify a match, and that no context was specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + doc = (context ? context.ownerDocument || context : document); + + // If a single string is passed in and it's a single tag + // just do a createElement and skip the rest + ret = rsingleTag.exec( selector ); + + if ( ret ) { + if ( jQuery.isPlainObject( context ) ) { + selector = [ document.createElement( ret[1] ) ]; + jQuery.fn.attr.call( selector, context, true ); + + } else { + selector = [ doc.createElement( ret[1] ) ]; + } + + } else { + ret = jQuery.buildFragment( [ match[1] ], [ doc ] ); + selector = (ret.cacheable ? ret.fragment.cloneNode(true) : ret.fragment).childNodes; + } + + return jQuery.merge( this, selector ); + + // HANDLE: $("#id") + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $("TAG") + } else if ( !context && !rnonword.test( selector ) ) { + this.selector = selector; + this.context = document; + selector = document.getElementsByTagName( selector ); + return jQuery.merge( this, selector ); + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return (context || rootjQuery).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return jQuery( context ).find( selector ); + } + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return rootjQuery.ready( selector ); + } + + if (selector.selector !== undefined) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }, + + // Start with an empty selector + selector: "", + + // The current version of jQuery being used + jquery: "1.4.4", + + // The default length of a jQuery object is 0 + length: 0, + + // The number of elements contained in the matched element set + size: function() { + return this.length; + }, + + toArray: function() { + return slice.call( this, 0 ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == null ? + + // Return a 'clean' array + this.toArray() : + + // Return just the object + ( num < 0 ? this.slice(num)[ 0 ] : this[ num ] ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems, name, selector ) { + // Build a new jQuery matched element set + var ret = jQuery(); + + if ( jQuery.isArray( elems ) ) { + push.apply( ret, elems ); + + } else { + jQuery.merge( ret, elems ); + } + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + ret.context = this.context; + + if ( name === "find" ) { + ret.selector = this.selector + (this.selector ? " " : "") + selector; + } else if ( name ) { + ret.selector = this.selector + "." + name + "(" + selector + ")"; + } + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + ready: function( fn ) { + // Attach the listeners + jQuery.bindReady(); + + // If the DOM is already ready + if ( jQuery.isReady ) { + // Execute the function immediately + fn.call( document, jQuery ); + + // Otherwise, remember the function for later + } else if ( readyList ) { + // Add the function to the wait list + readyList.push( fn ); + } + + return this; + }, + + eq: function( i ) { + return i === -1 ? + this.slice( i ) : + this.slice( i, +i + 1 ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ), + "slice", slice.call(arguments).join(",") ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + end: function() { + return this.prevObject || jQuery(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: [].sort, + splice: [].splice +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.fn.init.prototype = jQuery.fn; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( length === i ) { + target = this; + --i; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + noConflict: function( deep ) { + window.$ = _$; + + if ( deep ) { + window.jQuery = _jQuery; + } + + return jQuery; + }, + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + // A third-party is pushing the ready event forwards + if ( wait === true ) { + jQuery.readyWait--; + } + + // Make sure that the DOM is not already loaded + if ( !jQuery.readyWait || (wait !== true && !jQuery.isReady) ) { + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready, 1 ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + if ( readyList ) { + // Execute all of them + var fn, + i = 0, + ready = readyList; + + // Reset the list of functions + readyList = null; + + while ( (fn = ready[ i++ ]) ) { + fn.call( document, jQuery ); + } + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger( "ready" ).unbind( "ready" ); + } + } + } + }, + + bindReady: function() { + if ( readyBound ) { + return; + } + + readyBound = true; + + // Catch cases where $(document).ready() is called after the + // browser event has already occurred. + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + return setTimeout( jQuery.ready, 1 ); + } + + // Mozilla, Opera and webkit nightlies currently support this event + if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", jQuery.ready, false ); + + // If IE event model is used + } else if ( document.attachEvent ) { + // ensure firing before onload, + // maybe late but safe also for iframes + document.attachEvent("onreadystatechange", DOMContentLoaded); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", jQuery.ready ); + + // If IE and not a frame + // continually check to see if the document is ready + var toplevel = false; + + try { + toplevel = window.frameElement == null; + } catch(e) {} + + if ( document.documentElement.doScroll && toplevel ) { + doScrollCheck(); + } + } + }, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + // A crude way of determining if an object is a window + isWindow: function( obj ) { + return obj && typeof obj === "object" && "setInterval" in obj; + }, + + isNaN: function( obj ) { + return obj == null || !rdigit.test( obj ) || isNaN( obj ); + }, + + type: function( obj ) { + return obj == null ? + String( obj ) : + class2type[ toString.call(obj) ] || "object"; + }, + + isPlainObject: function( obj ) { + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + + var key; + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + for ( var name in obj ) { + return false; + } + return true; + }, + + error: function( msg ) { + throw msg; + }, + + parseJSON: function( data ) { + if ( typeof data !== "string" || !data ) { + return null; + } + + // Make sure leading/trailing whitespace is removed (IE can't handle it) + data = jQuery.trim( data ); + + // Make sure the incoming data is actual JSON + // Logic borrowed from http://json.org/json2.js + if ( rvalidchars.test(data.replace(rvalidescape, "@") + .replace(rvalidtokens, "]") + .replace(rvalidbraces, "")) ) { + + // Try to use the native JSON parser first + return window.JSON && window.JSON.parse ? + window.JSON.parse( data ) : + (new Function("return " + data))(); + + } else { + jQuery.error( "Invalid JSON: " + data ); + } + }, + + noop: function() {}, + + // Evalulates a script in a global context + globalEval: function( data ) { + if ( data && rnotwhite.test(data) ) { + // Inspired by code by Andrea Giammarchi + // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html + var head = document.getElementsByTagName("head")[0] || document.documentElement, + script = document.createElement("script"); + + script.type = "text/javascript"; + + if ( jQuery.support.scriptEval ) { + script.appendChild( document.createTextNode( data ) ); + } else { + script.text = data; + } + + // Use insertBefore instead of appendChild to circumvent an IE6 bug. + // This arises when a base node is used (#2709). + head.insertBefore( script, head.firstChild ); + head.removeChild( script ); + } + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase(); + }, + + // args is for internal usage only + each: function( object, callback, args ) { + var name, i = 0, + length = object.length, + isObj = length === undefined || jQuery.isFunction(object); + + if ( args ) { + if ( isObj ) { + for ( name in object ) { + if ( callback.apply( object[ name ], args ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.apply( object[ i++ ], args ) === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isObj ) { + for ( name in object ) { + if ( callback.call( object[ name ], name, object[ name ] ) === false ) { + break; + } + } + } else { + for ( var value = object[0]; + i < length && callback.call( value, i, value ) !== false; value = object[++i] ) {} + } + } + + return object; + }, + + // Use native String.trim function wherever possible + trim: trim ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + text.toString().replace( trimLeft, "" ).replace( trimRight, "" ); + }, + + // results is for internal usage only + makeArray: function( array, results ) { + var ret = results || []; + + if ( array != null ) { + // The window, strings (and functions) also have 'length' + // The extra typeof function check is to prevent crashes + // in Safari 2 (See: #3039) + // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930 + var type = jQuery.type(array); + + if ( array.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( array ) ) { + push.call( ret, array ); + } else { + jQuery.merge( ret, array ); + } + } + + return ret; + }, + + inArray: function( elem, array ) { + if ( array.indexOf ) { + return array.indexOf( elem ); + } + + for ( var i = 0, length = array.length; i < length; i++ ) { + if ( array[ i ] === elem ) { + return i; + } + } + + return -1; + }, + + merge: function( first, second ) { + var i = first.length, + j = 0; + + if ( typeof second.length === "number" ) { + for ( var l = second.length; j < l; j++ ) { + first[ i++ ] = second[ j ]; + } + + } else { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, inv ) { + var ret = [], retVal; + inv = !!inv; + + // Go through the array, only saving the items + // that pass the validator function + for ( var i = 0, length = elems.length; i < length; i++ ) { + retVal = !!callback( elems[ i ], i ); + if ( inv !== retVal ) { + ret.push( elems[ i ] ); + } + } + + return ret; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var ret = [], value; + + // Go through the array, translating each of the items to their + // new value (or values). + for ( var i = 0, length = elems.length; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + + return ret.concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + proxy: function( fn, proxy, thisObject ) { + if ( arguments.length === 2 ) { + if ( typeof proxy === "string" ) { + thisObject = fn; + fn = thisObject[ proxy ]; + proxy = undefined; + + } else if ( proxy && !jQuery.isFunction( proxy ) ) { + thisObject = proxy; + proxy = undefined; + } + } + + if ( !proxy && fn ) { + proxy = function() { + return fn.apply( thisObject || this, arguments ); + }; + } + + // Set the guid of unique handler to the same of original handler, so it can be removed + if ( fn ) { + proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++; + } + + // So proxy can be declared as an argument + return proxy; + }, + + // Mutifunctional method to get and set values to a collection + // The value/s can be optionally by executed if its a function + access: function( elems, key, value, exec, fn, pass ) { + var length = elems.length; + + // Setting many attributes + if ( typeof key === "object" ) { + for ( var k in key ) { + jQuery.access( elems, k, key[k], exec, fn, value ); + } + return elems; + } + + // Setting one attribute + if ( value !== undefined ) { + // Optionally, function values get executed if exec is true + exec = !pass && exec && jQuery.isFunction(value); + + for ( var i = 0; i < length; i++ ) { + fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); + } + + return elems; + } + + // Getting an attribute + return length ? fn( elems[0], key ) : undefined; + }, + + now: function() { + return (new Date()).getTime(); + }, + + // Use of jQuery.browser is frowned upon. + // More details: http://docs.jquery.com/Utilities/jQuery.browser + uaMatch: function( ua ) { + ua = ua.toLowerCase(); + + var match = rwebkit.exec( ua ) || + ropera.exec( ua ) || + rmsie.exec( ua ) || + ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) || + []; + + return { browser: match[1] || "", version: match[2] || "0" }; + }, + + browser: {} +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +browserMatch = jQuery.uaMatch( userAgent ); +if ( browserMatch.browser ) { + jQuery.browser[ browserMatch.browser ] = true; + jQuery.browser.version = browserMatch.version; +} + +// Deprecated, use jQuery.browser.webkit instead +if ( jQuery.browser.webkit ) { + jQuery.browser.safari = true; +} + +if ( indexOf ) { + jQuery.inArray = function( elem, array ) { + return indexOf.call( array, elem ); + }; +} + +// Verify that \s matches non-breaking spaces +// (IE fails on this test) +if ( !rwhite.test( "\xA0" ) ) { + trimLeft = /^[\s\xA0]+/; + trimRight = /[\s\xA0]+$/; +} + +// All jQuery objects should point back to these +rootjQuery = jQuery(document); + +// Cleanup functions for the document ready method +if ( document.addEventListener ) { + DOMContentLoaded = function() { + document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + jQuery.ready(); + }; + +} else if ( document.attachEvent ) { + DOMContentLoaded = function() { + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( document.readyState === "complete" ) { + document.detachEvent( "onreadystatechange", DOMContentLoaded ); + jQuery.ready(); + } + }; +} + +// The DOM ready check for Internet Explorer +function doScrollCheck() { + if ( jQuery.isReady ) { + return; + } + + try { + // If IE is used, use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + document.documentElement.doScroll("left"); + } catch(e) { + setTimeout( doScrollCheck, 1 ); + return; + } + + // and execute any waiting functions + jQuery.ready(); +} + +// Expose jQuery to the global object +return (window.jQuery = window.$ = jQuery); + +})(); + + +(function() { + + jQuery.support = {}; + + var root = document.documentElement, + script = document.createElement("script"), + div = document.createElement("div"), + id = "script" + jQuery.now(); + + div.style.display = "none"; + div.innerHTML = "
    a"; + + var all = div.getElementsByTagName("*"), + a = div.getElementsByTagName("a")[0], + select = document.createElement("select"), + opt = select.appendChild( document.createElement("option") ); + + // Can't get basic test support + if ( !all || !all.length || !a ) { + return; + } + + jQuery.support = { + // IE strips leading whitespace when .innerHTML is used + leadingWhitespace: div.firstChild.nodeType === 3, + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + tbody: !div.getElementsByTagName("tbody").length, + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + htmlSerialize: !!div.getElementsByTagName("link").length, + + // Get the style information from getAttribute + // (IE uses .cssText insted) + style: /red/.test( a.getAttribute("style") ), + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + hrefNormalized: a.getAttribute("href") === "/a", + + // Make sure that element opacity exists + // (IE uses filter instead) + // Use a regex to work around a WebKit issue. See #5145 + opacity: /^0.55$/.test( a.style.opacity ), + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + cssFloat: !!a.style.cssFloat, + + // Make sure that if no value is specified for a checkbox + // that it defaults to "on". + // (WebKit defaults to "" instead) + checkOn: div.getElementsByTagName("input")[0].value === "on", + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + optSelected: opt.selected, + + // Will be defined later + deleteExpando: true, + optDisabled: false, + checkClone: false, + scriptEval: false, + noCloneEvent: true, + boxModel: null, + inlineBlockNeedsLayout: false, + shrinkWrapBlocks: false, + reliableHiddenOffsets: true + }; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as diabled) + select.disabled = true; + jQuery.support.optDisabled = !opt.disabled; + + script.type = "text/javascript"; + try { + script.appendChild( document.createTextNode( "window." + id + "=1;" ) ); + } catch(e) {} + + root.insertBefore( script, root.firstChild ); + + // Make sure that the execution of code works by injecting a script + // tag with appendChild/createTextNode + // (IE doesn't support this, fails, and uses .text instead) + if ( window[ id ] ) { + jQuery.support.scriptEval = true; + delete window[ id ]; + } + + // Test to see if it's possible to delete an expando from an element + // Fails in Internet Explorer + try { + delete script.test; + + } catch(e) { + jQuery.support.deleteExpando = false; + } + + root.removeChild( script ); + + if ( div.attachEvent && div.fireEvent ) { + div.attachEvent("onclick", function click() { + // Cloning a node shouldn't copy over any + // bound event handlers (IE does this) + jQuery.support.noCloneEvent = false; + div.detachEvent("onclick", click); + }); + div.cloneNode(true).fireEvent("onclick"); + } + + div = document.createElement("div"); + div.innerHTML = ""; + + var fragment = document.createDocumentFragment(); + fragment.appendChild( div.firstChild ); + + // WebKit doesn't clone checked state correctly in fragments + jQuery.support.checkClone = fragment.cloneNode(true).cloneNode(true).lastChild.checked; + + // Figure out if the W3C box model works as expected + // document.body must exist before we can do this + jQuery(function() { + var div = document.createElement("div"); + div.style.width = div.style.paddingLeft = "1px"; + + document.body.appendChild( div ); + jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2; + + if ( "zoom" in div.style ) { + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + // (IE < 8 does this) + div.style.display = "inline"; + div.style.zoom = 1; + jQuery.support.inlineBlockNeedsLayout = div.offsetWidth === 2; + + // Check if elements with layout shrink-wrap their children + // (IE 6 does this) + div.style.display = ""; + div.innerHTML = "
    "; + jQuery.support.shrinkWrapBlocks = div.offsetWidth !== 2; + } + + div.innerHTML = "
    t
    "; + var tds = div.getElementsByTagName("td"); + + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + // (only IE 8 fails this test) + jQuery.support.reliableHiddenOffsets = tds[0].offsetHeight === 0; + + tds[0].style.display = ""; + tds[1].style.display = "none"; + + // Check if empty table cells still have offsetWidth/Height + // (IE < 8 fail this test) + jQuery.support.reliableHiddenOffsets = jQuery.support.reliableHiddenOffsets && tds[0].offsetHeight === 0; + div.innerHTML = ""; + + document.body.removeChild( div ).style.display = "none"; + div = tds = null; + }); + + // Technique from Juriy Zaytsev + // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/ + var eventSupported = function( eventName ) { + var el = document.createElement("div"); + eventName = "on" + eventName; + + var isSupported = (eventName in el); + if ( !isSupported ) { + el.setAttribute(eventName, "return;"); + isSupported = typeof el[eventName] === "function"; + } + el = null; + + return isSupported; + }; + + jQuery.support.submitBubbles = eventSupported("submit"); + jQuery.support.changeBubbles = eventSupported("change"); + + // release memory in IE + root = script = div = all = a = null; +})(); + + + +var windowData = {}, + rbrace = /^(?:\{.*\}|\[.*\])$/; + +jQuery.extend({ + cache: {}, + + // Please use with caution + uuid: 0, + + // Unique for each copy of jQuery on the page + expando: "jQuery" + jQuery.now(), + + // The following elements throw uncatchable exceptions if you + // attempt to add expando properties to them. + noData: { + "embed": true, + // Ban all objects except for Flash (which handle expandos) + "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", + "applet": true + }, + + data: function( elem, name, data ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + elem = elem == window ? + windowData : + elem; + + var isNode = elem.nodeType, + id = isNode ? elem[ jQuery.expando ] : null, + cache = jQuery.cache, thisCache; + + if ( isNode && !id && typeof name === "string" && data === undefined ) { + return; + } + + // Get the data from the object directly + if ( !isNode ) { + cache = elem; + + // Compute a unique ID for the element + } else if ( !id ) { + elem[ jQuery.expando ] = id = ++jQuery.uuid; + } + + // Avoid generating a new cache unless none exists and we + // want to manipulate it. + if ( typeof name === "object" ) { + if ( isNode ) { + cache[ id ] = jQuery.extend(cache[ id ], name); + + } else { + jQuery.extend( cache, name ); + } + + } else if ( isNode && !cache[ id ] ) { + cache[ id ] = {}; + } + + thisCache = isNode ? cache[ id ] : cache; + + // Prevent overriding the named cache with undefined values + if ( data !== undefined ) { + thisCache[ name ] = data; + } + + return typeof name === "string" ? thisCache[ name ] : thisCache; + }, + + removeData: function( elem, name ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + elem = elem == window ? + windowData : + elem; + + var isNode = elem.nodeType, + id = isNode ? elem[ jQuery.expando ] : elem, + cache = jQuery.cache, + thisCache = isNode ? cache[ id ] : id; + + // If we want to remove a specific section of the element's data + if ( name ) { + if ( thisCache ) { + // Remove the section of cache data + delete thisCache[ name ]; + + // If we've removed all the data, remove the element's cache + if ( isNode && jQuery.isEmptyObject(thisCache) ) { + jQuery.removeData( elem ); + } + } + + // Otherwise, we want to remove all of the element's data + } else { + if ( isNode && jQuery.support.deleteExpando ) { + delete elem[ jQuery.expando ]; + + } else if ( elem.removeAttribute ) { + elem.removeAttribute( jQuery.expando ); + + // Completely remove the data cache + } else if ( isNode ) { + delete cache[ id ]; + + // Remove all fields from the object + } else { + for ( var n in elem ) { + delete elem[ n ]; + } + } + } + }, + + // A method for determining if a DOM node can handle the data expando + acceptData: function( elem ) { + if ( elem.nodeName ) { + var match = jQuery.noData[ elem.nodeName.toLowerCase() ]; + + if ( match ) { + return !(match === true || elem.getAttribute("classid") !== match); + } + } + + return true; + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var data = null; + + if ( typeof key === "undefined" ) { + if ( this.length ) { + var attr = this[0].attributes, name; + data = jQuery.data( this[0] ); + + for ( var i = 0, l = attr.length; i < l; i++ ) { + name = attr[i].name; + + if ( name.indexOf( "data-" ) === 0 ) { + name = name.substr( 5 ); + dataAttr( this[0], name, data[ name ] ); + } + } + } + + return data; + + } else if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + var parts = key.split("."); + parts[1] = parts[1] ? "." + parts[1] : ""; + + if ( value === undefined ) { + data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); + + // Try to fetch any internally stored data first + if ( data === undefined && this.length ) { + data = jQuery.data( this[0], key ); + data = dataAttr( this[0], key, data ); + } + + return data === undefined && parts[1] ? + this.data( parts[0] ) : + data; + + } else { + return this.each(function() { + var $this = jQuery( this ), + args = [ parts[0], value ]; + + $this.triggerHandler( "setData" + parts[1] + "!", args ); + jQuery.data( this, key, value ); + $this.triggerHandler( "changeData" + parts[1] + "!", args ); + }); + } + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + data = elem.getAttribute( "data-" + key ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + !jQuery.isNaN( data ) ? parseFloat( data ) : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + + + + +jQuery.extend({ + queue: function( elem, type, data ) { + if ( !elem ) { + return; + } + + type = (type || "fx") + "queue"; + var q = jQuery.data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( !data ) { + return q || []; + } + + if ( !q || jQuery.isArray(data) ) { + q = jQuery.data( elem, type, jQuery.makeArray(data) ); + + } else { + q.push( data ); + } + + return q; + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + fn = queue.shift(); + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + } + + if ( fn ) { + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift("inprogress"); + } + + fn.call(elem, function() { + jQuery.dequeue(elem, type); + }); + } + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + } + + if ( data === undefined ) { + return jQuery.queue( this[0], type ); + } + return this.each(function( i ) { + var queue = jQuery.queue( this, type, data ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + + // Based off of the plugin by Clint Helfers, with permission. + // http://blindsignals.com/index.php/2009/07/jquery-delay/ + delay: function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[time] || time : time; + type = type || "fx"; + + return this.queue( type, function() { + var elem = this; + setTimeout(function() { + jQuery.dequeue( elem, type ); + }, time ); + }); + }, + + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + } +}); + + + + +var rclass = /[\n\t]/g, + rspaces = /\s+/, + rreturn = /\r/g, + rspecialurl = /^(?:href|src|style)$/, + rtype = /^(?:button|input)$/i, + rfocusable = /^(?:button|input|object|select|textarea)$/i, + rclickable = /^a(?:rea)?$/i, + rradiocheck = /^(?:radio|checkbox)$/i; + +jQuery.props = { + "for": "htmlFor", + "class": "className", + readonly: "readOnly", + maxlength: "maxLength", + cellspacing: "cellSpacing", + rowspan: "rowSpan", + colspan: "colSpan", + tabindex: "tabIndex", + usemap: "useMap", + frameborder: "frameBorder" +}; + +jQuery.fn.extend({ + attr: function( name, value ) { + return jQuery.access( this, name, value, true, jQuery.attr ); + }, + + removeAttr: function( name, fn ) { + return this.each(function(){ + jQuery.attr( this, name, "" ); + if ( this.nodeType === 1 ) { + this.removeAttribute( name ); + } + }); + }, + + addClass: function( value ) { + if ( jQuery.isFunction(value) ) { + return this.each(function(i) { + var self = jQuery(this); + self.addClass( value.call(this, i, self.attr("class")) ); + }); + } + + if ( value && typeof value === "string" ) { + var classNames = (value || "").split( rspaces ); + + for ( var i = 0, l = this.length; i < l; i++ ) { + var elem = this[i]; + + if ( elem.nodeType === 1 ) { + if ( !elem.className ) { + elem.className = value; + + } else { + var className = " " + elem.className + " ", + setClass = elem.className; + + for ( var c = 0, cl = classNames.length; c < cl; c++ ) { + if ( className.indexOf( " " + classNames[c] + " " ) < 0 ) { + setClass += " " + classNames[c]; + } + } + elem.className = jQuery.trim( setClass ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + if ( jQuery.isFunction(value) ) { + return this.each(function(i) { + var self = jQuery(this); + self.removeClass( value.call(this, i, self.attr("class")) ); + }); + } + + if ( (value && typeof value === "string") || value === undefined ) { + var classNames = (value || "").split( rspaces ); + + for ( var i = 0, l = this.length; i < l; i++ ) { + var elem = this[i]; + + if ( elem.nodeType === 1 && elem.className ) { + if ( value ) { + var className = (" " + elem.className + " ").replace(rclass, " "); + for ( var c = 0, cl = classNames.length; c < cl; c++ ) { + className = className.replace(" " + classNames[c] + " ", " "); + } + elem.className = jQuery.trim( className ); + + } else { + elem.className = ""; + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isBool = typeof stateVal === "boolean"; + + if ( jQuery.isFunction( value ) ) { + return this.each(function(i) { + var self = jQuery(this); + self.toggleClass( value.call(this, i, self.attr("class"), stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + state = stateVal, + classNames = value.split( rspaces ); + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space seperated list + state = isBool ? state : !self.hasClass( className ); + self[ state ? "addClass" : "removeClass" ]( className ); + } + + } else if ( type === "undefined" || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery.data( this, "__className__", this.className ); + } + + // toggle whole className + this.className = this.className || value === false ? "" : jQuery.data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " "; + for ( var i = 0, l = this.length; i < l; i++ ) { + if ( (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) { + return true; + } + } + + return false; + }, + + val: function( value ) { + if ( !arguments.length ) { + var elem = this[0]; + + if ( elem ) { + if ( jQuery.nodeName( elem, "option" ) ) { + // attributes.value is undefined in Blackberry 4.7 but + // uses .value. See #6932 + var val = elem.attributes.value; + return !val || val.specified ? elem.value : elem.text; + } + + // We need to handle select boxes special + if ( jQuery.nodeName( elem, "select" ) ) { + var index = elem.selectedIndex, + values = [], + options = elem.options, + one = elem.type === "select-one"; + + // Nothing was selected + if ( index < 0 ) { + return null; + } + + // Loop through all the selected options + for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) { + var option = options[ i ]; + + // Don't return options that are disabled or in a disabled optgroup + if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) && + (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) { + + // Get the specific value for the option + value = jQuery(option).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + } + + // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified + if ( rradiocheck.test( elem.type ) && !jQuery.support.checkOn ) { + return elem.getAttribute("value") === null ? "on" : elem.value; + } + + + // Everything else, we just grab the value + return (elem.value || "").replace(rreturn, ""); + + } + + return undefined; + } + + var isFunction = jQuery.isFunction(value); + + return this.each(function(i) { + var self = jQuery(this), val = value; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call(this, i, self.val()); + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray(val) ) { + val = jQuery.map(val, function (value) { + return value == null ? "" : value + ""; + }); + } + + if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) { + this.checked = jQuery.inArray( self.val(), val ) >= 0; + + } else if ( jQuery.nodeName( this, "select" ) ) { + var values = jQuery.makeArray(val); + + jQuery( "option", this ).each(function() { + this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; + }); + + if ( !values.length ) { + this.selectedIndex = -1; + } + + } else { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + attrFn: { + val: true, + css: true, + html: true, + text: true, + data: true, + width: true, + height: true, + offset: true + }, + + attr: function( elem, name, value, pass ) { + // don't set attributes on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { + return undefined; + } + + if ( pass && name in jQuery.attrFn ) { + return jQuery(elem)[name](value); + } + + var notxml = elem.nodeType !== 1 || !jQuery.isXMLDoc( elem ), + // Whether we are setting (or getting) + set = value !== undefined; + + // Try to normalize/fix the name + name = notxml && jQuery.props[ name ] || name; + + // These attributes require special treatment + var special = rspecialurl.test( name ); + + // Safari mis-reports the default selected property of an option + // Accessing the parent's selectedIndex property fixes it + if ( name === "selected" && !jQuery.support.optSelected ) { + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + + // If applicable, access the attribute via the DOM 0 way + // 'in' checks fail in Blackberry 4.7 #6931 + if ( (name in elem || elem[ name ] !== undefined) && notxml && !special ) { + if ( set ) { + // We can't allow the type property to be changed (since it causes problems in IE) + if ( name === "type" && rtype.test( elem.nodeName ) && elem.parentNode ) { + jQuery.error( "type property can't be changed" ); + } + + if ( value === null ) { + if ( elem.nodeType === 1 ) { + elem.removeAttribute( name ); + } + + } else { + elem[ name ] = value; + } + } + + // browsers index elements by id/name on forms, give priority to attributes. + if ( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) ) { + return elem.getAttributeNode( name ).nodeValue; + } + + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + if ( name === "tabIndex" ) { + var attributeNode = elem.getAttributeNode( "tabIndex" ); + + return attributeNode && attributeNode.specified ? + attributeNode.value : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + undefined; + } + + return elem[ name ]; + } + + if ( !jQuery.support.style && notxml && name === "style" ) { + if ( set ) { + elem.style.cssText = "" + value; + } + + return elem.style.cssText; + } + + if ( set ) { + // convert the value to a string (all browsers do this but IE) see #1070 + elem.setAttribute( name, "" + value ); + } + + // Ensure that missing attributes return undefined + // Blackberry 4.7 returns "" from getAttribute #6938 + if ( !elem.attributes[ name ] && (elem.hasAttribute && !elem.hasAttribute( name )) ) { + return undefined; + } + + var attr = !jQuery.support.hrefNormalized && notxml && special ? + // Some attributes require a special call on IE + elem.getAttribute( name, 2 ) : + elem.getAttribute( name ); + + // Non-existent attributes return null, we normalize to undefined + return attr === null ? undefined : attr; + } +}); + + + + +var rnamespaces = /\.(.*)$/, + rformElems = /^(?:textarea|input|select)$/i, + rperiod = /\./g, + rspace = / /g, + rescape = /[^\w\s.|`]/g, + fcleanup = function( nm ) { + return nm.replace(rescape, "\\$&"); + }, + focusCounts = { focusin: 0, focusout: 0 }; + +/* + * A number of helper functions used for managing events. + * Many of the ideas behind this code originated from + * Dean Edwards' addEvent library. + */ +jQuery.event = { + + // Bind an event to an element + // Original by Dean Edwards + add: function( elem, types, handler, data ) { + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // For whatever reason, IE has trouble passing the window object + // around, causing it to be cloned in the process + if ( jQuery.isWindow( elem ) && ( elem !== window && !elem.frameElement ) ) { + elem = window; + } + + if ( handler === false ) { + handler = returnFalse; + } else if ( !handler ) { + // Fixes bug #7229. Fix recommended by jdalton + return; + } + + var handleObjIn, handleObj; + + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + } + + // Make sure that the function being executed has a unique ID + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure + var elemData = jQuery.data( elem ); + + // If no elemData is found then we must be trying to bind to one of the + // banned noData elements + if ( !elemData ) { + return; + } + + // Use a key less likely to result in collisions for plain JS objects. + // Fixes bug #7150. + var eventKey = elem.nodeType ? "events" : "__events__", + events = elemData[ eventKey ], + eventHandle = elemData.handle; + + if ( typeof events === "function" ) { + // On plain objects events is a fn that holds the the data + // which prevents this data from being JSON serialized + // the function does not need to be called, it just contains the data + eventHandle = events.handle; + events = events.events; + + } else if ( !events ) { + if ( !elem.nodeType ) { + // On plain objects, create a fn that acts as the holder + // of the values to avoid JSON serialization of event data + elemData[ eventKey ] = elemData = function(){}; + } + + elemData.events = events = {}; + } + + if ( !eventHandle ) { + elemData.handle = eventHandle = function() { + // Handle the second event of a trigger and when + // an event is called after a page has unloaded + return typeof jQuery !== "undefined" && !jQuery.event.triggered ? + jQuery.event.handle.apply( eventHandle.elem, arguments ) : + undefined; + }; + } + + // Add elem as a property of the handle function + // This is to prevent a memory leak with non-native events in IE. + eventHandle.elem = elem; + + // Handle multiple events separated by a space + // jQuery(...).bind("mouseover mouseout", fn); + types = types.split(" "); + + var type, i = 0, namespaces; + + while ( (type = types[ i++ ]) ) { + handleObj = handleObjIn ? + jQuery.extend({}, handleObjIn) : + { handler: handler, data: data }; + + // Namespaced event handlers + if ( type.indexOf(".") > -1 ) { + namespaces = type.split("."); + type = namespaces.shift(); + handleObj.namespace = namespaces.slice(0).sort().join("."); + + } else { + namespaces = []; + handleObj.namespace = ""; + } + + handleObj.type = type; + if ( !handleObj.guid ) { + handleObj.guid = handler.guid; + } + + // Get the current list of functions bound to this event + var handlers = events[ type ], + special = jQuery.event.special[ type ] || {}; + + // Init the event handler queue + if ( !handlers ) { + handlers = events[ type ] = []; + + // Check for a special event handler + // Only use addEventListener/attachEvent if the special + // events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add the function to the element's handler list + handlers.push( handleObj ); + + // Keep track of which events have been used, for global triggering + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + global: {}, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, pos ) { + // don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + if ( handler === false ) { + handler = returnFalse; + } + + var ret, type, fn, j, i = 0, all, namespaces, namespace, special, eventType, handleObj, origType, + eventKey = elem.nodeType ? "events" : "__events__", + elemData = jQuery.data( elem ), + events = elemData && elemData[ eventKey ]; + + if ( !elemData || !events ) { + return; + } + + if ( typeof events === "function" ) { + elemData = events; + events = events.events; + } + + // types is actually an event object here + if ( types && types.type ) { + handler = types.handler; + types = types.type; + } + + // Unbind all events for the element + if ( !types || typeof types === "string" && types.charAt(0) === "." ) { + types = types || ""; + + for ( type in events ) { + jQuery.event.remove( elem, type + types ); + } + + return; + } + + // Handle multiple events separated by a space + // jQuery(...).unbind("mouseover mouseout", fn); + types = types.split(" "); + + while ( (type = types[ i++ ]) ) { + origType = type; + handleObj = null; + all = type.indexOf(".") < 0; + namespaces = []; + + if ( !all ) { + // Namespaced event handlers + namespaces = type.split("."); + type = namespaces.shift(); + + namespace = new RegExp("(^|\\.)" + + jQuery.map( namespaces.slice(0).sort(), fcleanup ).join("\\.(?:.*\\.)?") + "(\\.|$)"); + } + + eventType = events[ type ]; + + if ( !eventType ) { + continue; + } + + if ( !handler ) { + for ( j = 0; j < eventType.length; j++ ) { + handleObj = eventType[ j ]; + + if ( all || namespace.test( handleObj.namespace ) ) { + jQuery.event.remove( elem, origType, handleObj.handler, j ); + eventType.splice( j--, 1 ); + } + } + + continue; + } + + special = jQuery.event.special[ type ] || {}; + + for ( j = pos || 0; j < eventType.length; j++ ) { + handleObj = eventType[ j ]; + + if ( handler.guid === handleObj.guid ) { + // remove the given handler for the given type + if ( all || namespace.test( handleObj.namespace ) ) { + if ( pos == null ) { + eventType.splice( j--, 1 ); + } + + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + + if ( pos != null ) { + break; + } + } + } + + // remove generic event handler if no more handlers exist + if ( eventType.length === 0 || pos != null && eventType.length === 1 ) { + if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + ret = null; + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + var handle = elemData.handle; + if ( handle ) { + handle.elem = null; + } + + delete elemData.events; + delete elemData.handle; + + if ( typeof elemData === "function" ) { + jQuery.removeData( elem, eventKey ); + + } else if ( jQuery.isEmptyObject( elemData ) ) { + jQuery.removeData( elem ); + } + } + }, + + // bubbling is internal + trigger: function( event, data, elem /*, bubbling */ ) { + // Event object or event type + var type = event.type || event, + bubbling = arguments[3]; + + if ( !bubbling ) { + event = typeof event === "object" ? + // jQuery.Event object + event[ jQuery.expando ] ? event : + // Object literal + jQuery.extend( jQuery.Event(type), event ) : + // Just the event type (string) + jQuery.Event(type); + + if ( type.indexOf("!") >= 0 ) { + event.type = type = type.slice(0, -1); + event.exclusive = true; + } + + // Handle a global trigger + if ( !elem ) { + // Don't bubble custom events when global (to avoid too much overhead) + event.stopPropagation(); + + // Only trigger if we've ever bound an event for it + if ( jQuery.event.global[ type ] ) { + jQuery.each( jQuery.cache, function() { + if ( this.events && this.events[type] ) { + jQuery.event.trigger( event, data, this.handle.elem ); + } + }); + } + } + + // Handle triggering a single element + + // don't do events on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { + return undefined; + } + + // Clean up in case it is reused + event.result = undefined; + event.target = elem; + + // Clone the incoming data, if any + data = jQuery.makeArray( data ); + data.unshift( event ); + } + + event.currentTarget = elem; + + // Trigger the event, it is assumed that "handle" is a function + var handle = elem.nodeType ? + jQuery.data( elem, "handle" ) : + (jQuery.data( elem, "__events__" ) || {}).handle; + + if ( handle ) { + handle.apply( elem, data ); + } + + var parent = elem.parentNode || elem.ownerDocument; + + // Trigger an inline bound script + try { + if ( !(elem && elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()]) ) { + if ( elem[ "on" + type ] && elem[ "on" + type ].apply( elem, data ) === false ) { + event.result = false; + event.preventDefault(); + } + } + + // prevent IE from throwing an error for some elements with some event types, see #3533 + } catch (inlineError) {} + + if ( !event.isPropagationStopped() && parent ) { + jQuery.event.trigger( event, data, parent, true ); + + } else if ( !event.isDefaultPrevented() ) { + var old, + target = event.target, + targetType = type.replace( rnamespaces, "" ), + isClick = jQuery.nodeName( target, "a" ) && targetType === "click", + special = jQuery.event.special[ targetType ] || {}; + + if ( (!special._default || special._default.call( elem, event ) === false) && + !isClick && !(target && target.nodeName && jQuery.noData[target.nodeName.toLowerCase()]) ) { + + try { + if ( target[ targetType ] ) { + // Make sure that we don't accidentally re-trigger the onFOO events + old = target[ "on" + targetType ]; + + if ( old ) { + target[ "on" + targetType ] = null; + } + + jQuery.event.triggered = true; + target[ targetType ](); + } + + // prevent IE from throwing an error for some elements with some event types, see #3533 + } catch (triggerError) {} + + if ( old ) { + target[ "on" + targetType ] = old; + } + + jQuery.event.triggered = false; + } + } + }, + + handle: function( event ) { + var all, handlers, namespaces, namespace_re, events, + namespace_sort = [], + args = jQuery.makeArray( arguments ); + + event = args[0] = jQuery.event.fix( event || window.event ); + event.currentTarget = this; + + // Namespaced event handlers + all = event.type.indexOf(".") < 0 && !event.exclusive; + + if ( !all ) { + namespaces = event.type.split("."); + event.type = namespaces.shift(); + namespace_sort = namespaces.slice(0).sort(); + namespace_re = new RegExp("(^|\\.)" + namespace_sort.join("\\.(?:.*\\.)?") + "(\\.|$)"); + } + + event.namespace = event.namespace || namespace_sort.join("."); + + events = jQuery.data(this, this.nodeType ? "events" : "__events__"); + + if ( typeof events === "function" ) { + events = events.events; + } + + handlers = (events || {})[ event.type ]; + + if ( events && handlers ) { + // Clone the handlers to prevent manipulation + handlers = handlers.slice(0); + + for ( var j = 0, l = handlers.length; j < l; j++ ) { + var handleObj = handlers[ j ]; + + // Filter the functions by class + if ( all || namespace_re.test( handleObj.namespace ) ) { + // Pass in a reference to the handler function itself + // So that we can later remove it + event.handler = handleObj.handler; + event.data = handleObj.data; + event.handleObj = handleObj; + + var ret = handleObj.handler.apply( this, args ); + + if ( ret !== undefined ) { + event.result = ret; + if ( ret === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + + if ( event.isImmediatePropagationStopped() ) { + break; + } + } + } + } + + return event.result; + }, + + props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // store a copy of the original event object + // and "clone" to set read-only properties + var originalEvent = event; + event = jQuery.Event( originalEvent ); + + for ( var i = this.props.length, prop; i; ) { + prop = this.props[ --i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Fix target property, if necessary + if ( !event.target ) { + // Fixes #1925 where srcElement might not be defined either + event.target = event.srcElement || document; + } + + // check if target is a textnode (safari) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && event.fromElement ) { + event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement; + } + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && event.clientX != null ) { + var doc = document.documentElement, + body = document.body; + + event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0); + event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0); + } + + // Add which for key events + if ( event.which == null && (event.charCode != null || event.keyCode != null) ) { + event.which = event.charCode != null ? event.charCode : event.keyCode; + } + + // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs) + if ( !event.metaKey && event.ctrlKey ) { + event.metaKey = event.ctrlKey; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && event.button !== undefined ) { + event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) )); + } + + return event; + }, + + // Deprecated, use jQuery.guid instead + guid: 1E8, + + // Deprecated, use jQuery.proxy instead + proxy: jQuery.proxy, + + special: { + ready: { + // Make sure the ready event is setup + setup: jQuery.bindReady, + teardown: jQuery.noop + }, + + live: { + add: function( handleObj ) { + jQuery.event.add( this, + liveConvert( handleObj.origType, handleObj.selector ), + jQuery.extend({}, handleObj, {handler: liveHandler, guid: handleObj.handler.guid}) ); + }, + + remove: function( handleObj ) { + jQuery.event.remove( this, liveConvert( handleObj.origType, handleObj.selector ), handleObj ); + } + }, + + beforeunload: { + setup: function( data, namespaces, eventHandle ) { + // We only want to do this special case on windows + if ( jQuery.isWindow( this ) ) { + this.onbeforeunload = eventHandle; + } + }, + + teardown: function( namespaces, eventHandle ) { + if ( this.onbeforeunload === eventHandle ) { + this.onbeforeunload = null; + } + } + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + if ( elem.detachEvent ) { + elem.detachEvent( "on" + type, handle ); + } + }; + +jQuery.Event = function( src ) { + // Allow instantiation without the 'new' keyword + if ( !this.preventDefault ) { + return new jQuery.Event( src ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + // Event type + } else { + this.type = src; + } + + // timeStamp is buggy for some events on Firefox(#3843) + // So we won't rely on the native value + this.timeStamp = jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +function returnFalse() { + return false; +} +function returnTrue() { + return true; +} + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + preventDefault: function() { + this.isDefaultPrevented = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + + // if preventDefault exists run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // otherwise set the returnValue property of the original event to false (IE) + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + this.isPropagationStopped = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + // if stopPropagation exists run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + // otherwise set the cancelBubble property of the original event to true (IE) + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + }, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse +}; + +// Checks if an event happened on an element within another element +// Used in jQuery.event.special.mouseenter and mouseleave handlers +var withinElement = function( event ) { + // Check if mouse(over|out) are still within the same parent element + var parent = event.relatedTarget; + + // Firefox sometimes assigns relatedTarget a XUL element + // which we cannot access the parentNode property of + try { + // Traverse up the tree + while ( parent && parent !== this ) { + parent = parent.parentNode; + } + + if ( parent !== this ) { + // set the correct event type + event.type = event.data; + + // handle event if we actually just moused on to a non sub-element + jQuery.event.handle.apply( this, arguments ); + } + + // assuming we've left the element since we most likely mousedover a xul element + } catch(e) { } +}, + +// In case of event delegation, we only need to rename the event.type, +// liveHandler will take care of the rest. +delegate = function( event ) { + event.type = event.data; + jQuery.event.handle.apply( this, arguments ); +}; + +// Create mouseenter and mouseleave events +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + setup: function( data ) { + jQuery.event.add( this, fix, data && data.selector ? delegate : withinElement, orig ); + }, + teardown: function( data ) { + jQuery.event.remove( this, fix, data && data.selector ? delegate : withinElement ); + } + }; +}); + +// submit delegation +if ( !jQuery.support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function( data, namespaces ) { + if ( this.nodeName.toLowerCase() !== "form" ) { + jQuery.event.add(this, "click.specialSubmit", function( e ) { + var elem = e.target, + type = elem.type; + + if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) { + e.liveFired = undefined; + return trigger( "submit", this, arguments ); + } + }); + + jQuery.event.add(this, "keypress.specialSubmit", function( e ) { + var elem = e.target, + type = elem.type; + + if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) { + e.liveFired = undefined; + return trigger( "submit", this, arguments ); + } + }); + + } else { + return false; + } + }, + + teardown: function( namespaces ) { + jQuery.event.remove( this, ".specialSubmit" ); + } + }; + +} + +// change delegation, happens here so we have bind. +if ( !jQuery.support.changeBubbles ) { + + var changeFilters, + + getVal = function( elem ) { + var type = elem.type, val = elem.value; + + if ( type === "radio" || type === "checkbox" ) { + val = elem.checked; + + } else if ( type === "select-multiple" ) { + val = elem.selectedIndex > -1 ? + jQuery.map( elem.options, function( elem ) { + return elem.selected; + }).join("-") : + ""; + + } else if ( elem.nodeName.toLowerCase() === "select" ) { + val = elem.selectedIndex; + } + + return val; + }, + + testChange = function testChange( e ) { + var elem = e.target, data, val; + + if ( !rformElems.test( elem.nodeName ) || elem.readOnly ) { + return; + } + + data = jQuery.data( elem, "_change_data" ); + val = getVal(elem); + + // the current data will be also retrieved by beforeactivate + if ( e.type !== "focusout" || elem.type !== "radio" ) { + jQuery.data( elem, "_change_data", val ); + } + + if ( data === undefined || val === data ) { + return; + } + + if ( data != null || val ) { + e.type = "change"; + e.liveFired = undefined; + return jQuery.event.trigger( e, arguments[1], elem ); + } + }; + + jQuery.event.special.change = { + filters: { + focusout: testChange, + + beforedeactivate: testChange, + + click: function( e ) { + var elem = e.target, type = elem.type; + + if ( type === "radio" || type === "checkbox" || elem.nodeName.toLowerCase() === "select" ) { + return testChange.call( this, e ); + } + }, + + // Change has to be called before submit + // Keydown will be called before keypress, which is used in submit-event delegation + keydown: function( e ) { + var elem = e.target, type = elem.type; + + if ( (e.keyCode === 13 && elem.nodeName.toLowerCase() !== "textarea") || + (e.keyCode === 32 && (type === "checkbox" || type === "radio")) || + type === "select-multiple" ) { + return testChange.call( this, e ); + } + }, + + // Beforeactivate happens also before the previous element is blurred + // with this event you can't trigger a change event, but you can store + // information + beforeactivate: function( e ) { + var elem = e.target; + jQuery.data( elem, "_change_data", getVal(elem) ); + } + }, + + setup: function( data, namespaces ) { + if ( this.type === "file" ) { + return false; + } + + for ( var type in changeFilters ) { + jQuery.event.add( this, type + ".specialChange", changeFilters[type] ); + } + + return rformElems.test( this.nodeName ); + }, + + teardown: function( namespaces ) { + jQuery.event.remove( this, ".specialChange" ); + + return rformElems.test( this.nodeName ); + } + }; + + changeFilters = jQuery.event.special.change.filters; + + // Handle when the input is .focus()'d + changeFilters.focus = changeFilters.beforeactivate; +} + +function trigger( type, elem, args ) { + args[0].type = type; + return jQuery.event.handle.apply( elem, args ); +} + +// Create "bubbling" focus and blur events +if ( document.addEventListener ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + jQuery.event.special[ fix ] = { + setup: function() { + if ( focusCounts[fix]++ === 0 ) { + document.addEventListener( orig, handler, true ); + } + }, + teardown: function() { + if ( --focusCounts[fix] === 0 ) { + document.removeEventListener( orig, handler, true ); + } + } + }; + + function handler( e ) { + e = jQuery.event.fix( e ); + e.type = fix; + return jQuery.event.trigger( e, null, e.target ); + } + }); +} + +jQuery.each(["bind", "one"], function( i, name ) { + jQuery.fn[ name ] = function( type, data, fn ) { + // Handle object literals + if ( typeof type === "object" ) { + for ( var key in type ) { + this[ name ](key, data, type[key], fn); + } + return this; + } + + if ( jQuery.isFunction( data ) || data === false ) { + fn = data; + data = undefined; + } + + var handler = name === "one" ? jQuery.proxy( fn, function( event ) { + jQuery( this ).unbind( event, handler ); + return fn.apply( this, arguments ); + }) : fn; + + if ( type === "unload" && name !== "one" ) { + this.one( type, data, fn ); + + } else { + for ( var i = 0, l = this.length; i < l; i++ ) { + jQuery.event.add( this[i], type, handler, data ); + } + } + + return this; + }; +}); + +jQuery.fn.extend({ + unbind: function( type, fn ) { + // Handle object literals + if ( typeof type === "object" && !type.preventDefault ) { + for ( var key in type ) { + this.unbind(key, type[key]); + } + + } else { + for ( var i = 0, l = this.length; i < l; i++ ) { + jQuery.event.remove( this[i], type, fn ); + } + } + + return this; + }, + + delegate: function( selector, types, data, fn ) { + return this.live( types, data, fn, selector ); + }, + + undelegate: function( selector, types, fn ) { + if ( arguments.length === 0 ) { + return this.unbind( "live" ); + + } else { + return this.die( types, null, fn, selector ); + } + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + + triggerHandler: function( type, data ) { + if ( this[0] ) { + var event = jQuery.Event( type ); + event.preventDefault(); + event.stopPropagation(); + jQuery.event.trigger( event, data, this[0] ); + return event.result; + } + }, + + toggle: function( fn ) { + // Save reference to arguments for access in closure + var args = arguments, + i = 1; + + // link all the functions, so any of them can unbind this click handler + while ( i < args.length ) { + jQuery.proxy( fn, args[ i++ ] ); + } + + return this.click( jQuery.proxy( fn, function( event ) { + // Figure out which function to execute + var lastToggle = ( jQuery.data( this, "lastToggle" + fn.guid ) || 0 ) % i; + jQuery.data( this, "lastToggle" + fn.guid, lastToggle + 1 ); + + // Make sure that clicks stop + event.preventDefault(); + + // and execute the function + return args[ lastToggle ].apply( this, arguments ) || false; + })); + }, + + hover: function( fnOver, fnOut ) { + return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); + } +}); + +var liveMap = { + focus: "focusin", + blur: "focusout", + mouseenter: "mouseover", + mouseleave: "mouseout" +}; + +jQuery.each(["live", "die"], function( i, name ) { + jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) { + var type, i = 0, match, namespaces, preType, + selector = origSelector || this.selector, + context = origSelector ? this : jQuery( this.context ); + + if ( typeof types === "object" && !types.preventDefault ) { + for ( var key in types ) { + context[ name ]( key, data, types[key], selector ); + } + + return this; + } + + if ( jQuery.isFunction( data ) ) { + fn = data; + data = undefined; + } + + types = (types || "").split(" "); + + while ( (type = types[ i++ ]) != null ) { + match = rnamespaces.exec( type ); + namespaces = ""; + + if ( match ) { + namespaces = match[0]; + type = type.replace( rnamespaces, "" ); + } + + if ( type === "hover" ) { + types.push( "mouseenter" + namespaces, "mouseleave" + namespaces ); + continue; + } + + preType = type; + + if ( type === "focus" || type === "blur" ) { + types.push( liveMap[ type ] + namespaces ); + type = type + namespaces; + + } else { + type = (liveMap[ type ] || type) + namespaces; + } + + if ( name === "live" ) { + // bind live handler + for ( var j = 0, l = context.length; j < l; j++ ) { + jQuery.event.add( context[j], "live." + liveConvert( type, selector ), + { data: data, selector: selector, handler: fn, origType: type, origHandler: fn, preType: preType } ); + } + + } else { + // unbind live handler + context.unbind( "live." + liveConvert( type, selector ), fn ); + } + } + + return this; + }; +}); + +function liveHandler( event ) { + var stop, maxLevel, related, match, handleObj, elem, j, i, l, data, close, namespace, ret, + elems = [], + selectors = [], + events = jQuery.data( this, this.nodeType ? "events" : "__events__" ); + + if ( typeof events === "function" ) { + events = events.events; + } + + // Make sure we avoid non-left-click bubbling in Firefox (#3861) + if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) { + return; + } + + if ( event.namespace ) { + namespace = new RegExp("(^|\\.)" + event.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)"); + } + + event.liveFired = this; + + var live = events.live.slice(0); + + for ( j = 0; j < live.length; j++ ) { + handleObj = live[j]; + + if ( handleObj.origType.replace( rnamespaces, "" ) === event.type ) { + selectors.push( handleObj.selector ); + + } else { + live.splice( j--, 1 ); + } + } + + match = jQuery( event.target ).closest( selectors, event.currentTarget ); + + for ( i = 0, l = match.length; i < l; i++ ) { + close = match[i]; + + for ( j = 0; j < live.length; j++ ) { + handleObj = live[j]; + + if ( close.selector === handleObj.selector && (!namespace || namespace.test( handleObj.namespace )) ) { + elem = close.elem; + related = null; + + // Those two events require additional checking + if ( handleObj.preType === "mouseenter" || handleObj.preType === "mouseleave" ) { + event.type = handleObj.preType; + related = jQuery( event.relatedTarget ).closest( handleObj.selector )[0]; + } + + if ( !related || related !== elem ) { + elems.push({ elem: elem, handleObj: handleObj, level: close.level }); + } + } + } + } + + for ( i = 0, l = elems.length; i < l; i++ ) { + match = elems[i]; + + if ( maxLevel && match.level > maxLevel ) { + break; + } + + event.currentTarget = match.elem; + event.data = match.handleObj.data; + event.handleObj = match.handleObj; + + ret = match.handleObj.origHandler.apply( match.elem, arguments ); + + if ( ret === false || event.isPropagationStopped() ) { + maxLevel = match.level; + + if ( ret === false ) { + stop = false; + } + if ( event.isImmediatePropagationStopped() ) { + break; + } + } + } + + return stop; +} + +function liveConvert( type, selector ) { + return (type && type !== "*" ? type + "." : "") + selector.replace(rperiod, "`").replace(rspace, "&"); +} + +jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + + "change select submit keydown keypress keyup error").split(" "), function( i, name ) { + + // Handle event binding + jQuery.fn[ name ] = function( data, fn ) { + if ( fn == null ) { + fn = data; + data = null; + } + + return arguments.length > 0 ? + this.bind( name, data, fn ) : + this.trigger( name ); + }; + + if ( jQuery.attrFn ) { + jQuery.attrFn[ name ] = true; + } +}); + +// Prevent memory leaks in IE +// Window isn't included so as not to unbind existing unload events +// More info: +// - http://isaacschlueter.com/2006/10/msie-memory-leaks/ +if ( window.attachEvent && !window.addEventListener ) { + jQuery(window).bind("unload", function() { + for ( var id in jQuery.cache ) { + if ( jQuery.cache[ id ].handle ) { + // Try/Catch is to handle iframes being unloaded, see #4280 + try { + jQuery.event.remove( jQuery.cache[ id ].handle.elem ); + } catch(e) {} + } + } + }); +} + + +/*! + * Sizzle CSS Selector Engine - v1.0 + * Copyright 2009, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){ + +var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, + done = 0, + toString = Object.prototype.toString, + hasDuplicate = false, + baseHasDuplicate = true; + +// Here we check if the JavaScript engine is using some sort of +// optimization where it does not always call our comparision +// function. If that is the case, discard the hasDuplicate value. +// Thus far that includes Google Chrome. +[0, 0].sort(function() { + baseHasDuplicate = false; + return 0; +}); + +var Sizzle = function( selector, context, results, seed ) { + results = results || []; + context = context || document; + + var origContext = context; + + if ( context.nodeType !== 1 && context.nodeType !== 9 ) { + return []; + } + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + var m, set, checkSet, extra, ret, cur, pop, i, + prune = true, + contextXML = Sizzle.isXML( context ), + parts = [], + soFar = selector; + + // Reset the position of the chunker regexp (start from head) + do { + chunker.exec( "" ); + m = chunker.exec( soFar ); + + if ( m ) { + soFar = m[3]; + + parts.push( m[1] ); + + if ( m[2] ) { + extra = m[3]; + break; + } + } + } while ( m ); + + if ( parts.length > 1 && origPOS.exec( selector ) ) { + + if ( parts.length === 2 && Expr.relative[ parts[0] ] ) { + set = posProcess( parts[0] + parts[1], context ); + + } else { + set = Expr.relative[ parts[0] ] ? + [ context ] : + Sizzle( parts.shift(), context ); + + while ( parts.length ) { + selector = parts.shift(); + + if ( Expr.relative[ selector ] ) { + selector += parts.shift(); + } + + set = posProcess( selector, set ); + } + } + + } else { + // Take a shortcut and set the context if the root selector is an ID + // (but not if it'll be faster if the inner selector is an ID) + if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML && + Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) { + + ret = Sizzle.find( parts.shift(), context, contextXML ); + context = ret.expr ? + Sizzle.filter( ret.expr, ret.set )[0] : + ret.set[0]; + } + + if ( context ) { + ret = seed ? + { expr: parts.pop(), set: makeArray(seed) } : + Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML ); + + set = ret.expr ? + Sizzle.filter( ret.expr, ret.set ) : + ret.set; + + if ( parts.length > 0 ) { + checkSet = makeArray( set ); + + } else { + prune = false; + } + + while ( parts.length ) { + cur = parts.pop(); + pop = cur; + + if ( !Expr.relative[ cur ] ) { + cur = ""; + } else { + pop = parts.pop(); + } + + if ( pop == null ) { + pop = context; + } + + Expr.relative[ cur ]( checkSet, pop, contextXML ); + } + + } else { + checkSet = parts = []; + } + } + + if ( !checkSet ) { + checkSet = set; + } + + if ( !checkSet ) { + Sizzle.error( cur || selector ); + } + + if ( toString.call(checkSet) === "[object Array]" ) { + if ( !prune ) { + results.push.apply( results, checkSet ); + + } else if ( context && context.nodeType === 1 ) { + for ( i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) { + results.push( set[i] ); + } + } + + } else { + for ( i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && checkSet[i].nodeType === 1 ) { + results.push( set[i] ); + } + } + } + + } else { + makeArray( checkSet, results ); + } + + if ( extra ) { + Sizzle( extra, origContext, results, seed ); + Sizzle.uniqueSort( results ); + } + + return results; +}; + +Sizzle.uniqueSort = function( results ) { + if ( sortOrder ) { + hasDuplicate = baseHasDuplicate; + results.sort( sortOrder ); + + if ( hasDuplicate ) { + for ( var i = 1; i < results.length; i++ ) { + if ( results[i] === results[ i - 1 ] ) { + results.splice( i--, 1 ); + } + } + } + } + + return results; +}; + +Sizzle.matches = function( expr, set ) { + return Sizzle( expr, null, null, set ); +}; + +Sizzle.matchesSelector = function( node, expr ) { + return Sizzle( expr, null, null, [node] ).length > 0; +}; + +Sizzle.find = function( expr, context, isXML ) { + var set; + + if ( !expr ) { + return []; + } + + for ( var i = 0, l = Expr.order.length; i < l; i++ ) { + var match, + type = Expr.order[i]; + + if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { + var left = match[1]; + match.splice( 1, 1 ); + + if ( left.substr( left.length - 1 ) !== "\\" ) { + match[1] = (match[1] || "").replace(/\\/g, ""); + set = Expr.find[ type ]( match, context, isXML ); + + if ( set != null ) { + expr = expr.replace( Expr.match[ type ], "" ); + break; + } + } + } + } + + if ( !set ) { + set = context.getElementsByTagName( "*" ); + } + + return { set: set, expr: expr }; +}; + +Sizzle.filter = function( expr, set, inplace, not ) { + var match, anyFound, + old = expr, + result = [], + curLoop = set, + isXMLFilter = set && set[0] && Sizzle.isXML( set[0] ); + + while ( expr && set.length ) { + for ( var type in Expr.filter ) { + if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) { + var found, item, + filter = Expr.filter[ type ], + left = match[1]; + + anyFound = false; + + match.splice(1,1); + + if ( left.substr( left.length - 1 ) === "\\" ) { + continue; + } + + if ( curLoop === result ) { + result = []; + } + + if ( Expr.preFilter[ type ] ) { + match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter ); + + if ( !match ) { + anyFound = found = true; + + } else if ( match === true ) { + continue; + } + } + + if ( match ) { + for ( var i = 0; (item = curLoop[i]) != null; i++ ) { + if ( item ) { + found = filter( item, match, i, curLoop ); + var pass = not ^ !!found; + + if ( inplace && found != null ) { + if ( pass ) { + anyFound = true; + + } else { + curLoop[i] = false; + } + + } else if ( pass ) { + result.push( item ); + anyFound = true; + } + } + } + } + + if ( found !== undefined ) { + if ( !inplace ) { + curLoop = result; + } + + expr = expr.replace( Expr.match[ type ], "" ); + + if ( !anyFound ) { + return []; + } + + break; + } + } + } + + // Improper expression + if ( expr === old ) { + if ( anyFound == null ) { + Sizzle.error( expr ); + + } else { + break; + } + } + + old = expr; + } + + return curLoop; +}; + +Sizzle.error = function( msg ) { + throw "Syntax error, unrecognized expression: " + msg; +}; + +var Expr = Sizzle.selectors = { + order: [ "ID", "NAME", "TAG" ], + + match: { + ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, + CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, + NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/, + ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/, + TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/, + CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/, + POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, + PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ + }, + + leftMatch: {}, + + attrMap: { + "class": "className", + "for": "htmlFor" + }, + + attrHandle: { + href: function( elem ) { + return elem.getAttribute( "href" ); + } + }, + + relative: { + "+": function(checkSet, part){ + var isPartStr = typeof part === "string", + isTag = isPartStr && !/\W/.test( part ), + isPartStrNotTag = isPartStr && !isTag; + + if ( isTag ) { + part = part.toLowerCase(); + } + + for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) { + if ( (elem = checkSet[i]) ) { + while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} + + checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ? + elem || false : + elem === part; + } + } + + if ( isPartStrNotTag ) { + Sizzle.filter( part, checkSet, true ); + } + }, + + ">": function( checkSet, part ) { + var elem, + isPartStr = typeof part === "string", + i = 0, + l = checkSet.length; + + if ( isPartStr && !/\W/.test( part ) ) { + part = part.toLowerCase(); + + for ( ; i < l; i++ ) { + elem = checkSet[i]; + + if ( elem ) { + var parent = elem.parentNode; + checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false; + } + } + + } else { + for ( ; i < l; i++ ) { + elem = checkSet[i]; + + if ( elem ) { + checkSet[i] = isPartStr ? + elem.parentNode : + elem.parentNode === part; + } + } + + if ( isPartStr ) { + Sizzle.filter( part, checkSet, true ); + } + } + }, + + "": function(checkSet, part, isXML){ + var nodeCheck, + doneName = done++, + checkFn = dirCheck; + + if ( typeof part === "string" && !/\W/.test(part) ) { + part = part.toLowerCase(); + nodeCheck = part; + checkFn = dirNodeCheck; + } + + checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML ); + }, + + "~": function( checkSet, part, isXML ) { + var nodeCheck, + doneName = done++, + checkFn = dirCheck; + + if ( typeof part === "string" && !/\W/.test( part ) ) { + part = part.toLowerCase(); + nodeCheck = part; + checkFn = dirNodeCheck; + } + + checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML ); + } + }, + + find: { + ID: function( match, context, isXML ) { + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }, + + NAME: function( match, context ) { + if ( typeof context.getElementsByName !== "undefined" ) { + var ret = [], + results = context.getElementsByName( match[1] ); + + for ( var i = 0, l = results.length; i < l; i++ ) { + if ( results[i].getAttribute("name") === match[1] ) { + ret.push( results[i] ); + } + } + + return ret.length === 0 ? null : ret; + } + }, + + TAG: function( match, context ) { + return context.getElementsByTagName( match[1] ); + } + }, + preFilter: { + CLASS: function( match, curLoop, inplace, result, not, isXML ) { + match = " " + match[1].replace(/\\/g, "") + " "; + + if ( isXML ) { + return match; + } + + for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { + if ( elem ) { + if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n]/g, " ").indexOf(match) >= 0) ) { + if ( !inplace ) { + result.push( elem ); + } + + } else if ( inplace ) { + curLoop[i] = false; + } + } + } + + return false; + }, + + ID: function( match ) { + return match[1].replace(/\\/g, ""); + }, + + TAG: function( match, curLoop ) { + return match[1].toLowerCase(); + }, + + CHILD: function( match ) { + if ( match[1] === "nth" ) { + // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6' + var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec( + match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" || + !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]); + + // calculate the numbers (first)n+(last) including if they are negative + match[2] = (test[1] + (test[2] || 1)) - 0; + match[3] = test[3] - 0; + } + + // TODO: Move to normal caching system + match[0] = done++; + + return match; + }, + + ATTR: function( match, curLoop, inplace, result, not, isXML ) { + var name = match[1].replace(/\\/g, ""); + + if ( !isXML && Expr.attrMap[name] ) { + match[1] = Expr.attrMap[name]; + } + + if ( match[2] === "~=" ) { + match[4] = " " + match[4] + " "; + } + + return match; + }, + + PSEUDO: function( match, curLoop, inplace, result, not ) { + if ( match[1] === "not" ) { + // If we're dealing with a complex expression, or a simple one + if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) { + match[3] = Sizzle(match[3], null, null, curLoop); + + } else { + var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not); + + if ( !inplace ) { + result.push.apply( result, ret ); + } + + return false; + } + + } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) { + return true; + } + + return match; + }, + + POS: function( match ) { + match.unshift( true ); + + return match; + } + }, + + filters: { + enabled: function( elem ) { + return elem.disabled === false && elem.type !== "hidden"; + }, + + disabled: function( elem ) { + return elem.disabled === true; + }, + + checked: function( elem ) { + return elem.checked === true; + }, + + selected: function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + elem.parentNode.selectedIndex; + + return elem.selected === true; + }, + + parent: function( elem ) { + return !!elem.firstChild; + }, + + empty: function( elem ) { + return !elem.firstChild; + }, + + has: function( elem, i, match ) { + return !!Sizzle( match[3], elem ).length; + }, + + header: function( elem ) { + return (/h\d/i).test( elem.nodeName ); + }, + + text: function( elem ) { + return "text" === elem.type; + }, + radio: function( elem ) { + return "radio" === elem.type; + }, + + checkbox: function( elem ) { + return "checkbox" === elem.type; + }, + + file: function( elem ) { + return "file" === elem.type; + }, + password: function( elem ) { + return "password" === elem.type; + }, + + submit: function( elem ) { + return "submit" === elem.type; + }, + + image: function( elem ) { + return "image" === elem.type; + }, + + reset: function( elem ) { + return "reset" === elem.type; + }, + + button: function( elem ) { + return "button" === elem.type || elem.nodeName.toLowerCase() === "button"; + }, + + input: function( elem ) { + return (/input|select|textarea|button/i).test( elem.nodeName ); + } + }, + setFilters: { + first: function( elem, i ) { + return i === 0; + }, + + last: function( elem, i, match, array ) { + return i === array.length - 1; + }, + + even: function( elem, i ) { + return i % 2 === 0; + }, + + odd: function( elem, i ) { + return i % 2 === 1; + }, + + lt: function( elem, i, match ) { + return i < match[3] - 0; + }, + + gt: function( elem, i, match ) { + return i > match[3] - 0; + }, + + nth: function( elem, i, match ) { + return match[3] - 0 === i; + }, + + eq: function( elem, i, match ) { + return match[3] - 0 === i; + } + }, + filter: { + PSEUDO: function( elem, match, i, array ) { + var name = match[1], + filter = Expr.filters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + + } else if ( name === "contains" ) { + return (elem.textContent || elem.innerText || Sizzle.getText([ elem ]) || "").indexOf(match[3]) >= 0; + + } else if ( name === "not" ) { + var not = match[3]; + + for ( var j = 0, l = not.length; j < l; j++ ) { + if ( not[j] === elem ) { + return false; + } + } + + return true; + + } else { + Sizzle.error( "Syntax error, unrecognized expression: " + name ); + } + }, + + CHILD: function( elem, match ) { + var type = match[1], + node = elem; + + switch ( type ) { + case "only": + case "first": + while ( (node = node.previousSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + if ( type === "first" ) { + return true; + } + + node = elem; + + case "last": + while ( (node = node.nextSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + return true; + + case "nth": + var first = match[2], + last = match[3]; + + if ( first === 1 && last === 0 ) { + return true; + } + + var doneName = match[0], + parent = elem.parentNode; + + if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) { + var count = 0; + + for ( node = parent.firstChild; node; node = node.nextSibling ) { + if ( node.nodeType === 1 ) { + node.nodeIndex = ++count; + } + } + + parent.sizcache = doneName; + } + + var diff = elem.nodeIndex - last; + + if ( first === 0 ) { + return diff === 0; + + } else { + return ( diff % first === 0 && diff / first >= 0 ); + } + } + }, + + ID: function( elem, match ) { + return elem.nodeType === 1 && elem.getAttribute("id") === match; + }, + + TAG: function( elem, match ) { + return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match; + }, + + CLASS: function( elem, match ) { + return (" " + (elem.className || elem.getAttribute("class")) + " ") + .indexOf( match ) > -1; + }, + + ATTR: function( elem, match ) { + var name = match[1], + result = Expr.attrHandle[ name ] ? + Expr.attrHandle[ name ]( elem ) : + elem[ name ] != null ? + elem[ name ] : + elem.getAttribute( name ), + value = result + "", + type = match[2], + check = match[4]; + + return result == null ? + type === "!=" : + type === "=" ? + value === check : + type === "*=" ? + value.indexOf(check) >= 0 : + type === "~=" ? + (" " + value + " ").indexOf(check) >= 0 : + !check ? + value && result !== false : + type === "!=" ? + value !== check : + type === "^=" ? + value.indexOf(check) === 0 : + type === "$=" ? + value.substr(value.length - check.length) === check : + type === "|=" ? + value === check || value.substr(0, check.length + 1) === check + "-" : + false; + }, + + POS: function( elem, match, i, array ) { + var name = match[2], + filter = Expr.setFilters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + } + } + } +}; + +var origPOS = Expr.match.POS, + fescape = function(all, num){ + return "\\" + (num - 0 + 1); + }; + +for ( var type in Expr.match ) { + Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) ); + Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) ); +} + +var makeArray = function( array, results ) { + array = Array.prototype.slice.call( array, 0 ); + + if ( results ) { + results.push.apply( results, array ); + return results; + } + + return array; +}; + +// Perform a simple check to determine if the browser is capable of +// converting a NodeList to an array using builtin methods. +// Also verifies that the returned array holds DOM nodes +// (which is not the case in the Blackberry browser) +try { + Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType; + +// Provide a fallback method if it does not work +} catch( e ) { + makeArray = function( array, results ) { + var i = 0, + ret = results || []; + + if ( toString.call(array) === "[object Array]" ) { + Array.prototype.push.apply( ret, array ); + + } else { + if ( typeof array.length === "number" ) { + for ( var l = array.length; i < l; i++ ) { + ret.push( array[i] ); + } + + } else { + for ( ; array[i]; i++ ) { + ret.push( array[i] ); + } + } + } + + return ret; + }; +} + +var sortOrder, siblingCheck; + +if ( document.documentElement.compareDocumentPosition ) { + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) { + return a.compareDocumentPosition ? -1 : 1; + } + + return a.compareDocumentPosition(b) & 4 ? -1 : 1; + }; + +} else { + sortOrder = function( a, b ) { + var al, bl, + ap = [], + bp = [], + aup = a.parentNode, + bup = b.parentNode, + cur = aup; + + // The nodes are identical, we can exit early + if ( a === b ) { + hasDuplicate = true; + return 0; + + // If the nodes are siblings (or identical) we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + + // If no parents were found then the nodes are disconnected + } else if ( !aup ) { + return -1; + + } else if ( !bup ) { + return 1; + } + + // Otherwise they're somewhere else in the tree so we need + // to build up a full list of the parentNodes for comparison + while ( cur ) { + ap.unshift( cur ); + cur = cur.parentNode; + } + + cur = bup; + + while ( cur ) { + bp.unshift( cur ); + cur = cur.parentNode; + } + + al = ap.length; + bl = bp.length; + + // Start walking down the tree looking for a discrepancy + for ( var i = 0; i < al && i < bl; i++ ) { + if ( ap[i] !== bp[i] ) { + return siblingCheck( ap[i], bp[i] ); + } + } + + // We ended someplace up the tree so do a sibling check + return i === al ? + siblingCheck( a, bp[i], -1 ) : + siblingCheck( ap[i], b, 1 ); + }; + + siblingCheck = function( a, b, ret ) { + if ( a === b ) { + return ret; + } + + var cur = a.nextSibling; + + while ( cur ) { + if ( cur === b ) { + return -1; + } + + cur = cur.nextSibling; + } + + return 1; + }; +} + +// Utility function for retreiving the text value of an array of DOM nodes +Sizzle.getText = function( elems ) { + var ret = "", elem; + + for ( var i = 0; elems[i]; i++ ) { + elem = elems[i]; + + // Get the text from text nodes and CDATA nodes + if ( elem.nodeType === 3 || elem.nodeType === 4 ) { + ret += elem.nodeValue; + + // Traverse everything else, except comment nodes + } else if ( elem.nodeType !== 8 ) { + ret += Sizzle.getText( elem.childNodes ); + } + } + + return ret; +}; + +// Check to see if the browser returns elements by name when +// querying by getElementById (and provide a workaround) +(function(){ + // We're going to inject a fake input element with a specified name + var form = document.createElement("div"), + id = "script" + (new Date()).getTime(), + root = document.documentElement; + + form.innerHTML = ""; + + // Inject it into the root element, check its status, and remove it quickly + root.insertBefore( form, root.firstChild ); + + // The workaround has to do additional checks after a getElementById + // Which slows things down for other browsers (hence the branching) + if ( document.getElementById( id ) ) { + Expr.find.ID = function( match, context, isXML ) { + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + + return m ? + m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? + [m] : + undefined : + []; + } + }; + + Expr.filter.ID = function( elem, match ) { + var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); + + return elem.nodeType === 1 && node && node.nodeValue === match; + }; + } + + root.removeChild( form ); + + // release memory in IE + root = form = null; +})(); + +(function(){ + // Check to see if the browser returns only elements + // when doing getElementsByTagName("*") + + // Create a fake element + var div = document.createElement("div"); + div.appendChild( document.createComment("") ); + + // Make sure no comments are found + if ( div.getElementsByTagName("*").length > 0 ) { + Expr.find.TAG = function( match, context ) { + var results = context.getElementsByTagName( match[1] ); + + // Filter out possible comments + if ( match[1] === "*" ) { + var tmp = []; + + for ( var i = 0; results[i]; i++ ) { + if ( results[i].nodeType === 1 ) { + tmp.push( results[i] ); + } + } + + results = tmp; + } + + return results; + }; + } + + // Check to see if an attribute returns normalized href attributes + div.innerHTML = ""; + + if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" && + div.firstChild.getAttribute("href") !== "#" ) { + + Expr.attrHandle.href = function( elem ) { + return elem.getAttribute( "href", 2 ); + }; + } + + // release memory in IE + div = null; +})(); + +if ( document.querySelectorAll ) { + (function(){ + var oldSizzle = Sizzle, + div = document.createElement("div"), + id = "__sizzle__"; + + div.innerHTML = "

    "; + + // Safari can't handle uppercase or unicode characters when + // in quirks mode. + if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) { + return; + } + + Sizzle = function( query, context, extra, seed ) { + context = context || document; + + // Make sure that attribute selectors are quoted + query = query.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); + + // Only use querySelectorAll on non-XML documents + // (ID selectors don't work in non-HTML documents) + if ( !seed && !Sizzle.isXML(context) ) { + if ( context.nodeType === 9 ) { + try { + return makeArray( context.querySelectorAll(query), extra ); + } catch(qsaError) {} + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + var old = context.getAttribute( "id" ), + nid = old || id; + + if ( !old ) { + context.setAttribute( "id", nid ); + } + + try { + return makeArray( context.querySelectorAll( "#" + nid + " " + query ), extra ); + + } catch(pseudoError) { + } finally { + if ( !old ) { + context.removeAttribute( "id" ); + } + } + } + } + + return oldSizzle(query, context, extra, seed); + }; + + for ( var prop in oldSizzle ) { + Sizzle[ prop ] = oldSizzle[ prop ]; + } + + // release memory in IE + div = null; + })(); +} + +(function(){ + var html = document.documentElement, + matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector, + pseudoWorks = false; + + try { + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( document.documentElement, "[test!='']:sizzle" ); + + } catch( pseudoError ) { + pseudoWorks = true; + } + + if ( matches ) { + Sizzle.matchesSelector = function( node, expr ) { + // Make sure that attribute selectors are quoted + expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); + + if ( !Sizzle.isXML( node ) ) { + try { + if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) { + return matches.call( node, expr ); + } + } catch(e) {} + } + + return Sizzle(expr, null, null, [node]).length > 0; + }; + } +})(); + +(function(){ + var div = document.createElement("div"); + + div.innerHTML = "
    "; + + // Opera can't find a second classname (in 9.6) + // Also, make sure that getElementsByClassName actually exists + if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) { + return; + } + + // Safari caches class attributes, doesn't catch changes (in 3.2) + div.lastChild.className = "e"; + + if ( div.getElementsByClassName("e").length === 1 ) { + return; + } + + Expr.order.splice(1, 0, "CLASS"); + Expr.find.CLASS = function( match, context, isXML ) { + if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { + return context.getElementsByClassName(match[1]); + } + }; + + // release memory in IE + div = null; +})(); + +function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + + if ( elem ) { + var match = false; + + elem = elem[dir]; + + while ( elem ) { + if ( elem.sizcache === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 && !isXML ){ + elem.sizcache = doneName; + elem.sizset = i; + } + + if ( elem.nodeName.toLowerCase() === cur ) { + match = elem; + break; + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + + if ( elem ) { + var match = false; + + elem = elem[dir]; + + while ( elem ) { + if ( elem.sizcache === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 ) { + if ( !isXML ) { + elem.sizcache = doneName; + elem.sizset = i; + } + + if ( typeof cur !== "string" ) { + if ( elem === cur ) { + match = true; + break; + } + + } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) { + match = elem; + break; + } + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +if ( document.documentElement.contains ) { + Sizzle.contains = function( a, b ) { + return a !== b && (a.contains ? a.contains(b) : true); + }; + +} else if ( document.documentElement.compareDocumentPosition ) { + Sizzle.contains = function( a, b ) { + return !!(a.compareDocumentPosition(b) & 16); + }; + +} else { + Sizzle.contains = function() { + return false; + }; +} + +Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement; + + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +var posProcess = function( selector, context ) { + var match, + tmpSet = [], + later = "", + root = context.nodeType ? [context] : context; + + // Position selectors must be done after the filter + // And so must :not(positional) so we move all PSEUDOs to the end + while ( (match = Expr.match.PSEUDO.exec( selector )) ) { + later += match[0]; + selector = selector.replace( Expr.match.PSEUDO, "" ); + } + + selector = Expr.relative[selector] ? selector + "*" : selector; + + for ( var i = 0, l = root.length; i < l; i++ ) { + Sizzle( selector, root[i], tmpSet ); + } + + return Sizzle.filter( later, tmpSet ); +}; + +// EXPOSE +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.filters; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + +})(); + + +var runtil = /Until$/, + rparentsprev = /^(?:parents|prevUntil|prevAll)/, + // Note: This RegExp should be improved, or likely pulled from Sizzle + rmultiselector = /,/, + isSimple = /^.[^:#\[\.,]*$/, + slice = Array.prototype.slice, + POS = jQuery.expr.match.POS; + +jQuery.fn.extend({ + find: function( selector ) { + var ret = this.pushStack( "", "find", selector ), + length = 0; + + for ( var i = 0, l = this.length; i < l; i++ ) { + length = ret.length; + jQuery.find( selector, this[i], ret ); + + if ( i > 0 ) { + // Make sure that the results are unique + for ( var n = length; n < ret.length; n++ ) { + for ( var r = 0; r < length; r++ ) { + if ( ret[r] === ret[n] ) { + ret.splice(n--, 1); + break; + } + } + } + } + } + + return ret; + }, + + has: function( target ) { + var targets = jQuery( target ); + return this.filter(function() { + for ( var i = 0, l = targets.length; i < l; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + not: function( selector ) { + return this.pushStack( winnow(this, selector, false), "not", selector); + }, + + filter: function( selector ) { + return this.pushStack( winnow(this, selector, true), "filter", selector ); + }, + + is: function( selector ) { + return !!selector && jQuery.filter( selector, this ).length > 0; + }, + + closest: function( selectors, context ) { + var ret = [], i, l, cur = this[0]; + + if ( jQuery.isArray( selectors ) ) { + var match, selector, + matches = {}, + level = 1; + + if ( cur && selectors.length ) { + for ( i = 0, l = selectors.length; i < l; i++ ) { + selector = selectors[i]; + + if ( !matches[selector] ) { + matches[selector] = jQuery.expr.match.POS.test( selector ) ? + jQuery( selector, context || this.context ) : + selector; + } + } + + while ( cur && cur.ownerDocument && cur !== context ) { + for ( selector in matches ) { + match = matches[selector]; + + if ( match.jquery ? match.index(cur) > -1 : jQuery(cur).is(match) ) { + ret.push({ selector: selector, elem: cur, level: level }); + } + } + + cur = cur.parentNode; + level++; + } + } + + return ret; + } + + var pos = POS.test( selectors ) ? + jQuery( selectors, context || this.context ) : null; + + for ( i = 0, l = this.length; i < l; i++ ) { + cur = this[i]; + + while ( cur ) { + if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { + ret.push( cur ); + break; + + } else { + cur = cur.parentNode; + if ( !cur || !cur.ownerDocument || cur === context ) { + break; + } + } + } + } + + ret = ret.length > 1 ? jQuery.unique(ret) : ret; + + return this.pushStack( ret, "closest", selectors ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + if ( !elem || typeof elem === "string" ) { + return jQuery.inArray( this[0], + // If it receives a string, the selector is used + // If it receives nothing, the siblings are used + elem ? jQuery( elem ) : this.parent().children() ); + } + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + var set = typeof selector === "string" ? + jQuery( selector, context || this.context ) : + jQuery.makeArray( selector ), + all = jQuery.merge( this.get(), set ); + + return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? + all : + jQuery.unique( all ) ); + }, + + andSelf: function() { + return this.add( this.prevObject ); + } +}); + +// A painfully simple check to see if an element is disconnected +// from a document (should be improved, where feasible). +function isDisconnected( node ) { + return !node || !node.parentNode || node.parentNode.nodeType === 11; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return jQuery.nth( elem, 2, "nextSibling" ); + }, + prev: function( elem ) { + return jQuery.nth( elem, 2, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( elem.parentNode.firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.makeArray( elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( !runtil.test( name ) ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + ret = this.length > 1 ? jQuery.unique( ret ) : ret; + + if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + + return this.pushStack( ret, name, slice.call(arguments).join(",") ); + }; +}); + +jQuery.extend({ + filter: function( expr, elems, not ) { + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 ? + jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : + jQuery.find.matches(expr, elems); + }, + + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + nth: function( cur, result, dir, elem ) { + result = result || 1; + var num = 0; + + for ( ; cur; cur = cur[dir] ) { + if ( cur.nodeType === 1 && ++num === result ) { + break; + } + } + + return cur; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, keep ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep(elements, function( elem, i ) { + var retVal = !!qualifier.call( elem, i, elem ); + return retVal === keep; + }); + + } else if ( qualifier.nodeType ) { + return jQuery.grep(elements, function( elem, i ) { + return (elem === qualifier) === keep; + }); + + } else if ( typeof qualifier === "string" ) { + var filtered = jQuery.grep(elements, function( elem ) { + return elem.nodeType === 1; + }); + + if ( isSimple.test( qualifier ) ) { + return jQuery.filter(qualifier, filtered, !keep); + } else { + qualifier = jQuery.filter( qualifier, filtered ); + } + } + + return jQuery.grep(elements, function( elem, i ) { + return (jQuery.inArray( elem, qualifier ) >= 0) === keep; + }); +} + + + + +var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, + rtagName = /<([\w:]+)/, + rtbody = /\s]+\/)>/g, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + col: [ 2, "", "
    " ], + area: [ 1, "", "" ], + _default: [ 0, "", "" ] + }; + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// IE can't serialize and -
    -
    - -
    - -
    - -
    - {{>editbar}} -
    - -
    -
    -
    -

    Loading content...

    -
    -
    - - - -
    - -
    -
    -
    - \ No newline at end of file +{{something}} \ No newline at end of file diff --git a/lib/gollum/frontend/templates/edit.mustache b/lib/gollum/frontend/templates/edit.mustache index 0c855c62..014c719a 100644 --- a/lib/gollum/frontend/templates/edit.mustache +++ b/lib/gollum/frontend/templates/edit.mustache @@ -1,38 +1,17 @@ -
    - « Back -

    {{title}}

    - -
    -
    - -
    - -
    - -
    - {{>editbar}} -
    - -
    -
    -
    -

    Loading content...

    -
    -
    - - -
    - -
    -
    -
    -
    \ No newline at end of file +
    + +
    {{>editor}}
    +
    + \ No newline at end of file diff --git a/lib/gollum/frontend/templates/editbar.mustache b/lib/gollum/frontend/templates/editbar.mustache deleted file mode 100644 index 94fd61d0..00000000 --- a/lib/gollum/frontend/templates/editbar.mustache +++ /dev/null @@ -1,1196 +0,0 @@ -
    - -
    -
    -
    Headers
    - -
    Images
    -
    Code
    -
    Formatting
    -
    Lists
    -
    Math
    -
    -
    - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Basic internal image -
    [[/images/example.png]]
    -
    - -
    Basic external image -
    [[http://example.com/example.png]]
    -
    - -
    Image with alt text -
    [[/example.png|alt=Shapes]]
    -
    - Shapes -
    Image with frame and caption -
    [[/example.png|frame|alt=Shapes]]
    -
    -
    ShapesShapes
    -
    Image with specific width -
    [[/example.png|width=40px]]
    -
    - -
    Image with specific height -
    [[/example.png|height=40px]]
    -
    - -
    Image aligned left -
    The quick brown fox jumps.
    -
     
    -
    [[/example.png|align=left]]
    -
    -
    -

    The quick brown fox jumps.

    -

    Shapes

    -
    -
    Image aligned center -
    The quick brown fox jumps.
    -
     
    -
    [[/example.png|align=center]]
    -
    -
    -

    The quick brown fox jumps.

    -

    Shapes

    -
    -
    Image aligned right -
    The quick brown fox jumps.
    -
     
    -
    [[/example.png|align=right]]
    -
    -
    -

    The quick brown fox jumps.

    -

    Shapes

    -
    -
    Image floated left -
    The quick brown fox jumps
    -[[/example.png|float|align=left]]
    -over the lazy dog and feels as
    -if he were in seventh heaven.
    -
    -
    -

    The quick brown fox jumps Shapes over the lazy dog and feels as if he were in seventh heaven.

    -
    -
    Image floated left -
    The quick brown fox jumps
    -[[/example.png|float|align=right]]
    -over the lazy dog and feels as
    -if he were in seventh heaven.
    -
    -
    -

    The quick brown fox jumps Shapes over the lazy dog and feels as if he were in seventh heaven.

    -
    -
    -
    - - - -
    - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Hilighted Code block
    ```ruby
    -def foo
    -puts 'bar'
    -end
    -```
    def foo
    -  puts 'bar'
    -end
    -
    -
    - - - - - - - - -
    Language Identifiers for use in Hilighted Code Blocks
    -
      -
    • ABAP: abap
    • -
    • ActionScript: as, actionscript
    • -
    • ActionScript 3: as3, actionscript3
    • -
    • Ada: ada, ada95ada2005
    • -
    • ANTLR: antlr
    • -
    • ANTLR With ActionScript Target: antlr-as, antlr-actionscript
    • -
    • ANTLR With C# Target: antlr-csharp, antlr-c#
    • -
    • ANTLR With CPP Target: antlr-cpp
    • -
    • ANTLR With Java Target: antlr-java
    • -
    • ANTLR With ObjectiveC Target: antlr-objc
    • -
    • ANTLR With Perl Target: antlr-perl
    • -
    • ANTLR With Python Target: antlr-python
    • -
    • ANTLR With Ruby Target: antlr-ruby, antlr-rb
    • -
    • ApacheConf: apacheconf, aconf, apache
    • -
    • AppleScript: applescript
    • -
    • aspx-cs: aspx-cs
    • -
    • aspx-vb: aspx-vb
    • -
    • Asymptote: asy, asymptote
    • -
    • Bash: bash, sh, ksh
    • -
    • Bash Session: console
    • -
    • Batchfile: bat
    • -
    • BBCode: bbcode
    • -
    • Befunge: befunge
    • -
    • Boo: boo
    • -
    • Brainfuck: brainfuck, bf
    • -
    • C: c
    • -
    • C#: csharp, c#
    • -
    • C++: cpp, c++
    • -
    • c-objdump: c-objdump
    • -
    • cfstatement: cfs
    • -
    • Cheetah: cheetah, spitfire
    • -
    • Clojure: clojure, clj
    • -
    • CMake: cmake
    • -
    • CoffeeScript: coffee-script, coffeescript
    • -
    • Coldufsion HTML: cfm
    • -
    • Common Lisp: common-lisp, cl
    • -
    • cpp-objdump: cpp-objdump, c++-objdumb, cxx-objdump
    • -
    • CSS: css
    • -
    • CSS+Django/Jinja: css+django, css+jinja
    • -
    • CSS+Genshi Text: css+genshitext, css+genshi
    • -
    • CSS+Mako: css+mako
    • -
    • CSS+Myghty: css+myghty
    • -
    • CSS+PHP: css+php
    • -
    • CSS+Ruby: css+erb, css+ruby
    • -
    • CSS+Smarty: css+smarty
    • -
    • Cython: cython, pyx
    • -
    • D: d
    • -
    • d-objdump: d-objdump
    • -
    • Darcs Patch: dpatch
    • -
    • Debian Control file: control
    • -
    • Debian Sourcelist: sourceslist, sources.list
    • -
    • Delphi: delphi, pas, pascal, objectpascal
    • -
    • Diff: diff, udiff
    • -
    • Django/Jinja: django, jinja
    • -
    • Dylan: dylan
    • -
    • Embedded Ragel: ragel-em
    • -
    • ERB: erb
    • -
    • Erlang: erlang
    • -
    • Erlang erl session: erl
    • -
    • Evoque: evoque
    • -
    • Felix: felix, flx
    • -
    • Fortran: fortran
    • -
    • GAS: gas
    • -
    • Genshi: genshi, kid, xml+genshi, xml+kid
    • -
    • Genshi Text: genshitext
    • -
    • Gettext Catalog: pot, po
    • -
    • Gherkin: Cucumber, cucumber, Gherkin, gherkin
    • -
    • GLSL: glsl
    • -
    • Gnuplot: gnuplot
    • -
    • Go: go
    • -
    • Groff: groff, nroff, man
    • -
    • Haml: haml, HAML
    • -
    • Haskell: haskell, hs
    • -
    • haXe: hx, haXe
    • -
    • HTML: html
    • -
    • HTML+Cheetah: html+cheetah, html+spitfire
    • -
    • HTML+Django/Jinja: html+django, html+jinja
    • -
    • HTML+Evoque: html+evoque
    • -
    • HTML+Genshi: html+genshi, html+kid
    • -
    • HTML+Mako: html+mako
    • -
    • HTML+Myghty: html+myghty
    • -
    • HTML+PHP: html+php
    • -
    • HTML+Smarty: html+smarty
    • -
    • INI: ini, cfg
    • -
    -
    -
      -
    • Io: io
    • -
    • IRC logs: irc
    • -
    • Java: java
    • -
    • Java Server Page: jsp
    • -
    • JavaScript: js, javascript
    • -
    • Lighttpd configuration file: lighty, lighttpd
    • -
    • Literate Haskell: lhs, literate-haskell
    • -
    • LLVM: llvm
    • -
    • Logtalk: logtalk
    • -
    • Lua: lua
    • -
    • Makefile: make, makefile, mf, bsdmake
    • -
    • Makefile: basemake
    • -
    • Mako: mako
    • -
    • Matlab: matlab, octave
    • -
    • Matlab session: matlabsession
    • -
    • MiniD: minid
    • -
    • Modelica: modelica
    • -
    • Modula-2: modula2, m2
    • -
    • MoinMoin/Trac Wiki markup: trac-wiki, moin
    • -
    • MOOCode: moocode
    • -
    • MuPAD: mupad
    • -
    • MXML: mxml
    • -
    • Myghty: myghty
    • -
    • MySQL: mysql
    • -
    • NASM: nasm
    • -
    • Newspeak: newspeak
    • -
    • Nginx configuration file: nginx
    • -
    • NumPy: numpy
    • -
    • objdump: objdump
    • -
    • Objective-C: objective-c, objectivec, obj-c, objc
    • -
    • Objective-J: objective-j, objectivej, obj-j, objj
    • -
    • OCaml: ocaml
    • -
    • Ooc: ooc
    • -
    • Perl: perl, pl
    • -
    • PHP: php, php3, php4, php5
    • -
    • POVRay: pov
    • -
    • Prolog: prolog
    • -
    • Python: python, py
    • -
    • Python 3: python3, py3
    • -
    • Python 3.0 Traceback: py3tb
    • -
    • Python console session: pycon
    • -
    • Python Traceback: pytb
    • -
    • Ragel: ragel
    • -
    • Ragel in C Host: ragel-c
    • -
    • Ragel in CPP Host: ragel-cpp
    • -
    • Ragel in D Host: ragel-d
    • -
    • Ragel in Java Host: ragel-java
    • -
    • Ragel in Objective C Host: ragel-objc
    • -
    • Ragel in Ruby Host: ragel-ruby, ragel-rb
    • -
    • Raw token data: raw
    • -
    • RConsole: rconsole, rout
    • -
    • REBOL: rebol
    • -
    • Redcode: redcode
    • -
    • reStructuredText: rst, rest, restructuredtext
    • -
    • RHTML: rhtml, html+erb, html+ruby
    • -
    • Ruby: rb, ruby
    • -
    • Ruby irb session: rbcon, irb
    • -
    • S: splus, s, r
    • -
    • Sass: sass, SASS
    • -
    • Scala: scala
    • -
    • Scheme: scheme, scm
    • -
    • Smalltalk: smalltalk, squeak
    • -
    • Smarty: smarty
    • -
    • SQL: sql
    • -
    • sqlite3con: sqlite3
    • -
    • SquidConf: squidconf, squid.conf, squid
    • -
    • Tcl: tcl
    • -
    • Tcsh: tcsh, csh
    • -
    • TeX: tex, latex
    • -
    • Text only: text
    • -
    • Vala: vala, vapi
    • -
    • VB.net: vb.net, vbnet
    • -
    • VimL: vim
    • -
    • XML: xml
    • -
    • XML+Cheetah: xml+cheetah, xml+spitfire
    • -
    • XML+Django/Jinja: xml+django, xml+jinja
    • -
    • XML+Evoque: xml+evoque
    • -
    • XML+Mako: xml+mako
    • -
    • XML+Myghty: xml+myghty
    • -
    • XML+PHP: xml+php
    • -
    • XML+Ruby: xml+erb, xml+ruby
    • -
    • XML+Smarty: xml+smarty
    • -
    • XSLT: xslt
    • -
    • YAML: yaml
    • -
    -
    -
    - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Bold
    *bold text*
    bold text
    Italic
    _italic text_
    italic text
    Monospace
    +monospace text+
    monospace text
    Single quoted
    `single quoted text'
    ‘single quoted text’
    Double quoted
    ``double quoted text''
    “double quoted text”
    Superscript
    x^2^
    x2
    Subscript
    H~2~O
    H2O
    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Bold
    **bold text**
    bold text
    Italic
    //italic text//
    italic text
    Monospace
    {{{monospace text}}}
    monospace text
    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Bold
    **bold text**
    bold text
    Italic
    *italic text*
    italic text
    Inline code
    `inline code`
    inline code
    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Bold
    *bold text*
    bold text
    Italic
    /italic text/
    italic text
    Inline code
    =inline code=
    inline code
    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Bold
    B<bold text>
    bold text
    Italic
    I<italic text>
    italic text
    Inline code
    C<inline code>
    inline code
    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Bold
    *bold text*
    bold text
    Italic
    _italic text_
    italic text
    Monospace
    +monospace text+
    monospace text
    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Bold
    **bold text**
    bold text
    Italic
    *italic text*
    italic text
    Monospace
    ``monospace text``
    monospace text
    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Bold
    *bold text*
    bold text
    Italic
    _italic text_
    italic text
    Inline code
    @inline code@
    inline code
    -
    - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    First level heading
    = Heading Text

    Heading Text

    Second level heading
    == Heading Text

    Heading Text

    Third level heading
    === Heading Text

    Heading Text

    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    First level heading
    * Heading Text

    Heading Text

    Second level heading
    ** Heading Text

    Heading Text

    Third level heading
    *** Heading Text

    Heading Text

    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    First level heading
    # Heading Text

    Heading Text

    Second level heading
    ## Heading Text

    Heading Text

    Third level heading
    ### Heading Text

    Heading Text

    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    First level heading
    =head1 Heading Text

    Heading Text

    Second level heading
    =head2 Heading Text

    Heading Text

    Third level heading
    =head3 Heading Text

    Heading Text

    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    First level heading
    Heading Text
    ============

    Heading Text

    Second level heading
    Heading Text
    ------------

    Heading Text

    Third level heading
    Heading Text
    ~~~~~~~~~~~~

    Heading Text

    -
    - - - -
    - - - - - - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    First level heading
    h1. Heading Text

    Heading Text

    Second level heading
    h2. Heading Text

    Heading Text

    Third level heading
    h3. Heading Text

    Heading Text

    -
    - - - -
    - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Unordered list
    * Item 1
    -** Item 1.1
    -* Item 2
    -* Item 3
    -
    -
    • Item 1

      -
      • Item 1.1

    • Item 2

      -
    • Item 3

    -
    -
    Ordered list
    . Item 1
    -.. Item 1.1
    -. Item 2
    -. Item 3
    -
    -
    1. Item 1

      -
      1. - Item 1.1

    2. Item 2

    3. -

      Item 3

    -
    -
    -
    - - - -
    - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Unordered list
    * Item 1
    -** Item 1.1
    -* Item 2
    -* Item 3
    -
    -
    • Item 1
      • Item 1.1
    • Item 2
    • -
    • Item 3
    -
    -
    Ordered list
    # Item 1
    -## Item 1.1
    -# Item 2
    -# Item 3
    -
    -
    1. Item 1
      1. Item 1.1
    2. Item 2
    3. -
    4. Item 3
    -
    -
    -
    - - - -
    - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Unordered list
    * Item 1
    -* Item 1.1
    -* Item 2
    -* Item 3
    -
    -
    • Item 1
      • Item 1.1
    • Item 2
    • -
    • Item 3
    -
    -
    Ordered list
    1. Item 1
    -1. Item 1.1
    -2. Item 2
    -3. Item 3
    -
    -
    1. Item 1
      1. Item 1.1
    2. Item 2
    3. -
    4. Item 3
    -
    -
    -
    - - - -
    - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Unordered list
    - Item 1
    -- Item 1.1
    -- Item 2
    -- Item 3
    -
    -
    • Item 1
      1. Item 1.1
    • Item 2
    • -
    • Item 3
    -
    -
    Ordered list
    1. Item 1
    -1. Item 1.1
    -2. Item 2
    -3. Item 3
    -
    -
    1. Item 1
      1. Item 1.1
    2. Item 2
    3. -
    4. Item 3
    -
    -
    -
    - - - -
    - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Unordered list
    =over 4
    -
    -=item * Item 1
    -
    -=item * Item 2
    -
    -=item * Item 3
    -
    -=back
    -
    -
    • Item 1
    • Item 2
    • -
    • Item 3
    -
    -
    Ordered list
    =over 4
    -
    -=item 1. Item 1
    -
    -=item 2. Item 2
    -
    -=item 3. Item 3
    -
    -=back
    -
    -
    1. Item 1
    2. Item 2
    3. -
    4. Item 3
    -
    -
    -
    - - - -
    - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Unordered list
    * Item 1
    -* Item 1.1
    -* Item 2
    -* Item 3
    -
    -
    • Item 1
      • Item 1.1
    • Item 2
    • -
    • Item 3
    -
    -
    Ordered list
    1. Item 1
    -1. Item 1.1
    -2. Item 2
    -3. Item 3
    -
    -
    1. Item 1
      1. Item 1.1
    2. Item 2
    3. -
    4. Item 3
    -
    -
    -
    - - - -
    - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Unordered list
    * Item 1
    -
    -* Item 1.1
    -
    -* Item 2
    -
    -* Item 3
    -
    -
    • Item 1
      • Item 1.1
    • Item 2
    • -
    • Item 3
    -
    -
    Ordered list
    1. Item 1
    -
    -1. Item 1.1
    -
    -2. Item 2
    -
    -3. Item 3
    -
    -
    1. Item 1
      1. Item 1.1
    2. Item 2
    3. -
    4. Item 3
    -
    -
    -
    - - - -
    - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Unordered list
    * Item 1
    -* Item 1.1
    -* Item 2
    -* Item 3
    -
    -
    • Item 1
      • Item 1.1
    • Item 2
    • -
    • Item 3
    -
    -
    Ordered list
    1. Item 1
    -1. Item 1.1
    -2. Item 2
    -3. Item 3
    -
    -
    1. Item 1
      1. Item 1.1
    2. Item 2
    3. -
    4. Item 3
    -
    -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - -
    DescriptionWhat you typeWhat you get
    Block
    \[ \left( \sum_{k=1}^n a_k b_k \right)^2 \]
    Inline
    Consider \( x^2 + y^2 \).
    Consider .
    -
    - -
    -
    -
    \ No newline at end of file diff --git a/lib/gollum/frontend/templates/editor.mustache b/lib/gollum/frontend/templates/editor.mustache new file mode 100755 index 00000000..168b9fbc --- /dev/null +++ b/lib/gollum/frontend/templates/editor.mustache @@ -0,0 +1,116 @@ +
    +{{#is_create_page}} +
    +{{/is_create_page}} +{{#is_edit_page}} + +{{/is_edit_page}} +
    + {{#is_create_page}} +
    + + +
    + {{/is_create_page}} + {{#is_edit_page}} + + {{/is_edit_page}} +
    + + +
    + + +
    +
    +
    + + +
    +
    +

    +

    +
    +
    +
    + + + {{#footer}} + + {{/footer}} + + {{#sidebar}} + + {{/sidebar}} + +
    + + +
    + + +
    + + Preview +
    +
    +
    \ No newline at end of file diff --git a/lib/gollum/frontend/templates/error.mustache b/lib/gollum/frontend/templates/error.mustache index 326cd9f8..9172198b 100644 --- a/lib/gollum/frontend/templates/error.mustache +++ b/lib/gollum/frontend/templates/error.mustache @@ -1,11 +1,8 @@ -
    -
    -
    - Home -
    +
    +

    Error

    -
    +

    {{message}} -

    +

    -
    +
    \ No newline at end of file diff --git a/lib/gollum/frontend/templates/history.mustache b/lib/gollum/frontend/templates/history.mustache old mode 100644 new mode 100755 index 678e2854..eb4b6f5b --- a/lib/gollum/frontend/templates/history.mustache +++ b/lib/gollum/frontend/templates/history.mustache @@ -1,37 +1,60 @@ -
    -
    -
    - « Back -
    -

    {{title}}

    -
    - - - - - {{#versions}} - - - - - - - - {{/versions}} -
    - Select any two versions to -
    - - - {{id7}} - - Gravatar - {{author}} - {{message}}{{date}}
    - -
    -
    +
    + +
    + + + +
    +
    + + + + {{#versions}} + + + + + + {{/versions}} + + +
    + + + + avatar: {{author}} + {{author}} + + + {{date}}:  + {{message}} + [{{id7}}] +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/lib/gollum/frontend/templates/layout.mustache b/lib/gollum/frontend/templates/layout.mustache old mode 100644 new mode 100755 index b08ac18c..1773a906 --- a/lib/gollum/frontend/templates/layout.mustache +++ b/lib/gollum/frontend/templates/layout.mustache @@ -1,33 +1,28 @@ - - - - {{title}} - - - - - - - - - - - + + + + + + + + + + + + + + + + {{title}} + + - -
    -
    -
    - {{{yield}}} -
    -
    -
    - +{{{yield}}} + + diff --git a/lib/gollum/frontend/templates/page.mustache b/lib/gollum/frontend/templates/page.mustache old mode 100644 new mode 100755 index c5217be0..9739c07f --- a/lib/gollum/frontend/templates/page.mustache +++ b/lib/gollum/frontend/templates/page.mustache @@ -1,33 +1,43 @@ -
    -
    -
    -
    -
    - Home | - Edit | - -
    -
    -
    -

    {{title}}

    -
    +
    + +
    + + -
    -
    - Last edited by {{author}}, {{date}} -
    - Home | Edit -
    -
    -
    diff --git a/lib/gollum/frontend/templates/pages.mustache b/lib/gollum/frontend/templates/pages.mustache new file mode 100644 index 00000000..ca666666 --- /dev/null +++ b/lib/gollum/frontend/templates/pages.mustache @@ -0,0 +1,35 @@ +
    + +
    + +{{#has_results}} +
      + {{#results}} +
    • + {{name}} +
    • + {{/results}} +
    +{{/has_results}} + +{{#no_results}} +

    + There are no pages in {{ref}}. +

    +{{/no_results}} + +
    + +
    + diff --git a/lib/gollum/frontend/templates/search.mustache b/lib/gollum/frontend/templates/search.mustache index f6a413fb..080fc9c7 100644 --- a/lib/gollum/frontend/templates/search.mustache +++ b/lib/gollum/frontend/templates/search.mustache @@ -1,19 +1,36 @@ -
    -
    -
    -
    - Home | -
    -
    -

    Search for “{{query}}”

    -
    - {{#has_results}} - - {{/has_results}} -
    -
    +
    + +
    + +{{#has_results}} +
      + {{#results}} +
    • + {{name}} + ({{count}} matches) +
    • + {{/results}} +
    +{{/has_results}} + +{{#no_results}} +

    + There are no results for your search {{query}}. +

    +{{/no_results}} + +
    + +
    + diff --git a/lib/gollum/frontend/templates/searchbar.mustache b/lib/gollum/frontend/templates/searchbar.mustache new file mode 100644 index 00000000..1a54a919 --- /dev/null +++ b/lib/gollum/frontend/templates/searchbar.mustache @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/lib/gollum/frontend/views/compare.rb b/lib/gollum/frontend/views/compare.rb index 4fa0634a..6b574c0a 100644 --- a/lib/gollum/frontend/views/compare.rb +++ b/lib/gollum/frontend/views/compare.rb @@ -1,7 +1,7 @@ module Precious module Views class Compare < Layout - attr_reader :page, :diff, :versions + attr_reader :page, :diff, :versions, :message def title "Comparison of #{@page.title}" @@ -22,14 +22,18 @@ module Precious def lines lines = [] @diff.diff.split("\n")[2..-1].each_with_index do |line, line_index| - lines << { :line => line, + lines << { :line => line, :class => line_class(line), - :ldln => left_diff_line_number(0, line), - :rdln => right_diff_line_number(0, line) } - end + :ldln => left_diff_line_number(0, line), + :rdln => right_diff_line_number(0, line) } + end if @diff lines end + def show_revert + !@message + end + # private def line_class(line) diff --git a/lib/gollum/frontend/views/create.rb b/lib/gollum/frontend/views/create.rb old mode 100644 new mode 100755 index 515d3e1d..c8f9ab38 --- a/lib/gollum/frontend/views/create.rb +++ b/lib/gollum/frontend/views/create.rb @@ -8,6 +8,29 @@ module Precious def title "Create a new page" end + + def is_create_page + true + end + + def is_edit_page + false + end + + def format + @format = (@page.format || false) if @format.nil? && @page + @format.to_s.downcase + end + + def has_footer + @footer = (@page.footer || false) if @footer.nil? && @page + !!@footer + end + + def has_sidebar + @sidebar = (@page.sidebar || false) if @sidebar.nil? && @page + !!@sidebar + end def page_name @name.gsub('-', ' ') @@ -16,6 +39,10 @@ module Precious def formats super(:markdown) end + + def default_markup + Precious::App.settings.default_markup + end end end end diff --git a/lib/gollum/frontend/views/edit.rb b/lib/gollum/frontend/views/edit.rb old mode 100644 new mode 100755 index 7165b801..21078dbc --- a/lib/gollum/frontend/views/edit.rb +++ b/lib/gollum/frontend/views/edit.rb @@ -6,7 +6,46 @@ module Precious attr_reader :page, :content def title - "Editing #{@page.title}" + "#{@page.title}" + end + + def page_name + @name.gsub('-', ' ') + end + + def footer + if @footer.nil? + if page = @page.footer + @footer = page.raw_data + else + @footer = false + end + end + @footer + end + + def sidebar + if @sidebar.nil? + if page = @page.sidebar + @sidebar = page.raw_data + else + @sidebar = false + end + end + @sidebar + end + + def is_create_page + false + end + + def is_edit_page + true + end + + def format + @format = (@page.format || false) if @format.nil? + @format.to_s.downcase end end end diff --git a/lib/gollum/frontend/views/history.rb b/lib/gollum/frontend/views/history.rb index d7628d56..d3cb143f 100644 --- a/lib/gollum/frontend/views/history.rb +++ b/lib/gollum/frontend/views/history.rb @@ -4,7 +4,7 @@ module Precious attr_reader :page, :page_num def title - "History of #{@page.title}" + @page.title end def versions diff --git a/lib/gollum/frontend/views/page.rb b/lib/gollum/frontend/views/page.rb index 04f1e64a..2b3ef0c3 100644 --- a/lib/gollum/frontend/views/page.rb +++ b/lib/gollum/frontend/views/page.rb @@ -2,6 +2,8 @@ module Precious module Views class Page < Layout attr_reader :content, :page, :footer + DATE_FORMAT = "%Y-%m-%d %H:%M:%S" + DEFAULT_AUTHOR = 'you' def title @page.title @@ -12,26 +14,43 @@ module Precious end def author + return DEFAULT_AUTHOR unless @page.version @page.version.author.name end def date - @page.version.authored_date.strftime("%Y-%m-%d %H:%M:%S") + return Time.now.strftime(DATE_FORMAT) unless @page.version + @page.version.authored_date.strftime(DATE_FORMAT) + end + + def editable + @editable end def has_footer - @footer ||= @page.footer - !@footer.nil? + @footer = (@page.footer || false) if @footer.nil? + !!@footer end def footer_content - @footer ||= @page.footer - @footer.formatted_data + has_footer && @footer.formatted_data end def footer_format - @footer ||= @page.footer - @footer.format.to_s + has_footer && @footer.format.to_s + end + + def has_sidebar + @sidebar = (@page.sidebar || false) if @sidebar.nil? + !!@sidebar + end + + def sidebar_content + has_sidebar && @sidebar.formatted_data + end + + def sidebar_format + has_sidebar && @sidebar.format.to_s end end end diff --git a/lib/gollum/frontend/views/pages.rb b/lib/gollum/frontend/views/pages.rb new file mode 100644 index 00000000..c6d6068c --- /dev/null +++ b/lib/gollum/frontend/views/pages.rb @@ -0,0 +1,19 @@ +module Precious + module Views + class Pages < Layout + attr_reader :results, :ref + + def title + "All pages in #{@ref}" + end + + def has_results + !@results.empty? + end + + def no_results + @results.empty? + end + end + end +end diff --git a/lib/gollum/frontend/views/search.rb b/lib/gollum/frontend/views/search.rb index 31789255..bea755a1 100644 --- a/lib/gollum/frontend/views/search.rb +++ b/lib/gollum/frontend/views/search.rb @@ -3,9 +3,17 @@ module Precious class Search < Layout attr_reader :content, :page, :footer, :results, :query + def title + "Search results for " + @query + end + def has_results !@results.empty? end + + def no_results + @results.empty? + end end end diff --git a/lib/gollum/git_access.rb b/lib/gollum/git_access.rb new file mode 100644 index 00000000..7e67010b --- /dev/null +++ b/lib/gollum/git_access.rb @@ -0,0 +1,248 @@ +module Gollum + # Controls all access to the Git objects from Gollum. Extend this class to + # add custom caching for special cases. + class GitAccess + # Initializes the GitAccess instance. + # + # path - The String path to the Git repository that holds the + # Gollum site. + # page_file_dir - String the directory in which all page files reside + # + # Returns this instance. + def initialize(path, page_file_dir = nil) + @page_file_dir = page_file_dir + @path = path + @repo = Grit::Repo.new(path) + clear + end + + # Public: Determines whether the Git repository exists on disk. + # + # Returns true if it exists, or false. + def exist? + @repo.git.exist? + end + + # Public: Converts a given Git reference to a SHA, using the cache if + # available. + # + # ref - a String Git reference (ex: "master") + # + # Returns a String, or nil if the ref isn't found. + def ref_to_sha(ref) + ref = ref.to_s + return if ref.empty? + sha = + if sha?(ref) + ref + else + get_cache(:ref, ref) { ref_to_sha!(ref) } + end.to_s + sha.empty? ? nil : sha + end + + # Public: Gets a recursive list of Git blobs for the whole tree at the + # given commit. + # + # ref - A String Git reference or Git SHA to a commit. + # + # Returns an Array of BlobEntry instances. + def tree(ref) + if sha = ref_to_sha(ref) + get_cache(:tree, sha) { tree!(sha) } + else + [] + end + end + + # Public: Fetches the contents of the Git blob at the given SHA. + # + # sha - A String Git SHA. + # + # Returns the String content of the blob. + def blob(sha) + cat_file!(sha) + end + + # Public: Looks up the Git commit using the given Git SHA or ref. + # + # ref - A String Git SHA or ref. + # + # Returns a Grit::Commit. + def commit(ref) + if sha?(ref) + get_cache(:commit, ref) { commit!(ref) } + else + if sha = get_cache(:ref, ref) + commit(sha) + else + if cm = commit!(ref) + set_cache(:ref, ref, cm.id) + set_cache(:commit, cm.id, cm) + end + end + end + end + + # Public: Clears all of the cached data that this GitAccess is tracking. + # + # Returns nothing. + def clear + @ref_map = {} + @tree_map = {} + @commit_map = {} + end + + # Public: Refreshes just the cached Git reference data. This should + # be called after every Gollum update. + # + # Returns nothing. + def refresh + @ref_map.clear + end + + ######################################################################### + # + # Internal Methods + # + ######################################################################### + + # Gets the String path to the Git repository. + attr_reader :path + + # Gets the Grit::Repo instance for the Git repository. + attr_reader :repo + + # Gets a Hash cache of refs to commit SHAs. + # + # {"master" => "abc123", ...} + # + attr_reader :ref_map + + # Gets a Hash cache of commit SHAs to a recursive tree of blobs. + # + # {"abc123" => [, ]} + # + attr_reader :tree_map + + # Gets a Hash cache of commit SHAs to the Grit::Commit instance. + # + # {"abcd123" => } + # + attr_reader :commit_map + + # Checks to see if the given String is a 40 character hex SHA. + # + # str - Possible String SHA. + # + # Returns true if the String is a SHA, or false. + def sha?(str) + !!(str =~ /^[0-9a-f]{40}$/) + end + + # Looks up the Git SHA for the given Git ref. + # + # ref - String Git ref. + # + # Returns a String SHA. + def ref_to_sha!(ref) + @repo.git.rev_list({:max_count=>1}, ref) + rescue Grit::GitRuby::Repository::NoSuchShaFound + end + + # Looks up the Git blobs for a given commit. + # + # sha - String commit SHA. + # + # Returns an Array of BlobEntry instances. + def tree!(sha) + tree = @repo.git.native(:ls_tree, + {:r => true, :l => true, :z => true}, sha) + if tree.respond_to?(:force_encoding) + tree.force_encoding("UTF-8") + end + items = tree.split("\0").inject([]) do |memo, line| + memo << parse_tree_line(line) + end + + if dir = @page_file_dir + regex = /^#{dir}\// + items.select { |i| i.path =~ regex } + else + items + end + end + + # Reads the content from the Git db at the given SHA. + # + # sha - The String SHA. + # + # Returns the String content of the Git object. + def cat_file!(sha) + @repo.git.cat_file({:p => true}, sha) + end + + # Reads a Git commit. + # + # sha - The string SHA of the Git commit. + # + # Returns a Grit::Commit. + def commit!(sha) + @repo.commit(sha) + end + + # Attempts to get the given data from a cache. If it doesn't exist, it'll + # pass the results of the yielded block to the cache for future accesses. + # + # name - The cache prefix used in building the full cache key. + # key - The unique cache key suffix, usually a String Git SHA. + # + # Yields a block to pass to the cache. + # Returns the cached result. + def get_cache(name, key) + cache = instance_variable_get("@#{name}_map") + value = cache[key] + if value.nil? && block_given? + set_cache(name, key, value = yield) + end + value == :_nil ? nil : value + end + + # Writes some data to the internal cache. + # + # name - The cache prefix used in building the full cache key. + # key - The unique cache key suffix, usually a String Git SHA. + # value - The value to write to the cache. + # + # Returns nothing. + def set_cache(name, key, value) + cache = instance_variable_get("@#{name}_map") + cache[key] = value || :_nil + end + + # Parses a line of output from the `ls-tree` command. + # + # line - A String line of output: + # "100644 blob 839c2291b30495b9a882c17d08254d3c90d8fb53 Home.md" + # + # Returns an Array of BlobEntry instances. + def parse_tree_line(line) + mode, type, sha, size, *name = line.split(/\s+/) + BlobEntry.new(sha, name.join(' '), size.to_i) + end + + # Decode octal sequences (\NNN) in tree path names. + # + # path - String path name. + # + # Returns a decoded String. + def decode_git_path(path) + if path[0] == ?" && path[-1] == ?" + path = path[1...-1] + path.gsub!(/\\\d{3}/) { |m| m[1..-1].to_i(8).chr } + end + path.gsub!(/\\[rn"\\]/) { |m| eval(%("#{m.to_s}")) } + path + end + end +end diff --git a/lib/gollum/markup.rb b/lib/gollum/markup.rb index 339617b8..6d3eb99d 100644 --- a/lib/gollum/markup.rb +++ b/lib/gollum/markup.rb @@ -1,7 +1,10 @@ require 'digest/sha1' require 'cgi' +require 'pygments' +require 'base64' module Gollum + class Markup # Initialize a new Markup object. # @@ -11,13 +14,15 @@ module Gollum def initialize(page) @wiki = page.wiki @name = page.filename - @data = page.raw_data - @version = page.version.id + @data = page.text_data + @version = page.version.id if page.version + @format = page.format @dir = ::File.dirname(page.path) @tagmap = {} @codemap = {} @texmap = {} @wsdmap = {} + @premap = {} end # Render the content with Gollum wiki syntax on top of the file's own @@ -25,13 +30,15 @@ module Gollum # # no_follow - Boolean that determines if rel="nofollow" is added to all # tags. + # encoding - Encoding Constant or String. # # Returns the formatted String content. - def render(no_follow = false) - sanitize_options = no_follow ? - HISTORY_SANITIZATION_OPTIONS : - SANITIZATION_OPTIONS - data = extract_tex(@data) + def render(no_follow = false, encoding = nil) + sanitize = no_follow ? + @wiki.history_sanitizer : + @wiki.sanitizer + + data = extract_tex(@data.dup) data = extract_code(data) data = extract_wsd(data) data = extract_tags(data) @@ -44,10 +51,15 @@ module Gollum data = %{

    #{e.message}

    } end data = process_tags(data) - data = process_code(data) - data = process_wsd(data) - data = Sanitize.clean(data, sanitize_options) + data = process_code(data, encoding) + if sanitize || block_given? + doc = Nokogiri::HTML::DocumentFragment.parse(data) + doc = sanitize.clean_node!(doc) if sanitize + yield doc if block_given? + data = doc.to_html + end data = process_tex(data) + data = process_wsd(data) data.gsub!(/

    <\/p>/, '') data end @@ -65,12 +77,14 @@ module Gollum # Returns the placeholder'd String data. def extract_tex(data) data.gsub(/\\\[\s*(.*?)\s*\\\]/m) do - id = Digest::SHA1.hexdigest($1) - @texmap[id] = [:block, $1] + tag = CGI.escapeHTML($1) + id = Digest::SHA1.hexdigest(tag) + @texmap[id] = [:block, tag] id end.gsub(/\\\(\s*(.*?)\s*\\\)/m) do - id = Digest::SHA1.hexdigest($1) - @texmap[id] = [:inline, $1] + tag = CGI.escapeHTML($1) + id = Digest::SHA1.hexdigest(tag) + @texmap[id] = [:inline, tag] id end end @@ -84,13 +98,7 @@ module Gollum def process_tex(data) @texmap.each do |id, spec| type, tex = *spec - out = - case type - when :block - %{} - when :inline - %{} - end + out = %{#{CGI.escapeHTML(tex)}} data.gsub!(id, out) end data @@ -108,49 +116,57 @@ module Gollum # # Returns the placeholder'd String data. def extract_tags(data) - data.gsub(/(.?)\[\[(.+?)\]\]([^\[]?)/m) do + data.gsub!(/(.?)\[\[(.+?)\]\]([^\[]?)/m) do if $1 == "'" && $3 != "'" "[[#{$2}]]#{$3}" elsif $2.include?('][') - $& + if $2[0..4] == 'file:' + pre = $1 + post = $3 + parts = $2.split('][') + parts[0][0..4] = "" + link = "#{parts[1]}|#{parts[0].sub(/\.org/,'')}" + id = Digest::SHA1.hexdigest(link) + @tagmap[id] = link + "#{pre}#{id}#{post}" + else + $& + end else id = Digest::SHA1.hexdigest($2) @tagmap[id] = $2 "#{$1}#{id}#{$3}" end end + data end # Process all tags from the tagmap and replace the placeholders with the # final markup. # # data - The String data (with placeholders). - # no_follow - Boolean that determines if rel="nofollow" is added to all - # tags. # # Returns the marked up String data. - def process_tags(data, no_follow = false) + def process_tags(data) @tagmap.each do |id, tag| - data.gsub!(id, process_tag(tag, no_follow)) + data.gsub!(id, process_tag(tag)) end data end # Process a single tag into its final HTML form. # - # tag - The String tag contents (the stuff inside the double + # tag - The String tag contents (the stuff inside the double # brackets). - # no_follow - Boolean that determines if rel="nofollow" is added to all - # tags. # # Returns the String HTML version of the tag. - def process_tag(tag, no_follow = false) + def process_tag(tag) if html = process_image_tag(tag) html - elsif html = process_file_link_tag(tag, no_follow) + elsif html = process_file_link_tag(tag) html else - process_page_link_tag(tag, no_follow) + process_page_link_tag(tag) end end @@ -162,10 +178,12 @@ module Gollum # if it is not. def process_image_tag(tag) parts = tag.split('|') + return if parts.size.zero? + name = parts[0].strip path = if file = find_file(name) ::File.join @wiki.base_path, file.path - elsif name =~ /^https?:\/\/.+(jpg|png|gif|svg|bmp)$/ + elsif name =~ /^https?:\/\/.+(jpg|png|gif|svg|bmp)$/i name end @@ -243,15 +261,15 @@ module Gollum # Attempt to process the tag as a file link tag. # - # tag - The String tag contents (the stuff inside the double + # tag - The String tag contents (the stuff inside the double # brackets). - # no_follow - Boolean that determines if rel="nofollow" is added to all - # tags. # # Returns the String HTML if the tag is a valid file link tag or nil # if it is not. - def process_file_link_tag(tag, no_follow = false) + def process_file_link_tag(tag) parts = tag.split('|') + return if parts.size.zero? + name = parts[0].strip path = parts[1] && parts[1].strip path = if path && file = find_file(path) @@ -262,49 +280,42 @@ module Gollum nil end - tag = if name && path && file + if name && path && file %{#{name}} elsif name && path %{#{name}} else nil end - if tag && no_follow - tag.sub! /^ tags. # # Returns the String HTML if the tag is a valid page link tag or nil # if it is not. - def process_page_link_tag(tag, no_follow = false) + def process_page_link_tag(tag) parts = tag.split('|') - name = parts[0].strip - cname = Page.cname((parts[1] || parts[0]).strip) - tag = if name =~ %r{^https?://} && parts[1].nil? + parts.reverse! if @format == :mediawiki + + name, page_name = *parts.compact.map(&:strip) + cname = @wiki.page_class.cname(page_name || name) + + if name =~ %r{^https?://} && page_name.nil? %{#{name}} else presence = "absent" link_name = cname page, extra = find_page_from_name(cname) if page - link_name = Page.cname(page.name) + link_name = @wiki.page_class.cname(page.name) presence = "present" end link = ::File.join(@wiki.base_path, CGI.escape(link_name)) %{#{name}} end - if tag && no_follow - tag.sub! /^ $1, :code => $2 } + data.gsub!(/^``` ?([^\r\n]+)?\r?\n(.+?)\r?\n```\r?$/m) do + id = Digest::SHA1.hexdigest("#{$1}.#{$2}") + cached = check_cache(:code, id) + @codemap[id] = cached ? + { :output => cached } : + { :lang => $1, :code => $2 } id end + data end # Process all code from the codemap and replace the placeholders with the # final HTML. # - # data - The String data (with placeholders). + # data - The String data (with placeholders). + # encoding - Encoding Constant or String. # # Returns the marked up String data. - def process_code(data) + def process_code(data, encoding = nil) + return data if data.nil? || data.size.zero? || @codemap.size.zero? + + blocks = [] @codemap.each do |id, spec| - lang = spec[:lang] + next if spec[:output] # cached + code = spec[:code] if code.lines.all? { |line| line =~ /\A\r?\n\Z/ || line =~ /^( |\t)/ } code.gsub!(/^( |\t)/m, '') end - data.gsub!(id, Gollum::Albino.new(code, lang).colorize) + + blocks << [spec[:lang], code] end + + highlighted = begin + encoding ||= 'utf-8' + blocks.map { |lang, code| Pygments.highlight(code, :lexer => lang, :options => {:encoding => encoding.to_s}) } + rescue ::RubyPython::PythonError + [] + end + + @codemap.each do |id, spec| + body = spec[:output] || begin + if (body = highlighted.shift.to_s).size > 0 + update_cache(:code, id, body) + body + else + "

    #{CGI.escapeHTML(spec[:code])}
    " + end + end + data.gsub!(id, body) + end + data end @@ -409,5 +450,84 @@ module Gollum end data end + + # Hook for getting the formatted value of extracted tag data. + # + # type - Symbol value identifying what type of data is being extracted. + # id - String SHA1 hash of original extracted tag data. + # + # Returns the String cached formatted data, or nil. + def check_cache(type, id) + end + + # Hook for caching the formatted value of extracted tag data. + # + # type - Symbol value identifying what type of data is being extracted. + # id - String SHA1 hash of original extracted tag data. + # data - The String formatted value to be cached. + # + # Returns nothing. + def update_cache(type, id, data) + end + end + + begin + require 'redcarpet' + + class MarkupGFM < Markup + def render(no_follow = false, encoding = nil) + sanitize = no_follow ? + @wiki.history_sanitizer : + @wiki.sanitizer + + data = extract_tex(@data.dup) + data = extract_code(data) + data = extract_tags(data) + + if Gem::Version.new(Redcarpet::VERSION) > Gem::Version.new("1.17.2") + html_renderer = Redcarpet::Render::HTML.new({ + :autolink => true, + :fenced_code_blocks => true, + :tables => true, + :strikethrough => true, + :lax_htmlblock => true, + :no_intraemphasis => true + }) + markdown = Redcarpet::Markdown.new(html_renderer) + data = markdown.render(data) + else + flags = [ + :autolink, + :fenced_code, + :tables, + :strikethrough, + :lax_htmlblock, + :no_intraemphasis + ] + data = Redcarpet.new(data, *flags).to_html + end + data = process_tags(data) + data = process_code(data, encoding) + + doc = Nokogiri::HTML::DocumentFragment.parse(data) + + doc.search('pre').each do |node| + next unless lang = node['lang'] + next unless lexer = Pygments::Lexer[lang] + text = node.inner_text + html = lexer.highlight(text) + node.replace(html) + end + + doc = sanitize.clean_node!(doc) if sanitize + yield doc if block_given? + + data = doc.to_html + data = process_tex(data) + data + end + end + rescue LoadError + MarkupGFM = Markup end end diff --git a/lib/gollum/page.rb b/lib/gollum/page.rb index ba091458..9cb5d693 100644 --- a/lib/gollum/page.rb +++ b/lib/gollum/page.rb @@ -4,15 +4,16 @@ module Gollum Wiki.page_class = self - VALID_PAGE_RE = /^(.+)\.(md|mkdn?|mdown|markdown|textile|rdoc|org|creole|re?st(\.txt)?|asciidoc|pod)$/i - FORMAT_NAMES = { :markdown => "Markdown", - :textile => "Textile", - :rdoc => "RDoc", - :org => "Org-mode", - :creole => "Creole", - :rest => "reStructuredText", - :asciidoc => "AsciiDoc", - :pod => "Pod" } + VALID_PAGE_RE = /^(.+)\.(md|mkdn?|mdown|markdown|textile|rdoc|org|creole|re?st(\.txt)?|asciidoc|pod|(media)?wiki)$/i + FORMAT_NAMES = { :markdown => "Markdown", + :textile => "Textile", + :rdoc => "RDoc", + :org => "Org-mode", + :creole => "Creole", + :rest => "reStructuredText", + :asciidoc => "AsciiDoc", + :mediawiki => "MediaWiki", + :pod => "Pod" } # Sets a Boolean determing whether this page is a historical version. # @@ -40,12 +41,55 @@ module Gollum filename =~ /^_/ ? false : match end + # Public: The format of a given filename. + # + # filename - The String filename. + # + # Returns the Symbol format of the page. One of: + # [ :markdown | :textile | :rdoc | :org | :rest | :asciidoc | :pod | + # :roff ] + def self.format_for(filename) + case filename.to_s + when /\.(md|mkdn?|mdown|markdown)$/i + :markdown + when /\.(textile)$/i + :textile + when /\.(rdoc)$/i + :rdoc + when /\.(org)$/i + :org + when /\.(creole)$/i + :creole + when /\.(re?st(\.txt)?)$/i + :rest + when /\.(asciidoc)$/i + :asciidoc + when /\.(pod)$/i + :pod + when /\.(\d)$/i + :roff + when /\.(media)?wiki$/i + :mediawiki + else + nil + end + end + # Reusable filter to turn a filename (without path) into a canonical name. - # Strips extension, converts spaces to dashes. + # Strips extension, converts dashes to spaces. # # Returns the filtered String. def self.canonicalize_filename(filename) - filename.split('.')[0..-2].join('.').gsub('-', ' ') + strip_filename(filename).gsub('-', ' ') + end + + # Reusable filter to strip extension and path from filename + # + # filename - The string path or filename to strip + # + # Returns the stripped String. + def self.strip_filename(filename) + ::File.basename(filename, ::File.extname(filename)) end # Public: Initialize a page. @@ -55,7 +99,7 @@ module Gollum # Returns a newly initialized Gollum::Page. def initialize(wiki) @wiki = wiki - @blob = nil + @blob = @footer = @sidebar = nil end # Public: The on-disk filename of the page including extension. @@ -65,7 +109,14 @@ module Gollum @blob && @blob.name end - # Public: The canonical page name without extension, and dashes converted + # Public: The on-disk filename of the page with extension stripped. + # + # Returns the String name. + def filename_stripped + self.class.strip_filename(filename) + end + + # Public: The canonical page name without extension, and dashes converted # to spaces. # # Returns the String name. @@ -101,7 +152,7 @@ module Gollum Sanitize.clean(header.to_html) else Sanitize.clean(name) - end + end.strip end # Public: The path of the page within the repo. @@ -116,11 +167,26 @@ module Gollum @blob && @blob.data end + # Public: A text data encoded in specified encoding. + # + # encoding - An Encoding or nil + # + # Returns a character encoding aware String. + def text_data(encoding=nil) + if raw_data.respond_to?(:encoding) + raw_data.force_encoding(encoding || Encoding::UTF_8) + else + raw_data + end + end + # Public: The formatted contents of the page. # + # encoding - Encoding Constant or String. + # # Returns the String data. - def formatted_data - @blob && Gollum::Markup.new(self).render(historical?) + def formatted_data(encoding = nil, &block) + @blob && markup_class.render(historical?, encoding, &block) end # Public: The format of the page. @@ -129,28 +195,14 @@ module Gollum # [ :markdown | :textile | :rdoc | :org | :rest | :asciidoc | :pod | # :roff ] def format - case @blob.name - when /\.(md|mkdn?|mdown|markdown)$/i - :markdown - when /\.(textile)$/i - :textile - when /\.(rdoc)$/i - :rdoc - when /\.(org)$/i - :org - when /\.(creole)$/i - :creole - when /\.(re?st(\.txt)?)$/i - :rest - when /\.(asciidoc)$/i - :asciidoc - when /\.(pod)$/i - :pod - when /\.(\d)$/i - :roff - else - nil - end + self.class.format_for(@blob.name) + end + + # Gets the Gollum::Markup instance that will render this page's content. + # + # Returns a Gollum::Markup instance. + def markup_class + @markup_class ||= @wiki.markup_classes[format].new(self) end # Public: The current version of the page. @@ -163,7 +215,7 @@ module Gollum # options - The options Hash: # :page - The Integer page number (default: 1). # :per_page - The Integer max count of items to return. - # :follow - Follow's a file across renames, but falls back + # :follow - Follow's a file across renames, but falls back # to a slower Grit native call. (default: false) # # Returns an Array of Grit::Commit. @@ -172,10 +224,10 @@ module Gollum options[:pretty] = 'raw' options.delete :max_count options.delete :skip - log = @wiki.repo.git.native "log", options, "master", "--", @path + log = @wiki.repo.git.native "log", options, @wiki.ref, "--", @path Grit::Commit.list_from_string(@wiki.repo, log) else - @wiki.repo.log('master', @path, log_pagination_options(options)) + @wiki.repo.log(@wiki.ref, @path, log_pagination_options(options)) end end @@ -183,22 +235,17 @@ module Gollum # # Returns the footer Page or nil if none exists. def footer - return nil if page_match('_Footer', self.filename) - - dirs = self.path.split('/') - dirs.pop - map = @wiki.tree_map_for(self.version.id) - while !dirs.empty? - if page = find_page_in_tree(map, '_Footer', dirs.join('/')) - return page - end - dirs.pop - end - - find_page_in_tree(map, '_Footer', '') + @footer ||= find_sub_page(:footer) end - # Gets a Boolean determining whether this page is a historical version. + # Public: The sidebar Page. + # + # Returns the sidebar Page or nil if none exists. + def sidebar + @sidebar ||= find_sub_page(:sidebar) + end + + # Gets a Boolean determining whether this page is a historical version. # Historical pages are pulled using exact SHA hashes and format all links # with rel="nofollow" # @@ -215,17 +262,22 @@ module Gollum # Convert a human page name into a canonical page name. # - # name - The String human page name. + # name - The String human page name. + # char_white_sub - Substitution for whitespace + # char_other_sub - Substitution for other special chars # # Examples # # Page.cname("Bilbo Baggins") # # => 'Bilbo-Baggins' # + # Page.cname("Bilbo Baggins",'_') + # # => 'Bilbo_Baggins' + # # Returns the String canonical name. - def self.cname(name) - name.respond_to?(:gsub) ? - name.gsub(%r{[ /<>]}, '-') : + def self.cname(name, char_white_sub = '-', char_other_sub = '-') + name.respond_to?(:gsub) ? + name.gsub(%r{\s},char_white_sub).gsub(%r{[/<>+]}, char_other_sub) : '' end @@ -236,14 +288,15 @@ module Gollum # Returns the String extension (no leading period). def self.format_to_ext(format) case format - when :markdown then 'md' - when :textile then 'textile' - when :rdoc then 'rdoc' - when :org then 'org' - when :creole then 'creole' - when :rest then 'rest' - when :asciidoc then 'asciidoc' - when :pod then 'pod' + when :markdown then 'md' + when :textile then 'textile' + when :rdoc then 'rdoc' + when :org then 'org' + when :creole then 'creole' + when :rest then 'rest' + when :asciidoc then 'asciidoc' + when :pod then 'pod' + when :mediawiki then 'mediawiki' end end @@ -270,11 +323,11 @@ module Gollum # # Returns a Gollum::Page or nil if the page could not be found. def find(name, version) - map = @wiki.tree_map_for(version) + map = @wiki.tree_map_for(version.to_s) if page = find_page_in_tree(map, name) - sha = @wiki.ref_map[version] || version - page.version = Grit::Commit.create(@wiki.repo, :id => sha) - page.historical = sha == version + page.version = version.is_a?(Grit::Commit) ? + version : @wiki.commit_for(version) + page.historical = page.version.to_s == version.to_s page end rescue Grit::GitRuby::Repository::NoSuchShaFound @@ -285,11 +338,11 @@ module Gollum # map - The Array tree map from Wiki#tree_map. # name - The canonical String page name. # checked_dir - Optional String of the directory a matching page needs - # to be in. The string should + # to be in. The string should # # Returns a Gollum::Page or nil if the page could not be found. def find_page_in_tree(map, name, checked_dir = nil) - return nil if name.to_s.empty? + return nil if !map || name.to_s.empty? if checked_dir = BlobEntry.normalize_dir(checked_dir) checked_dir.downcase! end @@ -310,9 +363,9 @@ module Gollum # path - The String directory path of the page file. # # Returns the populated Gollum::Page. - def populate(blob, path) + def populate(blob, path=nil) @blob = blob - @path = (path + '/' + blob.name)[1..-1] + @path = "#{path}/#{blob.name}"[1..-1] self end @@ -338,10 +391,40 @@ module Gollum # Returns a Boolean. def page_match(name, filename) if match = self.class.valid_filename?(filename) - Page.cname(name).downcase == Page.cname(match).downcase - else - false + @wiki.ws_subs.each do |sub| + return true if Page.cname(name).downcase == Page.cname(match, sub).downcase + end end + false + end + + # Loads a sub page. Sub page nanes (footers) are prefixed with + # an underscore to distinguish them from other Pages. + # + # name - String page name. + # + # Returns the Page or nil if none exists. + def find_sub_page(name) + return nil unless self.version + return nil if self.filename =~ /^_/ + name = "_#{name.to_s.capitalize}" + return nil if page_match(name, self.filename) + + dirs = self.path.split('/') + dirs.pop + map = @wiki.tree_map_for(self.version.id) + while !dirs.empty? + if page = find_page_in_tree(map, name, dirs.join('/')) + return page + end + dirs.pop + end + + find_page_in_tree(map, name, '') + end + + def inspect + %(#<#{self.class.name}:#{object_id} #{name} (#{format}) @wiki=#{@wiki.repo.path.inspect}>) end end -end \ No newline at end of file +end diff --git a/lib/gollum/ruby1.8.rb b/lib/gollum/ruby1.8.rb deleted file mode 100644 index d24d5f29..00000000 --- a/lib/gollum/ruby1.8.rb +++ /dev/null @@ -1,3 +0,0 @@ -class String - alias :lines :to_a if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9' -end diff --git a/lib/gollum/sanitization.rb b/lib/gollum/sanitization.rb new file mode 100644 index 00000000..424e85bd --- /dev/null +++ b/lib/gollum/sanitization.rb @@ -0,0 +1,174 @@ +module Gollum + # Encapsulate sanitization options. + # + # This class does not yet support all options of Sanitize library. + # See http://github.com/rgrove/sanitize/. + class Sanitization + # Default whitelisted elements. + ELEMENTS = [ + 'a', 'abbr', 'acronym', 'address', 'area', 'b', 'big', + 'blockquote', 'br', 'button', 'caption', 'center', 'cite', + 'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir', + 'div', 'dl', 'dt', 'em', 'fieldset', 'font', 'form', 'h1', + 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'input', + 'ins', 'kbd', 'label', 'legend', 'li', 'map', 'menu', + 'ol', 'optgroup', 'option', 'p', 'pre', 'q', 's', 'samp', + 'select', 'small', 'span', 'strike', 'strong', 'sub', + 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', + 'thead', 'tr', 'tt', 'u', 'ul', 'var' + ].freeze + + # Default whitelisted attributes. + ATTRIBUTES = { + 'a' => ['href'], + 'img' => ['src'], + :all => ['abbr', 'accept', 'accept-charset', + 'accesskey', 'action', 'align', 'alt', 'axis', + 'border', 'cellpadding', 'cellspacing', 'char', + 'charoff', 'class', 'charset', 'checked', 'cite', + 'clear', 'cols', 'colspan', 'color', + 'compact', 'coords', 'datetime', 'dir', + 'disabled', 'enctype', 'for', 'frame', + 'headers', 'height', 'hreflang', + 'hspace', 'ismap', 'label', 'lang', + 'longdesc', 'maxlength', 'media', 'method', + 'multiple', 'name', 'nohref', 'noshade', + 'nowrap', 'prompt', 'readonly', 'rel', 'rev', + 'rows', 'rowspan', 'rules', 'scope', + 'selected', 'shape', 'size', 'span', + 'start', 'summary', 'tabindex', 'target', + 'title', 'type', 'usemap', 'valign', 'value', + 'vspace', 'width'] + }.freeze + + # Default whitelisted protocols for URLs. + PROTOCOLS = { + 'a' => {'href' => ['http', 'https', 'mailto', 'ftp', 'irc', :relative]}, + 'img' => {'src' => ['http', 'https', :relative]} + }.freeze + + ADD_ATTRIBUTES = lambda do |env, node| + if add = env[:config][:add_attributes][node.name] + add.each do |key, value| + node[key] = value + end + end + end + + # Default elements whose contents will be removed in addition + # to the elements themselve + REMOVE_CONTENTS = [ + 'script', + 'style' + ].freeze + + # Default transformers to force @id attributes with 'wiki-' prefix + TRANSFORMERS = [ + lambda do |env| + node = env[:node] + return if env[:is_whitelisted] || !node.element? + prefix = env[:config][:id_prefix] + found_attrs = %w(id name).select do |key| + if value = node[key] + node[key] = value.gsub(/\A(#{prefix})?/, prefix) + end + end + if found_attrs.size > 0 + ADD_ATTRIBUTES.call(env, node) + {} + end + end, + lambda do |env| + node = env[:node] + return unless value = node['href'] + prefix = env[:config][:id_prefix] + node['href'] = value.gsub(/\A\#(#{prefix})?/, '#'+prefix) + ADD_ATTRIBUTES.call(env, node) + {} + end + ].freeze + + # Gets an Array of whitelisted HTML elements. Default: ELEMENTS. + attr_reader :elements + + # Gets a Hash describing which attributes are allowed in which HTML + # elements. Default: ATTRIBUTES. + attr_reader :attributes + + # Gets a Hash describing which URI protocols are allowed in HTML + # attributes. Default: PROTOCOLS + attr_reader :protocols + + # Gets a Hash describing which URI protocols are allowed in HTML + # attributes. Default: TRANSFORMERS + attr_reader :transformers + + # Gets or sets a String prefix which is added to ID attributes. + # Default: 'wiki-' + attr_accessor :id_prefix + + # Gets a Hash describing HTML attributes that Sanitize should add. + # Default: {} + attr_reader :add_attributes + + # Gets an Array of element names whose contents will be removed in addition + # to the elements themselves. Default: REMOVE_CONTENTS + attr_reader :remove_contents + + # Sets a boolean determining whether Sanitize allows HTML comments in the + # output. Default: false. + attr_writer :allow_comments + + def initialize + @elements = ELEMENTS + @attributes = ATTRIBUTES + @protocols = PROTOCOLS + @transformers = TRANSFORMERS + @add_attributes = {} + @remove_contents = REMOVE_CONTENTS + @allow_comments = false + @id_prefix = 'wiki-' + yield self if block_given? + end + + # Determines if Sanitize should allow HTML comments. + # + # Returns True if comments are allowed, or False. + def allow_comments? + !!@allow_comments + end + + # Modifies the current Sanitization instance to sanitize older revisions + # of pages. + # + # Returns a Sanitization instance. + def history_sanitization + self.class.new do |sanitize| + sanitize.add_attributes['a'] = {'rel' => 'nofollow'} + end + end + + # Builds a Hash of options suitable for Sanitize.clean. + # + # Returns a Hash. + def to_hash + { :elements => elements, + :attributes => attributes, + :protocols => protocols, + :add_attributes => add_attributes, + :remove_contents => remove_contents, + :allow_comments => allow_comments?, + :transformers => transformers, + :id_prefix => id_prefix + } + end + + # Builds a Sanitize instance from the current options. + # + # Returns a Sanitize instance. + def to_sanitize + Sanitize.new(to_hash) + end + end +end + diff --git a/lib/gollum/tex.rb b/lib/gollum/tex.rb new file mode 100644 index 00000000..f85dcfc3 --- /dev/null +++ b/lib/gollum/tex.rb @@ -0,0 +1,89 @@ +require 'fileutils' +require 'shellwords' +require 'tmpdir' +require 'posix/spawn' + +module Gollum + module Tex + class Error < StandardError; end + + extend POSIX::Spawn + + Template = <<-EOS +\\documentclass[12pt]{article} +\\usepackage{color} +\\usepackage[dvips]{graphicx} +\\pagestyle{empty} +\\pagecolor{white} +\\begin{document} +{\\color{black} +\\begin{eqnarray*} +%s +\\end{eqnarray*}} +\\end{document} + EOS + + class << self + attr_accessor :latex_path, :dvips_path, :convert_path + end + + self.latex_path = 'latex' + self.dvips_path = 'dvips' + self.convert_path = 'convert' + + def self.check_dependencies! + return if @dependencies_available + + if `which latex` == "" + raise Error, "`latex` command not found" + end + + if `which dvips` == "" + raise Error, "`dvips` command not found" + end + + if `which convert` == "" + raise Error, "`convert` command not found" + end + + if `which gs` == "" + raise Error, "`gs` command not found" + end + + @dependencies_available = true + end + + def self.render_formula(formula) + check_dependencies! + + Dir.mktmpdir('tex') do |path| + tex_path = ::File.join(path, 'formula.tex') + dvi_path = ::File.join(path, 'formula.dvi') + eps_path = ::File.join(path, 'formula.eps') + png_path = ::File.join(path, 'formula.png') + + ::File.open(tex_path, 'w') { |f| f.write(Template % formula) } + + result = sh latex_path, '-interaction=batchmode', 'formula.tex', :chdir => path + raise Error, "`latex` command failed: #{result}" unless ::File.exist?(dvi_path) + + result = sh dvips_path, '-o', eps_path, '-E', dvi_path + raise Error, "`dvips` command failed: #{result}" unless ::File.exist?(eps_path) + result = sh convert_path, '+adjoin', + '-antialias', + '-transparent', 'white', + '-density', '150x150', + eps_path, png_path + raise Error, "`convert` command failed: #{result}" unless ::File.exist?(png_path) + + ::File.read(png_path) + end + end + + private + def self.sh(*args) + pid = spawn *args + Process::waitpid(pid) + end + end +end diff --git a/lib/gollum/wiki.rb b/lib/gollum/wiki.rb index 5704cd1f..10165d92 100644 --- a/lib/gollum/wiki.rb +++ b/lib/gollum/wiki.rb @@ -9,11 +9,28 @@ module Gollum # Sets the file class used by all instances of this Wiki. attr_writer :file_class + # Sets the markup class used by all instances of this Wiki. + attr_writer :markup_classes + + # Sets the default ref for the wiki. + attr_accessor :default_ref + # Sets the default name for commits. attr_accessor :default_committer_name # Sets the default email for commits. attr_accessor :default_committer_email + + # Array of chars to substitute whitespace for when trying to locate file in git repo. + attr_accessor :default_ws_subs + + # Sets sanitization options. Set to false to deactivate + # sanitization altogether. + attr_writer :sanitization + + # Sets sanitization options. Set to false to deactivate + # sanitization altogether. + attr_writer :history_sanitization # Gets the page class used by all instances of this Wiki. # Default: Gollum::Page. @@ -36,60 +53,143 @@ module Gollum ::Gollum::File end end + + # Gets the markup class used by all instances of this Wiki. + # Default: Gollum::Markup + def markup_classes + @markup_classes ||= + if superclass.respond_to?(:markup_classes) + superclass.markup_classes + else + Hash.new(::Gollum::Markup) + end + end + + # Gets the default markup class used by all instances of this Wiki. + # Kept for backwards compatibility until Gollum v2.x + def markup_class(language=:default) + markup_classes[language] + end + + # Sets the default markup class used by all instances of this Wiki. + # Kept for backwards compatibility until Gollum v2.x + def markup_class=(default) + @markup_classes = Hash.new(default).update(markup_classes) + default + end + + alias_method :default_markup_class, :markup_class + alias_method :default_markup_class=, :markup_class= + + # Gets the default sanitization options for current pages used by + # instances of this Wiki. + def sanitization + if @sanitization.nil? + @sanitization = Sanitization.new + end + @sanitization + end + + # Gets the default sanitization options for older page revisions used by + # instances of this Wiki. + def history_sanitization + if @history_sanitization.nil? + @history_sanitization = sanitization ? + sanitization.history_sanitization : + false + end + @history_sanitization + end end + self.default_ref = 'master' self.default_committer_name = 'Anonymous' self.default_committer_email = 'anon@anon.com' + + self.default_ws_subs = ['_','-'] # The String base path to prefix to internal links. For example, when set # to "/wiki", the page "Hobbit" will be linked as "/wiki/Hobbit". Defaults # to "/". attr_reader :base_path + # Gets the sanitization options for current pages used by this Wiki. + attr_reader :sanitization + + # Gets the sanitization options for older page revisions used by this Wiki. + attr_reader :history_sanitization + + # Gets the String ref in which all page files reside. + attr_reader :ref + + # Gets the String directory in which all page files reside. + attr_reader :page_file_dir + + # Gets the Array of chars to sub for ws in filenames. + attr_reader :ws_subs + # Public: Initialize a new Gollum Repo. # - # repo - The String path to the Git repository that holds the Gollum + # path - The String path to the Git repository that holds the Gollum # site. # options - Optional Hash: - # :base_path - String base path for all Wiki links. - # Default: "/" - # :page_class - The page Class. Default: Gollum::Page - # :file_class - The file Class. Default: Gollum::File + # :base_path - String base path for all Wiki links. + # Default: "/" + # :page_class - The page Class. Default: Gollum::Page + # :file_class - The file Class. Default: Gollum::File + # :markup_classes - A hash containing the markup Classes for each + # document type. Default: { Gollum::Markup } + # :sanitization - An instance of Sanitization. + # :page_file_dir - String the directory in which all page files reside + # :ref - String the repository ref to retrieve pages from + # :ws_subs - Array of chars to sub for ws in filenames. # # Returns a fresh Gollum::Repo. def initialize(path, options = {}) - @path = path - @repo = Grit::Repo.new(path) - @base_path = options[:base_path] || "/" - @page_class = options[:page_class] || self.class.page_class - @file_class = options[:file_class] || self.class.file_class - clear_cache + if path.is_a?(GitAccess) + options[:access] = path + path = path.path + end + @path = path + @page_file_dir = options[:page_file_dir] + @access = options[:access] || GitAccess.new(path, @page_file_dir) + @base_path = options[:base_path] || "/" + @page_class = options[:page_class] || self.class.page_class + @file_class = options[:file_class] || self.class.file_class + @markup_classes = options[:markup_classes] || self.class.markup_classes + @repo = @access.repo + @ref = options[:ref] || self.class.default_ref + @sanitization = options[:sanitization] || self.class.sanitization + @ws_subs = options[:ws_subs] || + self.class.default_ws_subs + @history_sanitization = options[:history_sanitization] || + self.class.history_sanitization end # Public: check whether the wiki's git repo exists on the filesystem. # # Returns true if the repo exists, and false if it does not. def exist? - @repo.git.exist? + @access.exist? end # Public: Get the formatted page for a given page name. # # name - The human or canonical String page name of the wiki page. - # version - The String version ID to find (default: "master"). + # version - The String version ID to find (default: @ref). # # Returns a Gollum::Page or nil if no matching page was found. - def page(name, version = 'master') + def page(name, version = @ref) @page_class.new(self).find(name, version) end # Public: Get the static file for a given name. # # name - The full String pathname to the file. - # version - The String version ID to find (default: "master"). + # version - The String version ID to find (default: @ref). # # Returns a Gollum::File or nil if no matching file was found. - def file(name, version = 'master') + def file(name, version = @ref) @file_class.new(self).find(name, version) end @@ -105,10 +205,10 @@ module Gollum def preview_page(name, data, format) page = @page_class.new(self) ext = @page_class.format_to_ext(format.to_sym) - path = @page_class.cname(name) + '.' + ext - blob = OpenStruct.new(:name => path, :data => data) - page.populate(blob, path) - page.version = self.repo.commit("HEAD") + name = @page_class.cname(name) + '.' + ext + blob = OpenStruct.new(:name => name, :data => data) + page.populate(blob) + page.version = @access.commit('master') page end @@ -118,29 +218,38 @@ module Gollum # format - The Symbol format of the page. # data - The new String contents of the page. # commit - The commit Hash details: - # :message - The String commit message. - # :name - The String author full name. - # :email - The String email address. + # :message - The String commit message. + # :name - The String author full name. + # :email - The String email address. + # :parent - Optional Grit::Commit parent to this update. + # :tree - Optional String SHA of the tree to create the + # index from. + # :committer - Optional Gollum::Committer instance. If provided, + # assume that this operation is part of batch of + # updates and the commit happens later. # - # Returns the String SHA1 of the newly written version. + # Returns the String SHA1 of the newly written version, or the + # Gollum::Committer instance if this is part of a batch update. def write_page(name, format, data, commit = {}) - commit = normalize_commit(commit) - index = self.repo.index + multi_commit = false - if pcommit = @repo.commit('master') - index.read_tree(pcommit.tree.id) + committer = if obj = commit[:committer] + multi_commit = true + obj + else + Committer.new(self, commit) + end + + filename = Gollum::Page.cname(name) + + committer.add_to_index('', filename, format, data) + + committer.after_commit do |index, sha| + @access.refresh + index.update_working_dir('', filename, format) end - add_to_index(index, '', name, format, data) - - parents = pcommit ? [pcommit] : [] - actor = Grit::Actor.new(commit[:name], commit[:email]) - sha1 = index.commit(commit[:message], parents, actor) - - @ref_map.clear - update_working_dir(index, '', name, format) - - sha1 + multi_commit ? committer : committer.commit end # Public: Update an existing page with new content. The location of the @@ -153,88 +262,185 @@ module Gollum # format - The Symbol format of the page. # data - The new String contents of the page. # commit - The commit Hash details: - # :message - The String commit message. - # :name - The String author full name. - # :email - The String email address. + # :message - The String commit message. + # :name - The String author full name. + # :email - The String email address. + # :parent - Optional Grit::Commit parent to this update. + # :tree - Optional String SHA of the tree to create the + # index from. + # :committer - Optional Gollum::Committer instance. If provided, + # assume that this operation is part of batch of + # updates and the commit happens later. # - # Returns the String SHA1 of the newly written version. + # Returns the String SHA1 of the newly written version, or the + # Gollum::Committer instance if this is part of a batch update. def update_page(page, name, format, data, commit = {}) - commit = normalize_commit(commit) - pcommit = @repo.commit('master') name ||= page.name format ||= page.format - index = self.repo.index + dir = ::File.dirname(page.path) + dir = '' if dir == '.' + filename = (rename = page.name != name) ? + Gollum::Page.cname(name) : page.filename_stripped + + multi_commit = false - dir = ::File.dirname(page.path) - dir = '' if dir == '.' - - index.read_tree(pcommit.tree.id) - - if page.name == name && page.format == format - index.add(page.path, normalize(data)) + committer = if obj = commit[:committer] + multi_commit = true + obj else - index.delete(page.path) - add_to_index(index, dir, name, format, data, :allow_same_ext) + Committer.new(self, commit) + end + + if !rename && page.format == format + committer.add(page.path, normalize(data)) + else + committer.delete(page.path) + committer.add_to_index(dir, filename, format, data, :allow_same_ext) + end + + committer.after_commit do |index, sha| + @access.refresh + index.update_working_dir(dir, page.filename_stripped, page.format) + index.update_working_dir(dir, filename, format) end - actor = Grit::Actor.new(commit[:name], commit[:email]) - sha1 = index.commit(commit[:message], [pcommit], actor) - - @ref_map.clear - update_working_dir(index, dir, page.name, page.format) - update_working_dir(index, dir, name, format) - - sha1 + multi_commit ? committer : committer.commit end # Public: Delete a page. # # page - The Gollum::Page to delete. # commit - The commit Hash details: + # :message - The String commit message. + # :name - The String author full name. + # :email - The String email address. + # :parent - Optional Grit::Commit parent to this update. + # :tree - Optional String SHA of the tree to create the + # index from. + # :committer - Optional Gollum::Committer instance. If provided, + # assume that this operation is part of batch of + # updates and the commit happens later. + # + # Returns the String SHA1 of the newly written version, or the + # Gollum::Committer instance if this is part of a batch update. + def delete_page(page, commit) + multi_commit = false + + committer = if obj = commit[:committer] + multi_commit = true + obj + else + Committer.new(self, commit) + end + + committer.delete(page.path) + + committer.after_commit do |index, sha| + dir = ::File.dirname(page.path) + dir = '' if dir == '.' + + @access.refresh + index.update_working_dir(dir, page.filename_stripped, page.format) + end + + multi_commit ? committer : committer.commit + end + + # Public: Applies a reverse diff for a given page. If only 1 SHA is given, + # the reverse diff will be taken from its parent (^SHA...SHA). If two SHAs + # are given, the reverse diff is taken from SHA1...SHA2. + # + # page - The Gollum::Page to delete. + # sha1 - String SHA1 of the earlier parent if two SHAs are given, + # or the child. + # sha2 - Optional String SHA1 of the child. + # commit - The commit Hash details: + # :message - The String commit message. + # :name - The String author full name. + # :email - The String email address. + # :parent - Optional Grit::Commit parent to this update. + # + # Returns a String SHA1 of the new commit, or nil if the reverse diff does + # not apply. + def revert_page(page, sha1, sha2 = nil, commit = {}) + if sha2.is_a?(Hash) + commit = sha2 + sha2 = nil + end + + patch = full_reverse_diff_for(page, sha1, sha2) + committer = Committer.new(self, commit) + parent = committer.parents[0] + committer.options[:tree] = @repo.git.apply_patch(parent.sha, patch) + return false unless committer.options[:tree] + committer.after_commit do |index, sha| + @access.refresh + + files = [] + if page + files << [page.path, page.filename_stripped, page.format] + else + # Grit::Diff can't parse reverse diffs.... yet + patch.each_line do |line| + if line =~ %r{^diff --git b/.+? a/(.+)$} + path = $1 + ext = ::File.extname(path) + name = ::File.basename(path, ext) + if format = ::Gollum::Page.format_for(ext) + files << [path, name, format] + end + end + end + end + + files.each do |(path, name, format)| + dir = ::File.dirname(path) + dir = '' if dir == '.' + index.update_working_dir(dir, name, format) + end + end + + committer.commit + end + + # Public: Applies a reverse diff to the repo. If only 1 SHA is given, + # the reverse diff will be taken from its parent (^SHA...SHA). If two SHAs + # are given, the reverse diff is taken from SHA1...SHA2. + # + # sha1 - String SHA1 of the earlier parent if two SHAs are given, + # or the child. + # sha2 - Optional String SHA1 of the child. + # commit - The commit Hash details: # :message - The String commit message. # :name - The String author full name. # :email - The String email address. # - # Returns the String SHA1 of the newly written version. - def delete_page(page, commit) - pcommit = @repo.commit('master') - - index = self.repo.index - index.read_tree(pcommit.tree.id) - index.delete(page.path) - - dir = ::File.dirname(page.path) - dir = '' if dir == '.' - - actor = Grit::Actor.new(commit[:name], commit[:email]) - sha1 = index.commit(commit[:message], [pcommit], actor) - - @ref_map.clear - update_working_dir(index, dir, page.name, page.format) - - sha1 + # Returns a String SHA1 of the new commit, or nil if the reverse diff does + # not apply. + def revert_commit(sha1, sha2 = nil, commit = {}) + revert_page(nil, sha1, sha2, commit) end # Public: Lists all pages for this wiki. # - # treeish - The String commit ID or ref to find (default: master) + # treeish - The String commit ID or ref to find (default: @ref) # # Returns an Array of Gollum::Page instances. def pages(treeish = nil) - tree_list(treeish || 'master').sort! do |x, y| - x.title.downcase <=> y.title.downcase - end + tree_list(treeish || @ref) end - # Public: Returns the number of pages accessible from a commit + # Public: Returns the number of pages accessible from a commit # # ref - A String ref that is either a commit SHA or references one. # # Returns a Fixnum def size(ref = nil) - tree_map_for(ref || 'master').inject(0) do |num, entry| + tree_map_for(ref || @ref).inject(0) do |num, entry| num + (@page_class.valid_page_name?(entry.name) ? 1 : 0) end + rescue Grit::GitRuby::Repository::NoSuchShaFound + 0 end # Public: Search all pages for this wiki. @@ -243,10 +449,10 @@ module Gollum # # Returns an Array with Objects of page name and count of matches def search(query) - # See: http://github.com/Sirupsen/gollum/commit/f0a6f52bdaf6bee8253ca33bb3fceaeb27bfb87e - search_output = @repo.git.grep({:c => query}, 'master') + args = [{}, '-i', '-c', query, @ref, '--'] + args << '--' << @page_file_dir if @page_file_dir - search_output.split("\n").collect do |line| + @repo.git.grep(*args).split("\n").map! do |line| result = line.split(':') file_name = Gollum::Page.canonicalize_filename(::File.basename(result[1])) @@ -265,7 +471,35 @@ module Gollum # # Returns an Array of Grit::Commit. def log(options = {}) - @repo.log('master', nil, log_pagination_options(options)) + @repo.log(@ref, nil, log_pagination_options(options)) + end + + # Public: Refreshes just the cached Git reference data. This should + # be called after every Gollum update. + # + # Returns nothing. + def clear_cache + @access.refresh + end + + # Public: Creates a Sanitize instance using the Wiki's sanitization + # options. + # + # Returns a Sanitize instance. + def sanitizer + if options = sanitization + @sanitizer ||= options.to_sanitize + end + end + + # Public: Creates a Sanitize instance using the Wiki's history sanitization + # options. + # + # Returns a Sanitize instance. + def history_sanitizer + if options = history_sanitization + @history_sanitizer ||= options.to_sanitize + end end ######################################################################### @@ -284,26 +518,15 @@ module Gollum # Returns the String path. attr_reader :path - # Gets a Hash cache of refs to commit SHAs. - # - # {"master" => "abc123", ...} - # - # Returns the Hash cache. - attr_reader :ref_map - - # Gets a Hash cache of commit SHAs to a recursive tree of blobs. - # - # {"abc123" => [["lib/foo.rb", "blob-sha"], [file, sha], ...], ...} - # - # Returns the Hash cache. - attr_reader :tree_map - # Gets the page class used by all instances of this Wiki. attr_reader :page_class # Gets the file class used by all instances of this Wiki. attr_reader :file_class + # Gets the markup class used by all instances of this Wiki. + attr_reader :markup_classes + # Normalize the data. # # data - The String data to be normalized. @@ -315,41 +538,12 @@ module Gollum # Assemble a Page's filename from its name and format. # - # name - The String name of the page (may be in human format). + # name - The String name of the page (should be pre-canonicalized). # format - The Symbol format of the page. # # Returns the String filename. def page_file_name(name, format) - ext = @page_class.format_to_ext(format) - @page_class.cname(name) + '.' + ext - end - - # Update the given file in the repository's working directory if there - # is a working directory present. - # - # index - The Grit::Index with which to sync. - # dir - The String directory in which the file lives. - # name - The String name of the page (may be in human format). - # format - The Symbol format of the page. - # - # Returns nothing. - def update_working_dir(index, dir, name, format) - unless @repo.bare - path = - if dir == '' - page_file_name(name, format) - else - ::File.join(dir, page_file_name(name, format)) - end - - Dir.chdir(::File.join(@repo.path, '..')) do - if file_path_scheduled_for_deletion?(index.tree, path) - @repo.git.rm({'f' => true}, '--', path) - else - @repo.git.checkout({}, 'HEAD', '--', path) - end - end - end + name + '.' + @page_class.format_to_ext(format) end # Fill an array with a list of pages. @@ -358,128 +552,71 @@ module Gollum # # Returns a flat Array of Gollum::Page instances. def tree_list(ref) - tree_map_for(ref).inject([]) do |list, entry| - next list unless @page_class.valid_page_name?(entry.name) - sha = ref_map[ref] - list << entry.page(self, @repo.commit(sha)) - end - end - - # Determine if a given file is scheduled to be deleted in the next commit - # for the given Index. - # - # map - The Hash map: - # key - The String directory or filename. - # val - The Hash submap or the String contents of the file. - # path - The String path of the file including extension. - # - # Returns the Boolean response. - def file_path_scheduled_for_deletion?(map, path) - parts = path.split('/') - if parts.size == 1 - deletions = map.keys.select { |k| !map[k] } - deletions.any? { |d| d == parts.first } + if sha = @access.ref_to_sha(ref) + commit = @access.commit(sha) + tree_map_for(sha).inject([]) do |list, entry| + next list unless @page_class.valid_page_name?(entry.name) + list << entry.page(self, commit) + end else - part = parts.shift - if rest = map[part] - file_path_scheduled_for_deletion?(rest, parts.join('/')) - else - false - end + [] end end - # Determine if a given page (regardless of format) is scheduled to be - # deleted in the next commit for the given Index. + # Creates a reverse diff for the given SHAs on the given Gollum::Page. # - # map - The Hash map: - # key - The String directory or filename. - # val - The Hash submap or the String contents of the file. - # path - The String path of the page file. This may include the format - # extension in which case it will be ignored. + # page - The Gollum::Page to scope the patch to, or a String Path. + # sha1 - String SHA1 of the earlier parent if two SHAs are given, + # or the child. + # sha2 - Optional String SHA1 of the child. # - # Returns the Boolean response. - def page_path_scheduled_for_deletion?(map, path) - parts = path.split('/') - if parts.size == 1 - deletions = map.keys.select { |k| !map[k] } - downfile = parts.first.downcase.sub(/\.\w+$/, '') - deletions.any? { |d| d.downcase.sub(/\.\w+$/, '') == downfile } - else - part = parts.shift - if rest = map[part] - page_path_scheduled_for_deletion?(rest, parts.join('/')) - else - false - end + # Returns a String of the reverse Diff to apply. + def full_reverse_diff_for(page, sha1, sha2 = nil) + sha1, sha2 = "#{sha1}^", sha1 if sha2.nil? + args = [{:R => true}, sha1, sha2] + if page + args << '--' << (page.respond_to?(:path) ? page.path : page.to_s) end + repo.git.native(:diff, *args) end - # Adds a page to the given Index. + # Creates a reverse diff for the given SHAs. # - # index - The Grit::Index to which the page will be added. - # dir - The String subdirectory of the Gollum::Page without any - # prefix or suffix slashes (e.g. "foo/bar"). - # name - The String Gollum::Page name. - # format - The Symbol Gollum::Page format. - # data - The String wiki data to store in the tree map. - # allow_same_ext - A Boolean determining if the tree map allows the same - # filename with the same extension. + # sha1 - String SHA1 of the earlier parent if two SHAs are given, + # or the child. + # sha2 - Optional String SHA1 of the child. # - # Raises Gollum::DuplicatePageError if a matching filename already exists. - # This way, pages are not inadvertently overwritten. - # - # Returns nothing (modifies the Index in place). - def add_to_index(index, dir, name, format, data, allow_same_ext = false) - path = page_file_name(name, format) - - dir = '/' if dir.strip.empty? - - fullpath = ::File.join(dir, path) - fullpath = fullpath[1..-1] if fullpath =~ /^\// - - if index.current_tree && tree = index.current_tree / dir - downpath = path.downcase.sub(/\.\w+$/, '') - - tree.blobs.each do |blob| - next if page_path_scheduled_for_deletion?(index.tree, fullpath) - file = blob.name.downcase.sub(/\.\w+$/, '') - file_ext = ::File.extname(blob.name).sub(/^\./, '') - if downpath == file && !(allow_same_ext && file_ext == ext) - raise DuplicatePageError.new(dir, blob.name, path) - end - end - end - - index.add(fullpath, normalize(data)) - end - - # Ensures a commit hash has all the required fields for a commit. - # - # commit - The commit Hash details: - # :message - The String commit message. - # :name - The String author full name. - # :email - The String email address. - # - # Returns the commit Hash - def normalize_commit(commit = {}) - commit[:name] = default_committer_name if commit[:name].to_s.empty? - commit[:email] = default_committer_email if commit[:email].to_s.empty? - commit + # Returns a String of the reverse Diff to apply. + def full_reverse_diff(sha1, sha2 = nil) + full_reverse_diff_for(nil, sha1, sha2) end # Gets the default name for commits. + # + # Returns the String name. def default_committer_name @default_committer_name ||= \ @repo.config['user.name'] || self.class.default_committer_name end # Gets the default email for commits. + # + # Returns the String email address. def default_committer_email @default_committer_email ||= \ @repo.config['user.email'] || self.class.default_committer_email end + # Gets the commit object for the given ref or sha. + # + # ref - A string ref or SHA pointing to a valid commit. + # + # Returns a Grit::Commit instance. + def commit_for(ref) + @access.commit(ref) + rescue Grit::GitRuby::Repository::NoSuchShaFound + end + # Finds a full listing of files and their blob SHA for a given ref. Each # listing is cached based on its actual commit SHA. # @@ -487,62 +624,13 @@ module Gollum # # Returns an Array of BlobEntry instances. def tree_map_for(ref) - sha = @ref_map[ref] || ref - @tree_map[sha] || begin - real_sha = @repo.git.rev_list({:max_count=>1}, ref) - @ref_map[ref] = real_sha if real_sha != ref - @tree_map[real_sha] ||= parse_tree_for(real_sha) - end + @access.tree(ref) rescue Grit::GitRuby::Repository::NoSuchShaFound [] end - - # Finds the full listing of files and their blob SHA for a given commit - # SHA. No caching or ref lookups are performed. - # - # sha - String commit SHA. - # - # Returns an Array of BlobEntry instances. - def parse_tree_for(sha) - tree = @repo.git.native(:ls_tree, {:r => true, :z => true}, sha) - items = [] - tree.split("\0").each do |line| - items << parse_tree_line(line) - end - items - end - - # Parses a line of output from the `ls-tree` command. - # - # line - A String line of output: - # "100644 blob 839c2291b30495b9a882c17d08254d3c90d8fb53 Home.md" - # - # Returns an Array of BlobEntry instances. - def parse_tree_line(line) - data, name = line.split("\t") - mode, type, sha = data.split(' ') - name = decode_git_path(name) - BlobEntry.new sha, name - end - - # Decode octal sequences (\NNN) in tree path names. - # - # path - String path name. - # - # Returns a decoded String. - def decode_git_path(path) - if path[0] == ?" && path[-1] == ?" - path = path[1...-1] - path.gsub!(/\\\d{3}/) { |m| m[1..-1].to_i(8).chr } - end - path.gsub!(/\\[rn"\\]/) { |m| eval(%("#{m.to_s}")) } - path - end - - # Resets the ref and tree caches for this wiki. - def clear_cache - @ref_map = {} - @tree_map = {} + + def inspect + %(#<#{self.class.name}:#{object_id} #{@repo.path}>) end end end diff --git a/test/examples/empty.git/HEAD b/test/examples/empty.git/HEAD new file mode 100644 index 00000000..cb089cd8 --- /dev/null +++ b/test/examples/empty.git/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/test/examples/empty.git/config b/test/examples/empty.git/config new file mode 100644 index 00000000..c53d818d --- /dev/null +++ b/test/examples/empty.git/config @@ -0,0 +1,5 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true + ignorecase = true diff --git a/test/examples/empty.git/description b/test/examples/empty.git/description new file mode 100644 index 00000000..498b267a --- /dev/null +++ b/test/examples/empty.git/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/examples/lotr.git/hooks/applypatch-msg.sample b/test/examples/empty.git/hooks/applypatch-msg.sample similarity index 100% rename from test/examples/lotr.git/hooks/applypatch-msg.sample rename to test/examples/empty.git/hooks/applypatch-msg.sample diff --git a/test/examples/lotr.git/hooks/commit-msg.sample b/test/examples/empty.git/hooks/commit-msg.sample similarity index 92% rename from test/examples/lotr.git/hooks/commit-msg.sample rename to test/examples/empty.git/hooks/commit-msg.sample index 6ef1d29d..b58d1184 100755 --- a/test/examples/lotr.git/hooks/commit-msg.sample +++ b/test/examples/empty.git/hooks/commit-msg.sample @@ -1,7 +1,7 @@ #!/bin/sh # # An example hook script to check the commit log message. -# Called by git-commit with one argument, the name of the file +# Called by "git commit" with one argument, the name of the file # that has the commit message. The hook should exit with non-zero # status after issuing an appropriate message if it wants to stop the # commit. The hook is allowed to edit the commit message file. diff --git a/test/examples/lotr.git/hooks/post-commit.sample b/test/examples/empty.git/hooks/post-commit.sample similarity index 100% rename from test/examples/lotr.git/hooks/post-commit.sample rename to test/examples/empty.git/hooks/post-commit.sample diff --git a/test/examples/lotr.git/hooks/post-receive.sample b/test/examples/empty.git/hooks/post-receive.sample similarity index 100% rename from test/examples/lotr.git/hooks/post-receive.sample rename to test/examples/empty.git/hooks/post-receive.sample diff --git a/test/examples/lotr.git/hooks/post-update.sample b/test/examples/empty.git/hooks/post-update.sample similarity index 85% rename from test/examples/lotr.git/hooks/post-update.sample rename to test/examples/empty.git/hooks/post-update.sample index 5323b56b..ec17ec19 100755 --- a/test/examples/lotr.git/hooks/post-update.sample +++ b/test/examples/empty.git/hooks/post-update.sample @@ -5,4 +5,4 @@ # # To enable this hook, rename this file to "post-update". -exec git-update-server-info +exec git update-server-info diff --git a/test/examples/lotr.git/hooks/pre-applypatch.sample b/test/examples/empty.git/hooks/pre-applypatch.sample similarity index 100% rename from test/examples/lotr.git/hooks/pre-applypatch.sample rename to test/examples/empty.git/hooks/pre-applypatch.sample diff --git a/test/examples/lotr.git/hooks/pre-commit.sample b/test/examples/empty.git/hooks/pre-commit.sample similarity index 93% rename from test/examples/lotr.git/hooks/pre-commit.sample rename to test/examples/empty.git/hooks/pre-commit.sample index 439eefda..b187c4bb 100755 --- a/test/examples/lotr.git/hooks/pre-commit.sample +++ b/test/examples/empty.git/hooks/pre-commit.sample @@ -1,13 +1,13 @@ #!/bin/sh # # An example hook script to verify what is about to be committed. -# Called by git-commit with no arguments. The hook should +# Called by "git commit" with no arguments. The hook should # exit with non-zero status after issuing an appropriate message if # it wants to stop the commit. # # To enable this hook, rename this file to "pre-commit". -if git-rev-parse --verify HEAD >/dev/null 2>&1 +if git rev-parse --verify HEAD >/dev/null 2>&1 then against=HEAD else diff --git a/test/examples/lotr.git/hooks/pre-rebase.sample b/test/examples/empty.git/hooks/pre-rebase.sample similarity index 90% rename from test/examples/lotr.git/hooks/pre-rebase.sample rename to test/examples/empty.git/hooks/pre-rebase.sample index be1b06e2..9773ed4c 100755 --- a/test/examples/lotr.git/hooks/pre-rebase.sample +++ b/test/examples/empty.git/hooks/pre-rebase.sample @@ -2,7 +2,7 @@ # # Copyright (c) 2006, 2008 Junio C Hamano # -# The "pre-rebase" hook is run just before "git-rebase" starts doing +# The "pre-rebase" hook is run just before "git rebase" starts doing # its job, and can prevent the command from running by exiting with # non-zero status. # @@ -43,7 +43,7 @@ git show-ref -q "$topic" || { } # Is topic fully merged to master? -not_in_master=`git-rev-list --pretty=oneline ^master "$topic"` +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` if test -z "$not_in_master" then echo >&2 "$topic is fully merged to master; better remove it." @@ -51,11 +51,11 @@ then fi # Is topic ever merged to next? If so you should not be rebasing it. -only_next_1=`git-rev-list ^master "^$topic" ${publish} | sort` -only_next_2=`git-rev-list ^master ${publish} | sort` +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` if test "$only_next_1" = "$only_next_2" then - not_in_topic=`git-rev-list "^$topic" master` + not_in_topic=`git rev-list "^$topic" master` if test -z "$not_in_topic" then echo >&2 "$topic is already up-to-date with master" @@ -64,8 +64,8 @@ then exit 0 fi else - not_in_next=`git-rev-list --pretty=oneline ^${publish} "$topic"` - perl -e ' + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' my $topic = $ARGV[0]; my $msg = "* $topic has commits already merged to public branch:\n"; my (%not_in_next) = map { @@ -157,13 +157,13 @@ B to be deleted. To compute (1): - git-rev-list ^master ^topic next - git-rev-list ^master next + git rev-list ^master ^topic next + git rev-list ^master next if these match, topic has not merged in next at all. To compute (2): - git-rev-list master..topic + git rev-list master..topic if this is empty, it is fully merged to "master". diff --git a/test/examples/lotr.git/hooks/prepare-commit-msg.sample b/test/examples/empty.git/hooks/prepare-commit-msg.sample similarity index 85% rename from test/examples/lotr.git/hooks/prepare-commit-msg.sample rename to test/examples/empty.git/hooks/prepare-commit-msg.sample index 36524249..f093a02e 100755 --- a/test/examples/lotr.git/hooks/prepare-commit-msg.sample +++ b/test/examples/empty.git/hooks/prepare-commit-msg.sample @@ -1,7 +1,7 @@ #!/bin/sh # # An example hook script to prepare the commit log message. -# Called by git-commit with the name of the file that has the +# Called by "git commit" with the name of the file that has the # commit message, followed by the description of the commit # message's source. The hook's purpose is to edit the commit # message file. If the hook fails with a non-zero status, @@ -22,10 +22,10 @@ case "$2,$3" in merge,) - perl -i.bak -ne 's/^/# /, s/^# #/#/ if /^Conflicts/ .. /#/; print' "$1" ;; + /usr/bin/perl -i.bak -ne 's/^/# /, s/^# #/#/ if /^Conflicts/ .. /#/; print' "$1" ;; # ,|template,) -# perl -i.bak -pe ' +# /usr/bin/perl -i.bak -pe ' # print "\n" . `git diff --cached --name-status -r` # if /^#/ && $first++ == 0' "$1" ;; diff --git a/test/examples/lotr.git/hooks/update.sample b/test/examples/empty.git/hooks/update.sample similarity index 96% rename from test/examples/lotr.git/hooks/update.sample rename to test/examples/empty.git/hooks/update.sample index fd63b2d6..71ab04ed 100755 --- a/test/examples/lotr.git/hooks/update.sample +++ b/test/examples/empty.git/hooks/update.sample @@ -1,7 +1,7 @@ #!/bin/sh # # An example hook script to blocks unannotated tags from entering. -# Called by git-receive-pack with arguments: refname sha1-old sha1-new +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new # # To enable this hook, rename this file to "update". # @@ -64,7 +64,7 @@ zero="0000000000000000000000000000000000000000" if [ "$newrev" = "$zero" ]; then newrev_type=delete else - newrev_type=$(git-cat-file -t $newrev) + newrev_type=$(git cat-file -t $newrev) fi case "$refname","$newrev_type" in diff --git a/test/examples/empty.git/info/exclude b/test/examples/empty.git/info/exclude new file mode 100644 index 00000000..a5196d1b --- /dev/null +++ b/test/examples/empty.git/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/test/examples/empty.git/objects/info/.gitkeep b/test/examples/empty.git/objects/info/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/test/examples/empty.git/objects/pack/.gitkeep b/test/examples/empty.git/objects/pack/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/test/examples/empty.git/refs/heads/.gitkeep b/test/examples/empty.git/refs/heads/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/test/examples/lotr.git/COMMIT_EDITMSG b/test/examples/lotr.git/COMMIT_EDITMSG new file mode 100644 index 00000000..82ab9c99 --- /dev/null +++ b/test/examples/lotr.git/COMMIT_EDITMSG @@ -0,0 +1 @@ +Test out whitespace with Sam diff --git a/test/examples/lotr.git/ORIG_HEAD b/test/examples/lotr.git/ORIG_HEAD new file mode 100644 index 00000000..c64ca983 --- /dev/null +++ b/test/examples/lotr.git/ORIG_HEAD @@ -0,0 +1 @@ +a8ad3c09dd842a3517085bfadd37718856dee813 diff --git a/test/examples/lotr.git/config b/test/examples/lotr.git/config index c53d818d..ec3337a4 100644 --- a/test/examples/lotr.git/config +++ b/test/examples/lotr.git/config @@ -1,5 +1,12 @@ [core] repositoryformatversion = 0 filemode = true - bare = true + bare = false + logallrefupdates = true ignorecase = true +[remote "origin"] + fetch = +refs/heads/*:refs/remotes/origin/* + url = /Users/rick/p/gollum/test/examples/lotr.git +[branch "master"] + remote = origin + merge = refs/heads/master diff --git a/test/examples/lotr.git/index b/test/examples/lotr.git/index new file mode 100644 index 00000000..d9383503 Binary files /dev/null and b/test/examples/lotr.git/index differ diff --git a/test/examples/lotr.git/info/exclude b/test/examples/lotr.git/info/exclude index 2c87b72d..a5196d1b 100644 --- a/test/examples/lotr.git/info/exclude +++ b/test/examples/lotr.git/info/exclude @@ -1,4 +1,4 @@ -# git-ls-files --others --exclude-from=.git/info/exclude +# git ls-files --others --exclude-from=.git/info/exclude # Lines that start with '#' are comments. # For a project mostly in C, the following would be a good set of # exclude patterns (uncomment them if you want to use them): diff --git a/test/examples/lotr.git/info/refs b/test/examples/lotr.git/info/refs deleted file mode 100644 index 23535fff..00000000 --- a/test/examples/lotr.git/info/refs +++ /dev/null @@ -1 +0,0 @@ -d61c3de65957b5997c236393b3ad4d70b5cd8931 refs/heads/master diff --git a/test/examples/lotr.git/logs/HEAD b/test/examples/lotr.git/logs/HEAD new file mode 100644 index 00000000..49e8ffa8 --- /dev/null +++ b/test/examples/lotr.git/logs/HEAD @@ -0,0 +1,3 @@ +0000000000000000000000000000000000000000 60f12f4254f58801b9ee7db7bca5fa8aeefaa56b rick 1291341857 -0800 clone: from /Users/rick/p/gollum/test/examples/lotr.git +60f12f4254f58801b9ee7db7bca5fa8aeefaa56b a8ad3c09dd842a3517085bfadd37718856dee813 rick 1291341922 -0800 commit: add sidebars +a8ad3c09dd842a3517085bfadd37718856dee813 1db89ebba7e2c14d93b94ff98cfa3708a4f0d4e3 Arran Cudbard-Bell 1309107565 +0200 commit: Test out whitespace with Sam diff --git a/test/examples/lotr.git/logs/refs/heads/master b/test/examples/lotr.git/logs/refs/heads/master new file mode 100644 index 00000000..49e8ffa8 --- /dev/null +++ b/test/examples/lotr.git/logs/refs/heads/master @@ -0,0 +1,3 @@ +0000000000000000000000000000000000000000 60f12f4254f58801b9ee7db7bca5fa8aeefaa56b rick 1291341857 -0800 clone: from /Users/rick/p/gollum/test/examples/lotr.git +60f12f4254f58801b9ee7db7bca5fa8aeefaa56b a8ad3c09dd842a3517085bfadd37718856dee813 rick 1291341922 -0800 commit: add sidebars +a8ad3c09dd842a3517085bfadd37718856dee813 1db89ebba7e2c14d93b94ff98cfa3708a4f0d4e3 Arran Cudbard-Bell 1309107565 +0200 commit: Test out whitespace with Sam diff --git a/test/examples/lotr.git/objects/12/629d666c5e3178f82f533f543d61b53dc78c0b b/test/examples/lotr.git/objects/12/629d666c5e3178f82f533f543d61b53dc78c0b new file mode 100644 index 00000000..0a5598ef Binary files /dev/null and b/test/examples/lotr.git/objects/12/629d666c5e3178f82f533f543d61b53dc78c0b differ diff --git a/test/examples/lotr.git/objects/1d/b89ebba7e2c14d93b94ff98cfa3708a4f0d4e3 b/test/examples/lotr.git/objects/1d/b89ebba7e2c14d93b94ff98cfa3708a4f0d4e3 new file mode 100644 index 00000000..e4e70372 --- /dev/null +++ b/test/examples/lotr.git/objects/1d/b89ebba7e2c14d93b94ff98cfa3708a4f0d4e3 @@ -0,0 +1,2 @@ +xKN0 a9QGH#p'vht,ͯn pS~]Z` gKqX]X|Yc1YO $1k|C +wyz|]^ڏ,~3mSG5;'p}3|jKWo \ No newline at end of file diff --git a/test/examples/lotr.git/objects/25/4bdc1ba27d8b8a794538a8522d9a2b56ec2dd9 b/test/examples/lotr.git/objects/25/4bdc1ba27d8b8a794538a8522d9a2b56ec2dd9 new file mode 100644 index 00000000..3bd3f345 Binary files /dev/null and b/test/examples/lotr.git/objects/25/4bdc1ba27d8b8a794538a8522d9a2b56ec2dd9 differ diff --git a/test/examples/lotr.git/objects/30/8fdf72d89351bf53fa6eeb00884273047e07fa b/test/examples/lotr.git/objects/30/8fdf72d89351bf53fa6eeb00884273047e07fa deleted file mode 100644 index c32de7a4..00000000 --- a/test/examples/lotr.git/objects/30/8fdf72d89351bf53fa6eeb00884273047e07fa +++ /dev/null @@ -1,2 +0,0 @@ -x[ -0@QـyD$AH:=pᖾM$(UJ(ǹtqyv.EvVsUo 3Q9悞1!#~Vp*Fe䂟dᬣcOPa!m[@hrH \ No newline at end of file diff --git a/test/examples/lotr.git/objects/84/0ec5b1ba1320e8ec443f28f99566f615d5af10 b/test/examples/lotr.git/objects/84/0ec5b1ba1320e8ec443f28f99566f615d5af10 new file mode 100644 index 00000000..a1e90909 Binary files /dev/null and b/test/examples/lotr.git/objects/84/0ec5b1ba1320e8ec443f28f99566f615d5af10 differ diff --git a/test/examples/lotr.git/objects/a3/1ca2a7c352c92531a8b99815d15843b259e814 b/test/examples/lotr.git/objects/a3/1ca2a7c352c92531a8b99815d15843b259e814 new file mode 100644 index 00000000..3876f6c3 Binary files /dev/null and b/test/examples/lotr.git/objects/a3/1ca2a7c352c92531a8b99815d15843b259e814 differ diff --git a/test/examples/lotr.git/objects/a6/59b3763b822dd97544621fd0beef162ea37b14 b/test/examples/lotr.git/objects/a6/59b3763b822dd97544621fd0beef162ea37b14 new file mode 100644 index 00000000..0c574549 --- /dev/null +++ b/test/examples/lotr.git/objects/a6/59b3763b822dd97544621fd0beef162ea37b14 @@ -0,0 +1,4 @@ +xRMK1b +eTPO%4;6Yh-;[mK!LGt)cH]M,ǧp(@e#4SP> +OʳShA \ No newline at end of file diff --git a/test/examples/lotr.git/objects/a8/ad3c09dd842a3517085bfadd37718856dee813 b/test/examples/lotr.git/objects/a8/ad3c09dd842a3517085bfadd37718856dee813 new file mode 100644 index 00000000..efd0cc98 Binary files /dev/null and b/test/examples/lotr.git/objects/a8/ad3c09dd842a3517085bfadd37718856dee813 differ diff --git a/test/examples/lotr.git/objects/bc/4b5fc0ce2c2ba3acef6647e4f67256ee45ab60 b/test/examples/lotr.git/objects/bc/4b5fc0ce2c2ba3acef6647e4f67256ee45ab60 new file mode 100644 index 00000000..27e90b1f Binary files /dev/null and b/test/examples/lotr.git/objects/bc/4b5fc0ce2c2ba3acef6647e4f67256ee45ab60 differ diff --git a/test/examples/lotr.git/objects/eb/578ff8ed46c6cc579d1a474fb2b94487f420fd b/test/examples/lotr.git/objects/eb/578ff8ed46c6cc579d1a474fb2b94487f420fd deleted file mode 100644 index ac381fc6..00000000 Binary files a/test/examples/lotr.git/objects/eb/578ff8ed46c6cc579d1a474fb2b94487f420fd and /dev/null differ diff --git a/test/examples/lotr.git/objects/ed/d74f8d7f6d025d66eb67411c5db60959ae16fd b/test/examples/lotr.git/objects/ed/d74f8d7f6d025d66eb67411c5db60959ae16fd deleted file mode 100644 index b0c2bb52..00000000 Binary files a/test/examples/lotr.git/objects/ed/d74f8d7f6d025d66eb67411c5db60959ae16fd and /dev/null differ diff --git a/test/examples/lotr.git/objects/f4/84ebb1f40f8eb20d1bcd8d1d71934d2b8ae961 b/test/examples/lotr.git/objects/f4/84ebb1f40f8eb20d1bcd8d1d71934d2b8ae961 new file mode 100644 index 00000000..a4132483 Binary files /dev/null and b/test/examples/lotr.git/objects/f4/84ebb1f40f8eb20d1bcd8d1d71934d2b8ae961 differ diff --git a/test/examples/lotr.git/packed-refs b/test/examples/lotr.git/packed-refs index 0a68312a..093dfa7f 100644 --- a/test/examples/lotr.git/packed-refs +++ b/test/examples/lotr.git/packed-refs @@ -1,2 +1,2 @@ # pack-refs with: peeled -d61c3de65957b5997c236393b3ad4d70b5cd8931 refs/heads/master +60f12f4254f58801b9ee7db7bca5fa8aeefaa56b refs/remotes/origin/master diff --git a/test/examples/lotr.git/refs/heads/master b/test/examples/lotr.git/refs/heads/master index 96bb51f5..2fe813ff 100644 --- a/test/examples/lotr.git/refs/heads/master +++ b/test/examples/lotr.git/refs/heads/master @@ -1 +1 @@ -308fdf72d89351bf53fa6eeb00884273047e07fa +1db89ebba7e2c14d93b94ff98cfa3708a4f0d4e3 diff --git a/test/examples/lotr.git/refs/remotes/origin/HEAD b/test/examples/lotr.git/refs/remotes/origin/HEAD new file mode 100644 index 00000000..6efe28ff --- /dev/null +++ b/test/examples/lotr.git/refs/remotes/origin/HEAD @@ -0,0 +1 @@ +ref: refs/remotes/origin/master diff --git a/test/examples/page_file_dir.git/COMMIT_EDITMSG b/test/examples/page_file_dir.git/COMMIT_EDITMSG new file mode 100644 index 00000000..80260766 --- /dev/null +++ b/test/examples/page_file_dir.git/COMMIT_EDITMSG @@ -0,0 +1 @@ +initial commit diff --git a/test/examples/page_file_dir.git/HEAD b/test/examples/page_file_dir.git/HEAD new file mode 100644 index 00000000..cb089cd8 --- /dev/null +++ b/test/examples/page_file_dir.git/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/test/examples/page_file_dir.git/config b/test/examples/page_file_dir.git/config new file mode 100644 index 00000000..af107929 --- /dev/null +++ b/test/examples/page_file_dir.git/config @@ -0,0 +1,6 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true + ignorecase = true diff --git a/test/examples/page_file_dir.git/description b/test/examples/page_file_dir.git/description new file mode 100644 index 00000000..498b267a --- /dev/null +++ b/test/examples/page_file_dir.git/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/examples/page_file_dir.git/index b/test/examples/page_file_dir.git/index new file mode 100644 index 00000000..85640369 Binary files /dev/null and b/test/examples/page_file_dir.git/index differ diff --git a/test/examples/page_file_dir.git/info/exclude b/test/examples/page_file_dir.git/info/exclude new file mode 100644 index 00000000..a5196d1b --- /dev/null +++ b/test/examples/page_file_dir.git/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/test/examples/page_file_dir.git/logs/HEAD b/test/examples/page_file_dir.git/logs/HEAD new file mode 100644 index 00000000..60cde1b1 --- /dev/null +++ b/test/examples/page_file_dir.git/logs/HEAD @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 22b404803c966dd92865614d86ff22ca12e50c1e rick 1295287591 -0800 commit (initial): initial commit diff --git a/test/examples/page_file_dir.git/logs/refs/heads/master b/test/examples/page_file_dir.git/logs/refs/heads/master new file mode 100644 index 00000000..60cde1b1 --- /dev/null +++ b/test/examples/page_file_dir.git/logs/refs/heads/master @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 22b404803c966dd92865614d86ff22ca12e50c1e rick 1295287591 -0800 commit (initial): initial commit diff --git a/test/examples/page_file_dir.git/objects/0c/7d27db1f575263efdcab3dc650f4502a2dbcbf b/test/examples/page_file_dir.git/objects/0c/7d27db1f575263efdcab3dc650f4502a2dbcbf new file mode 100644 index 00000000..bffaebf0 Binary files /dev/null and b/test/examples/page_file_dir.git/objects/0c/7d27db1f575263efdcab3dc650f4502a2dbcbf differ diff --git a/test/examples/page_file_dir.git/objects/22/b404803c966dd92865614d86ff22ca12e50c1e b/test/examples/page_file_dir.git/objects/22/b404803c966dd92865614d86ff22ca12e50c1e new file mode 100644 index 00000000..a52143a1 Binary files /dev/null and b/test/examples/page_file_dir.git/objects/22/b404803c966dd92865614d86ff22ca12e50c1e differ diff --git a/test/examples/page_file_dir.git/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99 b/test/examples/page_file_dir.git/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99 new file mode 100644 index 00000000..bdcf704c Binary files /dev/null and b/test/examples/page_file_dir.git/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99 differ diff --git a/test/examples/page_file_dir.git/objects/57/16ca5987cbf97d6bb54920bea6adde242d87e6 b/test/examples/page_file_dir.git/objects/57/16ca5987cbf97d6bb54920bea6adde242d87e6 new file mode 100644 index 00000000..cfc3920f Binary files /dev/null and b/test/examples/page_file_dir.git/objects/57/16ca5987cbf97d6bb54920bea6adde242d87e6 differ diff --git a/test/examples/page_file_dir.git/objects/5b/43e14e0a15fb6f08feab1773d1c0991e9f71e2 b/test/examples/page_file_dir.git/objects/5b/43e14e0a15fb6f08feab1773d1c0991e9f71e2 new file mode 100644 index 00000000..effa1c00 Binary files /dev/null and b/test/examples/page_file_dir.git/objects/5b/43e14e0a15fb6f08feab1773d1c0991e9f71e2 differ diff --git a/test/examples/page_file_dir.git/refs/heads/master b/test/examples/page_file_dir.git/refs/heads/master new file mode 100644 index 00000000..46106185 --- /dev/null +++ b/test/examples/page_file_dir.git/refs/heads/master @@ -0,0 +1 @@ +22b404803c966dd92865614d86ff22ca12e50c1e diff --git a/test/examples/revert.git/COMMIT_EDITMSG b/test/examples/revert.git/COMMIT_EDITMSG new file mode 100644 index 00000000..0b35d094 --- /dev/null +++ b/test/examples/revert.git/COMMIT_EDITMSG @@ -0,0 +1 @@ +add footer and sidebar diff --git a/test/examples/revert.git/HEAD b/test/examples/revert.git/HEAD new file mode 100644 index 00000000..cb089cd8 --- /dev/null +++ b/test/examples/revert.git/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/test/examples/revert.git/config b/test/examples/revert.git/config new file mode 100644 index 00000000..75f5c467 --- /dev/null +++ b/test/examples/revert.git/config @@ -0,0 +1,12 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true + ignorecase = true +[remote "origin"] + fetch = +refs/heads/*:refs/remotes/origin/* + url = /Users/rick/p/gollum/test/examples/revert.git +[branch "master"] + remote = origin + merge = refs/heads/master diff --git a/test/examples/revert.git/description b/test/examples/revert.git/description new file mode 100644 index 00000000..498b267a --- /dev/null +++ b/test/examples/revert.git/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/examples/revert.git/index b/test/examples/revert.git/index new file mode 100644 index 00000000..850cc019 Binary files /dev/null and b/test/examples/revert.git/index differ diff --git a/test/examples/revert.git/info/exclude b/test/examples/revert.git/info/exclude new file mode 100644 index 00000000..a5196d1b --- /dev/null +++ b/test/examples/revert.git/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/test/examples/revert.git/logs/HEAD b/test/examples/revert.git/logs/HEAD new file mode 100644 index 00000000..ebf192d4 --- /dev/null +++ b/test/examples/revert.git/logs/HEAD @@ -0,0 +1,2 @@ +0000000000000000000000000000000000000000 7c45b5f16ff3bae2a0063191ef832701214d4df5 rick 1291942707 -0800 clone: from /Users/rick/p/gollum/test/examples/revert.git +7c45b5f16ff3bae2a0063191ef832701214d4df5 f403b791119f8232b7cb0ba455c624ac6435f433 rick 1291942743 -0800 commit: add footer and sidebar diff --git a/test/examples/revert.git/logs/refs/heads/master b/test/examples/revert.git/logs/refs/heads/master new file mode 100644 index 00000000..ebf192d4 --- /dev/null +++ b/test/examples/revert.git/logs/refs/heads/master @@ -0,0 +1,2 @@ +0000000000000000000000000000000000000000 7c45b5f16ff3bae2a0063191ef832701214d4df5 rick 1291942707 -0800 clone: from /Users/rick/p/gollum/test/examples/revert.git +7c45b5f16ff3bae2a0063191ef832701214d4df5 f403b791119f8232b7cb0ba455c624ac6435f433 rick 1291942743 -0800 commit: add footer and sidebar diff --git a/test/examples/revert.git/objects/20/2ced67cea93c7b6bd2928aa1daef8d1d55a20d b/test/examples/revert.git/objects/20/2ced67cea93c7b6bd2928aa1daef8d1d55a20d new file mode 100644 index 00000000..d98eb1e7 Binary files /dev/null and b/test/examples/revert.git/objects/20/2ced67cea93c7b6bd2928aa1daef8d1d55a20d differ diff --git a/test/examples/revert.git/objects/41/76394bfa11222363c66ce7e84b5f154095b6d9 b/test/examples/revert.git/objects/41/76394bfa11222363c66ce7e84b5f154095b6d9 new file mode 100644 index 00000000..e1568d27 Binary files /dev/null and b/test/examples/revert.git/objects/41/76394bfa11222363c66ce7e84b5f154095b6d9 differ diff --git a/test/examples/revert.git/objects/6a/69f92020f5df77af6e8813ff1232493383b708 b/test/examples/revert.git/objects/6a/69f92020f5df77af6e8813ff1232493383b708 new file mode 100644 index 00000000..77148f56 Binary files /dev/null and b/test/examples/revert.git/objects/6a/69f92020f5df77af6e8813ff1232493383b708 differ diff --git a/test/examples/revert.git/objects/b4/785957bc986dc39c629de9fac9df46972c00fc b/test/examples/revert.git/objects/b4/785957bc986dc39c629de9fac9df46972c00fc new file mode 100644 index 00000000..7e24035b Binary files /dev/null and b/test/examples/revert.git/objects/b4/785957bc986dc39c629de9fac9df46972c00fc differ diff --git a/test/examples/revert.git/objects/f4/03b791119f8232b7cb0ba455c624ac6435f433 b/test/examples/revert.git/objects/f4/03b791119f8232b7cb0ba455c624ac6435f433 new file mode 100644 index 00000000..cd389b2a Binary files /dev/null and b/test/examples/revert.git/objects/f4/03b791119f8232b7cb0ba455c624ac6435f433 differ diff --git a/test/examples/revert.git/objects/info/packs b/test/examples/revert.git/objects/info/packs new file mode 100644 index 00000000..bf25471a --- /dev/null +++ b/test/examples/revert.git/objects/info/packs @@ -0,0 +1,2 @@ +P pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.pack + diff --git a/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.idx b/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.idx new file mode 100644 index 00000000..a32a1282 Binary files /dev/null and b/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.idx differ diff --git a/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.pack b/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.pack new file mode 100644 index 00000000..9741faf8 Binary files /dev/null and b/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.pack differ diff --git a/test/examples/revert.git/packed-refs b/test/examples/revert.git/packed-refs new file mode 100644 index 00000000..63895b96 --- /dev/null +++ b/test/examples/revert.git/packed-refs @@ -0,0 +1,2 @@ +# pack-refs with: peeled +7c45b5f16ff3bae2a0063191ef832701214d4df5 refs/remotes/origin/master diff --git a/test/examples/revert.git/refs/heads/master b/test/examples/revert.git/refs/heads/master new file mode 100644 index 00000000..29d97287 --- /dev/null +++ b/test/examples/revert.git/refs/heads/master @@ -0,0 +1 @@ +f403b791119f8232b7cb0ba455c624ac6435f433 diff --git a/test/examples/revert.git/refs/remotes/origin/HEAD b/test/examples/revert.git/refs/remotes/origin/HEAD new file mode 100644 index 00000000..6efe28ff --- /dev/null +++ b/test/examples/revert.git/refs/remotes/origin/HEAD @@ -0,0 +1 @@ +ref: refs/remotes/origin/master diff --git a/test/examples/yubiwa.git/HEAD b/test/examples/yubiwa.git/HEAD new file mode 100644 index 00000000..cb089cd8 --- /dev/null +++ b/test/examples/yubiwa.git/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/test/examples/yubiwa.git/config b/test/examples/yubiwa.git/config new file mode 100644 index 00000000..c53d818d --- /dev/null +++ b/test/examples/yubiwa.git/config @@ -0,0 +1,5 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true + ignorecase = true diff --git a/test/examples/yubiwa.git/description b/test/examples/yubiwa.git/description new file mode 100644 index 00000000..498b267a --- /dev/null +++ b/test/examples/yubiwa.git/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/examples/yubiwa.git/info/exclude b/test/examples/yubiwa.git/info/exclude new file mode 100644 index 00000000..2c87b72d --- /dev/null +++ b/test/examples/yubiwa.git/info/exclude @@ -0,0 +1,6 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/test/examples/yubiwa.git/objects/10/fa2ddc4e3b4009d8a453aace10bd6148c1ad00 b/test/examples/yubiwa.git/objects/10/fa2ddc4e3b4009d8a453aace10bd6148c1ad00 new file mode 100644 index 00000000..3da50073 Binary files /dev/null and b/test/examples/yubiwa.git/objects/10/fa2ddc4e3b4009d8a453aace10bd6148c1ad00 differ diff --git a/test/examples/yubiwa.git/objects/52/4b82874327ea7cbf730389964ba7cb3de966de b/test/examples/yubiwa.git/objects/52/4b82874327ea7cbf730389964ba7cb3de966de new file mode 100644 index 00000000..b81d59a6 Binary files /dev/null and b/test/examples/yubiwa.git/objects/52/4b82874327ea7cbf730389964ba7cb3de966de differ diff --git a/test/examples/yubiwa.git/objects/58/3fc201cb457fb3f1480f3e1e5999b119633835 b/test/examples/yubiwa.git/objects/58/3fc201cb457fb3f1480f3e1e5999b119633835 new file mode 100644 index 00000000..e8d6efb3 Binary files /dev/null and b/test/examples/yubiwa.git/objects/58/3fc201cb457fb3f1480f3e1e5999b119633835 differ diff --git a/test/examples/yubiwa.git/objects/87/bc1dd46ab3d3874d4e898d45dd512cc20a7cc8 b/test/examples/yubiwa.git/objects/87/bc1dd46ab3d3874d4e898d45dd512cc20a7cc8 new file mode 100644 index 00000000..12a06cf7 --- /dev/null +++ b/test/examples/yubiwa.git/objects/87/bc1dd46ab3d3874d4e898d45dd512cc20a7cc8 @@ -0,0 +1 @@ +xAj0E)ȒPJC4i${ YA-ދm`jJs{4@;iGO[SJ7Fr{̌g3=cҿ݉91wZFRv-8]ϗሸRش﯏ÄT[N \ No newline at end of file diff --git a/test/examples/yubiwa.git/objects/89/64ed1b4e21aa90e831763bbce9034bfda81b70 b/test/examples/yubiwa.git/objects/89/64ed1b4e21aa90e831763bbce9034bfda81b70 new file mode 100644 index 00000000..334d4080 Binary files /dev/null and b/test/examples/yubiwa.git/objects/89/64ed1b4e21aa90e831763bbce9034bfda81b70 differ diff --git a/test/examples/yubiwa.git/objects/9f/f6dd0660da5fba2d3374adb2b84fa653bb538b b/test/examples/yubiwa.git/objects/9f/f6dd0660da5fba2d3374adb2b84fa653bb538b new file mode 100644 index 00000000..e9d7565d Binary files /dev/null and b/test/examples/yubiwa.git/objects/9f/f6dd0660da5fba2d3374adb2b84fa653bb538b differ diff --git a/test/examples/yubiwa.git/objects/ac/e97abf2b177815a1972d7db22f229f58c83309 b/test/examples/yubiwa.git/objects/ac/e97abf2b177815a1972d7db22f229f58c83309 new file mode 100644 index 00000000..d61523f3 Binary files /dev/null and b/test/examples/yubiwa.git/objects/ac/e97abf2b177815a1972d7db22f229f58c83309 differ diff --git a/test/examples/yubiwa.git/objects/b1/f443863a4816628807fbf86141ebef055dda34 b/test/examples/yubiwa.git/objects/b1/f443863a4816628807fbf86141ebef055dda34 new file mode 100644 index 00000000..0b94e18c Binary files /dev/null and b/test/examples/yubiwa.git/objects/b1/f443863a4816628807fbf86141ebef055dda34 differ diff --git a/test/examples/yubiwa.git/refs/heads/master b/test/examples/yubiwa.git/refs/heads/master new file mode 100644 index 00000000..f4753c0d --- /dev/null +++ b/test/examples/yubiwa.git/refs/heads/master @@ -0,0 +1 @@ +8964ed1b4e21aa90e831763bbce9034bfda81b70 diff --git a/test/helper.rb b/test/helper.rb index f6e01ded..af7c8c36 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,4 +1,5 @@ require 'rubygems' +require 'rack/test' require 'test/unit' require 'shoulda' require 'mocha' @@ -8,7 +9,9 @@ dir = File.dirname(File.expand_path(__FILE__)) $LOAD_PATH.unshift(File.join(dir, '..', 'lib')) $LOAD_PATH.unshift(dir) +ENV['RACK_ENV'] = 'test' require 'gollum' +require 'gollum/frontend/app' # Make sure we're in the test dir, the tests expect that to be the current # directory. @@ -18,10 +21,27 @@ def testpath(path) File.join(TEST_DIR, path) end +def cloned_testpath(path) + repo = File.expand_path(testpath(path)) + path = File.dirname(repo) + cloned = File.join(path, self.class.name) + FileUtils.rm_rf(cloned) + Dir.chdir(path) do + %x{git clone #{File.basename(repo)} #{self.class.name} 2>/dev/null} + end + cloned +end + def commit_details { :message => "Did something at #{Time.now}", - :name => "Tom Preston-Werner", - :email => "tom@github.com" } + :name => "Tom Preston-Werner", + :email => "tom@github.com" } +end + +def normal(text) + text.gsub!(' ', '') + text.gsub!("\n", '') + text end # test/spec/mini 3 @@ -40,5 +60,7 @@ def context(*args, &block) def self.teardown(&block) define_method(:teardown, &block) end end (class << klass; self end).send(:define_method, :name) { name.gsub(/\W/,'_') } + $contexts << klass klass.class_eval &block -end \ No newline at end of file +end +$contexts = [] diff --git a/test/test_app.rb b/test/test_app.rb new file mode 100644 index 00000000..2d065249 --- /dev/null +++ b/test/test_app.rb @@ -0,0 +1,169 @@ +# ~*~ encoding: utf-8 ~*~ +require File.expand_path(File.join(File.dirname(__FILE__), "helper")) + +context "Frontend" do + include Rack::Test::Methods + + setup do + @path = cloned_testpath("examples/revert.git") + @wiki = Gollum::Wiki.new(@path) + Precious::App.set(:gollum_path, @path) + Precious::App.set(:wiki_options, {}) + end + + teardown do + FileUtils.rm_rf(@path) + end + + test "edits page" do + page_1 = @wiki.page('A') + post "/edit/A", :content => 'abc', + :format => page_1.format, :message => 'def' + follow_redirect! + assert last_response.ok? + + @wiki.clear_cache + page_2 = @wiki.page(page_1.name) + assert_equal 'abc', page_2.raw_data + assert_equal 'def', page_2.version.message + assert_not_equal page_1.version.sha, page_2.version.sha + end + + test "edits page footer and sidebar" do + commits = @wiki.repo.commits('master').size + page_1 = @wiki.page('A') + foot_1 = page_1.footer + side_1 = page_1.sidebar + + post "/edit/A", + :footer => 'footer', :page => "A", :sidebar => 'sidebar', :message => 'def' + follow_redirect! + assert_equal "/A", last_request.fullpath + assert last_response.ok? + + @wiki.clear_cache + page_2 = @wiki.page(page_1.name) + foot_2 = page_2.footer + side_2 = page_2.sidebar + assert_equal page_1.raw_data, page_2.raw_data + + assert_equal 'footer', foot_2.raw_data + assert_equal 'def', foot_2.version.message + assert_not_equal foot_1.version.sha, foot_2.version.sha + + assert_equal 'sidebar', side_2.raw_data + assert_equal 'def', side_2.version.message + assert_not_equal side_1.version.sha, side_2.version.sha + assert_equal commits+1, @wiki.repo.commits('master').size + end + + test "renames page" do + page_1 = @wiki.page('B') + post "/edit/B", :content => 'abc', + :rename => "C", + :format => page_1.format, :message => 'def' + follow_redirect! + assert_equal "/C", last_request.fullpath + assert last_response.ok? + + @wiki.clear_cache + assert_nil @wiki.page("B") + page_2 = @wiki.page('C') + assert_equal 'abc', page_2.raw_data + assert_equal 'def', page_2.version.message + assert_not_equal page_1.version.sha, page_2.version.sha + end + + test "creates page" do + post "/create", :content => 'abc', :page => "D", + :format => 'markdown', :message => 'def' + follow_redirect! + assert last_response.ok? + + page = @wiki.page('D') + assert_equal 'abc', page.raw_data + assert_equal 'def', page.version.message + end + + test "creates pages with escaped characters in title" do + post "/create", :content => 'abc', :page => 'Title with spaces', + :format => 'markdown', :message => 'foo' + assert_equal 'http://example.org/Title-with-spaces', last_response.headers['Location'] + get "/Title-with-spaces" + assert_match /abc/, last_response.body + + post "/create", :content => 'ghi', :page => 'Title/with/slashes', + :format => 'markdown', :message => 'bar' + assert_equal 'http://example.org/Title-with-slashes', last_response.headers['Location'] + get "/Title-with-slashes" + assert_match /ghi/, last_response.body + end + + test "guards against creation of existing page" do + name = "A" + post "/create", :content => 'abc', :page => name, + :format => 'markdown', :message => 'def' + assert last_response.ok? + + @wiki.clear_cache + page = @wiki.page(name) + assert_not_equal 'abc', page.raw_data + end + + test "previews content" do + post "/preview", :content => 'abc', :format => 'markdown' + assert last_response.ok? + end + + test "previews content on the first page of an empty wiki" do + @path = cloned_testpath("examples/empty.git") + @wiki = Gollum::Wiki.new(@path) + Precious::App.set(:gollum_path, @path) + Precious::App.set(:wiki_options, {}) + + post "/preview", :content => 'abc', :format => 'markdown' + assert last_response.ok? + end + + + test "reverts single commit" do + page1 = @wiki.page('B') + + post "/revert/B/7c45b5f16ff3bae2a0063191ef832701214d4df5" + follow_redirect! + assert last_response.ok? + + @wiki.clear_cache + page2 = @wiki.page('B') + assert_not_equal page1.version.sha, page2.version.sha + assert_equal "INITIAL", page2.raw_data.strip + end + + test "reverts multiple commits" do + page1 = @wiki.page('A') + + post "/revert/A/fc66539528eb96f21b2bbdbf557788fe8a1196ac/b26b791cb7917c4f37dd9cb4d1e0efb24ac4d26f" + follow_redirect! + assert last_response.ok? + + @wiki.clear_cache + page2 = @wiki.page('A') + assert_not_equal page1.version.sha, page2.version.sha + assert_equal "INITIAL", page2.raw_data.strip + end + + test "cannot revert conflicting commit" do + page1 = @wiki.page('A') + + post "/revert/A/302a5491a9a5ba12c7652ac831a44961afa312d2" + assert last_response.ok? + + @wiki.clear_cache + page2 = @wiki.page('A') + assert_equal page1.version.sha, page2.version.sha + end + + def app + Precious::App + end +end diff --git a/test/test_committer.rb b/test/test_committer.rb new file mode 100644 index 00000000..e9e41bbc --- /dev/null +++ b/test/test_committer.rb @@ -0,0 +1,64 @@ +# ~*~ encoding: utf-8 ~*~ +require File.expand_path(File.join(File.dirname(__FILE__), "helper")) + +context "Wiki" do + setup do + @wiki = Gollum::Wiki.new(testpath("examples/lotr.git")) + end + + test "normalizes commit hash" do + commit = {:message => 'abc'} + name = @wiki.repo.config['user.name'] + email = @wiki.repo.config['user.email'] + committer = Gollum::Committer.new(@wiki, commit) + assert_equal name, committer.actor.name + assert_equal email, committer.actor.email + + commit[:name] = 'bob' + commit[:email] = '' + committer = Gollum::Committer.new(@wiki, commit) + assert_equal 'bob', committer.actor.name + assert_equal email, committer.actor.email + + commit[:email] = 'foo@bar.com' + committer = Gollum::Committer.new(@wiki, commit) + assert_equal 'bob', committer.actor.name + assert_equal 'foo@bar.com', committer.actor.email + end + + test "yield after_commit callback" do + @path = cloned_testpath('examples/lotr.git') + yielded = nil + begin + wiki = Gollum::Wiki.new(@path) + committer = Gollum::Committer.new(wiki) + committer.after_commit do |index, sha1| + yielded = sha1 + assert_equal committer, index + end + + res = wiki.write_page("Gollum", :markdown, "# Gollum", + :committer => committer) + + assert_equal committer, res + + sha1 = committer.commit + assert_equal sha1, yielded + ensure + FileUtils.rm_rf(@path) + end + end + + test "parents with default master ref" do + ref = '1db89ebba7e2c14d93b94ff98cfa3708a4f0d4e3' + committer = Gollum::Committer.new(@wiki) + assert_equal ref, committer.parents.first.sha + end + + test "parents with custom ref" do + ref = '60f12f4254f58801b9ee7db7bca5fa8aeefaa56b' + @wiki = Gollum::Wiki.new(testpath("examples/lotr.git"), :ref => ref) + committer = Gollum::Committer.new(@wiki) + assert_equal ref, committer.parents.first.sha + end +end diff --git a/test/test_file.rb b/test/test_file.rb index 56ded7f9..af36b07c 100644 --- a/test/test_file.rb +++ b/test/test_file.rb @@ -1,4 +1,6 @@ -require File.join(File.dirname(__FILE__), *%w[helper]) +# ~*~ encoding: utf-8 ~*~ +path = File.join(File.dirname(__FILE__), "helper") +require File.expand_path(path) context "File" do setup do diff --git a/test/test_git_access.rb b/test/test_git_access.rb new file mode 100644 index 00000000..3f94a3df --- /dev/null +++ b/test/test_git_access.rb @@ -0,0 +1,52 @@ +# ~*~ encoding: utf-8 ~*~ +require File.expand_path(File.join(File.dirname(__FILE__), "helper")) + +context "GitAccess" do + setup do + @access = Gollum::GitAccess.new(testpath("examples/lotr.git")) + end + + test "#commit fills commit_map cache" do + assert @access.commit_map.empty? + actual = @access.repo.commits.first + expected = @access.commit(actual.id) + assert_equal actual.message, expected.message + assert_equal actual.message, @access.commit_map[actual.id].message + end + + test "#tree_map_for caches ref and tree" do + assert @access.ref_map.empty? + assert @access.tree_map.empty? + @access.tree 'master' + assert_equal({"master"=>"1db89ebba7e2c14d93b94ff98cfa3708a4f0d4e3"}, @access.ref_map) + + map = @access.tree_map['1db89ebba7e2c14d93b94ff98cfa3708a4f0d4e3'] + assert_equal 'Bilbo-Baggins.md', map[0].path + assert_equal '', map[0].dir + assert_equal map[0].path, map[0].name + assert_equal 'Mordor/Eye-Of-Sauron.md', map[3].path + assert_equal '/Mordor', map[3].dir + assert_equal 'Eye-Of-Sauron.md', map[3].name + end + + test "#tree_map_for only caches tree for commit" do + assert @access.tree_map.empty? + @access.tree '60f12f4254f58801b9ee7db7bca5fa8aeefaa56b' + assert @access.ref_map.empty? + + entry = @access.tree_map['60f12f4254f58801b9ee7db7bca5fa8aeefaa56b'][0] + assert_equal 'Bilbo-Baggins.md', entry.path + end + + test "cannot access commit from invalid ref" do + assert_nil @access.commit('foo') + end + + test "cannot access sha from invalid ref" do + assert_nil @access.ref_to_sha('foo') + end + + test "cannot access tree from invalid ref" do + assert_equal [], @access.tree('foo') + end +end \ No newline at end of file diff --git a/test/test_markup.rb b/test/test_markup.rb index 09105e2a..d1dddd11 100644 --- a/test/test_markup.rb +++ b/test/test_markup.rb @@ -1,4 +1,5 @@ -require File.join(File.dirname(__FILE__), *%w[helper]) +# ~*~ encoding: utf-8 ~*~ +require File.expand_path(File.join(File.dirname(__FILE__), "helper")) context "Markup" do setup do @@ -17,6 +18,39 @@ context "Markup" do assert @wiki.pages[0].formatted_data end + # This test is to assume that Sanitize.clean doesn't raise Encoding::CompatibilityError on ruby 1.9 + test "formats non ASCII-7 character page from Wiki#pages" do + wiki = Gollum::Wiki.new(testpath("examples/yubiwa.git")) + assert_nothing_raised(defined?(Encoding) && Encoding::CompatibilityError) do + assert wiki.page("strider").formatted_data + end + end + + test "Gollum::Markup#render yields a DocumentFragment" do + yielded = false + @wiki.write_page("Yielded", :markdown, "abc", commit_details) + + page = @wiki.page("Yielded") + markup = Gollum::Markup.new(page) + markup.render do |doc| + assert_kind_of Nokogiri::HTML::DocumentFragment, doc + yielded = true + end + assert yielded + end + + test "Gollum::Page#formatted_data yields a DocumentFragment" do + yielded = false + @wiki.write_page("Yielded", :markdown, "abc", commit_details) + + page = @wiki.page("Yielded") + page.formatted_data do |doc| + assert_kind_of Nokogiri::HTML::DocumentFragment, doc + yielded = true + end + assert yielded + end + ######################################################################### # # Links @@ -128,6 +162,20 @@ context "Markup" do assert_equal "

    a http://example.com b

    ", page.formatted_data end + test "page link with different text" do + @wiki.write_page("Potato", :markdown, "a [[Potato Heaad|Potato]] ", commit_details) + page = @wiki.page("Potato") + output = page.formatted_data + assert_equal "

    aPotatoHeaad

    ", normal(output) + end + + test "page link with different text on mediawiki" do + @wiki.write_page("Potato", :mediawiki, "a [[Potato|Potato Heaad]] ", commit_details) + page = @wiki.page("Potato") + output = page.formatted_data + assert_equal normal("

    \na Potato Heaad

    "), normal(output) + end + ######################################################################### # # Images @@ -141,7 +189,18 @@ context "Markup" do page = @wiki.page(name) output = page.formatted_data - assert_equal %{

    a b

    }, output + assert_equal %{

    a b

    }, output + end + end + + test "image with extension in caps with http url" do + ['http', 'https'].each do |scheme| + name = "Bilbo Baggins #{scheme}" + @wiki.write_page(name, :markdown, "a [[#{scheme}://example.com/bilbo.JPG]] b", commit_details) + + page = @wiki.page(name) + output = page.formatted_data + assert_equal %{

    a b

    }, output end end @@ -153,7 +212,7 @@ context "Markup" do @wiki.write_page("Bilbo Baggins", :markdown, "a [[/alpha.jpg]] [[a | /alpha.jpg]] b", commit_details) page = @wiki.page("Bilbo Baggins") - assert_equal %{

    a a b

    }, page.formatted_data + assert_equal %{

    a a b

    }, page.formatted_data end test "image with relative path on root" do @@ -164,7 +223,7 @@ context "Markup" do index.commit("Add alpha.jpg") page = @wiki.page("Bilbo Baggins") - assert_equal %{

    a a b

    }, page.formatted_data + assert_equal %{

    a a b

    }, page.formatted_data end test "image with relative path" do @@ -176,12 +235,33 @@ context "Markup" do page = @wiki.page("Bilbo Baggins") output = page.formatted_data - assert_equal %{

    a a b

    }, output + assert_equal %{

    a a b

    }, output + end + + test "image with absolute path on a preview" do + @wiki = Gollum::Wiki.new(@path, :base_path => '/wiki') + index = @wiki.repo.index + index.add("alpha.jpg", "hi") + index.commit("Add alpha.jpg") + + page = @wiki.preview_page("Test", "a [[/alpha.jpg]] b", :markdown) + assert_equal %{

    a b

    }, page.formatted_data + end + + test "image with relative path on a preview" do + @wiki = Gollum::Wiki.new(@path, :base_path => '/wiki') + index = @wiki.repo.index + index.add("alpha.jpg", "hi") + index.add("greek/alpha.jpg", "hi") + index.commit("Add alpha.jpg") + + page = @wiki.preview_page("Test", "a [[alpha.jpg]] [[greek/alpha.jpg]] b", :markdown) + assert_equal %{

    a b

    }, page.formatted_data end test "image with alt" do content = "a [[alpha.jpg|alt=Alpha Dog]] b" - output = %{

    a Alpha Dog b

    } + output = %{

    a Alpha Dog b

    } relative_image(content, output) end @@ -189,7 +269,7 @@ context "Markup" do %w{em px}.each do |unit| %w{width height}.each do |dim| content = "a [[alpha.jpg|#{dim}=100#{unit}]] b" - output = "

    a b

    " + output = "

    a b

    " relative_image(content, output) end end @@ -198,7 +278,7 @@ context "Markup" do test "image with bogus dimension" do %w{width height}.each do |dim| content = "a [[alpha.jpg|#{dim}=100]] b" - output = "

    a b

    " + output = "

    a b

    " relative_image(content, output) end end @@ -206,7 +286,7 @@ context "Markup" do test "image with vertical align" do %w{top texttop middle absmiddle bottom absbottom baseline}.each do |align| content = "a [[alpha.jpg|align=#{align}]] b" - output = "

    a b

    " + output = "

    a b

    " relative_image(content, output) end end @@ -214,40 +294,40 @@ context "Markup" do test "image with horizontal align" do %w{left center right}.each do |align| content = "a [[alpha.jpg|align=#{align}]] b" - output = "

    a b

    " + output = "

    a b

    " relative_image(content, output) end end test "image with float" do content = "a\n\n[[alpha.jpg|float]]\n\nb" - output = "

    a

    \n\n

    \n\n

    b

    " + output = "

    a

    \n\n

    \n\n

    b

    " relative_image(content, output) end test "image with float and align" do %w{left right}.each do |align| content = "a\n\n[[alpha.jpg|float|align=#{align}]]\n\nb" - output = "

    a

    \n\n

    \n\n

    b

    " + output = "

    a

    \n\n

    \n\n

    b

    " relative_image(content, output) end end test "image with frame" do content = "a\n\n[[alpha.jpg|frame]]\n\nb" - output = "

    a

    \n\n

    \n\n

    b

    " + output = "

    a

    \n\n

    \n\n

    b

    " relative_image(content, output) end test "absolute image with frame" do content = "a\n\n[[http://example.com/bilbo.jpg|frame]]\n\nb" - output = "

    a

    \n\n

    \n\n

    b

    " + output = "

    a

    \n\n

    \n\n

    b

    " relative_image(content, output) end test "image with frame and alt" do content = "a\n\n[[alpha.jpg|frame|alt=Alpha]]\n\nb" - output = "

    a

    \n\n

    \"Alpha\"Alpha

    \n\n

    b

    " + output = "

    a

    \n\n

    \"Alpha\"Alpha

    \n\n

    b

    " relative_image(content, output) end @@ -296,9 +376,9 @@ context "Markup" do test "code blocks" do content = "a\n\n```ruby\nx = 1\n```\n\nb" - output = "

    a

    \n\n
    " +
    +    output = "

    a

    \n\n
    \n
    " +
                  "x = " +
    -             "1\n
    \n
    \n\n

    b

    " + "1\n
    \n
    \n\n\n

    b

    " index = @wiki.repo.index index.add("Bilbo-Baggins.md", content) @@ -311,9 +391,9 @@ context "Markup" do test "code blocks with carriage returns" do content = "a\r\n\r\n```ruby\r\nx = 1\r\n```\r\n\r\nb" - output = "

    a

    \n\n
    " +
    +    output = "

    a

    \n\n
    \n
    " +
                  "x = " +
    -             "1\n
    \n
    \n\n

    b

    " + "1\n
    \n
    \n\n\n

    b

    " index = @wiki.repo.index index.add("Bilbo-Baggins.md", content) @@ -329,7 +409,7 @@ context "Markup" do output = "

    a

    \n\n
    " +
                  "x = 1" +
                  "\n\ny =" +
    -             " 2\n
    \n
    \n\n

    b

    " + " 2\n\n
    \n\n\n

    b

    " compare(content, output) end @@ -338,10 +418,57 @@ context "Markup" do output = "

    a

    \n\n
    " +
                  "x = 1" +
                  "\n\ny =" +
    -             " 2\n
    \n
    \n\n

    b

    " + " 2\n\n
    \n\n\n

    b

    " compare(content, output) end + test "code blocks with multibyte caracters indent" do + content = "a\n\n```ruby\ns = 'やくしまるえつこ'\n```\n\nb" + output = "

    a

    \n\n
    \n
    " +
    +             "s = 'やくしまるえつこ'" +
    +             "\n
    \n
    \n\n\n

    b

    " + index = @wiki.repo.index + index.add("Bilbo-Baggins.md", content) + index.commit("Add alpha.jpg") + + page = @wiki.page("Bilbo Baggins") + rendered = Gollum::Markup.new(page).render(false, 'utf-8') + assert_equal output, rendered + end + + test "code blocks with ascii characters" do + content = "a\n\n```\n├─foo\n```\n\nb" + output = "

    a

    \n\n
    " +
    +             "├─foo" +
    +             "\n
    \n
    \n\n

    b

    " + compare(content, output) + end + + test "code with wiki links" do + content = <<-END +booya + +``` python +np.array([[2,2],[1,3]],np.float) +``` + END + + # rendered with Gollum::Markup + page, rendered = render_page(content) + assert_markup_highlights_code Gollum::Markup, rendered + + if Gollum.const_defined?(:MarkupGFM) + rendered_gfm = Gollum::MarkupGFM.new(page).render + assert_markup_highlights_code Gollum::MarkupGFM, rendered_gfm + end + end + + def assert_markup_highlights_code(markup_class, rendered) + assert_match /div class="highlight"/, rendered, "#{markup_class} doesn't highlight code\n #{rendered}" + assert_match /span class="n"/, rendered, "#{markup_class} doesn't highlight code\n #{rendered}" + assert_match /\(\[\[/, rendered, "#{markup_class} parses out wiki links\n#{rendered}" + end + ######################################################################### # # Web Sequence Diagrams @@ -367,6 +494,24 @@ context "Markup" do # ######################################################################### + test "strips javscript protocol urls" do + content = "[Hack me](javascript:hacked=true)" + output = "

    Hackme

    " + compare(content, output) + end + + test "removes style blocks completely" do + content = "foobar" + output = "

    foobar

    " + compare(content, output) + end + + test "removes script blocks completely" do + content = "foobar" + output = "

    foobar

    " + compare(content, output) + end + test "escaped wiki link" do content = "a '[[Foo]], b" output = "

    a [[Foo]], b

    " @@ -388,6 +533,48 @@ context "Markup" do compare(content, output, 'org') end + test "org mode style double file links" do + content = "a [[file:f.org][Google]] b" + output = "

    a Google b

    " + compare(content, output, 'org') + end + + test "short double links" do + content = "a [[b]] c" + output = %(

    a b c

    ) + compare(content, output, 'org') + end + + test "double linked pipe" do + content = "a [[|]] b" + output = %(

    a b

    ) + compare(content, output, 'org') + end + + # test "id with prefix ok" do + # content = "h2(example#wiki-foo). xxxx" + # output = %(

    xxxx

    ) + # compare(content, output, :textile) + # end + + # test "id prefix added" do + # content = "h2(#foo). xxxx[1]\n\nfn1.footnote" + # output = "

    xxxx" + + # "1

    " + + # "\n

    1 footnote

    " + # compare(content, output, :textile) + # end + + # test "name prefix added" do + # content = "abc\n\n__TOC__\n\n==Header==\n\nblah" + # compare content, '', :mediawiki, [ + # /id="wiki-toc"/, + # /href="#wiki-Header"/, + # /id="wiki-Header"/, + # /name="wiki-Header"/ + # ] + # end + ######################################################################### # # TeX @@ -396,13 +583,13 @@ context "Markup" do test "TeX block syntax" do content = 'a \[ a^2 \] b' - output = "

    a b

    " + output = "

    ab

    " compare(content, output, 'md') end test "TeX inline syntax" do content = 'a \( a^2 \) b' - output = "

    a b

    " + output = "

    ab

    " compare(content, output, 'md') end @@ -412,16 +599,22 @@ context "Markup" do # ######################################################################### - def compare(content, output, ext = "md", regexes = []) + def render_page(content, ext = "md") index = @wiki.repo.index index.add("Bilbo-Baggins.#{ext}", content) index.commit("Add baggins") page = @wiki.page("Bilbo Baggins") - rendered = Gollum::Markup.new(page).render + [page, Gollum::Markup.new(page).render] + end + + def compare(content, output, ext = "md", regexes = []) + page, rendered = render_page(content, ext) + if regexes.empty? - assert_equal output, rendered + assert_equal normal(output), normal(rendered) else + output = page.formatted_data regexes.each { |r| assert_match r, output } end end @@ -435,6 +628,6 @@ context "Markup" do @wiki.clear_cache page = @wiki.page("Bilbo Baggins") rendered = Gollum::Markup.new(page).render - assert_equal output, rendered + assert_equal normal(output), normal(rendered) end end diff --git a/test/test_page.rb b/test/test_page.rb index 1316c713..083a4338 100644 --- a/test/test_page.rb +++ b/test/test_page.rb @@ -1,5 +1,5 @@ # ~*~ encoding: utf-8 ~*~ -require File.join(File.dirname(__FILE__), *%w[helper]) +require File.expand_path(File.join(File.dirname(__FILE__), "helper")) context "Page" do setup do @@ -25,7 +25,27 @@ context "Page" do test "get existing page case insensitive" do assert_equal @wiki.page('Bilbo Baggins').path, @wiki.page('bilbo baggins').path end + + test "get existing page with hyphen" do + assert_equal @wiki.page('Bilbo Baggins').path, @wiki.page('Bilbo-Baggins').path + end + test "get existing page with underscore" do + assert_nil @wiki.page('Bilbo_Baggins') + end + + test "get existing page where filename contains whitespace, with hypen" do + assert_equal @wiki.page('Samwise Gamgee').path, @wiki.page('Samwise-Gamgee').path + end + + test "get existing page where filename contains whitespace, with underscore" do + assert_equal @wiki.page('Samwise Gamgee').path, @wiki.page('Samwise_Gamgee').path + end + + test "get existing page where filename contains whitespace, with whitespace" do + assert_equal @wiki.page('Samwise Gamgee').path, @wiki.page('Samwise Gamgee').path + end + test "get nested page" do page = @wiki.page('Eye Of Sauron') assert_equal 'Mordor/Eye-Of-Sauron.md', page.path @@ -109,10 +129,38 @@ context "Page" do test "footer itself" do footer = @wiki.page("_Footer") assert_nil footer.footer + assert_nil footer.sidebar + end + + test "top level sidebar" do + sidebar = @wiki.page('Home').sidebar + assert_equal 'Lord of the Rings wiki', sidebar.raw_data + assert_equal '_Sidebar.md', sidebar.path + end + + test "nested sidebar" do + sidebar = @wiki.page('Eye Of Sauron').sidebar + assert_equal "Ones does not simply **walk** into Mordor!\n", sidebar.raw_data + assert_equal "Mordor/_Sidebar.md", sidebar.path + end + + test "sidebar itself" do + sidebar = @wiki.page("_Sidebar") + assert_nil sidebar.footer + assert_nil sidebar.sidebar end test "cannot convert non string to human readable page title" do assert_equal '', Gollum::Page.cname(nil) assert_equal '', Gollum::Page.cname(3) end -end + + test "normalize_dir" do + assert_equal "", Gollum::BlobEntry.normalize_dir("") + assert_equal "", Gollum::BlobEntry.normalize_dir(".") + assert_equal "", Gollum::BlobEntry.normalize_dir("/") + assert_equal "", Gollum::BlobEntry.normalize_dir("c:/") + assert_equal "/foo", Gollum::BlobEntry.normalize_dir("foo") + assert_equal "/foo", Gollum::BlobEntry.normalize_dir("/foo") + end +end \ No newline at end of file diff --git a/test/test_page_revert.rb b/test/test_page_revert.rb new file mode 100644 index 00000000..6dcb4bde --- /dev/null +++ b/test/test_page_revert.rb @@ -0,0 +1,45 @@ +# ~*~ encoding: utf-8 ~*~ +require File.expand_path(File.join(File.dirname(__FILE__), "helper")) + +context "Page Reverting" do + setup do + @path = cloned_testpath("examples/revert.git") + @wiki = Gollum::Wiki.new(@path) + end + + teardown do + FileUtils.rm_rf(@path) + end + + test "reverts single commit" do + page1 = @wiki.page("B") + sha = @wiki.revert_commit('7c45b5f16ff3bae2a0063191ef832701214d4df5') + page2 = @wiki.page("B") + assert_equal sha, page2.version.sha + assert_equal "INITIAL", body=page2.raw_data.strip + assert_equal body, File.read(File.join(@path, "B.md")).strip + end + + test "reverts single commit for a page" do + page1 = @wiki.page('B') + sha = @wiki.revert_page(page1, '7c45b5f16ff3bae2a0063191ef832701214d4df5') + page2 = @wiki.page('B') + assert_equal sha, page2.version.sha + assert_equal "INITIAL", body=page2.raw_data.strip + assert_equal body, File.read(File.join(@path, "B.md")).strip + end + + test "reverts multiple commits for a page" do + page1 = @wiki.page('A') + sha = @wiki.revert_page(page1, '302a5491a9a5ba12c7652ac831a44961afa312d2^', 'b26b791cb7917c4f37dd9cb4d1e0efb24ac4d26f') + page2 = @wiki.page('A') + assert_equal sha, page2.version.sha + assert_equal "INITIAL", body=page2.raw_data.strip + assert_equal body, File.read(File.join(@path, "A.md")).strip + end + + test "cannot revert conflicting commit" do + page1 = @wiki.page('A') + assert_equal false, @wiki.revert_page(page1, '302a5491a9a5ba12c7652ac831a44961afa312d2') + end +end diff --git a/test/test_wiki.rb b/test/test_wiki.rb index 5e769f43..651980c8 100644 --- a/test/test_wiki.rb +++ b/test/test_wiki.rb @@ -1,8 +1,27 @@ -require File.join(File.dirname(__FILE__), *%w[helper]) +# ~*~ encoding: utf-8 ~*~ +require File.expand_path(File.join(File.dirname(__FILE__), "helper")) context "Wiki" do setup do @wiki = Gollum::Wiki.new(testpath("examples/lotr.git")) + Gollum::Wiki.markup_classes = nil + end + + test "#markup_class gets default markup" do + assert_equal Gollum::Markup, Gollum::Wiki.markup_class + end + + test "#default_markup_class= doesn't clobber alternate markups" do + custom = Class.new(Gollum::Markup) + custom_md = Class.new(Gollum::Markup) + + Gollum::Wiki.markup_classes = Hash.new Gollum::Markup + Gollum::Wiki.markup_classes[:markdown] = custom_md + Gollum::Wiki.default_markup_class = custom + + assert_equal custom, Gollum::Wiki.default_markup_class + assert_equal custom, Gollum::Wiki.markup_classes[:orgmode] + assert_equal custom_md, Gollum::Wiki.markup_classes[:markdown] end test "repo path" do @@ -32,56 +51,41 @@ context "Wiki" do assert_equal commits, @wiki.log(:page => 2).map { |c| c.id } end - test "list pages, sorted by title" do + test "list pages" do pages = @wiki.pages assert_equal \ - %w(bilbo.md Bilbo-Baggins.md Eye-Of-Sauron.md My-Precious.md Home.textile), - pages.map { |p| p.filename } + ['Bilbo-Baggins.md', 'Eye-Of-Sauron.md', 'Home.textile', 'My-Precious.md', 'Samwise Gamgee.mediawiki'], + pages.map { |p| p.filename }.sort end test "counts pages" do assert_equal 5, @wiki.size end - test "normalizes commit hash" do - commit = {:message => 'abc'} - name = @wiki.repo.config['user.name'] - email = @wiki.repo.config['user.email'] - assert_equal({:message => 'abc', :name => name, :email => email}, - @wiki.normalize_commit(commit.dup)) - - commit[:name] = 'bob' - commit[:email] = '' - assert_equal({:message => 'abc', :name => 'bob', :email => email}, - @wiki.normalize_commit(commit.dup)) - - commit[:email] = 'foo@bar.com' - assert_equal({:message => 'abc', :name => 'bob', :email => 'foo@bar.com'}, - @wiki.normalize_commit(commit.dup)) + test "text_data" do + wiki = Gollum::Wiki.new(testpath("examples/yubiwa.git")) + if String.instance_methods.include?(:encoding) + utf8 = wiki.page("strider").text_data + assert_equal Encoding::UTF_8, utf8.encoding + sjis = wiki.page("sjis").text_data(Encoding::SHIFT_JIS) + assert_equal Encoding::SHIFT_JIS, sjis.encoding + else + page = wiki.page("strider") + assert_equal page.raw_data, page.text_data + end end - test "#tree_map_for caches ref and tree" do - assert @wiki.ref_map.empty? - assert @wiki.tree_map.empty? - @wiki.tree_map_for 'master' - assert_equal({"master"=>"308fdf72d89351bf53fa6eeb00884273047e07fa"}, @wiki.ref_map) - - map = @wiki.tree_map['308fdf72d89351bf53fa6eeb00884273047e07fa'] - assert_equal 'Bilbo-Baggins.md', map[0].path - assert_equal '', map[0].dir - assert_equal map[0].path, map[0].name - assert_equal 'Mordor/Eye-Of-Sauron.md', map[3].path - assert_equal '/Mordor', map[3].dir - assert_equal 'Eye-Of-Sauron.md', map[3].name + test "gets reverse diff" do + diff = @wiki.full_reverse_diff('a8ad3c09dd842a3517085bfadd37718856dee813') + assert_match "b/Mordor/_Sidebar.md", diff + assert_match "b/_Sidebar.md", diff end - test "#tree_map_for only caches tree for commit" do - assert @wiki.tree_map.empty? - @wiki.tree_map_for '308fdf72d89351bf53fa6eeb00884273047e07fa' - assert @wiki.ref_map.empty? - - entry = @wiki.tree_map['308fdf72d89351bf53fa6eeb00884273047e07fa'][0] - assert_equal 'Bilbo-Baggins.md', entry.path + test "gets reverse diff for a page" do + diff = @wiki.full_reverse_diff_for('_Sidebar.md', 'a8ad3c09dd842a3517085bfadd37718856dee813') + regex = /b\/Mordor\/\_Sidebar\.md/ + assert_match "b/_Sidebar.md", diff + assert_no_match regex, diff end end @@ -228,6 +232,64 @@ context "Wiki page writing" do end end +context "Wiki page writing with whitespace (filename contains whitespace)" do + setup do + @path = cloned_testpath("examples/lotr.git") + @wiki = Gollum::Wiki.new(@path) + end + + test "update_page" do + assert_equal :mediawiki, @wiki.page("Samwise Gamgee").format + assert_equal "Samwise Gamgee.mediawiki", @wiki.page("Samwise Gamgee").filename + + page = @wiki.page("Samwise Gamgee") + @wiki.update_page(page, page.name, :textile, "h1. Samwise Gamgee2", commit_details) + + assert_equal :textile, @wiki.page("Samwise Gamgee").format + assert_equal "h1. Samwise Gamgee2", @wiki.page("Samwise Gamgee").raw_data + assert_equal "Samwise Gamgee.textile", @wiki.page("Samwise Gamgee").filename + end + + test "update page with format change, verify non-canonicalization of filename, where filename contains Whitespace" do + assert_equal :mediawiki, @wiki.page("Samwise Gamgee").format + assert_equal "Samwise Gamgee.mediawiki", @wiki.page("Samwise Gamgee").filename + + page = @wiki.page("Samwise Gamgee") + @wiki.update_page(page, page.name, :textile, "h1. Samwise Gamgee", commit_details) + + assert_equal :textile, @wiki.page("Samwise Gamgee").format + assert_equal "h1. Samwise Gamgee", @wiki.page("Samwise Gamgee").raw_data + assert_equal "Samwise Gamgee.textile", @wiki.page("Samwise Gamgee").filename + end + + test "update page with name change, verify canonicalization of filename, where filename contains Whitespace" do + assert_equal :mediawiki, @wiki.page("Samwise Gamgee").format + assert_equal "Samwise Gamgee.mediawiki", @wiki.page("Samwise Gamgee").filename + + page = @wiki.page("Samwise Gamgee") + @wiki.update_page(page, 'Sam Gamgee', :textile, "h1. Samwise Gamgee", commit_details) + + assert_equal "h1. Samwise Gamgee", @wiki.page("Sam Gamgee").raw_data + assert_equal "Sam-Gamgee.textile", @wiki.page("Sam Gamgee").filename + end + + test "update page with name and format change, verify canonicalization of filename, where filename contains Whitespace" do + assert_equal :mediawiki, @wiki.page("Samwise Gamgee").format + assert_equal "Samwise Gamgee.mediawiki", @wiki.page("Samwise Gamgee").filename + + page = @wiki.page("Samwise Gamgee") + @wiki.update_page(page, 'Sam Gamgee', :textile, "h1. Samwise Gamgee", commit_details) + + assert_equal :textile, @wiki.page("Sam Gamgee").format + assert_equal "h1. Samwise Gamgee", @wiki.page("Sam Gamgee").raw_data + assert_equal "Sam-Gamgee.textile", @wiki.page("Sam Gamgee").filename + end + + teardown do + FileUtils.rm_rf(@path) + end +end + context "Wiki sync with working directory" do setup do @path = testpath('examples/wdtest') @@ -282,3 +344,119 @@ context "Wiki sync with working directory" do FileUtils.rm_r(@path) end end + +context "Wiki sync with working directory (filename contains whitespace)" do + setup do + @path = cloned_testpath("examples/lotr.git") + @wiki = Gollum::Wiki.new(@path) + end + test "update a page with same name and format" do + page = @wiki.page("Samwise Gamgee") + @wiki.update_page(page, page.name, page.format, "What we need is a few good taters.", commit_details) + assert_equal "What we need is a few good taters.", File.read(File.join(@path, "Samwise Gamgee.mediawiki")) + end + + test "update a page with different name and same format" do + page = @wiki.page("Samwise Gamgee") + @wiki.update_page(page, "Sam Gamgee", page.format, "What we need is a few good taters.", commit_details) + assert_equal "What we need is a few good taters.", File.read(File.join(@path, "Sam-Gamgee.mediawiki")) + assert !File.exist?(File.join(@path, "Samwise Gamgee")) + end + + test "update a page with same name and different format" do + page = @wiki.page("Samwise Gamgee") + @wiki.update_page(page, page.name, :textile, "What we need is a few good taters.", commit_details) + assert_equal "What we need is a few good taters.", File.read(File.join(@path, "Samwise Gamgee.textile")) + assert !File.exist?(File.join(@path, "Samwise Gamgee.mediawiki")) + end + + test "update a page with different name and different format" do + page = @wiki.page("Samwise Gamgee") + @wiki.update_page(page, "Sam Gamgee", :textile, "What we need is a few good taters.", commit_details) + assert_equal "What we need is a few good taters.", File.read(File.join(@path, "Sam-Gamgee.textile")) + assert !File.exist?(File.join(@path, "Samwise Gamgee.mediawiki")) + end + + test "delete a page" do + page = @wiki.page("Samwise Gamgee") + @wiki.delete_page(page, commit_details) + assert !File.exist?(File.join(@path, "Samwise Gamgee.mediawiki")) + end + + teardown do + FileUtils.rm_r(@path) + end +end + +context "page_file_dir option" do + setup do + @path = cloned_testpath('examples/page_file_dir') + @repo = Grit::Repo.init(@path) + @page_file_dir = 'docs' + @wiki = Gollum::Wiki.new(@path, :page_file_dir => @page_file_dir) + end + + test "write a page in sub directory" do + @wiki.write_page("New Page", :markdown, "Hi", commit_details) + assert_equal "Hi", File.read(File.join(@path, @page_file_dir, "New-Page.md")) + assert !File.exist?(File.join(@path, "New-Page.md")) + end + + test "edit a page in a sub directory" do + page = @wiki.page('foo') + @wiki.update_page(page, page.name, page.format, 'new contents', commit_details) + end + + test "a file in page file dir should be found" do + assert @wiki.page("foo") + end + + test "a file out of page file dir should not be found" do + assert !@wiki.page("bar") + end + + test "search results should be restricted in page filer dir" do + results = @wiki.search("foo") + assert_equal 1, results.size + assert_equal "foo", results[0][:name] + end + + teardown do + FileUtils.rm_r(@path) + end +end + +context "Wiki page writing with different branch" do + setup do + @path = testpath("examples/test.git") + FileUtils.rm_rf(@path) + @repo = Grit::Repo.init_bare(@path) + @wiki = Gollum::Wiki.new(@path) + + # We need an initial commit to create the master branch + # before we can create new branches + cd = commit_details + @wiki.write_page("Gollum", :markdown, "# Gollum", cd) + + # Create our test branch and check it out + @repo.update_ref("test", @repo.commits.first.id) + @branch = Gollum::Wiki.new(@path, :ref => "test") + end + + teardown do + FileUtils.rm_rf(@path) + end + + test "write_page" do + cd = commit_details + + @branch.write_page("Bilbo", :markdown, "# Bilbo", commit_details) + assert @branch.page("Bilbo") + assert @wiki.page("Gollum") + + assert_equal 1, @wiki.repo.commits.size + assert_equal 1, @branch.repo.commits.size + + assert_equal nil, @wiki.page("Bilbo") + end +end