More information on the package (and why you think it'll be good for Gentoo) would be appreciated.
Well if a picture is worth a thousand words, the following should be illustrational. Maxima in GNU Emacs without imaxima: http://maxima.sourceforge.net/screenshots/maximaemacs.png Maxima in GNU Emacs with imaxima: http://maxima.sourceforge.net/screenshots/imaxima.png Basically, Imaxima tells Maxima to produce LaTeX output. When you type a Maxima command in your imaxima buffer in Emacs, Maxima's LaTeX output gets rendered into an image that gets inserted into your Emacs buffer. That way you get familiar mathematical notation, instead of the ASCII art that you get when using the Emacs mode that comes with Maxima itself.
No doubt about it, imaxima adds a whole new dimension to maxima. I just downloaded the native imaxima and installed it and now its actually plausible to use maxima as a maple or mathematica replacement. Maxima is, famously, derived from the first major computer algebra system, macsyma, which unfortunately originated before the GUI. Now, though, it is possible to run maxima within texmacs or (x)emacs and enjoy the same typeset output that comes with the commercial CAS systems.
Created attachment 41314 [details] Ebuild for imaxima Here's ebuild. I have problems running imaxima with the latest Maxima compiled on sbcl, but I don't think its the fault of the ebuild.
Created attachment 41315 [details] .emacs contents for imaxima Here's the 50imaxima-gentoo.el file
Created attachment 41345 [details] ebuild for dev-tex/breqn Imaxima README says it needs this to do line breaking. License marked 'as-is' since the breqn package has no license info at all but as it's on the AMS public ftp site it should be okay.
Created attachment 41346 [details] modified ebuild for imaxima with breqn dep. I know you hate elisp-site-regen Cliff but... ;-)
Created attachment 41369 [details] modified ebuild for imaxima with breqn dep. Doesn't need elisp-site-regen - my mistake :/
Thanks for breqn ebuild, Paul. It's okay to set the LICENSE to as-is. However, pkg_preinst() isn't the right place to install files. This function is meant to set up live filesystem before merging files from imagedir. See man 5 ebuild for detail. In this case, if you want to install additional files you need to do that in src_install(), like: src_install() { latex-package_src_install insinto ${TEXMF}/tex/latex/${PN} doins *.sym dodoc *.txt } pkg_preinst() is also executed at binary installation and your code will break with binary installation (because when you install packages from binary, the source code is not extracted from the tarball to ${S}. This is why you need to install all files in src_install) Anyhow, I added breqn-0.94.ebuild with that modification.
Good - thanks Mamoru. I take it that means Cliff's imaxima ebuild with the breqn dep and it's 50imaxima-gentoo.el file are going in too?
Thanks Cliff and Paul, I added imaxima to CVS. app-text/ghostscript should be virtual/ghostscript, though (but that's small problem, so I fixed it by myself). imaxima works flawlessly, and looks cool ;) Have fun!