Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-05 Thread Waldek Hebisch
On Sun, May 05, 2024 at 09:55:38PM +0800, Qian Yun wrote: > > > On 5/5/24 00:09, Waldek Hebisch wrote: > > On Sat, May 04, 2024 at 11:13:14PM +0800, Qian Yun wrote: > > > > > > On 5/4/24 22:01, Ralf Hemmecke wrote: > > > > > > > > Anyway, by building with -j1 I got your branch compiled with a

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-05 Thread Qian Yun
On 5/5/24 00:09, Waldek Hebisch wrote: On Sat, May 04, 2024 at 11:13:14PM +0800, Qian Yun wrote: On 5/4/24 22:01, Ralf Hemmecke wrote: Anyway, by building with -j1 I got your branch compiled with a view3D still running with 100% cpu usage after the build had successfully finished. I've

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Ralf Hemmecke
Qian, you should also replace epsf by graphicx in src/doc/sphinx/source/install.rst. In fact, any traces of ImageMagick (Makefile.in and install.rst) should be remove. Ralf -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system"

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Ralf Hemmecke
> After I tried > make book > make book.pdf > without success. But since _I_ know that to build html doc I need to > switch to src/doc, I switched to src/doc and issued again make book, Not only *you* know. It is even properly documented. ;-)

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Ralf Hemmecke
Why are you not using pdflatex? Because of .ps image? Initially, I had to use just latex. The pictures would not work nicely with pdflatex. pdflatex is the goal, Just wait a little. I also want to see hyperlinks. (In fact, I rather dream of the book in html format.) Ralf -- You received

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Grégory Vanuxem
Just a question, I used to prefer pdflatex over latex/dvips in the past (for links and other addons), and at the end of the book build I saw: ps2pdf book.ps Why are you not using pdflatex? Because of .ps image? Le sam. 4 mai 2024 à 20:04, Grégory Vanuxem a écrit : > > Hi, > > I just built the

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Grégory Vanuxem
Hi, I just built the book cloning the new-ps-book branch, very good job, thanks to all ! I regularly use to look at he book.pdf, the one downloadable from github.io but I gave it a try to build it, I hadn't built it for more than 10 years, so I did it with a newbie spirit in mind. ./configure

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Waldek Hebisch
On Sat, May 04, 2024 at 11:13:14PM +0800, Qian Yun wrote: > > On 5/4/24 22:01, Ralf Hemmecke wrote: > > > > Anyway, by building with -j1 I got your branch compiled with a view3D > > still running with 100% cpu usage after the build had successfully > > finished. > > I've never met this before.

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Qian Yun
On 5/4/24 22:01, Ralf Hemmecke wrote: Anyway, by building with -j1 I got your branch compiled with a view3D still running with 100% cpu usage after the build had successfully finished. I've never met this before. Looking at the book is a pleasure now. Qian, you really did a great job.

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Ralf Hemmecke
So I think that "nullXtc" should not be removed. It is useful for the cases that we show the command into the book, but do not actually execute it. OK, then finally, there is a good semantics for \nullXtc. I'll document that later. When I started recreating the build procedure for the book, I

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Qian Yun
That's probably caused by tmp/ug07.input. It doesn't hang here, but I do find that there are remaining processes like viewman and view3D. The problem is that there are multiple unclosed viewports. The following fixup patch should solve that: by adding 5 images to the book (section 7.1.9 and

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Ralf Hemmecke
Qian, I just compiled your new-ps-book branch https://github.com/oldk1331/fricas/commit https://github.com/oldk1331/fricas/commit/e34fadc066ee34b4b6a56ceadfa3284934166999 It leave one process hanging and thus does not finish. I must investigate, but have no time now. Will try more as soon as

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-02 Thread Ralf Hemmecke
Hi Qian, I can try your patch only tonight. For my two patches, I think I can commit them. Will also do tonight. I have detected a few more docfixes while I go through the sources, and things are not that easy whent it comes to generating the .input files from the data in the book.

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-02 Thread Qian Yun
I have committed all related patches, the patch in this thread is the last one. I have updated it a little bit to improve the build process and fixed the pictures in section 10.5. https://github.com/oldk1331/fricas/commit/e34fadc066ee34b4b6a56ceadfa3284934166999 So your changes should be based

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-04-28 Thread Ralf Hemmecke
Qian, I assume that your patches are the same as your new-ps-book branch. I somehow liked your idea for the "stamp-pics" target. Currently, I am going slowly through the documentation and found a number of bugs. See my branch https://github.com/hemmecke/fricas/tree/wip/fricas-book. (DANGER! I

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-04-27 Thread Qian Yun
On 4/26/24 18:23, Qian Yun wrote: On 4/26/24 06:00, Waldek Hebisch wrote: There is some problem with this.  On my machine I got faulty 'TEXTFILE.tex', it contained '\begin{noOutputXtc}' but no matching end part, causing documentaion build failure. This does not always happen, and

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-04-26 Thread Qian Yun
On 4/26/24 06:00, Waldek Hebisch wrote: There is some problem with this. On my machine I got faulty 'TEXTFILE.tex', it contained '\begin{noOutputXtc}' but no matching end part, causing documentaion build failure. This does not always happen, and sometimes happen to other tmp/*tex file.

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-04-25 Thread Waldek Hebisch
On Thu, Apr 25, 2024 at 09:36:45PM +0800, Qian Yun wrote: > With this patch, the book.pdf uses PS format images instead of > using imagemagick to "covert" from bitmap xpm images. Good. > Also as Ralf wishes, now the build of book is independent from > build of hypertex pages. > > P.S to Ralf,

[fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-04-25 Thread Qian Yun
With this patch, the book.pdf uses PS format images instead of using imagemagick to "covert" from bitmap xpm images. Also as Ralf wishes, now the build of book is independent from build of hypertex pages. P.S to Ralf, this patch uses a few lines of your noOutputXtc patch, you should upstream