lib/review/textmaker.rb in review-4.1.0 vs lib/review/textmaker.rb in review-4.2.0
- old
+ new
@@ -96,10 +96,10 @@
raise if @config['debug']
error(e.message)
end
math_dir = "./#{@config['imagedir']}/_review_math_text"
- if @config['imgmath'] && File.exist?(File.join(math_dir, '__IMGMATH_BODY__.tex'))
+ if @config['imgmath'] && File.exist?(File.join(math_dir, '__IMGMATH_BODY__.map'))
make_math_images(math_dir)
end
end
def generate_text_files(yamlfile)