src/Pure/Thy/latex.ML
changeset 14992 a16bc5abad45
parent 14981 e73f8140af78
child 15801 d2f5ca3c048d
equal deleted inserted replaced
14991:26fb63c4acb5 14992:a16bc5abad45
    62   "`" => "{\\isacharbackquote}" |
    62   "`" => "{\\isacharbackquote}" |
    63   "{" => "{\\isacharbraceleft}" |
    63   "{" => "{\\isacharbraceleft}" |
    64   "|" => "{\\isacharbar}" |
    64   "|" => "{\\isacharbar}" |
    65   "}" => "{\\isacharbraceright}" |
    65   "}" => "{\\isacharbraceright}" |
    66   "~" => "{\\isachartilde}" |
    66   "~" => "{\\isachartilde}" |
    67   c => if Symbol.is_digit c then enclose "{\\isadigit{" "}}" c else c;
    67   c => if Symbol.is_ascii_digit c then enclose "{\\isadigit{" "}}" c else c;
    68 
    68 
    69 val output_chrs = translate_string output_chr;
    69 val output_chrs = translate_string output_chr;
    70 
    70 
    71 fun output_known_sym (known_sym, known_ctrl) sym =
    71 fun output_known_sym (known_sym, known_ctrl) sym =
    72   (case Symbol.decode sym of
    72   (case Symbol.decode sym of