Re: [Texmacs-dev] TeXmacs/S7

2021-11-06 Thread Darcy Shen via Texmacs-dev
I started to work on better S7 Integration on https://github.com/texmacs/texmacs/pull/56 Here is my recent four commits: + cmake s7 + Fix for basename and dirname + Fix Developer->Browse modules documentation + Fix string-split ## basename and dirname basename and dirname is available i

Re: [Texmacs-dev] TeXmacs/S7

2021-11-04 Thread Darcy Shen via Texmacs-dev
I tried Joy Yang's branch on Debian sid: https://github.com/mgubi/texmacs/pull/5 It works on Debian! The good news is that Joy Yang make it work on Windows. It seems S7 is a better choice than Guile 3! On Sun, 2021-08-22 21:27:26 Darcy Shen wrote Here is my configure

Re: [Texmacs-dev] TeXmacs/S7

2021-08-22 Thread Darcy Shen via Texmacs-dev
Here is my configure command line on Debian sid: CXXFLAGS="-g" LIBS="-lm -ldl" ./configure --prefix=/home/sadhen/software But I got a bus error: Thread 1 "texmacs.bin" received signal SIGBUS, Bus error. 0x557e1994 in string::~string (this=0x7fffd054ee30, __in_chrg=) at Kernel/Type

Re: [Texmacs-dev] TeXmacs/S7

2021-01-20 Thread Massimiliano Gubinelli
Ok, I'm sorry I do not know very well the Cygwin platform. s7.c can be compiled by itself to give an interpreter runnable from command line, you can try to see if you manage to compile it. The manual of s7 is here: https://ccrma.stanford.edu/software/snd/snd/s7.html

Re: [Texmacs-dev] TeXmacs/S7

2021-01-20 Thread Marco Atzeri
On 18.01.2021 10:55, Massimiliano Gubinelli wrote: I'm not sure s7 is correctly configured in all the platforms. Maybe you can try to add #define MS_WINDOWS 1 better no as Cygwin is a POSIX platform to mus-config.h for example. Give a loot at  the comments at the beginning of s7.c. It cou

Re: [Texmacs-dev] TeXmacs/S7

2021-01-18 Thread Massimiliano Gubinelli
I think you can put > -Wl,-export-dynamic -lm -ldl in LD_FLAGS or somewhere where there are already some -l flags, like in the GUILE_LDFLAGS, etc.. I do not remember exacly the name. Max > On 18. Jan 2021, at 21:23, Alvaro Tejero Cantero wrote: > > The standard flags compile it fine, but I

Re: [Texmacs-dev] TeXmacs/S7

2021-01-18 Thread Alvaro Tejero Cantero
The standard flags compile it fine, but I don't know where to put them to get all of TeXmacs past S7 compilation. I looked in src/src/makefile but got lost finding where to add/remove compilation flags. Best, Álvaro. On Mon, 18 Jan 2021 at 15:42, Massimiliano Gubinelli wrote: > I'm not sure,

Re: [Texmacs-dev] TeXmacs/S7

2021-01-18 Thread Massimiliano Gubinelli
Btw, the s7.c file is fully autonomous, so if you want just to try the interpreter without building all TeXmacs you can just do gcc s7.c -o repl -DWITH_MAIN -I. -O2 -g -ldl -lm -Wl,-export-dynamic -Wno-stringop-overflow See https://ccrma.stanford.edu/software/snd/snd/s7.html Max > On 18. J

Re: [Texmacs-dev] TeXmacs/S7

2021-01-18 Thread Massimiliano Gubinelli
I'm not sure, but on the webpage of s7 the standard compiling flags are gcc -c s7.c -O2 -I. -Wl,-export-dynamic -lm -ldl you might try to add -Wl,-export-dynamic . On Mac I had to remove it. Max > On 18. Jan 2021, at 15:37, Alvaro Tejero Cantero wrote: > > Thanks for the tip with the --enabl

Re: [Texmacs-dev] TeXmacs/S7

2021-01-18 Thread Alvaro Tejero Cantero
Thanks for the tip with the --enable-guile2 flag. After installing some QT5 dependencies I was able to launch make. It failed with (...) /usr/bin/ld: Objects/s7.o: undefined reference to symbol 'dlclose@ @GLIBC_2.2.5' /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO miss

Re: [Texmacs-dev] TeXmacs/S7

2021-01-18 Thread Massimiliano Gubinelli
I'm not sure s7 is correctly configured in all the platforms. Maybe you can try to add #define MS_WINDOWS 1 to mus-config.h for example. Give a loot at the comments at the beginning of s7.c. It could give some hints on how to properly configure it. max > On 17. Jan 2021, at 07:58, Marco

Re: [Texmacs-dev] TeXmacs/S7

2021-01-17 Thread Massimiliano Gubinelli
You can do Configure —enable-guile2 Anyway it is not used... Max Sent from my iPhone > On 17 Jan 2021, at 19:04, Alvaro Tejero Cantero wrote: > >  > I should have added that this is in Ubuntu 20.10. > Best, > > Álvaro. > > >> On Sun, 17 Jan 2021 at 12:25, Alvaro Tejero Cantero wrote: >>

Re: [Texmacs-dev] TeXmacs/S7

2021-01-17 Thread Alvaro Tejero Cantero
I should have added that this is in Ubuntu 20.10. Best, Álvaro. On Sun, 17 Jan 2021 at 12:25, Alvaro Tejero Cantero wrote: > Quick feedback:: configure in the s7 branch still requires guile 1.8. To > make it available I turned to instructions by Darcy that have worked for me > in the past ( >

Re: [Texmacs-dev] TeXmacs/S7

2021-01-17 Thread Alvaro Tejero Cantero
Quick feedback:: configure in the s7 branch still requires guile 1.8. To make it available I turned to instructions by Darcy that have worked for me in the past ( http://forum.texmacs.cn/t/doc-step-by-step-guide-to-make-a-debian-package-for-gnu-guile-1-8-8/12 ) Unfortunately, the buildpackage step

Re: [Texmacs-dev] TeXmacs/S7

2021-01-16 Thread Marco Atzeri
On 08.01.2021 22:58, Massimiliano Gubinelli wrote: Dear all, an *unofficial* port of TeXmacs to S7 is essentially complete. I do not have any particular bug on my list. If you feel adventurous you can try it and report problems, this will help me to finalize it, you find it here: https://git

Re: [Texmacs-dev] TeXmacs/S7

2021-01-10 Thread Massimiliano Gubinelli
You may want to make a backup for safety. I'm not sure there are no dangerous bugs, yet. So proceed cautiously. But ideally, as any TeXMacs it would only change the cache file and the temporary directory. If you do not have put yourself some custom package there then there is nothing to backup.

Re: [Texmacs-dev] TeXmacs/S7

2021-01-10 Thread marc lalaude-labayle
OK. And the .texmacs folder won't be changed ? I don't have to copy it before ? M Le dim. 10 janv. 2021 à 17:48, Massimiliano Gubinelli a écrit : > Then should be easy. > > 1) Clone the repository somewhere in your home directory > 2) go in the src directory and compile via ./configure; make >

Re: [Texmacs-dev] TeXmacs/S7

2021-01-10 Thread Massimiliano Gubinelli
Then should be easy. 1) Clone the repository somewhere in your home directory 2) go in the src directory and compile via ./configure; make don't run make install 3) run TeXmacs by going into the src directory and doint TEXMACS_PATH=$PWD/TeXmacs TeXmacs/bin/texmacs.bin and this should start thi

Re: [Texmacs-dev] TeXmacs/S7

2021-01-10 Thread marc lalaude-labayle
Ubuntu 20.04 Le dim. 10 janv. 2021 à 17:30, Massimiliano Gubinelli a écrit : > On which system are you? > m > > > On 10. Jan 2021, at 17:16, marc lalaude-labayle > wrote: > > Hi, > > In order to test it without disturbing the main install, how shall I > proceed ? > > Marc > > Le dim. 10 janv. 2

Re: [Texmacs-dev] TeXmacs/S7

2021-01-10 Thread Massimiliano Gubinelli
On which system are you? m > On 10. Jan 2021, at 17:16, marc lalaude-labayle > wrote: > > Hi, > > In order to test it without disturbing the main install, how shall I proceed ? > > Marc > > Le dim. 10 janv. 2021 à 14:14, Massimiliano Gubinelli > a écrit : > If

Re: [Texmacs-dev] TeXmacs/S7

2021-01-10 Thread marc lalaude-labayle
Hi, In order to test it without disturbing the main install, how shall I proceed ? Marc Le dim. 10 janv. 2021 à 14:14, Massimiliano Gubinelli a écrit : > If you mean if you have to install some other thing, then no. The > interpreter is inside the branch s7 (src/Scheme/S7/s7.c). You do not hav

Re: [Texmacs-dev] TeXmacs/S7

2021-01-10 Thread Massimiliano Gubinelli
If you mean if you have to install some other thing, then no. The interpreter is inside the branch s7 (src/Scheme/S7/s7.c). You do not have to install anything else. But the current ./configure still looks for guile, so you will need to have guile installed, even if it is not used. I didn't yet

Re: [Texmacs-dev] TeXmacs/S7

2021-01-10 Thread Giorgio Pioda
Hi Max, is the S7 part contained in the sources? Regards On Fri, Jan 08, 2021 at 10:58:11PM +0100, Massimiliano Gubinelli wrote: > Dear all, > an *unofficial* port of TeXmacs to S7 is essentially complete. I do not have > any particular bug on my list. If you feel adventurous you can try it a

[Texmacs-dev] TeXmacs/S7

2021-01-08 Thread Massimiliano Gubinelli
Dear all, an *unofficial* port of TeXmacs to S7 is essentially complete. I do not have any particular bug on my list. If you feel adventurous you can try it and report problems, this will help me to finalize it, you find it here: https://github.com/mgubi/texmacs/tree/s7 It is still a developme