# HG changeset patch # User oheimb # Date 891590088 -7200 # Node ID b6729feb8a5d47b01a84e946f17bcd62c28c354c # Parent 8c7e7eaffbdfc2b6f16f01a436456a3beb339ae9 improved \tt appearance of many ASCII special symbols like # isabelle theory file keywords now appear bold only when at begin of line diff -r 8c7e7eaffbdf -r b6729feb8a5d src/Tools/8bit/c-sources/isa2latex/conv-defs.h --- a/src/Tools/8bit/c-sources/isa2latex/conv-defs.h Thu Apr 02 17:19:02 1998 +0200 +++ b/src/Tools/8bit/c-sources/isa2latex/conv-defs.h Fri Apr 03 09:54:48 1998 +0200 @@ -56,6 +56,6 @@ #define END_LOW_TABLE 126 #define START_HI_TABLE 160 #define END_HI_TABLE 255 -#define SEQ_TABLE 27 +#define SEQ_TABLE 28 /* END gen-isa2latex */ diff -r 8c7e7eaffbdf -r b6729feb8a5d src/Tools/8bit/c-sources/isa2latex/conv-lex.x --- a/src/Tools/8bit/c-sources/isa2latex/conv-lex.x Thu Apr 02 17:19:02 1998 +0200 +++ b/src/Tools/8bit/c-sources/isa2latex/conv-lex.x Fri Apr 03 09:54:48 1998 +0200 @@ -202,60 +202,62 @@ /* The following is generated by the perl script gen-isa2latex. */ /* Make modifications in configuration file for gen-isa2latex! */ /* BEGIN_OF_SEQ_TABLE */ -êë put((char)32,TRUE,0); -==> put((char)32,TRUE,0); -çè put((char)32,TRUE,1); ---> put((char)32,TRUE,1); -Ã! put((char)32,TRUE,2); -\?! put((char)32,TRUE,2); -ALL@@@@@ put((char)32,TRUE,3); -ALL\ put((char)32,TRUE,3); -EX@@@@@ put((char)32,TRUE,4); -EX\ put((char)32,TRUE,4); -<<\| put((char)32,TRUE,5); -<<\| put((char)32,TRUE,5); -<\| put((char)32,TRUE,6); -<\| put((char)32,TRUE,6); -éê put((char)32,TRUE,7); -<== put((char)32,TRUE,7); -éë put((char)32,TRUE,8); -<=> put((char)32,TRUE,8); -æç put((char)32,TRUE,9); -<-- put((char)32,TRUE,9); -æè put((char)32,TRUE,10); -<-> put((char)32,TRUE,10); -\^-1 put((char)32,TRUE,11); -\^-1 put((char)32,TRUE,11); -arities put((char)32,TRUE,12); -@arities put((char)32,TRUE,12); -axclass put((char)32,TRUE,13); -@axclass put((char)32,TRUE,13); -constdefs put((char)32,TRUE,14); -@constdefs put((char)32,TRUE,14); -consts put((char)32,TRUE,15); -@consts put((char)32,TRUE,15); -datatype put((char)32,TRUE,16); -@datatype put((char)32,TRUE,16); -defs put((char)32,TRUE,17); -@defs put((char)32,TRUE,17); -domain put((char)32,TRUE,18); -@domain put((char)32,TRUE,18); -inductive put((char)32,TRUE,19); -@inductive put((char)32,TRUE,19); -instance put((char)32,TRUE,20); -@instance put((char)32,TRUE,20); -primrec put((char)32,TRUE,21); -@primrec put((char)32,TRUE,21); -recdef put((char)32,TRUE,22); -@recdef put((char)32,TRUE,22); -rules put((char)32,TRUE,23); -@rules put((char)32,TRUE,23); -translations put((char)32,TRUE,24); -@translations put((char)32,TRUE,24); -typedef put((char)32,TRUE,25); -@typedef put((char)32,TRUE,25); -types put((char)32,TRUE,26); -@types put((char)32,TRUE,26); +êë put((char)32,TRUE,0); +==> put((char)32,TRUE,0); +çè put((char)32,TRUE,1); +--> put((char)32,TRUE,1); +Ã! put((char)32,TRUE,2); +\?! put((char)32,TRUE,2); +ALL@@@@@ put((char)32,TRUE,3); +ALL\ put((char)32,TRUE,3); +EX@@@@@ put((char)32,TRUE,4); +EX\ put((char)32,TRUE,4); +<<\| put((char)32,TRUE,5); +@<<\| put((char)32,TRUE,5); +<\| put((char)32,TRUE,6); +@<\| put((char)32,TRUE,6); +éê put((char)32,TRUE,7); +<== put((char)32,TRUE,7); +éë put((char)32,TRUE,8); +<=> put((char)32,TRUE,8); +æç put((char)32,TRUE,9); +<-- put((char)32,TRUE,9); +æè put((char)32,TRUE,10); +<-> put((char)32,TRUE,10); +^arities put((char)32,TRUE,11); +^@arities put((char)32,TRUE,11); +^axclass put((char)32,TRUE,12); +^@axclass put((char)32,TRUE,12); +^constdefs put((char)32,TRUE,13); +^@constdefs put((char)32,TRUE,13); +^consts put((char)32,TRUE,14); +^@consts put((char)32,TRUE,14); +^datatype put((char)32,TRUE,15); +^@datatype put((char)32,TRUE,15); +^defs put((char)32,TRUE,16); +^@defs put((char)32,TRUE,16); +^domain put((char)32,TRUE,17); +^@domain put((char)32,TRUE,17); +^end put((char)32,TRUE,18); +^@end put((char)32,TRUE,18); +^inductive put((char)32,TRUE,19); +^@inductive put((char)32,TRUE,19); +^instance put((char)32,TRUE,20); +^@instance put((char)32,TRUE,20); +^primrec put((char)32,TRUE,21); +^@primrec put((char)32,TRUE,21); +^recdef put((char)32,TRUE,22); +^@recdef put((char)32,TRUE,22); +^rules put((char)32,TRUE,23); +^@rules put((char)32,TRUE,23); +^syntax put((char)32,TRUE,24); +^@syntax put((char)32,TRUE,24); +^translations put((char)32,TRUE,25); +^@translations put((char)32,TRUE,25); +^typedef put((char)32,TRUE,26); +^@typedef put((char)32,TRUE,26); +^types put((char)32,TRUE,27); +^@types put((char)32,TRUE,27); /* END_OF_SEQ_TABLE */ /* This is the end of the generated part */ diff -r 8c7e7eaffbdf -r b6729feb8a5d src/Tools/8bit/c-sources/isa2latex/conv-tables.h --- a/src/Tools/8bit/c-sources/isa2latex/conv-tables.h Thu Apr 02 17:19:02 1998 +0200 +++ b/src/Tools/8bit/c-sources/isa2latex/conv-tables.h Fri Apr 03 09:54:48 1998 +0200 @@ -13,13 +13,13 @@ "\\ ", "!", "\x22{}", - "\\mbox{$\\#$}", + "\\#", "\\$", "\\%", "\\&", "'", - "\\mbox{$($}", - "\\mbox{$)$}", + "(", + ")", "{*}", "+", ",", @@ -38,9 +38,9 @@ "9", ":", ";", - "\\mbox{$<$}", - "\\mbox{$=$}", - "\\mbox{$>$}", + "<", + "=", + ">", "?", "@", "A", @@ -69,9 +69,9 @@ "X", "Y", "Z", - "\\mbox{$[$}", + "[", "\\ttbackslash{}", - "\\mbox{$]$}", + "]", "\\^{}", "{\\_\\hspace{.344ex}}", "`", @@ -101,9 +101,9 @@ "x", "y", "z", - "\\mbox{$\\{$}", - "\\mbox{$\\mid$}", - "\\mbox{$\\}$}", + "\\{", + "|", + "\\}", "\\tttilde{}" }; /* END_OF_LOW_TABLE */ @@ -168,13 +168,13 @@ {"|=" ,"\\mbox{$\\models$}"}, {"[|" ,"\\mbox{$[\\![\\hspace{.32ex}$}"}, {"|]" ,"\\mbox{$\\hspace{.32ex}]\\!]$}"}, - {"\\cdot" ,"\\mbox{$\\hspace{.28ex}\\cdot\\hspace{.28ex}$}"}, + {"." ,"\\mbox{$\\hspace{.28ex}\\cdot\\hspace{.28ex}$}"}, {":" ,"\\hspace{.1ex}\\mbox{$\\in$}\\hspace{.1ex}"}, {" \\subseteq " ,"\\mbox{$\\subseteq$}"}, {" Int " ,"\\mbox{$\\cap$}"}, {" Un " ,"\\mbox{$\\cup$}"}, - {"Inter " ,"\\mbox{$\\bigcap$}"}, - {"Union " ,"\\mbox{$\\bigcup$}"}, + {"INT " ,"\\mbox{$\\bigcap$}"}, + {"UN " ,"\\mbox{$\\bigcup$}"}, {"\\sqcap" ,"\\mbox{$\\hspace{.29ex}\\sqcap\\hspace{.29ex}$}"}, {"\\sqcup" ,"\\mbox{$\\hspace{.29ex}\\sqcup\\hspace{.29ex}$}"}, {"glb " ,"\\mbox{$\\overline{|\\,\\,|}$}"}, @@ -192,7 +192,7 @@ {"\\sim " ,"\\mbox{$\\hspace{.29ex}\\sim\\hspace{.29ex}$}\\ "}, {"\\simeq" ,"\\mbox{$\\hspace{.29ex}\\simeq\\hspace{.29ex}$}"}, {"<=" ,"\\mbox{$\\hspace{.29ex}\\le\\hspace{.29ex}$}"}, - {"::" ,"\\mbox{$\\hspace{-.1ex}:\\hspace{-.07ex}:\\hspace{.1ex}$}"}, + {"::" ,"\\mbox{$:\\hspace{-.07ex}:$}"}, {"<-" ,"\\mbox{$\\leftarrow$}"}, {"-" ,"\\mbox{$-$}"}, {"->" ,"\\mbox{$\\rightarrow$}"}, @@ -248,7 +248,6 @@ {"<=>" ,"\\mbox{$\\Leftrightarrow$}"}, {"<--" ,"\\mbox{$\\longleftarrow$}"}, {"<->" ,"\\mbox{$\\leftrightarrow$}"}, - {"^-1" ,"\\mbox{$^{\\tt -1}$}"}, {"arities" ,"\\mbox{\\bf arities}"}, {"axclass" ,"\\mbox{\\bf axclass}"}, {"constdefs" ,"\\mbox{\\bf constdefs}"}, @@ -256,11 +255,13 @@ {"datatype" ,"\\mbox{\\bf datatype}"}, {"defs" ,"\\mbox{\\bf defs}"}, {"domain" ,"\\mbox{\\bf domain}"}, + {"end" ,"\\mbox{\\bf end}"}, {"inductive" ,"\\mbox{\\bf inductive}"}, {"instance" ,"\\mbox{\\bf instance}"}, {"primrec" ,"\\mbox{\\bf primrec}"}, {"recdef" ,"\\mbox{\\bf recdef}"}, {"rules" ,"\\mbox{\\bf rules}"}, + {"syntax" ,"\\mbox{\\bf syntax}"}, {"translations" ,"\\mbox{\\bf translations}"}, {"typedef" ,"\\mbox{\\bf typedef}"}, {"types" ,"\\mbox{\\bf types}"} diff -r 8c7e7eaffbdf -r b6729feb8a5d src/Tools/8bit/config/conv-tables.inp --- a/src/Tools/8bit/config/conv-tables.inp Thu Apr 02 17:19:02 1998 +0200 +++ b/src/Tools/8bit/config/conv-tables.inp Fri Apr 03 09:54:48 1998 +0200 @@ -86,13 +86,13 @@ #> "\\x22{}" double quotes are not removed > "\x22{}" double quotes are not removed # -> "\mbox{$\#$}" +> "\#" > "\$" > "\%" > "\&" > "'" -> "\mbox{$($}" -> "\mbox{$)$}" +> "(" +> ")" > "{*}" > "+" > "," @@ -111,9 +111,9 @@ > "9" > ":" > ";" -> "\mbox{$<$}" -> "\mbox{$=$}" -> "\mbox{$>$}" +> "<" +> "=" +> ">" > "?" > "@" > "A" @@ -142,9 +142,9 @@ > "X" > "Y" > "Z" -> "\mbox{$[$}" +> "[" > "\ttbackslash{}" #????? -> "\mbox{$]$}" +> "]" > "\^{}" > "{\_\hspace{.344ex}}" > "`" @@ -174,9 +174,9 @@ > "x" > "y" > "z" -> "\mbox{$\{$}" #"\ttlbrace{}" -> "\mbox{$\mid$}" -> "\mbox{$\}$}" #"\ttrbrace{}" +> "\{" #"\ttlbrace{}" +> "|" +> "\}" #"\ttrbrace{}" > "\tttilde{}" END_LOW_TABLE @@ -398,32 +398,34 @@ > "EX@@@@@" "EX\ " "EX " "\mbox{$\exists$}" #HOLCF -> "<<\|" "<<\|" "<<|" "\mbox{$\ll\!\mid$}" -> "<\|" "<\|" "<|" "\mbox{$<\!\mid$}" +> "<<\|" "@<<\|" "<<|" "\mbox{$\ll\!\mid$}" +> "<\|" "@<\|" "<|" "\mbox{$<\!\mid$}" # misc ? > "éê" "<==" "<==" "\mbox{$\Longleftarrow$}" > "éë" "<=>" "<=>" "\mbox{$\Leftrightarrow$}" > "æç" "<--" "<--" "\mbox{$\longleftarrow$}" > "æè" "<->" "<->" "\mbox{$\leftrightarrow$}" -> "\^-1" "\^-1" "^-1" "\mbox{$^{\tt -1}$}" +#> "\^-1" "@\^-1" "^-1" "\mbox{$^{\tt -1}$}" #Isabelle -> "arities" "@arities" "arities" "\mbox{\bf arities}" -> "axclass" "@axclass" "axclass" "\mbox{\bf axclass}" -> "constdefs" "@constdefs" "constdefs" "\mbox{\bf constdefs}" -> "consts" "@consts" "consts" "\mbox{\bf consts}" -> "datatype" "@datatype" "datatype" "\mbox{\bf datatype}" -> "defs" "@defs" "defs" "\mbox{\bf defs}" -> "domain" "@domain" "domain" "\mbox{\bf domain}" -> "inductive" "@inductive" "inductive" "\mbox{\bf inductive}" -> "instance" "@instance" "instance" "\mbox{\bf instance}" -> "primrec" "@primrec" "primrec" "\mbox{\bf primrec}" -> "recdef" "@recdef" "recdef" "\mbox{\bf recdef}" -> "rules" "@rules" "rules" "\mbox{\bf rules}" -> "translations""@translations""translations" "\mbox{\bf translations}" -> "typedef" "@typedef" "typedef" "\mbox{\bf typedef}" -> "types" "@types" "types" "\mbox{\bf types}" +> "^arities" "^@arities" "arities" "\mbox{\bf arities}" +> "^axclass" "^@axclass" "axclass" "\mbox{\bf axclass}" +> "^constdefs" "^@constdefs" "constdefs" "\mbox{\bf constdefs}" +> "^consts" "^@consts" "consts" "\mbox{\bf consts}" +> "^datatype" "^@datatype" "datatype" "\mbox{\bf datatype}" +> "^defs" "^@defs" "defs" "\mbox{\bf defs}" +> "^domain" "^@domain" "domain" "\mbox{\bf domain}" +> "^end" "^@end" "end" "\mbox{\bf end}" +> "^inductive" "^@inductive" "inductive" "\mbox{\bf inductive}" +> "^instance" "^@instance" "instance" "\mbox{\bf instance}" +> "^primrec" "^@primrec" "primrec" "\mbox{\bf primrec}" +> "^recdef" "^@recdef" "recdef" "\mbox{\bf recdef}" +> "^rules" "^@rules" "rules" "\mbox{\bf rules}" +> "^syntax" "^@syntax" "syntax" "\mbox{\bf syntax}" +> "^translations""^@translations""translations""\mbox{\bf translations}" +> "^typedef" "^@typedef" "typedef" "\mbox{\bf typedef}" +> "^types" "^@types" "types" "\mbox{\bf types}" END_SEQ_TABLE