lib/Tools/latex
changeset 14970 8159ade98144
parent 14921 4ad751fa50c1
child 14981 e73f8140af78
equal deleted inserted replaced
14969:3d9126cbf0e6 14970:8159ade98144
    85 function copy_styles () { cp -f "$ISABELLE_HOME/lib/texinputs"/*.sty "$DIR"; }
    85 function copy_styles () { cp -f "$ISABELLE_HOME/lib/texinputs"/*.sty "$DIR"; }
    86 
    86 
    87 function extract_syms ()
    87 function extract_syms ()
    88 {
    88 {
    89   "$AUTO_PERL" -n \
    89   "$AUTO_PERL" -n \
    90     -e '!m,%requires, && m,\\newcommand\{\\isasym(\w+)\}, && print "$1\n";' \
    90     -e '(!m,%requires, || m,%requires latin1, || m,%requires amssymb, || m,%requires textcomp,) && m,\\newcommand\{\\isasym(\w+)\}, && print "$1\n";' \
    91     "$ISABELLE_HOME/lib/texinputs/isabellesym.sty" > "$DIR/syms.lst"
    91     "$ISABELLE_HOME/lib/texinputs/isabellesym.sty" > "$DIR/syms.lst"
    92   "$AUTO_PERL" -n \
    92   "$AUTO_PERL" -n \
    93     -e 'm,\\newcommand\{\\isactrl(\w+)\}, && print "$1\n";' \
    93     -e 'm,\\newcommand\{\\isactrl(\w+)\}, && print "$1\n";' \
    94     "$ISABELLE_HOME/lib/texinputs/isabelle.sty" > "$DIR/ctrls.lst"
    94     "$ISABELLE_HOME/lib/texinputs/isabelle.sty" > "$DIR/ctrls.lst"
    95 }
    95 }