Re: [fricas-devel] Re: HyperDoc and API

2021-03-24 Thread Kurt Pagani
On 23.03.2021 20:41, Bill Page wrote: > On Tue, Mar 23, 2021 at 2:01 PM Ralf Hemmecke wrote: >> >>> Now, if we could only include the Jupyter interface in the >>> FriCAS distribution >> >> Well, yes, but, although I would like to see this offered, doing it >> the pip way or via installation from

Re: [fricas-devel] Re: HyperDoc and API

2021-03-24 Thread Kurt Pagani
On 24.03.2021 13:20, Andrey G. Grozin wrote: > On Tue, 23 Mar 2021, Ralf Hemmecke wrote: >>> Or send stuff to plot to gnuplot (that's what Maxima does) >> Would be an idea, but the original AXIOM developers obviously had some >> interaction (dynamic graphic) in mind. Not sure whether that would

Re: [fricas-devel] Re: HyperDoc and API

2021-03-24 Thread Kurt Pagani
>> >> Since (AFAIK) there is no graphics library for CL, I see no alternative other >> than resorting to an external tool - nobody will write a lib from scratch ;) > > there is no graphics in CL standard, but you certainly have plenty of > choices to pick > CL bindings to various graphics

Re: [fricas-devel] Re: HyperDoc and API

2021-03-24 Thread Andrey G. Grozin
On Tue, 23 Mar 2021, Ralf Hemmecke wrote: Or send stuff to plot to gnuplot (that's what Maxima does) Would be an idea, but the original AXIOM developers obviously had some interaction (dynamic graphic) in mind. Not sure whether that would work with gnuplot. Don't ask more opinion from me. I'm

Re: [fricas-devel] Re: HyperDoc and API

2021-03-24 Thread Ralf Hemmecke
> it looks as if katex loads faster, but runs slower > > MathJax can be installed locally, and then the question of slow > loading is largerly gone. Yes, but I would like to provide jupyter notebooks translated to HTML at github-pages. So self-hosting is probably not an option. I should however

Re: [fricas-devel] Re: HyperDoc and API

2021-03-24 Thread Dima Pasechnik
On Wed, Mar 24, 2021 at 9:50 AM Ralf Hemmecke wrote: > > Tobias sent a link via IRC. Seems that MathJax3 will bring quite some > progress. > > https://www.intmath.com/cg5/katex-mathjax-comparison.php?processor=MathJax3 it looks as if katex loads faster, but runs slower MathJax can be installed

Re: [fricas-devel] Re: HyperDoc and API

2021-03-24 Thread Ralf Hemmecke
Tobias sent a link via IRC. Seems that MathJax3 will bring quite some progress. https://www.intmath.com/cg5/katex-mathjax-comparison.php?processor=MathJax3 Ralf -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To

Re: [fricas-devel] Re: HyperDoc and API

2021-03-24 Thread Dima Pasechnik
On Wed, Mar 24, 2021 at 4:14 AM Kurt Pagani wrote: > > I'm gatecrashing the party as I have unfortunately missed most of the latest > conversation. I had a discussion with Ralf recently and we agree that the > current X11 graphics ought to be enough for illustrative purposes (it also > works >

Re: [fricas-devel] Re: HyperDoc and API

2021-03-24 Thread Ralf Hemmecke
>> I actually thought so, but never looked deeper to find out how this can >> be done. > > Click PS button in graphics menu. Draw has options giving output > format. To avoid explicit options in drawing commands we would > have to include Postscript in default output format. Crude > way is to

Re: [fricas-devel] Re: HyperDoc and API

2021-03-23 Thread Ralf Hemmecke
> How easy would it be to try KaTeX? https://katex.org/ Maybe someone > has already tried this? I cannot say. That is the first time I look at Katex. If it really renders faster that would be wonderful. But I wait until somebody throws a working .ipynb -> .html conversion at me that replaces

Re: [fricas-devel] Re: HyperDoc and API

2021-03-23 Thread Bill Page
On Tue, Mar 23, 2021 at 2:01 PM Ralf Hemmecke wrote: > > > Now, if we could only include the Jupyter interface in the > > FriCAS distribution > > Well, yes, but, although I would like to see this offered, doing it > the pip way or via installation from the github repo, is easy > enough for early

Re: [fricas-devel] Re: HyperDoc and API

2021-03-23 Thread Ralf Hemmecke
> Now, if we could only include the Jupyter interface in the FriCAS > distribution Well, yes, but, although I would like to see this offered, doing it the pip way or via installation from the github repo, is easy enough for early adopters to install the jfricas jupyter kernel. I must admit that

Re: [fricas-devel] Re: HyperDoc and API

2021-03-23 Thread Bill Page
On Tue, Mar 23, 2021 at 3:57 AM Ralf Hemmecke wrote: > > On 23.03.21 02:31, Bill Page wrote: > > So now I have a link on my desktop that starts a local copy of the > > api. Great. > > Great. It look as if I got a first user for this feature. ;-) > Thanks for taking the pain to go through the

Re: [fricas-devel] Re: HyperDoc and API

2021-03-23 Thread Ralf Hemmecke
> E.g. Common Lisp, yes, very new and hot. :-) I don't program in lisp and don't want to, but mathematically lisp is quite a nice thing. I don't believe that FriCAS will live forever on lisp. But for now, I consider it as runtime environment and I don't care so much whether it is C, Assembler or

Re: [fricas-devel] Re: HyperDoc and API

2021-03-23 Thread Dima Pasechnik
On Mon, Mar 22, 2021 at 11:12 PM Waldek Hebisch wrote: > > On Mon, Mar 22, 2021 at 09:56:27PM +, Dima Pasechnik wrote: > > On Mon, Mar 22, 2021 at 9:43 PM Waldek Hebisch > > wrote: > > > > > > On Mon, Mar 22, 2021 at 10:03:09PM +0100, Ralf Hemmecke wrote: > > > > > Our graphics routines can

Re: [fricas-devel] Re: HyperDoc and API

2021-03-23 Thread Ralf Hemmecke
On 23.03.21 02:31, Bill Page wrote: > OK, after enabling postscript generation in ImageMagick, loading > some missing TeXLive packages and installing Sphinx 'make localdoc' > succeeded. OK. It seems I have to produce some documentation about the prerequisites of "make localdoc". > I am able to

[fricas-devel] Re: HyperDoc and API

2021-03-22 Thread Bill Page
OK, after enabling postscript generation in ImageMagick, loading some missing TeXLive packages and installing Sphinx 'make localdoc' succeeded. I am able to access the result from $ firefox file:///home/wspage/fricas-build/src/doc/html/index.html So now I have a link on my desktop that starts a

Re: [fricas-devel] Re: HyperDoc and API

2021-03-22 Thread Waldek Hebisch
On Mon, Mar 22, 2021 at 09:56:27PM +, Dima Pasechnik wrote: > On Mon, Mar 22, 2021 at 9:43 PM Waldek Hebisch > wrote: > > > > On Mon, Mar 22, 2021 at 10:03:09PM +0100, Ralf Hemmecke wrote: > > > > Our graphics routines can create Postscript. > > > > > > I actually thought so, but never

Re: [fricas-devel] Re: HyperDoc and API

2021-03-22 Thread Dima Pasechnik
On Mon, Mar 22, 2021 at 9:43 PM Waldek Hebisch wrote: > > On Mon, Mar 22, 2021 at 10:03:09PM +0100, Ralf Hemmecke wrote: > > > Our graphics routines can create Postscript. > > > > I actually thought so, but never looked deeper to find out how this can > > be done. > > Click PS button in graphics

Re: [fricas-devel] Re: HyperDoc and API

2021-03-22 Thread Waldek Hebisch
On Mon, Mar 22, 2021 at 10:03:09PM +0100, Ralf Hemmecke wrote: > > Our graphics routines can create Postscript. > > I actually thought so, but never looked deeper to find out how this can > be done. Click PS button in graphics menu. Draw has options giving output format. To avoid explicit

Re: [fricas-devel] Re: HyperDoc and API

2021-03-22 Thread Ralf Hemmecke
> Our graphics routines can create Postscript. I actually thought so, but never looked deeper to find out how this can be done. > ATM you need access to X server for this, but you also need access > to X server to create .xpm, so this really is not extra requirement. Hmmm... in fact, I don't

Re: [fricas-devel] Re: HyperDoc and API

2021-03-22 Thread Waldek Hebisch
On Mon, Mar 22, 2021 at 07:36:25PM +0100, Ralf Hemmecke wrote: > > make -f pics.mk pics > > make[2]: Entering directory '/home/wspage/fricas-build/src/doc' > > convert ugNewIntroGraphicsPage1.VIEW/image.xpm bessintr.ps > > convert-im6.q16hdri: not authorized `bessintr.ps' @ > >

Re: [fricas-devel] Re: HyperDoc and API

2021-03-22 Thread Ralf Hemmecke
> make -f pics.mk pics > make[2]: Entering directory '/home/wspage/fricas-build/src/doc' > convert ugNewIntroGraphicsPage1.VIEW/image.xpm bessintr.ps > convert-im6.q16hdri: not authorized `bessintr.ps' @ > error/constitute.c/WriteImage/1037. > pics.mk:3: recipe for target 'bessintr.ps' failed >

[fricas-devel] Re: HyperDoc and API

2021-03-22 Thread Bill Page
On Mon, Mar 22, 2021 at 9:59 AM Bill Page wrote: > ... > I will attempt to build the api locally and let you know what I find. > > Thanks. On Mar 19, 2021, 6:01 PM Ralf Hemmecke wrote: > Bill Page wrote: > > HyperDoc: almost every time I use FriCAS. I do often wish > > that the HyperDoc

[fricas-devel] Re: HyperDoc and API

2021-03-22 Thread Bill Page
On Sun, Mar 21, 2021 at 10:29 AM Ralf Hemmecke wrote: > > On 21.03.21 15:00, Bill Page wrote: > > On Sun, Mar 21, 2021 at 8:25 AM Ralf Hemmecke > > wrote: > >> ... The only thing (in my eyes) that HyperDoc can do and > >> http://fricas.github.io/api does not provide, is showing > >> "which