Mageia Bugzilla – Attachment 1806 Details for
Bug 3340
latex2html failure due to unknown image format.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Fix for the latex2html image problem.
patch (text/plain), 2.10 KB, created by
Edward d'Auvergne
on 2012-03-20 09:26:37 CET
(
hide
)
Description:
Fix for the latex2html image problem.
Filename:
MIME Type:
Creator:
Edward d'Auvergne
Created:
2012-03-20 09:26:37 CET
Size:
2.10 KB
patch
obsolete
>--- /usr/lib/latex2html//l2hconf.pm 2012-03-20 08:43:52.145238563 +0100 >+++ /usr/lib/latex2html_orig//l2hconf.pm 2012-03-20 08:41:39.623827487 +0100 >@@ -49,7 +49,7 @@ > # This specifies the type of images produced by latex2html when processing > # unknown environments and/or e.g. math formulae. > # >-@IMAGE_TYPES = qw(png gif); >+@IMAGE_TYPES = qw(); > $IMAGE_TYPE = $IMAGE_TYPES[0]; > > >@@ -133,8 +133,7 @@ > > # Options for dvips as determined by configure > # >-#$DVIPSOPT = ' -Ppdf -E'; >-$DVIPSOPT = ' -E'; >+$DVIPSOPT = ' -Ppdf -E'; > > > # If you already have the fonts, you may add -M to suppress font >@@ -509,7 +508,7 @@ > # When $NO_IMAGES is set LaTeX2HTML will not attempt to produce any inlined images > # The missing images can be generated "off-line" by restarting LaTeX2HTML > # after setting $IMAGES_ONLY (see below); >-$NO_IMAGES = 0; >+$NO_IMAGES = 1; > > > # -images_only >@@ -808,28 +807,28 @@ > # Thanks to Bruce Miller <bruce.miller@nist.gov> for revising support for > # these packages, via the module styles/graphics-support.perl > >-$PNMCUT = '/usr/bin/pnmcut'; >-$PNMFLIP = '/usr/bin/pnmflip'; >-$PNMPAD = '/usr/bin/pnmpad'; >-$PNMROTATE = '/usr/bin/pnmrotate'; >-$PNMSCALE = '/usr/bin/pnmscale'; >- >-$GIFTOPNM = '/usr/bin/giftopnm'; >-$JPEGTOPNM = '/usr/bin/jpegtopnm'; >-$PNGTOPNM = '/usr/bin/pngtopnm'; >-$PNMTOPNG = '/usr/bin/pnmtopng'; >-$PPMTOGIF = '/usr/bin/ppmtogif'; >-$PPMTOJPEG = '/usr/bin/ppmtojpeg'; >+$PNMCUT = ''; >+$PNMFLIP = ''; >+$PNMPAD = ''; >+$PNMROTATE = ''; >+$PNMSCALE = ''; >+ >+$GIFTOPNM = ''; >+$JPEGTOPNM = ''; >+$PNGTOPNM = ''; >+$PNMTOPNG = ''; >+$PPMTOGIF = ''; >+$PPMTOJPEG = ''; > > # there are for some lesser-used (platform-specific ?) graphics formats: >-$TIFFTOPNM = '/usr/bin/tifftopnm'; >-$ANYTOPNM = '/usr/bin/anytopnm'; >-$BMPTOPPM = '/usr/bin/bmptoppm'; >-$PCXTOPPM = '/usr/bin/pcxtoppm'; >+$TIFFTOPNM = ''; >+$ANYTOPNM = ''; >+$BMPTOPPM = ''; >+$PCXTOPPM = ''; > $PICTTOPPM = ''; >-$SGITOPNM = '/usr/bin/sgitopnm'; >-$XBMTOPBM = '/usr/bin/xbmtopbm'; >-$XWDTOPNM = '/usr/bin/xwdtopnm'; >+$SGITOPNM = ''; >+$XBMTOPBM = ''; >+$XWDTOPNM = ''; > > # uncomment these, and adjust configure.in to find the executable > # $FIASCOTOPNM = ;
--- /usr/lib/latex2html//l2hconf.pm 2012-03-20 08:43:52.145238563 +0100 +++ /usr/lib/latex2html_orig//l2hconf.pm 2012-03-20 08:41:39.623827487 +0100 @@ -49,7 +49,7 @@ # This specifies the type of images produced by latex2html when processing # unknown environments and/or e.g. math formulae. # -@IMAGE_TYPES = qw(png gif); +@IMAGE_TYPES = qw(); $IMAGE_TYPE = $IMAGE_TYPES[0]; @@ -133,8 +133,7 @@ # Options for dvips as determined by configure # -#$DVIPSOPT = ' -Ppdf -E'; -$DVIPSOPT = ' -E'; +$DVIPSOPT = ' -Ppdf -E'; # If you already have the fonts, you may add -M to suppress font @@ -509,7 +508,7 @@ # When $NO_IMAGES is set LaTeX2HTML will not attempt to produce any inlined images # The missing images can be generated "off-line" by restarting LaTeX2HTML # after setting $IMAGES_ONLY (see below); -$NO_IMAGES = 0; +$NO_IMAGES = 1; # -images_only @@ -808,28 +807,28 @@ # Thanks to Bruce Miller <bruce.miller@nist.gov> for revising support for # these packages, via the module styles/graphics-support.perl -$PNMCUT = '/usr/bin/pnmcut'; -$PNMFLIP = '/usr/bin/pnmflip'; -$PNMPAD = '/usr/bin/pnmpad'; -$PNMROTATE = '/usr/bin/pnmrotate'; -$PNMSCALE = '/usr/bin/pnmscale'; - -$GIFTOPNM = '/usr/bin/giftopnm'; -$JPEGTOPNM = '/usr/bin/jpegtopnm'; -$PNGTOPNM = '/usr/bin/pngtopnm'; -$PNMTOPNG = '/usr/bin/pnmtopng'; -$PPMTOGIF = '/usr/bin/ppmtogif'; -$PPMTOJPEG = '/usr/bin/ppmtojpeg'; +$PNMCUT = ''; +$PNMFLIP = ''; +$PNMPAD = ''; +$PNMROTATE = ''; +$PNMSCALE = ''; + +$GIFTOPNM = ''; +$JPEGTOPNM = ''; +$PNGTOPNM = ''; +$PNMTOPNG = ''; +$PPMTOGIF = ''; +$PPMTOJPEG = ''; # there are for some lesser-used (platform-specific ?) graphics formats: -$TIFFTOPNM = '/usr/bin/tifftopnm'; -$ANYTOPNM = '/usr/bin/anytopnm'; -$BMPTOPPM = '/usr/bin/bmptoppm'; -$PCXTOPPM = '/usr/bin/pcxtoppm'; +$TIFFTOPNM = ''; +$ANYTOPNM = ''; +$BMPTOPPM = ''; +$PCXTOPPM = ''; $PICTTOPPM = ''; -$SGITOPNM = '/usr/bin/sgitopnm'; -$XBMTOPBM = '/usr/bin/xbmtopbm'; -$XWDTOPNM = '/usr/bin/xwdtopnm'; +$SGITOPNM = ''; +$XBMTOPBM = ''; +$XWDTOPNM = ''; # uncomment these, and adjust configure.in to find the executable # $FIASCOTOPNM = ;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3340
: 1806 |
4247