mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Suggestion - TeXmacs Input for Sagemath Jupyter Notebook


Chronological Thread 
  • From: "address@hidden" <address@hidden>
  • To: Darcy Shen <address@hidden>
  • Cc: texmacs-users <address@hidden>
  • Subject: Re: [TeXmacs] Suggestion - TeXmacs Input for Sagemath Jupyter Notebook
  • Date: Sun, 24 Mar 2019 07:23:45 +0100

谢谢

It works fine, I just recompile it with cmake, I prefer cmake but for a long time texmacs didn't compile well so I used configure, but now I will use cmake.

I will be able to get back all my former jobs in sage session, from 2006

Thanks

Henri



Le 24/03/2019 à 03:59, Darcy Shen a écrit :
This is a one line solution:

git clone address@hidden:texmacs/SageMath.tm.git $HOME/.TeXmacs/plugins/sage


Or you may re-compile GNU TeXmacs via CMake:

https://github.com/texmacs/texmacs/wiki/Build-with-CMake-on-GNU-Linux



---- On Sun, 24 Mar 2019 04:44:47 +0800 <address@hidden> wrote ----

I have compiled    texmacs 1.99.9 but sagemath plugin doesn't work

I am on ubuntu 18.04 it's blocking, can you integrate it ?

I don't want to change things I don't know how to do.

Thanks

Henri

Le 23/03/2019 à 07:36, Darcy Shen a écrit :

I've fixed for SageMath. But there is packaging problem.

I'm using CMake for developing. But the final deb is produced by autotools.


$ cat /usr/local/libexec/TeXmacs/bin/tm_sage
#!/bin/bash

BRIDGE=plugins/sage/bin/bridge.py
USER_SAGE_PY=$HOME/.TeXmacs/${BRIDGE}
SYS_SAGE_PY=$TEXMACS_PATH/${BRIDGE}

[ -e $USER_SAGE_PY ] && /usr/bin/env sage -python $USER_SAGE_PY && exit 0
[ -e $SYS_SAGE_PY ] && /usr/bin/env sage -python $SYS_SAGE_PY && exit 0





This is the SageMath launcher for GNU TeXmacs 1.99.9.

Change SYS_SAGE_PY=$TEXMACS_PATH/${BRIDGE} to

SYS_SAGE_PY=/usr/local/libexec/TeXmacs/bin/bridge.py

will fix it.



---- On Tue, 19 Mar 2019 05:59:17 +0800 <address@hidden> wrote ----

Till texmacs version 1.9.9.2 sage-6 probably worked, but after python is
not seen "which python " blocked.  I liked it very much because texmacs
presentation is excellent (which is not the case with sage-jupyter
(sagenb had more choice with fonts)

I cant develop unfortunatly, these plugins are important. Before maxima
worked, but I couldn't embedd images, as it was long times ago.

A maxima jupyter kernel would be a good idea too... The existing one I
couldn't run it, I didn't understand the maxima installation... It was
said it wasn't properly working ?

Could texmacs be bundled in sagemath ? Or do you mean sage as a plugin ?


Le 18/03/2019 à 15:56, Alkis Akritas a écrit :
> Fully agree. Some time ago I had even suggested that texmacs should come bundled with sage math.
>
> Sent from my iPad
>
>> On 18 Mar 2019, at 15:33, Michael Shea <address@hidden> wrote:
>>
>> Have any of the developers looked into such a thing? Not only would it be useful in SageMath, but it might bring TeXmacs to the attention of more users.






Archive powered by MHonArc 2.6.19.

Top of page