Re: [fricas-devel] Fwd: Shutter :: ltx2sxl

2016-09-28 Thread Kurt Pagani
Am 29.09.2016 um 03:39 schrieb oldk1331:
>> with --enable-sixel-graphics (configure).
> 
> Oops, I compiled xterm with "--enable-sixel", which is what
> https://github.com/saitoha/libsixel said.
> 
> Now I compile it with "--enable-sixel-graphics" and it works.
Great, nevertheless.
> 
> I guess you should open an issue for https://github.com/saitoha/libsixel .
> 

I did it.
https://github.com/saitoha/libsixel/issues/51

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Fwd: Shutter :: ltx2sxl

2016-09-28 Thread oldk1331
> with --enable-sixel-graphics (configure).

Oops, I compiled xterm with "--enable-sixel", which is what
https://github.com/saitoha/libsixel said.

Now I compile it with "--enable-sixel-graphics" and it works.

I guess you should open an issue for https://github.com/saitoha/libsixel .

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Fwd: Shutter :: ltx2sxl

2016-09-28 Thread Kurt Pagani
Am 29.09.2016 um 02:05 schrieb oldk1331:
> I still can't make xterm work, I configured .Xresources and xrdb it.
> But mlterm works well.

Strange, indeed; the only reason I can think of is that your xterm was not built
with --enable-sixel-graphics (configure). Either it's very old or your distro is
not Ubuntu? (e.g. afaik Fedora does not enable).

I get: xterm -v => XTerm(322)
Ubuntu has  * Enable sixel graphics (Closes: #716660) since xterm (297-1).

> 
> It's really nice and interesting to have such things in terminal.
Yes, indeed. My colleague (the actual addressee) has written a program in Pure
(http://purelang.bitbucket.org/) that is latex based (similar to Cadabra), so
it's imo the quickest way to get reasonable output.

> (although I'll prefer emacs myself :)
I'm not surprised :)
> 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Fwd: Shutter :: ltx2sxl

2016-09-28 Thread oldk1331
I still can't make xterm work, I configured .Xresources and xrdb it.
But mlterm works well.

It's really nice and interesting to have such things in terminal.
(although I'll prefer emacs myself :)

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Fwd: Shutter :: ltx2sxl

2016-09-28 Thread Kurt Pagani
Am 28.09.2016 um 15:21 schrieb oldk1331:
>> Oh, apparently I've misdirected that mail.
> 
> :)  I thought you want to integrate this with FriCAS, to have image
> result of LaTeX output in terminal ...

Good point, thereby providing justification to be not off-topic in this forum :)

Well, actually I use it this way, but only by using 'tex + systemCommand' (as a
previewer, so to say). I'll send the code ... must be somewhere


> 
> I used "xterm -ti vt340" and I got nothing.  I'll try mlterm.
> 

mlterm should work out of the box ... however, I'm definitely a xterm fan.

Did you check the requirements? latex, dvipng, libsixel-bin (especially
img2sixel --version => [img2sixel 1.7.2], 1.5 works as well. And how looks your
.Xresources? (https://wiki.archlinux.org/index.php/Xterm)

This might also be of help: https://github.com/jart/hiptext/issues/21

The best way testing sixel seems to me:

* Get latest gnuplot version: wget
https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0.4/gnuplot-5.0.4.tar.gz

* unpack
* ./configure --with-bitmap-terminals | make | make install
* xterm -i vt340 -rv   ### -rv only if background is black
* gnuplot> set term sixel
* gnuplot> test



-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Fwd: Shutter :: ltx2sxl

2016-09-28 Thread oldk1331
> Oh, apparently I've misdirected that mail.

:)  I thought you want to integrate this with FriCAS, to have image
result of LaTeX output in terminal ...

I used "xterm -ti vt340" and I got nothing.  I'll try mlterm.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Fwd: Shutter :: ltx2sxl

2016-09-28 Thread Kurt Pagani
Oh, apparently I've misdirected that mail. Thanks for making me aware of this ;)

I'm using "xterm -ti vt340" on Linux and mintty version 2.6.1 on Windows
(Cygwin64) for instance. 'Mlterm' works as well.

Here some links on the topic:
https://github.com/saitoha/libsixel
https://github.com/mintty/mintty
https://sourceforge.net/projects/mlterm/

Kurt

Am 28.09.2016 um 12:16 schrieb oldk1331:
> This is very interesting, however I can not make in work on xterm.
> I will try other terminals later.  Which terminal are you using?
> 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Fwd: Shutter :: ltx2sxl

2016-09-28 Thread oldk1331
This is very interesting, however I can not make in work on xterm.
I will try other terminals later.  Which terminal are you using?

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Regression testing

2016-09-28 Thread Martin Baker

On 27/09/16 18:55, Waldek Hebisch wrote:

Since sometimes there are good
reasons for irregularity I do not insist on rigid
structure.  But I would like to avoid irregularities
which are just due to slightly different preferences.


Yes, its a difficult dilemma. I really appreciate lack of restrictions 
when writing code (and your help improving it), not so much so when 
trying to understand other peoples code.



But it was _much_
easier to add tests to 'bugs2016.input'.


OK, the next tests I write I will use an .input file. Then I can make 
more informed comments on compiler vs. interpreter for tests.


Martin B



--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.