"$out/html_$next/$m.html"
-
-
-$m
-
-
-
-EOF
+ wrapped_png "$out" "$next" "$m" >>"$index"
done < <(ls -1 "$out/names")
if ! $empty; then
echo "$s" >>"$index"
@@ -384,7 +392,10 @@ if [ -d "$cache/ppm_$next" ]; then # could this ever be false ?
pngdiff shrink "$thumb" -f $THUMB_OPTS -c 0,1,0 "$fat" "$fat" \
|| exit
empty=false
- echo "" >>"$index"
+ mkdir -p "$out/pdf_$next"
+ schps2pdf -T NEW -o "$out/pdf_$next/$m.pdf" \
+ "$cache/ps_$next/$m.ps" || exit
+ wrapped_png "$out" "$next" "$m" >>"$index"
done < <(ls -1 "$out/names")
if ! $empty; then
echo " | " >>"$index"
|