katex 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -1
  3. data/lib/katex.rb +30 -11
  4. data/lib/katex/engine.rb +14 -13
  5. data/lib/katex/version.rb +2 -2
  6. data/vendor/{assets → katex}/fonts/KaTeX_AMS-Regular.eot +0 -0
  7. data/vendor/{assets → katex}/fonts/KaTeX_AMS-Regular.ttf +0 -0
  8. data/vendor/{assets → katex}/fonts/KaTeX_AMS-Regular.woff +0 -0
  9. data/vendor/{assets → katex}/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  10. data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Bold.eot +0 -0
  11. data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  12. data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  13. data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  14. data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Regular.eot +0 -0
  15. data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  16. data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  17. data/vendor/{assets → katex}/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  18. data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Bold.eot +0 -0
  19. data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  20. data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  21. data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  22. data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Regular.eot +0 -0
  23. data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  24. data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  25. data/vendor/{assets → katex}/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  26. data/vendor/{assets → katex}/fonts/KaTeX_Main-Bold.eot +0 -0
  27. data/vendor/{assets → katex}/fonts/KaTeX_Main-Bold.ttf +0 -0
  28. data/vendor/{assets → katex}/fonts/KaTeX_Main-Bold.woff +0 -0
  29. data/vendor/{assets → katex}/fonts/KaTeX_Main-Bold.woff2 +0 -0
  30. data/vendor/{assets → katex}/fonts/KaTeX_Main-Italic.eot +0 -0
  31. data/vendor/{assets → katex}/fonts/KaTeX_Main-Italic.ttf +0 -0
  32. data/vendor/{assets → katex}/fonts/KaTeX_Main-Italic.woff +0 -0
  33. data/vendor/{assets → katex}/fonts/KaTeX_Main-Italic.woff2 +0 -0
  34. data/vendor/{assets → katex}/fonts/KaTeX_Main-Regular.eot +0 -0
  35. data/vendor/{assets → katex}/fonts/KaTeX_Main-Regular.ttf +0 -0
  36. data/vendor/{assets → katex}/fonts/KaTeX_Main-Regular.woff +0 -0
  37. data/vendor/{assets → katex}/fonts/KaTeX_Main-Regular.woff2 +0 -0
  38. data/vendor/{assets → katex}/fonts/KaTeX_Math-BoldItalic.eot +0 -0
  39. data/vendor/{assets → katex}/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  40. data/vendor/{assets → katex}/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  41. data/vendor/{assets → katex}/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  42. data/vendor/{assets → katex}/fonts/KaTeX_Math-Italic.eot +0 -0
  43. data/vendor/{assets → katex}/fonts/KaTeX_Math-Italic.ttf +0 -0
  44. data/vendor/{assets → katex}/fonts/KaTeX_Math-Italic.woff +0 -0
  45. data/vendor/{assets → katex}/fonts/KaTeX_Math-Italic.woff2 +0 -0
  46. data/vendor/{assets → katex}/fonts/KaTeX_Math-Regular.eot +0 -0
  47. data/vendor/{assets → katex}/fonts/KaTeX_Math-Regular.ttf +0 -0
  48. data/vendor/{assets → katex}/fonts/KaTeX_Math-Regular.woff +0 -0
  49. data/vendor/{assets → katex}/fonts/KaTeX_Math-Regular.woff2 +0 -0
  50. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Bold.eot +0 -0
  51. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  52. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  53. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  54. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Italic.eot +0 -0
  55. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  56. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  57. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  58. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Regular.eot +0 -0
  59. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  60. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  61. data/vendor/{assets → katex}/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  62. data/vendor/{assets → katex}/fonts/KaTeX_Script-Regular.eot +0 -0
  63. data/vendor/{assets → katex}/fonts/KaTeX_Script-Regular.ttf +0 -0
  64. data/vendor/{assets → katex}/fonts/KaTeX_Script-Regular.woff +0 -0
  65. data/vendor/{assets → katex}/fonts/KaTeX_Script-Regular.woff2 +0 -0
  66. data/vendor/{assets → katex}/fonts/KaTeX_Size1-Regular.eot +0 -0
  67. data/vendor/{assets → katex}/fonts/KaTeX_Size1-Regular.ttf +0 -0
  68. data/vendor/{assets → katex}/fonts/KaTeX_Size1-Regular.woff +0 -0
  69. data/vendor/{assets → katex}/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  70. data/vendor/{assets → katex}/fonts/KaTeX_Size2-Regular.eot +0 -0
  71. data/vendor/{assets → katex}/fonts/KaTeX_Size2-Regular.ttf +0 -0
  72. data/vendor/{assets → katex}/fonts/KaTeX_Size2-Regular.woff +0 -0
  73. data/vendor/{assets → katex}/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  74. data/vendor/{assets → katex}/fonts/KaTeX_Size3-Regular.eot +0 -0
  75. data/vendor/{assets → katex}/fonts/KaTeX_Size3-Regular.ttf +0 -0
  76. data/vendor/{assets → katex}/fonts/KaTeX_Size3-Regular.woff +0 -0
  77. data/vendor/{assets → katex}/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  78. data/vendor/{assets → katex}/fonts/KaTeX_Size4-Regular.eot +0 -0
  79. data/vendor/{assets → katex}/fonts/KaTeX_Size4-Regular.ttf +0 -0
  80. data/vendor/{assets → katex}/fonts/KaTeX_Size4-Regular.woff +0 -0
  81. data/vendor/{assets → katex}/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  82. data/vendor/{assets → katex}/fonts/KaTeX_Typewriter-Regular.eot +0 -0
  83. data/vendor/{assets → katex}/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  84. data/vendor/{assets → katex}/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  85. data/vendor/{assets → katex}/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  86. data/vendor/{assets → katex}/javascripts/katex.js +0 -0
  87. data/vendor/{assets → katex}/sprockets/stylesheets/_katex.scss +32 -32
  88. data/vendor/{assets → katex}/sprockets/stylesheets/katex.css.erb +32 -32
  89. data/vendor/{assets → katex}/stylesheets/katex.css +0 -0
  90. metadata +87 -87
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 375c8c75dc21d26539260010bf1a0b2becc41657
4
- data.tar.gz: 0f9860d65abacea101b5d4e8994dc1f6b22311fd
3
+ metadata.gz: 6ff797787b6a73871c824d12b1d204d08cc69cef
4
+ data.tar.gz: 45a30644e7ea58c0209698edf1e70ada75e70cb8
5
5
  SHA512:
6
- metadata.gz: 5a47546f5929e4cb102e53097506d4822550577b0f697f3ade4e1eb7301bebc96f4849de93fff4dded58525e90685c70a9db4ef59ec488961a3527e2d4821e7d
7
- data.tar.gz: 72f393f026efdc5729856c06ee089d0ab91d13027ecc3ac68625161d7f8805c72226a2dce872a36f378753f144d92f7714ae2e2d13a4e21b15e24786b2d2ac51
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.0'
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
@@ -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: false,
25
- **render_options)
26
- result = katex_context.call(
27
- 'katex.renderToString',
28
- math,
29
- displayMode: display_mode,
30
- throwOnError: throw_on_error,
31
- **render_options
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', 'assets', 'javascripts', 'katex.js'),
63
+ File.expand_path File.join('vendor', 'katex', 'javascripts', 'katex.js'),
45
64
  gem_path
46
65
  end
47
66
 
@@ -1,19 +1,20 @@
1
1
  # frozen_string_literal: true
2
2
  module Katex
3
- module Rails
4
- # Registers KaTeX fonts, stylesheets, and javascripts with Rails.
5
- class Engine < ::Rails::Engine
6
- initializer 'katex.assets' do |app|
7
- %w(fonts javascripts).each do |sub|
8
- app.config.assets.paths << root.join('vendor', 'assets', sub).to_s
9
- end
10
- # Create sprockets versions of katex CSS that use asset-path for
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Katex
3
- VERSION = '0.1.0'
4
- KATEX_VERSION = 'v0.7.0'
3
+ VERSION = '0.1.1'
4
+ KATEX_VERSION = 'v0.7.1'
5
5
  end
@@ -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
  }
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.0
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-17 00:00:00.000000000 Z
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/assets/fonts/KaTeX_AMS-Regular.eot
110
- - vendor/assets/fonts/KaTeX_AMS-Regular.ttf
111
- - vendor/assets/fonts/KaTeX_AMS-Regular.woff
112
- - vendor/assets/fonts/KaTeX_AMS-Regular.woff2
113
- - vendor/assets/fonts/KaTeX_Caligraphic-Bold.eot
114
- - vendor/assets/fonts/KaTeX_Caligraphic-Bold.ttf
115
- - vendor/assets/fonts/KaTeX_Caligraphic-Bold.woff
116
- - vendor/assets/fonts/KaTeX_Caligraphic-Bold.woff2
117
- - vendor/assets/fonts/KaTeX_Caligraphic-Regular.eot
118
- - vendor/assets/fonts/KaTeX_Caligraphic-Regular.ttf
119
- - vendor/assets/fonts/KaTeX_Caligraphic-Regular.woff
120
- - vendor/assets/fonts/KaTeX_Caligraphic-Regular.woff2
121
- - vendor/assets/fonts/KaTeX_Fraktur-Bold.eot
122
- - vendor/assets/fonts/KaTeX_Fraktur-Bold.ttf
123
- - vendor/assets/fonts/KaTeX_Fraktur-Bold.woff
124
- - vendor/assets/fonts/KaTeX_Fraktur-Bold.woff2
125
- - vendor/assets/fonts/KaTeX_Fraktur-Regular.eot
126
- - vendor/assets/fonts/KaTeX_Fraktur-Regular.ttf
127
- - vendor/assets/fonts/KaTeX_Fraktur-Regular.woff
128
- - vendor/assets/fonts/KaTeX_Fraktur-Regular.woff2
129
- - vendor/assets/fonts/KaTeX_Main-Bold.eot
130
- - vendor/assets/fonts/KaTeX_Main-Bold.ttf
131
- - vendor/assets/fonts/KaTeX_Main-Bold.woff
132
- - vendor/assets/fonts/KaTeX_Main-Bold.woff2
133
- - vendor/assets/fonts/KaTeX_Main-Italic.eot
134
- - vendor/assets/fonts/KaTeX_Main-Italic.ttf
135
- - vendor/assets/fonts/KaTeX_Main-Italic.woff
136
- - vendor/assets/fonts/KaTeX_Main-Italic.woff2
137
- - vendor/assets/fonts/KaTeX_Main-Regular.eot
138
- - vendor/assets/fonts/KaTeX_Main-Regular.ttf
139
- - vendor/assets/fonts/KaTeX_Main-Regular.woff
140
- - vendor/assets/fonts/KaTeX_Main-Regular.woff2
141
- - vendor/assets/fonts/KaTeX_Math-BoldItalic.eot
142
- - vendor/assets/fonts/KaTeX_Math-BoldItalic.ttf
143
- - vendor/assets/fonts/KaTeX_Math-BoldItalic.woff
144
- - vendor/assets/fonts/KaTeX_Math-BoldItalic.woff2
145
- - vendor/assets/fonts/KaTeX_Math-Italic.eot
146
- - vendor/assets/fonts/KaTeX_Math-Italic.ttf
147
- - vendor/assets/fonts/KaTeX_Math-Italic.woff
148
- - vendor/assets/fonts/KaTeX_Math-Italic.woff2
149
- - vendor/assets/fonts/KaTeX_Math-Regular.eot
150
- - vendor/assets/fonts/KaTeX_Math-Regular.ttf
151
- - vendor/assets/fonts/KaTeX_Math-Regular.woff
152
- - vendor/assets/fonts/KaTeX_Math-Regular.woff2
153
- - vendor/assets/fonts/KaTeX_SansSerif-Bold.eot
154
- - vendor/assets/fonts/KaTeX_SansSerif-Bold.ttf
155
- - vendor/assets/fonts/KaTeX_SansSerif-Bold.woff
156
- - vendor/assets/fonts/KaTeX_SansSerif-Bold.woff2
157
- - vendor/assets/fonts/KaTeX_SansSerif-Italic.eot
158
- - vendor/assets/fonts/KaTeX_SansSerif-Italic.ttf
159
- - vendor/assets/fonts/KaTeX_SansSerif-Italic.woff
160
- - vendor/assets/fonts/KaTeX_SansSerif-Italic.woff2
161
- - vendor/assets/fonts/KaTeX_SansSerif-Regular.eot
162
- - vendor/assets/fonts/KaTeX_SansSerif-Regular.ttf
163
- - vendor/assets/fonts/KaTeX_SansSerif-Regular.woff
164
- - vendor/assets/fonts/KaTeX_SansSerif-Regular.woff2
165
- - vendor/assets/fonts/KaTeX_Script-Regular.eot
166
- - vendor/assets/fonts/KaTeX_Script-Regular.ttf
167
- - vendor/assets/fonts/KaTeX_Script-Regular.woff
168
- - vendor/assets/fonts/KaTeX_Script-Regular.woff2
169
- - vendor/assets/fonts/KaTeX_Size1-Regular.eot
170
- - vendor/assets/fonts/KaTeX_Size1-Regular.ttf
171
- - vendor/assets/fonts/KaTeX_Size1-Regular.woff
172
- - vendor/assets/fonts/KaTeX_Size1-Regular.woff2
173
- - vendor/assets/fonts/KaTeX_Size2-Regular.eot
174
- - vendor/assets/fonts/KaTeX_Size2-Regular.ttf
175
- - vendor/assets/fonts/KaTeX_Size2-Regular.woff
176
- - vendor/assets/fonts/KaTeX_Size2-Regular.woff2
177
- - vendor/assets/fonts/KaTeX_Size3-Regular.eot
178
- - vendor/assets/fonts/KaTeX_Size3-Regular.ttf
179
- - vendor/assets/fonts/KaTeX_Size3-Regular.woff
180
- - vendor/assets/fonts/KaTeX_Size3-Regular.woff2
181
- - vendor/assets/fonts/KaTeX_Size4-Regular.eot
182
- - vendor/assets/fonts/KaTeX_Size4-Regular.ttf
183
- - vendor/assets/fonts/KaTeX_Size4-Regular.woff
184
- - vendor/assets/fonts/KaTeX_Size4-Regular.woff2
185
- - vendor/assets/fonts/KaTeX_Typewriter-Regular.eot
186
- - vendor/assets/fonts/KaTeX_Typewriter-Regular.ttf
187
- - vendor/assets/fonts/KaTeX_Typewriter-Regular.woff
188
- - vendor/assets/fonts/KaTeX_Typewriter-Regular.woff2
189
- - vendor/assets/javascripts/katex.js
190
- - vendor/assets/sprockets/stylesheets/_katex.scss
191
- - vendor/assets/sprockets/stylesheets/katex.css.erb
192
- - vendor/assets/stylesheets/katex.css
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.8
213
+ rubygems_version: 2.6.9
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: Renders KaTeX from Ruby.