You can now install the pyromaths-git package which uses lualatex instead of the old compilation process with dvips and ps2pdf. It is cleaner and safer.
Search Criteria
Package Details: pyromaths 18.9.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pyromaths.git (read-only, click to copy) |
---|---|
Package Base: | pyromaths |
Description: | French program to create mathematical exercises and models, cli version |
Upstream URL: | None |
Licenses: | GPL3 |
Conflicts: | pyromaths-git |
Submitter: | jdn06 |
Maintainer: | jdn06 |
Last Packager: | jdn06 |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2017-04-06 16:01 (UTC) |
Last Updated: | 2021-12-31 10:28 (UTC) |
Dependencies (6)
- python-lxml
- texlive-fontsextra (texlive-installerAUR, texlive-fullAUR, texlive-dummyAUR)
- texlive-latexextra (texlive-installerAUR, texlive-fullAUR, texlive-dummyAUR)
- texlive-pictures (texlive-installerAUR, texlive-fullAUR, texlive-dummyAUR)
- texlive-pstricks (texlive-installerAUR, texlive-fullAUR, texlive-dummyAUR)
- python-setuptools (make)
Required by (0)
Sources (1)
Latest Comments
jdn06 commented on 2021-12-31 10:20 (UTC)
jdn06 commented on 2021-09-26 07:58 (UTC)
@nobicycle Pyromaths began to switch to lualatex
, which will solve this issue. In the meantime, you can process "by hand" like this:
pyromaths generate --format tex cercle_trigonometrique
latex exercice.tex
dvips exercice.dvi
ps2pdf -dALLOWPSTRANSPARENCY exercice.ps
jdn06 commented on 2021-08-18 23:01 (UTC)
@nobicycle I tested your command and had the same error. It doesn't seem like a packaging issue, more a problem of compatibility with our versions of dependencies. I tried to get the last git development version of Pyromaths but the error was the same. Then I filled an issue that you can follow at this address : https://framagit.org/pyromaths/pyromaths/-/issues/36
nobicycle commented on 2021-08-15 18:55 (UTC)
Thanks for packaging. It seems there is an error for any exercise involving graphics. eg:
pyromaths generate cercle_trigonometrique Latexmk: Run number 1 of rule 'latex' latex: unrecognized option '-silent' This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/Arch Linux) (preloaded format=latex) \write18 enabled. entering extended mode Latexmk: Run number 2 of rule 'latex' latex: unrecognized option '-silent' This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/Arch Linux) (preloaded format=latex) \write18 enabled. entering extended mode Latexmk: Run number 3 of rule 'latex' latex: unrecognized option '-silent' This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/Arch Linux) (preloaded format=latex) \write18 enabled. entering extended mode Latexmk: Run number 1 of rule 'dvips' For rule 'dvips', running '&do_viewfile( )' ... Latexmk: Run number 1 of rule 'ps2pdf' For rule 'ps2pdf', running '&do_viewfile( )' ...
%%%% WARNING: Transparency operations ignored - need to use -dALLOWPSTRANSPARENCY
Error: /undefined in .setstrokeconstantalpha Operand stack: 1.0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %oparray_pop 1833 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:733/1123(ro)(G)-- --dict:0/20(G)-- --dict:206/300(L)-- --dict:193/300(L)-- --dict:105/200(L)-- --dict:133/200(L)-- Current allocation mode is local Current file position is 547759 GPL Ghostscript 9.54.0: Unrecoverable error, exit code 1 Collected error summary (may duplicate other messages): ps2pdf: Command for 'ps2pdf' gave return code 256 Latexmk: Use the -f option to force complete processing, unless error was exceeding maximum runs, or warnings treated as errors.
Pinned Comments
jdn06 commented on 2021-12-31 10:20 (UTC)
You can now install the pyromaths-git package which uses lualatex instead of the old compilation process with dvips and ps2pdf. It is cleaner and safer.