katex 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/lib/katex.rb +30 -11
- data/lib/katex/engine.rb +14 -13
- data/lib/katex/version.rb +2 -2
- data/vendor/{assets → katex}/fonts/KaTeX_AMS-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_AMS-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_AMS-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Bold.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Bold.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Bold.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Bold.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Bold.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Bold.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Italic.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Italic.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Italic.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Italic.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Main-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-BoldItalic.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-Italic.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-Italic.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-Italic.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-Italic.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Math-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Bold.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Italic.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Script-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Script-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Script-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Script-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size1-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size1-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size1-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size2-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size2-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size2-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size3-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size3-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size3-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size4-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size4-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size4-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Typewriter-Regular.eot +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- data/vendor/{assets → katex}/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- data/vendor/{assets → katex}/javascripts/katex.js +0 -0
- data/vendor/{assets → katex}/sprockets/stylesheets/_katex.scss +32 -32
- data/vendor/{assets → katex}/sprockets/stylesheets/katex.css.erb +32 -32
- data/vendor/{assets → katex}/stylesheets/katex.css +0 -0
- metadata +87 -87
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ff797787b6a73871c824d12b1d204d08cc69cef
|
4
|
+
data.tar.gz: 45a30644e7ea58c0209698edf1e70ada75e70cb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09dd9a21252c2c639e06acfe7b4956bf46b1e644d54348e04d7d4e1c5e96c072882d99f334776684263ff8befa2cc9734aee9fe042f87a7c54422d02cf085b88'
|
7
|
+
data.tar.gz: 5f11432b93af8b09c01c34ce29cd9a4ddb7ed7f9a2f4c7a91297968201545fd0ef84269c4ab2c18a661e538e70d5275dcee3a1c088287b5374ddf800414983ff
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ It uses [ExecJS] under the hood.
|
|
8
8
|
Add this line to your application's Gemfile:
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
gem 'katex', '~> 0.1.
|
11
|
+
gem 'katex', '~> 0.1.1'
|
12
12
|
```
|
13
13
|
|
14
14
|
And then execute:
|
@@ -30,6 +30,18 @@ Katex.render 'c = \\pm\\sqrt{a^2 + b^2}'
|
|
30
30
|
|
31
31
|
If you're on Rails, the result is marked as `html_safe`.
|
32
32
|
|
33
|
+
Any error in the markup is raised by default. To avoid this and render error
|
34
|
+
text instead, pass `throw_on_error: false`:
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
Katex.render '\\', throw_on_error: false
|
38
|
+
```
|
39
|
+
|
40
|
+
Note that this will catch even `ParseError`s (unlike native KaTeX).
|
41
|
+
|
42
|
+
Learn more about all the available options in the
|
43
|
+
[documentation](http://www.rubydoc.info/gems/katex/Katex#render-class_method).
|
44
|
+
|
33
45
|
### Assets
|
34
46
|
|
35
47
|
For this rendered math to look nice, you will also need to include KaTeX CSS
|
data/lib/katex.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
require 'katex/version'
|
3
3
|
require 'katex/engine' if defined?(Rails)
|
4
4
|
require 'execjs'
|
5
|
+
require 'erb'
|
5
6
|
|
6
7
|
# Provides a Ruby wrapper for KaTeX server-side rendering.
|
7
8
|
module Katex
|
@@ -14,22 +15,40 @@ module Katex
|
|
14
15
|
# @param math [String] The math (Latex) expression
|
15
16
|
# @param display_mode [Boolean] Whether to render in display mode.
|
16
17
|
# @param throw_on_error [Boolean] Whether to raise on error. If false,
|
17
|
-
# renders the error message instead
|
18
|
+
# renders the error message instead (even in case of ParseError, unlike
|
19
|
+
# the native katex).
|
20
|
+
# @param error_color [String] Error text CSS color.
|
18
21
|
# @param render_options [Hash] Additional options for katex.renderToString.
|
19
22
|
# See https://github.com/Khan/KaTeX#rendering-options.
|
20
23
|
# @return [String] HTML. If strings respond to html_safe, the result will be
|
21
24
|
# HTML-safe.
|
22
25
|
# @note This method is thread-safe as long as your ExecJS runtime is
|
23
26
|
# thread-safe. MiniRacer is the recommended runtime.
|
24
|
-
def render(math, display_mode: false, throw_on_error:
|
25
|
-
**render_options)
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
def render(math, display_mode: false, throw_on_error: true,
|
28
|
+
error_color: '#cc0000', macros: {}, **render_options)
|
29
|
+
begin
|
30
|
+
result = katex_context.call(
|
31
|
+
'katex.renderToString',
|
32
|
+
math,
|
33
|
+
displayMode: display_mode,
|
34
|
+
throwOnError: throw_on_error,
|
35
|
+
errorColor: error_color,
|
36
|
+
macros: macros,
|
37
|
+
**render_options
|
38
|
+
)
|
39
|
+
rescue ExecJS::ProgramError => e
|
40
|
+
raise e if throw_on_error
|
41
|
+
result = <<~HTML
|
42
|
+
<span class='katex'>
|
43
|
+
<span class='katex-html'>
|
44
|
+
<span style='color: #{error_color}'>
|
45
|
+
#{ERB::Util.h e.message.sub(/^ParseError: /, '')}
|
46
|
+
</span>
|
47
|
+
</span>
|
48
|
+
</span>
|
49
|
+
HTML
|
50
|
+
end
|
51
|
+
|
33
52
|
result = result.html_safe if result.respond_to?(:html_safe)
|
34
53
|
result
|
35
54
|
end
|
@@ -41,7 +60,7 @@ module Katex
|
|
41
60
|
end
|
42
61
|
|
43
62
|
def katex_js_path
|
44
|
-
File.expand_path File.join('vendor', '
|
63
|
+
File.expand_path File.join('vendor', 'katex', 'javascripts', 'katex.js'),
|
45
64
|
gem_path
|
46
65
|
end
|
47
66
|
|
data/lib/katex/engine.rb
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
module Katex
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
# referencing fonts.
|
12
|
-
# One file is a Sass partial and the other one is .css.erb.
|
13
|
-
app.config.assets.paths << root.join(
|
14
|
-
'vendor', 'assets', 'sprockets', 'stylesheets'
|
15
|
-
).to_s
|
3
|
+
# Registers KaTeX fonts, stylesheets, and javascripts with Rails.
|
4
|
+
class Engine < ::Rails::Engine
|
5
|
+
initializer 'katex.assets' do |app|
|
6
|
+
# We deliberately do not place the assets in vendor/assets but in
|
7
|
+
# vendor/katex instead, as vendor/assets is added to asset paths
|
8
|
+
# by default but have to avoid including the non-sprockets stylesheet.
|
9
|
+
%w(fonts javascripts).each do |sub|
|
10
|
+
app.config.assets.paths << root.join('vendor', 'katex', sub).to_s
|
16
11
|
end
|
12
|
+
# Use sprockets versions of katex CSS that use asset-path for
|
13
|
+
# referencing fonts.
|
14
|
+
# One file is a Sass partial and the other one is .css.erb.
|
15
|
+
app.config.assets.paths << root.join(
|
16
|
+
'vendor', 'katex', 'sprockets', 'stylesheets'
|
17
|
+
).to_s
|
17
18
|
end
|
18
19
|
end
|
19
20
|
end
|
data/lib/katex/version.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,112 +1,112 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: 'KaTeX_AMS';
|
3
|
-
src: asset-path('KaTeX_AMS-Regular.eot');
|
4
|
-
src: asset-path('KaTeX_AMS-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_AMS-Regular.woff2') format('woff2'), asset-path('KaTeX_AMS-Regular.woff') format('woff'), asset-path('KaTeX_AMS-Regular.ttf') format('truetype');
|
3
|
+
src: url(asset-path('KaTeX_AMS-Regular.eot'));
|
4
|
+
src: url(asset-path('KaTeX_AMS-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_AMS-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_AMS-Regular.woff')) format('woff'), url(asset-path('KaTeX_AMS-Regular.ttf')) format('truetype');
|
5
5
|
font-weight: normal;
|
6
6
|
font-style: normal;
|
7
7
|
}
|
8
8
|
@font-face {
|
9
9
|
font-family: 'KaTeX_Caligraphic';
|
10
|
-
src: asset-path('KaTeX_Caligraphic-Bold.eot');
|
11
|
-
src: asset-path('KaTeX_Caligraphic-Bold.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Caligraphic-Bold.woff2') format('woff2'), asset-path('KaTeX_Caligraphic-Bold.woff') format('woff'), asset-path('KaTeX_Caligraphic-Bold.ttf') format('truetype');
|
10
|
+
src: url(asset-path('KaTeX_Caligraphic-Bold.eot'));
|
11
|
+
src: url(asset-path('KaTeX_Caligraphic-Bold.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Caligraphic-Bold.woff2')) format('woff2'), url(asset-path('KaTeX_Caligraphic-Bold.woff')) format('woff'), url(asset-path('KaTeX_Caligraphic-Bold.ttf')) format('truetype');
|
12
12
|
font-weight: bold;
|
13
13
|
font-style: normal;
|
14
14
|
}
|
15
15
|
@font-face {
|
16
16
|
font-family: 'KaTeX_Caligraphic';
|
17
|
-
src: asset-path('KaTeX_Caligraphic-Regular.eot');
|
18
|
-
src: asset-path('KaTeX_Caligraphic-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Caligraphic-Regular.woff2') format('woff2'), asset-path('KaTeX_Caligraphic-Regular.woff') format('woff'), asset-path('KaTeX_Caligraphic-Regular.ttf') format('truetype');
|
17
|
+
src: url(asset-path('KaTeX_Caligraphic-Regular.eot'));
|
18
|
+
src: url(asset-path('KaTeX_Caligraphic-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Caligraphic-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_Caligraphic-Regular.woff')) format('woff'), url(asset-path('KaTeX_Caligraphic-Regular.ttf')) format('truetype');
|
19
19
|
font-weight: normal;
|
20
20
|
font-style: normal;
|
21
21
|
}
|
22
22
|
@font-face {
|
23
23
|
font-family: 'KaTeX_Fraktur';
|
24
|
-
src: asset-path('KaTeX_Fraktur-Bold.eot');
|
25
|
-
src: asset-path('KaTeX_Fraktur-Bold.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Fraktur-Bold.woff2') format('woff2'), asset-path('KaTeX_Fraktur-Bold.woff') format('woff'), asset-path('KaTeX_Fraktur-Bold.ttf') format('truetype');
|
24
|
+
src: url(asset-path('KaTeX_Fraktur-Bold.eot'));
|
25
|
+
src: url(asset-path('KaTeX_Fraktur-Bold.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Fraktur-Bold.woff2')) format('woff2'), url(asset-path('KaTeX_Fraktur-Bold.woff')) format('woff'), url(asset-path('KaTeX_Fraktur-Bold.ttf')) format('truetype');
|
26
26
|
font-weight: bold;
|
27
27
|
font-style: normal;
|
28
28
|
}
|
29
29
|
@font-face {
|
30
30
|
font-family: 'KaTeX_Fraktur';
|
31
|
-
src: asset-path('KaTeX_Fraktur-Regular.eot');
|
32
|
-
src: asset-path('KaTeX_Fraktur-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Fraktur-Regular.woff2') format('woff2'), asset-path('KaTeX_Fraktur-Regular.woff') format('woff'), asset-path('KaTeX_Fraktur-Regular.ttf') format('truetype');
|
31
|
+
src: url(asset-path('KaTeX_Fraktur-Regular.eot'));
|
32
|
+
src: url(asset-path('KaTeX_Fraktur-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Fraktur-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_Fraktur-Regular.woff')) format('woff'), url(asset-path('KaTeX_Fraktur-Regular.ttf')) format('truetype');
|
33
33
|
font-weight: normal;
|
34
34
|
font-style: normal;
|
35
35
|
}
|
36
36
|
@font-face {
|
37
37
|
font-family: 'KaTeX_Main';
|
38
|
-
src: asset-path('KaTeX_Main-Bold.eot');
|
39
|
-
src: asset-path('KaTeX_Main-Bold.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Main-Bold.woff2') format('woff2'), asset-path('KaTeX_Main-Bold.woff') format('woff'), asset-path('KaTeX_Main-Bold.ttf') format('truetype');
|
38
|
+
src: url(asset-path('KaTeX_Main-Bold.eot'));
|
39
|
+
src: url(asset-path('KaTeX_Main-Bold.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Main-Bold.woff2')) format('woff2'), url(asset-path('KaTeX_Main-Bold.woff')) format('woff'), url(asset-path('KaTeX_Main-Bold.ttf')) format('truetype');
|
40
40
|
font-weight: bold;
|
41
41
|
font-style: normal;
|
42
42
|
}
|
43
43
|
@font-face {
|
44
44
|
font-family: 'KaTeX_Main';
|
45
|
-
src: asset-path('KaTeX_Main-Italic.eot');
|
46
|
-
src: asset-path('KaTeX_Main-Italic.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Main-Italic.woff2') format('woff2'), asset-path('KaTeX_Main-Italic.woff') format('woff'), asset-path('KaTeX_Main-Italic.ttf') format('truetype');
|
45
|
+
src: url(asset-path('KaTeX_Main-Italic.eot'));
|
46
|
+
src: url(asset-path('KaTeX_Main-Italic.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Main-Italic.woff2')) format('woff2'), url(asset-path('KaTeX_Main-Italic.woff')) format('woff'), url(asset-path('KaTeX_Main-Italic.ttf')) format('truetype');
|
47
47
|
font-weight: normal;
|
48
48
|
font-style: italic;
|
49
49
|
}
|
50
50
|
@font-face {
|
51
51
|
font-family: 'KaTeX_Main';
|
52
|
-
src: asset-path('KaTeX_Main-Regular.eot');
|
53
|
-
src: asset-path('KaTeX_Main-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Main-Regular.woff2') format('woff2'), asset-path('KaTeX_Main-Regular.woff') format('woff'), asset-path('KaTeX_Main-Regular.ttf') format('truetype');
|
52
|
+
src: url(asset-path('KaTeX_Main-Regular.eot'));
|
53
|
+
src: url(asset-path('KaTeX_Main-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Main-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_Main-Regular.woff')) format('woff'), url(asset-path('KaTeX_Main-Regular.ttf')) format('truetype');
|
54
54
|
font-weight: normal;
|
55
55
|
font-style: normal;
|
56
56
|
}
|
57
57
|
@font-face {
|
58
58
|
font-family: 'KaTeX_Math';
|
59
|
-
src: asset-path('KaTeX_Math-Italic.eot');
|
60
|
-
src: asset-path('KaTeX_Math-Italic.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Math-Italic.woff2') format('woff2'), asset-path('KaTeX_Math-Italic.woff') format('woff'), asset-path('KaTeX_Math-Italic.ttf') format('truetype');
|
59
|
+
src: url(asset-path('KaTeX_Math-Italic.eot'));
|
60
|
+
src: url(asset-path('KaTeX_Math-Italic.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Math-Italic.woff2')) format('woff2'), url(asset-path('KaTeX_Math-Italic.woff')) format('woff'), url(asset-path('KaTeX_Math-Italic.ttf')) format('truetype');
|
61
61
|
font-weight: normal;
|
62
62
|
font-style: italic;
|
63
63
|
}
|
64
64
|
@font-face {
|
65
65
|
font-family: 'KaTeX_SansSerif';
|
66
|
-
src: asset-path('KaTeX_SansSerif-Regular.eot');
|
67
|
-
src: asset-path('KaTeX_SansSerif-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_SansSerif-Regular.woff2') format('woff2'), asset-path('KaTeX_SansSerif-Regular.woff') format('woff'), asset-path('KaTeX_SansSerif-Regular.ttf') format('truetype');
|
66
|
+
src: url(asset-path('KaTeX_SansSerif-Regular.eot'));
|
67
|
+
src: url(asset-path('KaTeX_SansSerif-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_SansSerif-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_SansSerif-Regular.woff')) format('woff'), url(asset-path('KaTeX_SansSerif-Regular.ttf')) format('truetype');
|
68
68
|
font-weight: normal;
|
69
69
|
font-style: normal;
|
70
70
|
}
|
71
71
|
@font-face {
|
72
72
|
font-family: 'KaTeX_Script';
|
73
|
-
src: asset-path('KaTeX_Script-Regular.eot');
|
74
|
-
src: asset-path('KaTeX_Script-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Script-Regular.woff2') format('woff2'), asset-path('KaTeX_Script-Regular.woff') format('woff'), asset-path('KaTeX_Script-Regular.ttf') format('truetype');
|
73
|
+
src: url(asset-path('KaTeX_Script-Regular.eot'));
|
74
|
+
src: url(asset-path('KaTeX_Script-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Script-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_Script-Regular.woff')) format('woff'), url(asset-path('KaTeX_Script-Regular.ttf')) format('truetype');
|
75
75
|
font-weight: normal;
|
76
76
|
font-style: normal;
|
77
77
|
}
|
78
78
|
@font-face {
|
79
79
|
font-family: 'KaTeX_Size1';
|
80
|
-
src: asset-path('KaTeX_Size1-Regular.eot');
|
81
|
-
src: asset-path('KaTeX_Size1-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Size1-Regular.woff2') format('woff2'), asset-path('KaTeX_Size1-Regular.woff') format('woff'), asset-path('KaTeX_Size1-Regular.ttf') format('truetype');
|
80
|
+
src: url(asset-path('KaTeX_Size1-Regular.eot'));
|
81
|
+
src: url(asset-path('KaTeX_Size1-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Size1-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_Size1-Regular.woff')) format('woff'), url(asset-path('KaTeX_Size1-Regular.ttf')) format('truetype');
|
82
82
|
font-weight: normal;
|
83
83
|
font-style: normal;
|
84
84
|
}
|
85
85
|
@font-face {
|
86
86
|
font-family: 'KaTeX_Size2';
|
87
|
-
src: asset-path('KaTeX_Size2-Regular.eot');
|
88
|
-
src: asset-path('KaTeX_Size2-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Size2-Regular.woff2') format('woff2'), asset-path('KaTeX_Size2-Regular.woff') format('woff'), asset-path('KaTeX_Size2-Regular.ttf') format('truetype');
|
87
|
+
src: url(asset-path('KaTeX_Size2-Regular.eot'));
|
88
|
+
src: url(asset-path('KaTeX_Size2-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Size2-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_Size2-Regular.woff')) format('woff'), url(asset-path('KaTeX_Size2-Regular.ttf')) format('truetype');
|
89
89
|
font-weight: normal;
|
90
90
|
font-style: normal;
|
91
91
|
}
|
92
92
|
@font-face {
|
93
93
|
font-family: 'KaTeX_Size3';
|
94
|
-
src: asset-path('KaTeX_Size3-Regular.eot');
|
95
|
-
src: asset-path('KaTeX_Size3-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Size3-Regular.woff2') format('woff2'), asset-path('KaTeX_Size3-Regular.woff') format('woff'), asset-path('KaTeX_Size3-Regular.ttf') format('truetype');
|
94
|
+
src: url(asset-path('KaTeX_Size3-Regular.eot'));
|
95
|
+
src: url(asset-path('KaTeX_Size3-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Size3-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_Size3-Regular.woff')) format('woff'), url(asset-path('KaTeX_Size3-Regular.ttf')) format('truetype');
|
96
96
|
font-weight: normal;
|
97
97
|
font-style: normal;
|
98
98
|
}
|
99
99
|
@font-face {
|
100
100
|
font-family: 'KaTeX_Size4';
|
101
|
-
src: asset-path('KaTeX_Size4-Regular.eot');
|
102
|
-
src: asset-path('KaTeX_Size4-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Size4-Regular.woff2') format('woff2'), asset-path('KaTeX_Size4-Regular.woff') format('woff'), asset-path('KaTeX_Size4-Regular.ttf') format('truetype');
|
101
|
+
src: url(asset-path('KaTeX_Size4-Regular.eot'));
|
102
|
+
src: url(asset-path('KaTeX_Size4-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Size4-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_Size4-Regular.woff')) format('woff'), url(asset-path('KaTeX_Size4-Regular.ttf')) format('truetype');
|
103
103
|
font-weight: normal;
|
104
104
|
font-style: normal;
|
105
105
|
}
|
106
106
|
@font-face {
|
107
107
|
font-family: 'KaTeX_Typewriter';
|
108
|
-
src: asset-path('KaTeX_Typewriter-Regular.eot');
|
109
|
-
src: asset-path('KaTeX_Typewriter-Regular.eot#iefix') format('embedded-opentype'), asset-path('KaTeX_Typewriter-Regular.woff2') format('woff2'), asset-path('KaTeX_Typewriter-Regular.woff') format('woff'), asset-path('KaTeX_Typewriter-Regular.ttf') format('truetype');
|
108
|
+
src: url(asset-path('KaTeX_Typewriter-Regular.eot'));
|
109
|
+
src: url(asset-path('KaTeX_Typewriter-Regular.eot#iefix')) format('embedded-opentype'), url(asset-path('KaTeX_Typewriter-Regular.woff2')) format('woff2'), url(asset-path('KaTeX_Typewriter-Regular.woff')) format('woff'), url(asset-path('KaTeX_Typewriter-Regular.ttf')) format('truetype');
|
110
110
|
font-weight: normal;
|
111
111
|
font-style: normal;
|
112
112
|
}
|
@@ -1,112 +1,112 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: 'KaTeX_AMS';
|
3
|
-
src: <%= asset_path('KaTeX_AMS-Regular.eot')
|
4
|
-
src: <%= asset_path('KaTeX_AMS-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_AMS-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_AMS-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_AMS-Regular.ttf') %> format('truetype');
|
3
|
+
src: url(<%= asset_path('KaTeX_AMS-Regular.eot') %>);
|
4
|
+
src: url(<%= asset_path('KaTeX_AMS-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_AMS-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_AMS-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_AMS-Regular.ttf') %>) format('truetype');
|
5
5
|
font-weight: normal;
|
6
6
|
font-style: normal;
|
7
7
|
}
|
8
8
|
@font-face {
|
9
9
|
font-family: 'KaTeX_Caligraphic';
|
10
|
-
src: <%= asset_path('KaTeX_Caligraphic-Bold.eot')
|
11
|
-
src: <%= asset_path('KaTeX_Caligraphic-Bold.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Caligraphic-Bold.woff2') %> format('woff2'), <%= asset_path('KaTeX_Caligraphic-Bold.woff') %> format('woff'), <%= asset_path('KaTeX_Caligraphic-Bold.ttf') %> format('truetype');
|
10
|
+
src: url(<%= asset_path('KaTeX_Caligraphic-Bold.eot') %>);
|
11
|
+
src: url(<%= asset_path('KaTeX_Caligraphic-Bold.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Caligraphic-Bold.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Caligraphic-Bold.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Caligraphic-Bold.ttf') %>) format('truetype');
|
12
12
|
font-weight: bold;
|
13
13
|
font-style: normal;
|
14
14
|
}
|
15
15
|
@font-face {
|
16
16
|
font-family: 'KaTeX_Caligraphic';
|
17
|
-
src: <%= asset_path('KaTeX_Caligraphic-Regular.eot')
|
18
|
-
src: <%= asset_path('KaTeX_Caligraphic-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Caligraphic-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_Caligraphic-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_Caligraphic-Regular.ttf') %> format('truetype');
|
17
|
+
src: url(<%= asset_path('KaTeX_Caligraphic-Regular.eot') %>);
|
18
|
+
src: url(<%= asset_path('KaTeX_Caligraphic-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Caligraphic-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Caligraphic-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Caligraphic-Regular.ttf') %>) format('truetype');
|
19
19
|
font-weight: normal;
|
20
20
|
font-style: normal;
|
21
21
|
}
|
22
22
|
@font-face {
|
23
23
|
font-family: 'KaTeX_Fraktur';
|
24
|
-
src: <%= asset_path('KaTeX_Fraktur-Bold.eot')
|
25
|
-
src: <%= asset_path('KaTeX_Fraktur-Bold.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Fraktur-Bold.woff2') %> format('woff2'), <%= asset_path('KaTeX_Fraktur-Bold.woff') %> format('woff'), <%= asset_path('KaTeX_Fraktur-Bold.ttf') %> format('truetype');
|
24
|
+
src: url(<%= asset_path('KaTeX_Fraktur-Bold.eot') %>);
|
25
|
+
src: url(<%= asset_path('KaTeX_Fraktur-Bold.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Fraktur-Bold.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Fraktur-Bold.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Fraktur-Bold.ttf') %>) format('truetype');
|
26
26
|
font-weight: bold;
|
27
27
|
font-style: normal;
|
28
28
|
}
|
29
29
|
@font-face {
|
30
30
|
font-family: 'KaTeX_Fraktur';
|
31
|
-
src: <%= asset_path('KaTeX_Fraktur-Regular.eot')
|
32
|
-
src: <%= asset_path('KaTeX_Fraktur-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Fraktur-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_Fraktur-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_Fraktur-Regular.ttf') %> format('truetype');
|
31
|
+
src: url(<%= asset_path('KaTeX_Fraktur-Regular.eot') %>);
|
32
|
+
src: url(<%= asset_path('KaTeX_Fraktur-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Fraktur-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Fraktur-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Fraktur-Regular.ttf') %>) format('truetype');
|
33
33
|
font-weight: normal;
|
34
34
|
font-style: normal;
|
35
35
|
}
|
36
36
|
@font-face {
|
37
37
|
font-family: 'KaTeX_Main';
|
38
|
-
src: <%= asset_path('KaTeX_Main-Bold.eot')
|
39
|
-
src: <%= asset_path('KaTeX_Main-Bold.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Main-Bold.woff2') %> format('woff2'), <%= asset_path('KaTeX_Main-Bold.woff') %> format('woff'), <%= asset_path('KaTeX_Main-Bold.ttf') %> format('truetype');
|
38
|
+
src: url(<%= asset_path('KaTeX_Main-Bold.eot') %>);
|
39
|
+
src: url(<%= asset_path('KaTeX_Main-Bold.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Main-Bold.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Main-Bold.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Main-Bold.ttf') %>) format('truetype');
|
40
40
|
font-weight: bold;
|
41
41
|
font-style: normal;
|
42
42
|
}
|
43
43
|
@font-face {
|
44
44
|
font-family: 'KaTeX_Main';
|
45
|
-
src: <%= asset_path('KaTeX_Main-Italic.eot')
|
46
|
-
src: <%= asset_path('KaTeX_Main-Italic.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Main-Italic.woff2') %> format('woff2'), <%= asset_path('KaTeX_Main-Italic.woff') %> format('woff'), <%= asset_path('KaTeX_Main-Italic.ttf') %> format('truetype');
|
45
|
+
src: url(<%= asset_path('KaTeX_Main-Italic.eot') %>);
|
46
|
+
src: url(<%= asset_path('KaTeX_Main-Italic.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Main-Italic.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Main-Italic.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Main-Italic.ttf') %>) format('truetype');
|
47
47
|
font-weight: normal;
|
48
48
|
font-style: italic;
|
49
49
|
}
|
50
50
|
@font-face {
|
51
51
|
font-family: 'KaTeX_Main';
|
52
|
-
src: <%= asset_path('KaTeX_Main-Regular.eot')
|
53
|
-
src: <%= asset_path('KaTeX_Main-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Main-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_Main-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_Main-Regular.ttf') %> format('truetype');
|
52
|
+
src: url(<%= asset_path('KaTeX_Main-Regular.eot') %>);
|
53
|
+
src: url(<%= asset_path('KaTeX_Main-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Main-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Main-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Main-Regular.ttf') %>) format('truetype');
|
54
54
|
font-weight: normal;
|
55
55
|
font-style: normal;
|
56
56
|
}
|
57
57
|
@font-face {
|
58
58
|
font-family: 'KaTeX_Math';
|
59
|
-
src: <%= asset_path('KaTeX_Math-Italic.eot')
|
60
|
-
src: <%= asset_path('KaTeX_Math-Italic.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Math-Italic.woff2') %> format('woff2'), <%= asset_path('KaTeX_Math-Italic.woff') %> format('woff'), <%= asset_path('KaTeX_Math-Italic.ttf') %> format('truetype');
|
59
|
+
src: url(<%= asset_path('KaTeX_Math-Italic.eot') %>);
|
60
|
+
src: url(<%= asset_path('KaTeX_Math-Italic.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Math-Italic.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Math-Italic.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Math-Italic.ttf') %>) format('truetype');
|
61
61
|
font-weight: normal;
|
62
62
|
font-style: italic;
|
63
63
|
}
|
64
64
|
@font-face {
|
65
65
|
font-family: 'KaTeX_SansSerif';
|
66
|
-
src: <%= asset_path('KaTeX_SansSerif-Regular.eot')
|
67
|
-
src: <%= asset_path('KaTeX_SansSerif-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_SansSerif-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_SansSerif-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_SansSerif-Regular.ttf') %> format('truetype');
|
66
|
+
src: url(<%= asset_path('KaTeX_SansSerif-Regular.eot') %>);
|
67
|
+
src: url(<%= asset_path('KaTeX_SansSerif-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_SansSerif-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_SansSerif-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_SansSerif-Regular.ttf') %>) format('truetype');
|
68
68
|
font-weight: normal;
|
69
69
|
font-style: normal;
|
70
70
|
}
|
71
71
|
@font-face {
|
72
72
|
font-family: 'KaTeX_Script';
|
73
|
-
src: <%= asset_path('KaTeX_Script-Regular.eot')
|
74
|
-
src: <%= asset_path('KaTeX_Script-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Script-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_Script-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_Script-Regular.ttf') %> format('truetype');
|
73
|
+
src: url(<%= asset_path('KaTeX_Script-Regular.eot') %>);
|
74
|
+
src: url(<%= asset_path('KaTeX_Script-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Script-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Script-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Script-Regular.ttf') %>) format('truetype');
|
75
75
|
font-weight: normal;
|
76
76
|
font-style: normal;
|
77
77
|
}
|
78
78
|
@font-face {
|
79
79
|
font-family: 'KaTeX_Size1';
|
80
|
-
src: <%= asset_path('KaTeX_Size1-Regular.eot')
|
81
|
-
src: <%= asset_path('KaTeX_Size1-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Size1-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_Size1-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_Size1-Regular.ttf') %> format('truetype');
|
80
|
+
src: url(<%= asset_path('KaTeX_Size1-Regular.eot') %>);
|
81
|
+
src: url(<%= asset_path('KaTeX_Size1-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Size1-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Size1-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Size1-Regular.ttf') %>) format('truetype');
|
82
82
|
font-weight: normal;
|
83
83
|
font-style: normal;
|
84
84
|
}
|
85
85
|
@font-face {
|
86
86
|
font-family: 'KaTeX_Size2';
|
87
|
-
src: <%= asset_path('KaTeX_Size2-Regular.eot')
|
88
|
-
src: <%= asset_path('KaTeX_Size2-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Size2-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_Size2-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_Size2-Regular.ttf') %> format('truetype');
|
87
|
+
src: url(<%= asset_path('KaTeX_Size2-Regular.eot') %>);
|
88
|
+
src: url(<%= asset_path('KaTeX_Size2-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Size2-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Size2-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Size2-Regular.ttf') %>) format('truetype');
|
89
89
|
font-weight: normal;
|
90
90
|
font-style: normal;
|
91
91
|
}
|
92
92
|
@font-face {
|
93
93
|
font-family: 'KaTeX_Size3';
|
94
|
-
src: <%= asset_path('KaTeX_Size3-Regular.eot')
|
95
|
-
src: <%= asset_path('KaTeX_Size3-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Size3-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_Size3-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_Size3-Regular.ttf') %> format('truetype');
|
94
|
+
src: url(<%= asset_path('KaTeX_Size3-Regular.eot') %>);
|
95
|
+
src: url(<%= asset_path('KaTeX_Size3-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Size3-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Size3-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Size3-Regular.ttf') %>) format('truetype');
|
96
96
|
font-weight: normal;
|
97
97
|
font-style: normal;
|
98
98
|
}
|
99
99
|
@font-face {
|
100
100
|
font-family: 'KaTeX_Size4';
|
101
|
-
src: <%= asset_path('KaTeX_Size4-Regular.eot')
|
102
|
-
src: <%= asset_path('KaTeX_Size4-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Size4-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_Size4-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_Size4-Regular.ttf') %> format('truetype');
|
101
|
+
src: url(<%= asset_path('KaTeX_Size4-Regular.eot') %>);
|
102
|
+
src: url(<%= asset_path('KaTeX_Size4-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Size4-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Size4-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Size4-Regular.ttf') %>) format('truetype');
|
103
103
|
font-weight: normal;
|
104
104
|
font-style: normal;
|
105
105
|
}
|
106
106
|
@font-face {
|
107
107
|
font-family: 'KaTeX_Typewriter';
|
108
|
-
src: <%= asset_path('KaTeX_Typewriter-Regular.eot')
|
109
|
-
src: <%= asset_path('KaTeX_Typewriter-Regular.eot#iefix') %> format('embedded-opentype'), <%= asset_path('KaTeX_Typewriter-Regular.woff2') %> format('woff2'), <%= asset_path('KaTeX_Typewriter-Regular.woff') %> format('woff'), <%= asset_path('KaTeX_Typewriter-Regular.ttf') %> format('truetype');
|
108
|
+
src: url(<%= asset_path('KaTeX_Typewriter-Regular.eot') %>);
|
109
|
+
src: url(<%= asset_path('KaTeX_Typewriter-Regular.eot#iefix') %>) format('embedded-opentype'), url(<%= asset_path('KaTeX_Typewriter-Regular.woff2') %>) format('woff2'), url(<%= asset_path('KaTeX_Typewriter-Regular.woff') %>) format('woff'), url(<%= asset_path('KaTeX_Typewriter-Regular.ttf') %>) format('truetype');
|
110
110
|
font-weight: normal;
|
111
111
|
font-style: normal;
|
112
112
|
}
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Mazovetskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|
@@ -106,90 +106,90 @@ files:
|
|
106
106
|
- lib/katex.rb
|
107
107
|
- lib/katex/engine.rb
|
108
108
|
- lib/katex/version.rb
|
109
|
-
- vendor/
|
110
|
-
- vendor/
|
111
|
-
- vendor/
|
112
|
-
- vendor/
|
113
|
-
- vendor/
|
114
|
-
- vendor/
|
115
|
-
- vendor/
|
116
|
-
- vendor/
|
117
|
-
- vendor/
|
118
|
-
- vendor/
|
119
|
-
- vendor/
|
120
|
-
- vendor/
|
121
|
-
- vendor/
|
122
|
-
- vendor/
|
123
|
-
- vendor/
|
124
|
-
- vendor/
|
125
|
-
- vendor/
|
126
|
-
- vendor/
|
127
|
-
- vendor/
|
128
|
-
- vendor/
|
129
|
-
- vendor/
|
130
|
-
- vendor/
|
131
|
-
- vendor/
|
132
|
-
- vendor/
|
133
|
-
- vendor/
|
134
|
-
- vendor/
|
135
|
-
- vendor/
|
136
|
-
- vendor/
|
137
|
-
- vendor/
|
138
|
-
- vendor/
|
139
|
-
- vendor/
|
140
|
-
- vendor/
|
141
|
-
- vendor/
|
142
|
-
- vendor/
|
143
|
-
- vendor/
|
144
|
-
- vendor/
|
145
|
-
- vendor/
|
146
|
-
- vendor/
|
147
|
-
- vendor/
|
148
|
-
- vendor/
|
149
|
-
- vendor/
|
150
|
-
- vendor/
|
151
|
-
- vendor/
|
152
|
-
- vendor/
|
153
|
-
- vendor/
|
154
|
-
- vendor/
|
155
|
-
- vendor/
|
156
|
-
- vendor/
|
157
|
-
- vendor/
|
158
|
-
- vendor/
|
159
|
-
- vendor/
|
160
|
-
- vendor/
|
161
|
-
- vendor/
|
162
|
-
- vendor/
|
163
|
-
- vendor/
|
164
|
-
- vendor/
|
165
|
-
- vendor/
|
166
|
-
- vendor/
|
167
|
-
- vendor/
|
168
|
-
- vendor/
|
169
|
-
- vendor/
|
170
|
-
- vendor/
|
171
|
-
- vendor/
|
172
|
-
- vendor/
|
173
|
-
- vendor/
|
174
|
-
- vendor/
|
175
|
-
- vendor/
|
176
|
-
- vendor/
|
177
|
-
- vendor/
|
178
|
-
- vendor/
|
179
|
-
- vendor/
|
180
|
-
- vendor/
|
181
|
-
- vendor/
|
182
|
-
- vendor/
|
183
|
-
- vendor/
|
184
|
-
- vendor/
|
185
|
-
- vendor/
|
186
|
-
- vendor/
|
187
|
-
- vendor/
|
188
|
-
- vendor/
|
189
|
-
- vendor/
|
190
|
-
- vendor/
|
191
|
-
- vendor/
|
192
|
-
- vendor/
|
109
|
+
- vendor/katex/fonts/KaTeX_AMS-Regular.eot
|
110
|
+
- vendor/katex/fonts/KaTeX_AMS-Regular.ttf
|
111
|
+
- vendor/katex/fonts/KaTeX_AMS-Regular.woff
|
112
|
+
- vendor/katex/fonts/KaTeX_AMS-Regular.woff2
|
113
|
+
- vendor/katex/fonts/KaTeX_Caligraphic-Bold.eot
|
114
|
+
- vendor/katex/fonts/KaTeX_Caligraphic-Bold.ttf
|
115
|
+
- vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff
|
116
|
+
- vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2
|
117
|
+
- vendor/katex/fonts/KaTeX_Caligraphic-Regular.eot
|
118
|
+
- vendor/katex/fonts/KaTeX_Caligraphic-Regular.ttf
|
119
|
+
- vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff
|
120
|
+
- vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2
|
121
|
+
- vendor/katex/fonts/KaTeX_Fraktur-Bold.eot
|
122
|
+
- vendor/katex/fonts/KaTeX_Fraktur-Bold.ttf
|
123
|
+
- vendor/katex/fonts/KaTeX_Fraktur-Bold.woff
|
124
|
+
- vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2
|
125
|
+
- vendor/katex/fonts/KaTeX_Fraktur-Regular.eot
|
126
|
+
- vendor/katex/fonts/KaTeX_Fraktur-Regular.ttf
|
127
|
+
- vendor/katex/fonts/KaTeX_Fraktur-Regular.woff
|
128
|
+
- vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2
|
129
|
+
- vendor/katex/fonts/KaTeX_Main-Bold.eot
|
130
|
+
- vendor/katex/fonts/KaTeX_Main-Bold.ttf
|
131
|
+
- vendor/katex/fonts/KaTeX_Main-Bold.woff
|
132
|
+
- vendor/katex/fonts/KaTeX_Main-Bold.woff2
|
133
|
+
- vendor/katex/fonts/KaTeX_Main-Italic.eot
|
134
|
+
- vendor/katex/fonts/KaTeX_Main-Italic.ttf
|
135
|
+
- vendor/katex/fonts/KaTeX_Main-Italic.woff
|
136
|
+
- vendor/katex/fonts/KaTeX_Main-Italic.woff2
|
137
|
+
- vendor/katex/fonts/KaTeX_Main-Regular.eot
|
138
|
+
- vendor/katex/fonts/KaTeX_Main-Regular.ttf
|
139
|
+
- vendor/katex/fonts/KaTeX_Main-Regular.woff
|
140
|
+
- vendor/katex/fonts/KaTeX_Main-Regular.woff2
|
141
|
+
- vendor/katex/fonts/KaTeX_Math-BoldItalic.eot
|
142
|
+
- vendor/katex/fonts/KaTeX_Math-BoldItalic.ttf
|
143
|
+
- vendor/katex/fonts/KaTeX_Math-BoldItalic.woff
|
144
|
+
- vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2
|
145
|
+
- vendor/katex/fonts/KaTeX_Math-Italic.eot
|
146
|
+
- vendor/katex/fonts/KaTeX_Math-Italic.ttf
|
147
|
+
- vendor/katex/fonts/KaTeX_Math-Italic.woff
|
148
|
+
- vendor/katex/fonts/KaTeX_Math-Italic.woff2
|
149
|
+
- vendor/katex/fonts/KaTeX_Math-Regular.eot
|
150
|
+
- vendor/katex/fonts/KaTeX_Math-Regular.ttf
|
151
|
+
- vendor/katex/fonts/KaTeX_Math-Regular.woff
|
152
|
+
- vendor/katex/fonts/KaTeX_Math-Regular.woff2
|
153
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Bold.eot
|
154
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Bold.ttf
|
155
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Bold.woff
|
156
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2
|
157
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Italic.eot
|
158
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Italic.ttf
|
159
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Italic.woff
|
160
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2
|
161
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Regular.eot
|
162
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Regular.ttf
|
163
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Regular.woff
|
164
|
+
- vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2
|
165
|
+
- vendor/katex/fonts/KaTeX_Script-Regular.eot
|
166
|
+
- vendor/katex/fonts/KaTeX_Script-Regular.ttf
|
167
|
+
- vendor/katex/fonts/KaTeX_Script-Regular.woff
|
168
|
+
- vendor/katex/fonts/KaTeX_Script-Regular.woff2
|
169
|
+
- vendor/katex/fonts/KaTeX_Size1-Regular.eot
|
170
|
+
- vendor/katex/fonts/KaTeX_Size1-Regular.ttf
|
171
|
+
- vendor/katex/fonts/KaTeX_Size1-Regular.woff
|
172
|
+
- vendor/katex/fonts/KaTeX_Size1-Regular.woff2
|
173
|
+
- vendor/katex/fonts/KaTeX_Size2-Regular.eot
|
174
|
+
- vendor/katex/fonts/KaTeX_Size2-Regular.ttf
|
175
|
+
- vendor/katex/fonts/KaTeX_Size2-Regular.woff
|
176
|
+
- vendor/katex/fonts/KaTeX_Size2-Regular.woff2
|
177
|
+
- vendor/katex/fonts/KaTeX_Size3-Regular.eot
|
178
|
+
- vendor/katex/fonts/KaTeX_Size3-Regular.ttf
|
179
|
+
- vendor/katex/fonts/KaTeX_Size3-Regular.woff
|
180
|
+
- vendor/katex/fonts/KaTeX_Size3-Regular.woff2
|
181
|
+
- vendor/katex/fonts/KaTeX_Size4-Regular.eot
|
182
|
+
- vendor/katex/fonts/KaTeX_Size4-Regular.ttf
|
183
|
+
- vendor/katex/fonts/KaTeX_Size4-Regular.woff
|
184
|
+
- vendor/katex/fonts/KaTeX_Size4-Regular.woff2
|
185
|
+
- vendor/katex/fonts/KaTeX_Typewriter-Regular.eot
|
186
|
+
- vendor/katex/fonts/KaTeX_Typewriter-Regular.ttf
|
187
|
+
- vendor/katex/fonts/KaTeX_Typewriter-Regular.woff
|
188
|
+
- vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2
|
189
|
+
- vendor/katex/javascripts/katex.js
|
190
|
+
- vendor/katex/sprockets/stylesheets/_katex.scss
|
191
|
+
- vendor/katex/sprockets/stylesheets/katex.css.erb
|
192
|
+
- vendor/katex/stylesheets/katex.css
|
193
193
|
homepage: https://github.com/glebm/katex-ruby
|
194
194
|
licenses:
|
195
195
|
- MIT
|
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
210
|
version: '0'
|
211
211
|
requirements: []
|
212
212
|
rubyforge_project:
|
213
|
-
rubygems_version: 2.6.
|
213
|
+
rubygems_version: 2.6.9
|
214
214
|
signing_key:
|
215
215
|
specification_version: 4
|
216
216
|
summary: Renders KaTeX from Ruby.
|