Thread: [MiKTeX] MiKTeX 2.7 dvips doesn't work with .eps using ArialMT fonts
MiKTeX source code moved to GitHub
Brought to you by:
csc
From: <ETo...@ca...> - 2009-04-24 09:40:32
|
Hello, I had not this problem with miktex 2.1, but now that I have miktex 2.7 (and don't want to switch to version 2.1) I have problem applying 'dvips' to old .tex file that load old .eps file. The error meaasage is: % ...\dvips.exe: ! Couldn't find header file arial.pfb. Note that an absolute path or a relative path with .. are denied in -R2 mode. % After searching the web I've found out the problem is that the many .eps I would like to import made use of 'ArialMT' font. - If I manually edit each .eps file substituting the string 'ArialMT' with 'Helvetica', it works. - But I cannot do such subtitution for all the files because they are too many and I cannot make the .eps file again without the use of Helvetica fonts. - I cannot change the source .tex file because it will be a mess.. So I need another way to apply dvips together .eps files with ArialMT fonts. Any help is welcome. Thank you all. ENRICO _________________________________________________________________________________________________________________ ATTENTION: This e-mail message contains confidential and/or legally privileged information intended solely for the person to whom it is addressed. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution of the contents of this e-mail message is strictly prohibited. If you have received this communication in error, please call us immediately to let us know and delete it by your computer. Thank you. ATTENZIONE: Le informazioni contenute nella presente comunicazione possono essere riservate e sono comunque destinate esclusivamente alle persone sopraindicate. Nel caso in cui il presente messaggio venga ricevuto da persona diversa dal destinatario si avverte che ne sono proibite la diffusione, la distribuzione nonché l’estrazione di copia. Nel caso aveste ricevuto il presente messaggio per errore Vi preghiamo di informarci immediatamente per telefono e di eliminarlo dal vostro computer. Grazie. ATTENTION: Les informations contenues dans la présente communication sont couvertes par le secret professionnel et sont à l’attention exclusive de leur destinataire. Toute utilisation, distribution, divulgation ou reproduction en sont interdites. En cas d’erreur de transmission, nous vous prions de nous en informer immédiatement par téléphone et d'éliminer le présent message e-mail de votre ordinateur. Merci. ATENCION: Este mensaje es solamente para la persona a la que va dirigido. Puede contener información confidencial o legalmente protegida. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje y rogamos de informarnos inmediatamente por teléfono, y destruirlo y eliminarlo de su ordenador. Gracias. _________________________________________________________________________________________________________________ |
From: Ulrike F. <li...@ni...> - 2009-04-24 10:23:42
|
am Freitag, 24. April 2009 um 11:40 schrieb ETo...@ca...: > Hello, > I had not this problem with miktex 2.1, but now that I have miktex 2.7 > (and don't want to switch to version 2.1) I have problem applying 'dvips' > to old .tex file that load old .eps file. The error meaasage is: > % > ...\dvips.exe: ! Couldn't find header file arial.pfb. > Note that an absolute path or a relative path with .. are denied in -R2 > mode. > % Can you put one of the problematic eps somewhere for download? And sent a minimal document which loads the eps and demonstrates the problem. -- Mit freundlichen Grüßen Ulrike Fischer |
From: Ulrike F. <li...@ni...> - 2009-04-24 12:42:45
|
am Freitag, 24. April 2009 um 13:59 schrieb ETo...@ca...: > Thank you very much for the interest, > as you suggested I attached test.tex who load .eps: > 1. if it loads picture_ok.eps (that uses Helvetica font) it works ok > 2. if it loads picture_nok.eps (that uses ArialMT font) it doesn't work Search the psfont.map of dvips (it should be in the root "UserData" or "CommonData"/dvips/config. Search in the file for lines with ArialMT. Delete this lines and save the file. (Don't fear to break something, the map file can be easily recreated) Then try again. dvips should no longer complain. But as your eps doesn't contain the fonts ghostscript (either the one from miktex used by YAP) or the real one will still have to substitute the font by one it knows. In my case a get a message like this from gs: Can't find (or can't open) font file %rom%Resource/Font/ArialMT. Can't find (or can't open) font file ArialMT. Querying operating system for font files... Didn't find this font on the system! Substituting font Helvetica for ArialMT. Can't find (or can't open) font file n019003l.pfb. Loading NimbusSanL-Regu font ... (You can influence which font gs use in its fontmaps.) If this is good enough for you: Try to find out which map is adding the line(s) with arialMT to psfonts.map and remove this map from updmap.cfg, then call updmap to recreate the maps and test if everything works. -- Mit freundlichen Grüßen Ulrike Fischer |
From: <ETo...@ca...> - 2009-04-24 14:01:35
|
Thank you very much, this solved the problem and I get no warning also! Just for information, is this problem due to a bug (the miktex installation type is total) or something other? Further, I don't undestand this: >(You can influence which font gs use in its fontmaps.) >If this is good enough for you: Try to find out which map is adding >the line(s) with arialMT to psfonts.map and remove this map from >updmap.cfg, then call updmap to recreate the maps and test if >everything works. In particular: 1. how can I find out which map is adding the line(s) with arialMT to psfonts.map 2. how to remove this map from updmap.cfg (in my C:\MiKTeX\MiKTeX 2.7\miktex\config\updmap.cfg there are non line with ArialMT) 3. how can I call (what are the commands) updmap.cfg thank you best regards ENRICO TONIOLO Ulrike Fischer <li...@ni...> wrote on 24/04/2009 14.42.36: > > am Freitag, 24. April 2009 um 13:59 schrieb ETo...@ca...: > > > Thank you very much for the interest, > > as you suggested I attached test.tex who load .eps: > > 1. if it loads picture_ok.eps (that uses Helvetica font) it works ok > > 2. if it loads picture_nok.eps (that uses ArialMT font) it doesn't work > > Search the psfont.map of dvips (it should be in the root "UserData" or > "CommonData"/dvips/config. > > Search in the file for lines with ArialMT. Delete this lines and save > the file. (Don't fear to break something, the map file can be easily > recreated) > > Then try again. dvips should no longer complain. But as your eps > doesn't contain the fonts ghostscript (either the one from miktex used > by YAP) or the real one will still have to substitute the font by one > it knows. In my case a get a message like this from gs: > > Can't find (or can't open) font file %rom%Resource/Font/ArialMT. > Can't find (or can't open) font file ArialMT. > Querying operating system for font files... > Didn't find this font on the system! > Substituting font Helvetica for ArialMT. > Can't find (or can't open) font file n019003l.pfb. > Loading NimbusSanL-Regu font ... > > (You can influence which font gs use in its fontmaps.) > > If this is good enough for you: Try to find out which map is adding > the line(s) with arialMT to psfonts.map and remove this map from > updmap.cfg, then call updmap to recreate the maps and test if > everything works. > > > > -- > Mit freundlichen Grüßen > Ulrike Fischer > _________________________________________________________________________________________________________________ ATTENTION: This e-mail message contains confidential and/or legally privileged information intended solely for the person to whom it is addressed. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution of the contents of this e-mail message is strictly prohibited. If you have received this communication in error, please call us immediately to let us know and delete it by your computer. Thank you. ATTENZIONE: Le informazioni contenute nella presente comunicazione possono essere riservate e sono comunque destinate esclusivamente alle persone sopraindicate. Nel caso in cui il presente messaggio venga ricevuto da persona diversa dal destinatario si avverte che ne sono proibite la diffusione, la distribuzione nonché l’estrazione di copia. Nel caso aveste ricevuto il presente messaggio per errore Vi preghiamo di informarci immediatamente per telefono e di eliminarlo dal vostro computer. Grazie. ATTENTION: Les informations contenues dans la présente communication sont couvertes par le secret professionnel et sont à l’attention exclusive de leur destinataire. Toute utilisation, distribution, divulgation ou reproduction en sont interdites. En cas d’erreur de transmission, nous vous prions de nous en informer immédiatement par téléphone et d'éliminer le présent message e-mail de votre ordinateur. Merci. ATENCION: Este mensaje es solamente para la persona a la que va dirigido. Puede contener información confidencial o legalmente protegida. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje y rogamos de informarnos inmediatamente por teléfono, y destruirlo y eliminarlo de su ordenador. Gracias. _________________________________________________________________________________________________________________ |
From: Ulrike F. <li...@ni...> - 2009-04-24 16:08:13
|
am Freitag, 24. April 2009 um 16:01 schrieb ETo...@ca...: > Thank you very much, > this solved the problem and I get no warning also! > Just for information, is this problem due to a bug (the miktex > installation type is total) or something other? It can be a problem of the "total" installation. This could have added map-entries which are not suited for your installation. But it could also be that you have remains from your older miktex. > Further, I don't undestand this: >>(You can influence which font gs use in its fontmaps.) >>If this is good enough for you: Try to find out which map is adding >>the line(s) with arialMT to psfonts.map and remove this map from >>updmap.cfg, then call updmap to recreate the maps and test if >>everything works. > In particular: > 1. how can I find out which map is adding the line(s) with arialMT to > psfonts.map Use whatever searching tool you like (grep, windows search ...) and go through all files in your texmf-roots with the extension *.map. I would at first look in vntex (vietname support). At least in older times it had maps with entries with arialMT. > 2. how to remove this map from updmap.cfg (in my C:\MiKTeX\MiKTeX > 2.7\miktex\config\updmap.cfg there are non line with ArialMT) The best is probably to deinstall the whole package it belongs to. -- Mit freundlichen Grüßen Ulrike Fischer |
From: <ETo...@ca...> - 2009-04-27 11:20:03
|
Thank you very much, I think I finally will to as you said if I ecounter similar problems again. ENRICO TONIOLO Ulrike Fischer <li...@ni...> wrote on 24/04/2009 18.07.56: > > am Freitag, 24. April 2009 um 16:01 schrieb ETo...@ca...: > > > > Thank you very much, > > > this solved the problem and I get no warning also! > > > Just for information, is this problem due to a bug (the miktex > > installation type is total) or something other? > > It can be a problem of the "total" installation. This > could have added map-entries which are not suited for your > installation. But it could also be that you have remains from your > older miktex. > > > > Further, I don't undestand this: > > >>(You can influence which font gs use in its fontmaps.) > > >>If this is good enough for you: Try to find out which map is adding > >>the line(s) with arialMT to psfonts.map and remove this map from > >>updmap.cfg, then call updmap to recreate the maps and test if > >>everything works. > > > In particular: > > > 1. how can I find out which map is adding the line(s) with arialMT to > > psfonts.map > > Use whatever searching tool you like (grep, windows search ...) and go > through all files in your texmf-roots with the extension *.map. > > I would at first look in vntex (vietname support). At least in older > times it had maps with entries with arialMT. > > > > 2. how to remove this map from updmap.cfg (in my C:\MiKTeX\MiKTeX > > 2.7\miktex\config\updmap.cfg there are non line with ArialMT) > > The best is probably to deinstall the whole package it belongs to. > > > > -- > Mit freundlichen Grüßen > Ulrike Fischer > _________________________________________________________________________________________________________________ ATTENTION: This e-mail message contains confidential and/or legally privileged information intended solely for the person to whom it is addressed. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution of the contents of this e-mail message is strictly prohibited. If you have received this communication in error, please call us immediately to let us know and delete it by your computer. Thank you. ATTENZIONE: Le informazioni contenute nella presente comunicazione possono essere riservate e sono comunque destinate esclusivamente alle persone sopraindicate. Nel caso in cui il presente messaggio venga ricevuto da persona diversa dal destinatario si avverte che ne sono proibite la diffusione, la distribuzione nonché l’estrazione di copia. Nel caso aveste ricevuto il presente messaggio per errore Vi preghiamo di informarci immediatamente per telefono e di eliminarlo dal vostro computer. Grazie. ATTENTION: Les informations contenues dans la présente communication sont couvertes par le secret professionnel et sont à l’attention exclusive de leur destinataire. Toute utilisation, distribution, divulgation ou reproduction en sont interdites. En cas d’erreur de transmission, nous vous prions de nous en informer immédiatement par téléphone et d'éliminer le présent message e-mail de votre ordinateur. Merci. ATENCION: Este mensaje es solamente para la persona a la que va dirigido. Puede contener información confidencial o legalmente protegida. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje y rogamos de informarnos inmediatamente por teléfono, y destruirlo y eliminarlo de su ordenador. Gracias. _________________________________________________________________________________________________________________ |
From: Dragan B. <bl...@tu...> - 2009-04-27 18:13:13
|
It seems that I accidentally pressed something at my keyboard while reading a dvi file and received a sequence of small (cca 1mm) rectangles, probably representing the pages of the document, on a grey background. Could not recover Yap. A window "MikTeX Problem Report" appeared with the text: --------------------- The page could not be rendered. Data: Unrecoverable error: rangecheck in setscreenOperand stack: 0.0145227 0 --nostringval-- ---------------------- I tried everything, successless. Can you help, please. Dragan B. |