review-peg 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/lib/review/htmlbuilder.rb +3 -2
- data/lib/review/version.rb +1 -1
- data/review.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03d1ef2fefa11d295fa174c87a4c40275a26f154
|
4
|
+
data.tar.gz: beac544612280cbb759cb38bad11afc6570d4efc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28bac4ddc963431f7e5886d181ec34e0a5ac51cb6973fba4a2ac872de357a86bac03190d40bcc92c00b0f949362113d4fd090f18a481489b9dbec7abca06eddd
|
7
|
+
data.tar.gz: c3dee71459430d4dcf890eba2066a27a5c4d7473f81138907f280530ac1ea14402885e177e193a62b8a7247389a443d52484b8ce254bd6ce33506b26dfedded2
|
data/lib/review/htmlbuilder.rb
CHANGED
@@ -581,13 +581,14 @@ module ReVIEW
|
|
581
581
|
buf
|
582
582
|
end
|
583
583
|
|
584
|
-
def
|
584
|
+
def node_texequation(node)
|
585
|
+
buf = ""
|
585
586
|
buf << %Q[<div class="equation">\n]
|
586
587
|
if @book.config["mathml"]
|
587
588
|
require 'math_ml'
|
588
589
|
require 'math_ml/symbol/character_reference'
|
589
590
|
p = MathML::LaTeX::Parser.new(:symbol=>MathML::Symbol::CharacterReference)
|
590
|
-
buf << p.parse(
|
591
|
+
buf << p.parse(node.to_raw, true).to_s << "\n"
|
591
592
|
else
|
592
593
|
buf << '<pre>'
|
593
594
|
buf << lines.join("\n") << "\n"
|
data/lib/review/version.rb
CHANGED
data/review.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.email = "kmuto@debian.org"
|
12
12
|
gem.homepage = "http://github.com/kmuto/review"
|
13
13
|
gem.summary = "Re:VIEW peg: a easy-to-use digital publishing system (PEG version)"
|
14
|
-
gem.description = "Re:VIEW is a digital publishing system for books and ebooks. It supports InDesign, EPUB and LaTeX."
|
14
|
+
gem.description = "Re:VIEW is a digital publishing system for books and ebooks. It supports InDesign, EPUB and LaTeX. This gem is experimental version with PEG grammar"
|
15
15
|
gem.required_rubygems_version = Gem::Requirement.new(">= 0") if gem.respond_to? :required_rubygems_version=
|
16
16
|
|
17
17
|
gem.files = `git ls-files`.split("\n")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: review-peg
|
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
|
- kmuto
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-11-
|
12
|
+
date: 2015-11-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
description: Re:VIEW is a digital publishing system for books and ebooks. It supports
|
85
|
-
InDesign, EPUB and LaTeX.
|
85
|
+
InDesign, EPUB and LaTeX. This gem is experimental version with PEG grammar
|
86
86
|
email: kmuto@debian.org
|
87
87
|
executables:
|
88
88
|
- review-catalog-converter-peg
|