mailing-list for TeXmacs Users

Text archives Help


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


Chronological Thread 
  • From: Darcy Shen <address@hidden>
  • To: "henrigirard" <address@hidden>
  • Cc: "texmacs-users" <address@hidden>
  • Subject: Re: [TeXmacs] Suggestion - TeXmacs Input for Sagemath Jupyter Notebook
  • Date: Sun, 24 Mar 2019 10:59:56 +0800
  • Arc-authentication-results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=address@hidden; dmarc=pass header.from=<address@hidden> header.from=<address@hidden>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1553396396; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=XkCUl1VWaMIjU3vUl4NX3h3BcidKyC0AkXX2ypoU+xo=; b=fTaBGAWB6ctCfCRoGqwnpKv+RMdfYEYkLWY+cScEphQ7BfkqCxLxf2zNjT9E9LrZwj8I/Dal3bCmzfRQUNewDnbTuLjHogjD/4gpPmC/y5aOlejLdv8BNzZeNjN+CMgiySatbPQD+26bAofeNL+vy6cyWRbCFl29HPUjuVF6oQQ=
  • Arc-seal: i=1; a=rsa-sha256; t=1553396396; cv=none; d=zoho.com; s=zohoarc; b=lpJdNL9JYaL+yIIT8fUuInDahUULBhx1sY169MVlTjIj8PpMXSU6hLM3DAdbWxFBjOUW89E7RUibdPG1oCWUJc3kJyB7SyOur/nlHR0IGqhzx55sHxkZy7/wdMb0ReV36lK+5Ak3e/3rHDpU9K4DFaYC4ypphtrn6LXI/8ETaFU=
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=XIT+ESfEB3ns//C4PBPxASj370/XNxY1eo1RfJPzbLItK/iYXlq8DzkxDagFhHpPBw14G6xsuZ6/ ZPoKdwueOKwI0cmF/SrXchl7YfFd2QFzt3PXH1LJ64ISK952eehA

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:




---- 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