Re[2]: [l2h] bug under win32

Ross Moore ross@ics.mq.edu.au
Sat, 5 Oct 2002 14:03:32 +1000 (EST)


Hi Victor,

> >> The code above cant understand the capabilities of Aladdin gs
> >> <file:config.pl line:1052>
> >>       while (<GS>) {
> >>         chomp;
> >>        if($flag == 0 && /Ghostscript\s*(?:Version|(?:PRE-|BETA |TESTER )RELEASE|)\s*(\d+[.]?\d*)/i) {
> >>           $gs_version = $1;
> >>           $flag = 1;
> >>         }
 

Thanks for sending the requested message texts.
You can see the problem right away!
 
> sure:
> <pre>
> gs --version produces (text in <pre> tag, not including tag itself):
>    6.01 (2000-03-17)
   ^^--------------------  Ghostscript  should be here !!


For example, at one of my sites, I get:

landau.ics.mq.edu.au> gs -version
AFPL Ghostscript 7.00 (2001-04-08)
Copyright (C) 2001 artofcode LLC, Benicia, CA.  All rights reserved.



>    Copyright (C) 2000 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
>    Aladdin Ghostscript
> </pre>

The name does occur 2 lines later.
LaTeX2HTML's installation script doesn't look for it there.

Since you are using a quite old version (6.01, dated 2000) of Ghostscript,
why not look to upgrading it, then reinstall LaTeX2HTML.

 
> gs --help produces (text in <pre> tag, not including tag itself):
> <pre>
> 6.01 (2000-03-17)
> Copyright (C) 2000 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
> Usage: gs [switches] [file1.ps file2.ps ...]
> Most frequently used switches: (you can use # in place of =)
>  -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
>  -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
>  -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
>  -sOutputFile=<file> select output file: - for stdout, |command for pipe,
>                                          embed %d or %ld for page #
> Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
> Available devices:
>    mswindll mswinprn mswinpr2 epson eps9high eps9mid epsonc ibmpro deskjet
>    djet500 laserjet ljetplus ljet2p cdeskjet cdjcolor cdjmono cdj550
>    djet500c declj250 lj250 st800 stcolor bj10e bj200 t4693d2 t4693d4 t4693d8
>    tek4696 pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pbm pbmraw pgm pgmraw
>    pgnm pgnmraw tiffcrle tiffg3 tiffg32d tiffg4 tifflzw tiffpack bmpmono
>    bmpgray bmp16 bmp256 bmp16m tiff12nc tiff24nc psmono bit bitrgb bitcmyk
>    pngmono pnggray png16 png256 png16m jpeg jpeggray pdfwrite bbox pswrite
>    epswrite pxlmono pxlcolor ljet3 ljet3d ljet4 ljet4d pj pjxl pjxl300
>    jetp3852 r4081 lbp8 uniprint m8510 necp6 bjc600 bjc800 pnm pnmraw ppm
>    ppmraw nullpage
> Search path:
>    . ; e:\programs\aladdin\Aladdin\gs6.01\lib ;
>    e:\programs\aladdin\Aladdin\fonts ; c:/Aladdin/gs6.01/lib ;
>    c:/Aladdin/fonts
> For more information, see c:/Aladdin/gs6.01/doc\Use.htm.
> Report bugs to bug-gs@aladdin.com, using the form in Bug-form.htm.
> Aladdin Ghostscript gsdll_init returns 1
> </pre>


> do not know where it got c:/Aladdin/fonts and c:/Aladdin/gs6.01/lib
> path's, as i've bought a new hard drive about 4 moth's ago and
> reinstalled winows for 3 times...
 
I think your direct customisation of the variables that LaTeX2HTML uses
is about as good as you can do, unless you update Ghostscript.

There is little point in my adjusting the install script,
unless others report a similar problem.
(So if others are seeing this kind of error, please report it.)


Hope this helps,

	Ross Moore


 
> -- 
> Best regards,
>  Victor                            mailto:zagorski@atom.krasnet.ru
> 
>