zauguin / luapstricks

8 stars 0 forks source link

Examples from PSTricks, 7th edition #21

Closed hvoss49 closed 3 years ago

hvoss49 commented 3 years ago

https://hvoss.org/PSTexa/

about 1700 Examples, not all created by now... In a first step all set with the standalone document class. It is not important that some images are wrong cropped; standalone ignores all \par commands and uses the pspicture coordinates for cropping, if [pstricks] is an optional argument. All this will be fixed later. And, of course, there are several wrong output files. However, I am impressed that so many files worked!

Edit: changed doc class to article and using pdfcrop

Edit2: Some images are rubbish, eg. 101, 103, and 110. But this is a problem of the conversion with pdftoppm. images with pst-geo needs incredible long time to compile ... -> hours!

hvoss49 commented 3 years ago

New page layout with left (lualatex) and right (latex->drips->ps2pdf) images

pablgonz commented 3 years ago

The images look very nice. My eye fails me or I do not see pst-spinner, pst-moire and pst-countorplot?

pablgonz commented 3 years ago

@hvoss49 test1128.tex work for me.

hvoss49 commented 3 years ago

Now for me too, moved it back to working one. I am still going through the list ...

The images look very nice. My eye fails me or I do not see pst-spinner, pst-moire and pst-countorplot?

That packages were uploaded after the publishing date of the book.

pablgonz commented 3 years ago

@hvoss49 test0414.tex and test0385.tex works :D

pablgonz commented 3 years ago

Can share test0110?

hvoss49 commented 3 years ago

Can share test0110?

The conversion from pdf to png is wrong. I used:

pdftoppm -f 1 -l 1 -r 75 -png file.pdf > file.png

pablgonz commented 3 years ago

Has, I see, I get better results using pdftocairo when that has happened to me.

hvoss49 commented 3 years ago

Has, I see, I get better results using pdftocairo when that has happened to me.

what is the command sequence for pdftocairo ?

pablgonz commented 3 years ago

what is the command sequence for pdftocairo ?

pdftocairo -singlefile -r 75 -png file.pdf
hvoss49 commented 3 years ago

I found the problem: without the optional argument -r 75 everything is fine. I cannot see why the resolution is a problem here. However, with -r 150 it looks good ...

pablgonz commented 3 years ago

These are nice examples :)

Question, have you removed the documentation generated with lualatex from your site? (I get 404 from my browser)

hvoss49 commented 3 years ago

Oh, I was too clever ... ;-) Did always a rsync for the contents, but on my side there are no pdf files, so they were deleted. I'll upload again in a couple of minutes ...