| 15 |
############################################################################## |
############################################################################## |
| 16 |
# |
# |
| 17 |
# $Log$ |
# $Log$ |
| 18 |
|
# Revision 1.2 2005/07/15 13:20:56 cnh |
| 19 |
|
# Slight change to the fix - plus relative path in .latex2html-init |
| 20 |
|
# |
| 21 |
# Revision 1.1 2005/07/15 13:07:23 cnh |
# Revision 1.1 2005/07/15 13:07:23 cnh |
| 22 |
# More cunning tricks to get rid of black lines |
# More cunning tricks to get rid of black lines |
| 23 |
# pnmcrop is junk! |
# pnmcrop is junk! |
| 1122 |
#RRM: shave at most 1-2 rows of white from the bottom |
#RRM: shave at most 1-2 rows of white from the bottom |
| 1123 |
if($cmd) { |
if($cmd) { |
| 1124 |
# Terminate command pipe |
# Terminate command pipe |
| 1125 |
$cmd .= "| pnmcrop -white -bot -verbose | pamcut -bottom 200 -pad | pnmcrop -black -bot -verbose"; |
### CNH trick to get rid of black lines at bottom of some equations |
| 1126 |
|
$cmd .= "| pnmcrop -white -bot -verbose | pnmcrop -black -bot -verbose | pnmcrop -white -bot -verbose | pnmcrop -black -bot -verbose"; |
| 1127 |
&do_cmd($in,$tmp,$cmd) || return 0; # failure |
&do_cmd($in,$tmp,$cmd) || return 0; # failure |
| 1128 |
$cmd = ''; |
$cmd = ''; |
| 1129 |
} |
} |