more generous treatment of packages in draft prints;
authorwenzelm
Fri, 18 Jun 2004 20:07:59 +0200
changeset 14970 8159ade98144
parent 14969 3d9126cbf0e6
child 14971 18ee74d6bba1
more generous treatment of packages in draft prints;
lib/Tools/latex
lib/texinputs/draft.tex
--- a/lib/Tools/latex	Fri Jun 18 20:07:51 2004 +0200
+++ b/lib/Tools/latex	Fri Jun 18 20:07:59 2004 +0200
@@ -87,7 +87,7 @@
 function extract_syms ()
 {
   "$AUTO_PERL" -n \
-    -e '!m,%requires, && m,\\newcommand\{\\isasym(\w+)\}, && print "$1\n";' \
+    -e '(!m,%requires, || m,%requires latin1, || m,%requires amssymb, || m,%requires textcomp,) && m,\\newcommand\{\\isasym(\w+)\}, && print "$1\n";' \
     "$ISABELLE_HOME/lib/texinputs/isabellesym.sty" > "$DIR/syms.lst"
   "$AUTO_PERL" -n \
     -e 'm,\\newcommand\{\\isactrl(\w+)\}, && print "$1\n";' \
--- a/lib/texinputs/draft.tex	Fri Jun 18 20:07:51 2004 +0200
+++ b/lib/texinputs/draft.tex	Fri Jun 18 20:07:59 2004 +0200
@@ -7,9 +7,14 @@
 
 \documentclass[10pt,a4paper]{article}
 \usepackage{isabelle,isabellesym}
+
+%packages for unusual symbols -- selection needs to conform to
+%result of 'isatool latex -o syms'
 \usepackage[latin1]{inputenc}
+\usepackage{amssymb}
+\usepackage{textcomp}
+
 \usepackage{pdfsetup}
-\usepackage{latexsym}
 
 \pagestyle{myheadings}
 \renewcommand{\isamarkupheader}[1]%