lib/Tools/latex
changeset 16874 3057990d20e0
parent 16171 3c939bb52420
child 26576 fc76b7b79ba9
equal deleted inserted replaced
16873:9ed940a1bebb 16874:3057990d20e0
    83 function run_thumbpdf () { [ -n "$ISABELLE_THUMBPDF" ] && $ISABELLE_THUMBPDF "$FILEBASE"; }
    83 function run_thumbpdf () { [ -n "$ISABELLE_THUMBPDF" ] && $ISABELLE_THUMBPDF "$FILEBASE"; }
    84 function copy_styles ()
    84 function copy_styles ()
    85 {
    85 {
    86   for STYLEFILE in "$ISABELLE_HOME/lib/texinputs"/*.sty
    86   for STYLEFILE in "$ISABELLE_HOME/lib/texinputs"/*.sty
    87   do
    87   do
    88     TARGET="$DIR"/$(basename $STYLEFILE)
    88     TARGET="$DIR"/$(basename "$STYLEFILE")
    89     rm -f $TARGET
    89     "$AUTO_PERL" -p -e 's/\$[I]d:?(?:\s)*([^\$]*)\$//g' "$STYLEFILE" > "$TARGET"
    90     "$AUTO_PERL" -n -e 's/\$[I]d:?(?:\s)*([^\$]*)\$//g; print;' "$STYLEFILE" > "$TARGET"
       
    91     #~ "$AUTO_PERL" -n -e 's/\$[I]d:?(?:\s)*([^\$]*)\$/originating from CVS: $1/g; print;' $STYLEFILE > $TARGET
       
    92     # the [I] is there to prevent CVS from expanding $Id...$ itself ;-)
       
    93   done
    90   done
    94 }
    91 }
    95 
    92 
    96 function extract_syms ()
    93 function extract_syms ()
    97 {
    94 {