diff --git a/scripts/schhist2web b/scripts/schhist2web index 88a7bef..dad196b 100755 --- a/scripts/schhist2web +++ b/scripts/schhist2web @@ -65,7 +65,7 @@ commit_entry() EOF echo "
" ( cd "$dir" && git show \ - --pretty=format:"%aN <%aE>%n%ad, %ar%n%n %s" \ + --pretty=format:"%aN <%aE>%n %ad, %ar%n%n %s" \ --quiet $next; ) | sed 's/&/&/g;s/\</g;s/>/\>/g' | if [ -z "$SCHHIST_COMMIT_TEMPLATE" ]; then @@ -171,7 +171,7 @@ PATH=`dirname "$0"`:"$PATH" first=`gitenealogy "$dir" "$sch" | sed '$s/ .*//p;d'` schname=`gitenealogy "$dir" "$sch" | sed '$s/^.* //p;d'` -rm -rf "$out/diff_*" "$out/thumb_*" "$out/names" +rm -rf "$out/diff_*" "$out/thumb_*" "$out/html_*" "$out/pdf_*" "$out/names" $no_cache && rm -rf "$cache" mkdir -p "$out/names" mkdir -p "$cache" diff --git a/scripts/schps2pdf b/scripts/schps2pdf index 10650f1..eff40d1 100755 --- a/scripts/schps2pdf +++ b/scripts/schps2pdf @@ -53,7 +53,7 @@ shift eval gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=\""$out\"" -f \ `export i=1; for n in "$in" "$@"; do \ i=\`expr $i + 1\`; - echo "<(sheet=\`basename \"$n\" .ps\`; + echo "<(sheet=\"\`basename \"$n\" .ps\`\"; set x $titles; i=\`expr $i + 1\`; eval t='\\$$i'; $toc && echo '[ /Title ('\"\\${t:-\\${sheet#$prefix}}\"') /OUT pdfmark'; cat \"$n\";)"; done`