Fixed error in latex printing of multivectors in ipython notebook.  Pushed
changes to github brombo/galgebra.  Attached are ipython notebook ipynb
file and output image (pdf).

On Mon, Nov 30, 2015 at 1:58 PM, Alan Bromborsky <[email protected]>
wrote:

> Attached is pdf of dop.ipynb.  Latex printing is working with latest
> version jupyter and galagebra at github/brombo.  Note that printing works
> except in case of using A.Fmt(args) where A is a multivector (differential
> operator printing with Fmt works).  Work around for now is don't use .Fmt()
> to print multivectors.  Just use "A" for now.  I am tracking down problem
> with .Fmt() and multivectors in notebook.
>
> On Mon, Nov 30, 2015 at 3:34 AM, Johannes <[email protected]> wrote:
>
>> Hello Alan and Jason,
>>
>> On 28.11.2015 00:23, Alan Bromborsky wrote:
>> > I have an Xbuntu virtual machine (vmware player)
>> > where the rendering works. If you wish I can put the Xbuntu virtual
>> > image on my Google drive and you could download it (several GB). You
>> > would have to install vmware player (free) on you windows machine.
>> No that is not a practical option for me. I would like to see a general
>> fix so that no one has to worry about it in the future :-)
>>
>> > Note
>> > that I have found Chromium works better that Firefox for Jupyter.
>> I work neither with Chromium nor with Firefox but with the Jupyter
>> qtconsole.
>>
>> To be clear about my environment. I have a 64 bit Python 2.7 installation
>> in my windows machine with the following libraries installed:
>> ipython 4.0.0
>> jupyter 1.0.0
>> jupyter_core 4.0.6
>> qtconsole 4.1.0
>> sympy 0.7.6.1
>>
>> galgebra is part of sympy 0.7.6.1
>>
>> With other words a descent standard installation of the packages.
>>
>> On 28.11.2015 17:28, Jason Moore wrote:
>> >
>> > Can you submit and issue on the Github repository with code that
>> > reproduces the error and a screenshot of the notebook. We've had to fix
>> > some printing bugs due to changes in Jupyter notebooks recently. This
>> > may just be another one.
>> Sorry, no I can't. I'm not familiar with the Github procedures. However,
>> I just have done the following:
>>
>> 0) Initial test
>> from sympy import *
>> init_session(use_latex=True)
>> x**2+y**2
>>
>> -> nice looking latex rendering of the expression
>>
>> 1) With the standard sympy release
>> from sympy import *
>> init_session(use_latex=True)
>> from sympy.galgebra.ga import *
>> (ex,ey,ez) = MV.setup('e*x|y|z')
>> ex
>>
>> -> <sympy.galgebra.ga.MV at 0x7aa6320>, i.e. no latex rendering
>>
>> 2) With the standard sympy release but with additional installation of
>> the galgebra library from https://github.com/brombo/galgebra
>> (https://github.com/brombo/galgebra, galgebra-0.4.0-py2.7.egg)
>>
>> from sympy import *
>> init_session(use_latex=True)
>> from galgebra.mv import MV
>> (ex,ey,ez) = MV.setup('e*x|y|z')
>> ex
>>
>> -> \begin{equation*} \boldsymbol{e}_{x} \end{equation*}
>>
>> Regrads,
>> Johannes
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/sympy.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/60d49c8e-ec27-45ef-b940-fb982e2f2360%40googlegroups.com
>> <https://groups.google.com/d/msgid/sympy/60d49c8e-ec27-45ef-b940-fb982e2f2360%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CALOxT-mMeAuGB6o2xppkG1d-dT6XyPdbAVhdgXmgeMDRB3H_zA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: dop_notebook.pdf
Description: Adobe PDF document

Attachment: dop.ipynb
Description: Binary data

Reply via email to