On Fri, 21 Mar 2008 12:35:43 +0100 Marc Chantreux <[EMAIL PROTECTED]> wrote:
> salut a tous, > > # Soit: > > > sed -n '/^[^%]/q;p' class.1 > %!PS > %%BoundingBox: -1 -23 22 1 > %%Creator: MetaPost > %%CreationDate: 2008.03.21:1220 > %%Pages: 1 > %*Font: ptmr8r 9.96265 9.96265 41:8 > %%EndProlog > %%Page: 1 1 > > # Lorsque je > > > ps2pdf class.1 > > # Ca > > ERROR: /undefined in ptmr8r > Operand stack: > (A) > Execution stack: > %interp_exit .runexec2 --nostringval-- --nostringval-- > --nostringval-- 2 %stopped_push --nostringval-- > --nostringval-- --nostringval-- false 1 %stopped_push 1 3 > %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 > %oparray_pop .runexec2 --nostringval-- --nostringval-- > --nostringval-- 2 %stopped_push --nostringval-- > Dictionary stack: > --dict:1124/1686(ro)(G)-- --dict:0/20(G)-- --dict:102/200(L)-- > Current allocation mode is local > Current file position is 740 > ESP Ghostscript 815.03: Unrecoverable error, exit code 1 > > # Alors je me dis > > > dpkg -S ptmr8r > tetex-extra: /usr/share/texmf-tetex/fonts/tfm/adobe/times/ptmr8r.tfm > tetex-extra: /usr/share/texmf-tetex/fonts/tfm/adobe/times/ptmr8rn.tfm > > # je n'ai trouvé qu'une seule solution pour utiliser mon fichier ps: > l'embarquer dans un fichier .tex pour produire un dvi. > # est ce que qq1 aurait qqchose de moins penible (genre passer les > arguments et les variables d'environement qui vont bien a gs?) > > cordialement, > mc ... 'ptmr8r' est une abréviation latexienne pour Times-Roman (cf p.ex. Latex Graphic Companion p. 381) le fichier original n'est pas (encore ?) du PostScript donc intraduisible ; en PS on utilise /Times-Roman findfont xxx scalefont # remplacer 'xxx' par le corps voulu setfont Quant à metapost ... j'aime pas :-) (je préfère un_vrai_langage générant du PSTricks à inclure dans un source Tex/Latex ou un_vrai_langage générant du PS pur -- R. Bastian www.musiques-rb.org hébergé par www.dri.fr
