lib/hemingway/latex.rb in hemingway-0.0.3 vs lib/hemingway/latex.rb in hemingway-1.0.0
- old
+ new
@@ -4,10 +4,11 @@
require 'hemingway/build'
require 'hemingway/latex_nodes'
require "hemingway/block/block"
require "hemingway/footnote/footnote"
require "hemingway/math/math"
+require "hemingway/override/override"
require "hemingway/special/special"
require "hemingway/symbol/symbol"
require "hemingway/tag/tag"
require "hemingway/text/text"
@@ -23,10 +24,12 @@
include Footnote
include Math
+ include Override
+
include Special
include Symbol
include Tag
@@ -309,15 +312,20 @@
else
r4 = _nt_math
if r4
r0 = r4
else
- r5 = _nt_text
+ r5 = _nt_override
if r5
r0 = r5
else
- @index = i0
- r0 = nil
+ r6 = _nt_text
+ if r6
+ r0 = r6
+ else
+ @index = i0
+ r0 = nil
+ end
end
end
end
end
end
\ No newline at end of file