Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

New formula: LaTeX-Mk #14518

Closed
wants to merge 1 commit into from

3 participants

Shigeya Suzuki Yan Zhou Adam Vandenberg
Shigeya Suzuki

LaTeX-Mk is a library consists of shell script and makefile(s) which automate build of TeX processing.

Note: this package is different from 'Latexmk' which pull request have rejected (Issue#13578) due to the inclusion as part of TeXlive. This library is not available in TeXlive.

Yan Zhou

Why not just Latexmk, which is way better? Besides Latex-mk is not actively developed since 2010 and not widely used at all.

Shigeya Suzuki

Several reason. I have past projects depends on it. I tried to convert to LaTeX-mk but it's too much for me.
Whether it is not actively developed or not does not matter. It just works, and work without heavy dependency.

Yan Zhou

See https://github.com/mxcl/homebrew/wiki/Acceptable-Formula
I would say this is sort of niche stuff. It is not actively maintained. It is not suitable notable or known.
If you use it, you can install it yourself. There is no obvious reason this shall go into homebrew.
Of course this shall be up to admins to decide.

Shigeya Suzuki

Let admins to decide.

But the issues you're raising seems little odd for me.

In my stanard, the package itself has obvious bug and is not maintained well, it's stale. But this package is enough stable and work well. Why you need 'active development' for that? I prefer package which was actively maintained and fixed/improved well and stabilized. This package falls in this category in my standard.

I believe there is no obvious reason to reject.

Shigeya Suzuki

I found a issue which prevent this to work on other machines. It depends on tex2dvi (and pdftex), and also it require /usr/texbin to be included as a path on build if it is with TeXlive since ENV.setup_build_environment do not include the path. I will update the formula later.

Adam Vandenberg
Owner

Are updates needed for this to work?

Shigeya Suzuki

Checked by uninstalling and reinstall, found that it is broken with latest brew (it is saying you can install tex with apt-get since you're running Debian :O). I will correct this and push again. thanks.

Shigeya Suzuki

Hi, I checked it, and added some tweaks to 1) mention the requirement of TeX (while it is obvious), and 2) use of user path on build, to check where the TeX is (I borrowed them chktex Formula). I think this Formula is good enough now.

Adam Vandenberg
Owner

Please squash to a single commit for review, thanks.

Shigeya Suzuki

Right, I squashed the commits into one. thank you.

Adam Vandenberg adamv closed this pull request from a commit
Shigeya Suzuki shigeya LaTeX-Mk 2.1
Closes #14518.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
001f352
Adam Vandenberg adamv closed this in 001f352
Adam Vandenberg
Owner

Pulled, sorry for the delay.

Shigeya Suzuki

Thank you:-)

Rommel G Custodio sessyargc referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
snakeyroc3 snakeyroc3 referenced this pull request from a commit in snakeyroc3/homebrew
Shigeya Suzuki shigeya LaTeX-Mk 2.1
Closes #14518.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
f27fd76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 25, 2012
  1. Shigeya Suzuki

    New formula: LaTeX-Mk

    shigeya authored
This page is out of date. Refresh to see the latest.
Showing with 20 additions and 0 deletions.
  1. +20 −0 Library/Formula/latex-mk.rb
20 Library/Formula/latex-mk.rb
View
@@ -0,0 +1,20 @@
+require 'formula'
+
+class LatexMk < Formula
+ homepage 'http://latex-mk.sourceforge.net/index.html'
+ url 'http://sourceforge.net/projects/latex-mk/files/latex-mk/latex-mk-2.1/latex-mk-2.1.tar.gz'
+ sha1 '8460fd1f3c716e5759828c2a5af76eeafbce8d10'
+
+ env :userpaths
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def caveats
+ "latex-mk requires a version of TeX, such as TeX Live or MacTeX."
+ end
+
+end
Something went wrong with that request. Please try again.