equal
deleted
inserted
replaced
240 fun output_rule (name, rail) = |
240 fun output_rule (name, rail) = |
241 let |
241 let |
242 val (rail', y') = vertical_range rail 0; |
242 val (rail', y') = vertical_range rail 0; |
243 val out_name = |
243 val out_name = |
244 (case name of |
244 (case name of |
245 Antiquote.Text s => output_text false s |
245 Antiquote.Text "" => "" |
|
246 | Antiquote.Text s => output_text false s |
246 | Antiquote.Antiq a => output_antiq a); |
247 | Antiquote.Antiq a => output_antiq a); |
247 in |
248 in |
248 "\\rail@begin{" ^ string_of_int y' ^ "}{" ^ out_name ^ "}\n" ^ |
249 "\\rail@begin{" ^ string_of_int y' ^ "}{" ^ out_name ^ "}\n" ^ |
249 output "" rail' ^ |
250 output "" rail' ^ |
250 "\\rail@end\n" |
251 "\\rail@end\n" |