[IPython-dev] py2tex

Fernando Perez fperez.net at gmail.com
Thu Aug 15 15:52:21 EDT 2013

Great, very nice!  I suggest you make it into a little named repo,
along with an example notebook that illustrates its use. You should
never discount the effect an immediate visual demo has on appeal for
new users.



On Thu, Aug 15, 2013 at 12:13 PM, Johan Beke <johanbeke at hotmail.com> wrote:
> Hello All,
> As asked by Matthias B. on the Ipython-user mailing list, I sent hereby a
> copy of my e-mail sent to the user list:
> I wrote a little update of the py2tex extension:
> https://gist.github.com/4032651
> (Not yet tested with latest version of IPython because I dit not update yet,
> but I believe it should work)
> Changes:
> - unum.units are always set in straight font + variables always in italic
> font  (some bug in previous version)
> - assignment of a variable with units is detected by %%tex
> previous version e.g. a=1.0*m/s would output a=1.0*m/s = 1.0 m/s
> output now: a=1.0 m/s
> (I changed this because lines cells with each line %%tex or %%texnr where
> not handy)
> Possible future changes:
> - support for function calls like someclass.somefunction(arguments ...)
> I'm using this extension at my office with success and must say it is an
> easy replacement for mathcad. Doing unit aware calculations, with nice
> representation.
> Johan
> PS: installation link on the extension index page was not yet changed to
> this latest version.
> PS2: comments, idea's and bug reports are welcome.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail

More information about the IPython-dev mailing list