itex2MML v1.4.6 #7441

Closed
wants to merge 5 commits into
from

Projects

None yet

3 participants

@stepheneb
Contributor

itex2MML takes text with embedded itex equations on STDIN, converts the itex equations to MathML, and outputs the resulting text on STDOUT.

The C library is used by the Ruby Gem: itextomml

The Ruby Gem itextomml is used running the spec tests for the maruku Ruby Gem.

@Sharpie Sharpie commented on the diff Sep 24, 2011
Library/Formula/itex2mml.rb
+
+ def install
+ Dir.chdir("itex-src") do
+ system "make"
+ system "mkdir -p #{bin}"
+ system "make install prefix=#{prefix}"
+ end
+ end
+
+ def test
+ system "#{bin}/itex2MML --version"
+ end
+
+ def patches
+ # The itex2MML Makefile hardcodes installation to /usr/local/bin
+ DATA
Sharpie
Sharpie Sep 24, 2011 Contributor

Instead of a patch, you could use:

inreplace 'itex-src/Makefile' do |s|
  s.change_make_var! 'BINDIR', bin
end
Contributor
adamv commented Jan 30, 2012

Note, the tarball is versioned, but the version isn't in the name, so updates will "randomly break" this formula, should we pull it.

Contributor
adamv commented Mar 26, 2012

Passing since this is essentially a "head-only" formula; to get this pulled work with upstream to have versioned downloads.

@adamv adamv closed this Mar 26, 2012
Contributor

see fixed pull request: #11208

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.