[l2h] dvips version detection + perl warning

Erling D. Andersen e.d.andersen at mosek.com
Fri Dec 19 07:50:23 CET 2003


Hi Roos,

Yesterday I reinstalled Latex so it is located in

c:\local\TeXLive\...

instead of the default location

c:\Program files\TeXLive\...

because otherwise I could not convert figures. After I did that
then the dvips version detection also works.

I think the problem is that it cannot handle

c:\program files\dvips -v

i.e. if there are spaces in the name and some options then 
it goes wrong.

Conclusion: On windows it is currently a bad idea that the tools
lies in directories which have spaces in their names. 

Erling









At 03:32 PM 12/17/2003, Erling D. Andersen wrote:
>Hi
>
>
>>To find out exactly what command is being tested,
>>put another `print'  statement:
>>
>>> >>   foreach $veropt (@tryopts) {
>>   print "\nCMD: $dvips $veropt ";
>>> >>       my ($stat,$msg,$err) = &get_out_err("$dvips $veropt");
>
>
>New output is below.
>
>[One guess could be dvips return errorlevel 1 in the first case. That is why stat is wrong.
>The other cases does not work because of the space in the file name and because there
>is an option i.e. -v]
>
>checking dvips version...
>CMD: C:\Program Files\TeXLive\bin\win32\dvips.exe
>STAT:1, MSG=This is dvips(k) 5.94a Copyright 2003 Radical Eye Software (www.radi
>caleye.com)
>Missing DVI file argument (or -f).
>Try --help for more information.
>CMD: C:\Program Files\TeXLive\bin\win32\dvips.exe --version
>STAT:1, MSG='C:\Program' is not recognized as an internal or external command,
>operable program or batch file.
>CMD: C:\Program Files\TeXLive\bin\win32\dvips.exe -?
>STAT:1, MSG='C:\Program' is not recognized as an internal or external command,
>operable program or batch file.
>CMD: C:\Program Files\TeXLive\bin\win32\dvips.exe -v
>STAT:1, MSG='C:\Program' is not recognized as an internal or external command,
>operable program or batch file.5.94a
>checking if dvips supports the combination of -E and -i -S 1... yes
>checking for html4-check... no
>checking for gswin32c... C:\local\gs\gs8.11\bin\gswin32c.exe
>checking for ghostscript version... 8.11
>checking for ghostscript portable bitmap device... pnmraw
>checking for full color device for anti-aliasing... ppmraw
>checking for ghostscript library and font paths... built-in paths are correct
>checking for pnmcrop... C:\local\netpbm\bin\pnmcrop.exe
>
>C:\local\netpbm\bin\pnmcrop.exe -verbose yes
>
>
>
>>I suspect that it is *not*  dvips -v
>>so to fix the problem nicely, the commands to be tested
>>should include this as one option.
>>Preferably quite early in the list.
>>
>>
>>> C:\Program Files\TeXLive\bin\win32\dvips.exe
>>>
>>> i.e. it contain a space in path. Can it cause problems. The output you ask for is below.
>>
>>Yes. This could be why the 2nd, 3rd and 4th tests fail.
>>
>>
>>Hope this helps,
>>
>>        Ross
>>
>>
>>>
>>> Erling
>>>
>>>
>>> ****************************************************************************
>>> Denne mail er blevet scannet af http://www.virus112.com
>>> ****************************************************************************
>>> _______________________________________________
>>> latex2html mailing list
>>> latex2html at tug.org
>>> http://tug.org/mailman/listinfo/latex2html
>>>
>>
>>**************************************************************************** 
>>Denne mail er blevet scannet af http://www.virus112.com 
>>**************************************************************************** 
>
>*************************************************************************
>MOSEK ApS     
>C/O Symbion Science Park    
>Fruebjergvej 3, Boks 16
>DK-2100 Copenhagen O
>Denmark
>
>Phone (work): +45 3917 9907
>Mobile-phone: +45 2362 9520
>Fax:               +45 3917 9823
>Email to phone: 23629520 at gsm1800.telia.dk
>Email: e.d.andersen at mosek.com
>Homepage: http://erling.andersen.name 
>                  http://www.mosek.com/homepages/e.d.andersen/
>
>************************************************************************* 
>
>
>**************************************************************************** 
>Denne mail er blevet scannet af http://www.virus112.com 
>****************************************************************************
>_______________________________________________
>latex2html mailing list
>latex2html at tug.org
>http://tug.org/mailman/listinfo/latex2html
>
>**************************************************************************** 
>Denne mail er blevet scannet af http://www.virus112.com 
>**************************************************************************** 

*************************************************************************
MOSEK ApS     
C/O Symbion Science Park    
Fruebjergvej 3, Boks 16
DK-2100 Copenhagen O
Denmark

Phone (work): +45 3917 9907
Mobile-phone: +45 2362 9520
Fax:               +45 3917 9823
Email to phone: 23629520 at gsm1800.telia.dk
Email: e.d.andersen at mosek.com
Homepage: http://erling.andersen.name 
                  http://www.mosek.com/homepages/e.d.andersen/

************************************************************************* 


**************************************************************************** 
Denne mail er blevet scannet af http://www.virus112.com 
****************************************************************************


More information about the latex2html mailing list