Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 28

29 Oct '17, 22:21

idefix's gravatar image

idefix
955114051

Je dirais que le problème vient en fait de `dvips` qui ne parvient pas à produire le fichier postcript (.ps) et que du coup `GhostScript` ne trouvant pas le ficher qu'il doit traiter (`ECMautopstpdf-autopp.ps`) génère une erreur. ---------- `MiKTeK 2.9` contient visiblement une version de `GhostScript` (`9.19` dans mon cas) et c'est elle qu'utilisent les packages en mode escape-shell, qu'on ait ou pas installé une autre version en dehors de MiKTeK. Cette dernière ne sert que pour visualiser des fichiers dans l'editeur tex (texmaker par exemple). Même en mettant ma version personnelle (`2.22`) devant le bin de MiKTEK dans le `PATH`, cela ne change pas la version utilisée dans la compilation LaTeX auxiliaire. ---------- Pour le confirmer on peut aller sur le site de MiKTeK, onglet `About`, `More information` (à droite), `MiKTeK Packages` et outils de recherche https://miktex.org/packages/miktex-ghostscript-bin-x64 `Browse file` (Parcourir fichier) pour avoir les fichiers de la distribution qui correspondent https://miktex.org/Package/Browse/miktex-ghostscript-bin-x64 `mgs.exe` (pour Miktek GhostScript) et `mgsdll64.dll` (la dll qui va avec) dans `texmf\miktex\bin\x64` (`texmf` = `C:/Program Files/MiKTeX 2.9`, la racine de l'installation MiKTeK 2.9) Par exemple Texmaker pourrait utiliser la version MiKTeK de GhostScript au lieu d'une version installée à part en remplaçant `"C:/Program Files/gs/gs9.22/bin/gswin64c.exe"` par `"C:/Program Files/MiKTeX 2.9/miktex/bin/x64/msg.exe"` par `"C:/Program Files/gs/gs9.22/bin/gswin64c.exe"` dans la commande GhostScript des options TexMaker ---------- "-------------------------------------------------" "auto-pst-pdf: Auxiliary LaTeX compilation" "-------------------------------------------------" This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6400 64-bit) entering extended mode This is dvips(k) 5.997 Copyright 2017 Radical Eye Software (www.radicaleye.com) ' TeX output 2017.10.29:1647' -> ECMautopstpdf-autopp.ps <C:/Program Files/MiKTeX 2.9/dvips/base/tex.pro> <C:/Program Files/MiKTeX 2.9/dvips/config/alt-rule.pro> <C:/Program Files/MiKTeX 2.9/dvips/pstricks/pstricks.pro> <C:/Program Files/MiKTeX 2.9/dvips/pstricks/pst-algparser.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-tools/pst-tools.pro> <C:/Program Files/MiKTeX 2.9/dvips/pstricks/pst-dots.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-node/pst-node.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-3d/pst-3d.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-math/pst-math.pro> <C:/Program Files/MiKTeX 2.9/dvips/pstricks-add/pstricks-add.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-grad/pst-grad.pro> <C:/Program Files/MiKTeX 2.9/dvips/base/special.pro>. [1] Error: /undefined in pst@angleunit Operand stack: 3779.0 -12598.0 -5.69046 5.69046 -5.69046 68.2855 11.3809 0.0 -11.3809 0.0 -11.3809 0.0 5.69046 68.2855 5.69046 5.69046 --nostringval-- 7.39752 0.0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1967 1 3 %oparray_pop 1966 1 3 %oparray_pop 1950 1 3 %oparray_pop 1836 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1197/1684(ro)(G)-- --dict:0/20(G)-- --dict:166/200(L)-- --dict:96/300(L)-- --dict:40/200(L)-- --dict:134/200(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 262855 MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit code 1 "-------------------------------------------------" "auto-pst-pdf: End auxiliary LaTeX compilation" "-------------------------------------------------" Erreur de `dvips` ? `pst@angleunit` ??? problème avec des unités d'angle ?? `base/special.pro` ?? <C:/Program Files/MiKTeX 2.9/dvips/base/special.pro>. [1] Error: /undefined in pst@angleunit Operand stack: 3779.0 -12598.0 -5.69046 5.69046 -5.69046 68.2855 11.3809 0.0 -11.3809 0.0 -11.3809 0.0 5.69046 68.2855 5.69046 5.69046 --nostringval-- 7.39752 0.0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1967 1 3 %oparray_pop 1966 1 3 %oparray_pop 1950 1 3 %oparray_pop 1836 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1197/1684(ro)(G)-- --dict:0/20(G)-- --dict:166/200(L)-- --dict:96/300(L)-- --dict:40/200(L)-- --dict:134/200(L)-- Erreur de Ghostscript Current allocation mode is local Last OS error: No such file or directory Current file position is 262855 MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit code 1
cliquez ici pour masquer/afficher la révision 27

29 Oct '17, 22:20

idefix's gravatar image

idefix
955114051

Je dirais que le problème vient en fait de `dvips` qui ne parvient pas à produire le fichier postcript (.ps) et que du coup `GhostScript` ne trouvant pas le ficher qu'il doit traiter (`ECMautopstpdf-autopp.ps`) génère une erreur. ---------- `MiKTeK 2.9` contient visiblement une version de `GhostScript` (`9.19` dans mon cas) et c'est elle qu'utilisent les packages en mode escape-shell, qu'on ait ou pas installé une autre version en dehors de MiKTeK. Cette dernière ne sert que pour visualiser des fichiers dans l'editeur tex (texmaker par exemple). Même en mettant ma version personnelle (`2.22`) devant le bin de MiKTEK dans le `PATH`, cela ne change pas la version utilisée dans la compilation LaTeX auxiliaire. ---------- Pour le confirmer on peut aller sur le site de MiKTeK, onglet `About`, `More information` (à droite), `MiKTeK Packages` et outils de recherche https://miktex.org/packages/miktex-ghostscript-bin-x64 `Browse file` (Parcourir fichier) pour avoir les fichiers de la distribution qui correspondent https://miktex.org/Package/Browse/miktex-ghostscript-bin-x64 `mgs.exe` (pour Miktek GhostScript) et `mgsdll64.dll` (la dll qui va avec) dans `texmf\miktex\bin\x64` (`texmf` = `C:/Program Files/MiKTeX 2.9`, la racine de l'installation MiKTeK 2.9) Par exemple Texmaker pourrait utiliser la version MiKTeK de GhostScript de MiKTeK au lieu d'une version installée à part en remplaçant `"C:/Program Files/MiKTeX 2.9/miktex/bin/x64/msg.exe"` par `"C:/Program Files/gs/gs9.22/bin/gswin64c.exe"` dans la commande GhostScript des options TexMaker ---------- "-------------------------------------------------" "auto-pst-pdf: Auxiliary LaTeX compilation" "-------------------------------------------------" This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6400 64-bit) entering extended mode This is dvips(k) 5.997 Copyright 2017 Radical Eye Software (www.radicaleye.com) ' TeX output 2017.10.29:1647' -> ECMautopstpdf-autopp.ps <C:/Program Files/MiKTeX 2.9/dvips/base/tex.pro> <C:/Program Files/MiKTeX 2.9/dvips/config/alt-rule.pro> <C:/Program Files/MiKTeX 2.9/dvips/pstricks/pstricks.pro> <C:/Program Files/MiKTeX 2.9/dvips/pstricks/pst-algparser.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-tools/pst-tools.pro> <C:/Program Files/MiKTeX 2.9/dvips/pstricks/pst-dots.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-node/pst-node.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-3d/pst-3d.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-math/pst-math.pro> <C:/Program Files/MiKTeX 2.9/dvips/pstricks-add/pstricks-add.pro> <C:/Program Files/MiKTeX 2.9/dvips/pst-grad/pst-grad.pro> <C:/Program Files/MiKTeX 2.9/dvips/base/special.pro>. [1] Error: /undefined in pst@angleunit Operand stack: 3779.0 -12598.0 -5.69046 5.69046 -5.69046 68.2855 11.3809 0.0 -11.3809 0.0 -11.3809 0.0 5.69046 68.2855 5.69046 5.69046 --nostringval-- 7.39752 0.0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1967 1 3 %oparray_pop 1966 1 3 %oparray_pop 1950 1 3 %oparray_pop 1836 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1197/1684(ro)(G)-- --dict:0/20(G)-- --dict:166/200(L)-- --dict:96/300(L)-- --dict:40/200(L)-- --dict:134/200(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 262855 MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit code 1 "-------------------------------------------------" "auto-pst-pdf: End auxiliary LaTeX compilation" "-------------------------------------------------" Erreur de `dvips` ? `pst@angleunit` ??? problème avec des unités d'angle ?? `base/special.pro` ?? <C:/Program Files/MiKTeX 2.9/dvips/base/special.pro>. [1] Error: /undefined in pst@angleunit Operand stack: 3779.0 -12598.0 -5.69046 5.69046 -5.69046 68.2855 11.3809 0.0 -11.3809 0.0 -11.3809 0.0 5.69046 68.2855 5.69046 5.69046 --nostringval-- 7.39752 0.0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1967 1 3 %oparray_pop 1966 1 3 %oparray_pop 1950 1 3 %oparray_pop 1836 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1197/1684(ro)(G)-- --dict:0/20(G)-- --dict:166/200(L)-- --dict:96/300(L)-- --dict:40/200(L)-- --dict:134/200(L)-- Erreur de Ghostscript Current allocation mode is local Last OS error: No such file or directory Current file position is 262855 MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit code 1
cliquez ici pour masquer/afficher la révision 26

29 Oct '17, 22:19

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 25

29 Oct '17, 22:17

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 24

29 Oct '17, 22:15

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 23

29 Oct '17, 22:13

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 22

29 Oct '17, 22:12

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 21

29 Oct '17, 22:10

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 20

29 Oct '17, 22:09

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 19

29 Oct '17, 22:08

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 18

29 Oct '17, 22:05

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 17

29 Oct '17, 22:03

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 16

29 Oct '17, 22:02

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 15

29 Oct '17, 21:46

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 14

29 Oct '17, 21:40

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 13

29 Oct '17, 21:13

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 12

29 Oct '17, 21:11

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 11

29 Oct '17, 21:06

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 10

29 Oct '17, 21:03

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 9

29 Oct '17, 21:02

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 8

29 Oct '17, 21:01

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 7

29 Oct '17, 20:59

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 6

29 Oct '17, 20:58

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 5

29 Oct '17, 20:57

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 4

29 Oct '17, 20:52

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 3

29 Oct '17, 20:50

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 2

29 Oct '17, 20:50

idefix's gravatar image

idefix
955114051

cliquez ici pour masquer/afficher la révision 1

29 Oct '17, 20:48

idefix's gravatar image

idefix
955114051

C'est votre première visite ici ? Consultez la FAQ !

×