lib/Tools/latex
changeset 16064 7953879aa6cf
parent 15847 c05c7670f166
child 16161 519d717ae9e3
--- a/lib/Tools/latex	Tue May 24 11:19:50 2005 +0200
+++ b/lib/Tools/latex	Tue May 24 14:28:59 2005 +0200
@@ -81,7 +81,11 @@
 function run_makeindex () { $ISABELLE_MAKEINDEX </dev/null "$FILEBASE"; }
 function run_dvips () { $ISABELLE_DVIPS -q -o "$FILEBASE.ps" "$FILEBASE.dvi"; }
 function run_thumbpdf () { [ -n "$ISABELLE_THUMBPDF" ] && $ISABELLE_THUMBPDF "$FILEBASE"; }
-function copy_styles () { cp -f "$ISABELLE_HOME/lib/texinputs"/*.sty "$DIR"; }
+function copy_styles ()
+{
+  cp -f "$ISABELLE_HOME/lib/texinputs"/*.sty "$DIR";
+  "$AUTO_PERL" -n -i -e 's/\$Id(?::\s)*([^\$]*)\$/originating from CVS: $1/g; print;' "$DIR"/*.sty
+}
 
 function extract_syms ()
 {