with text_io; use text_io; --********************************************************** -- Conversion from troff to HTML * -- Version 1: 15/6/95 * -- Update 16/6/95 Table processing * -- 13/7/95 To use only standard TEXT_IO packge * -- 27/6/96 Table processing
"); end if; elsif directive=ip then if ip_level then put_line("
"); put("
"); put_line("
");
elsif directive=de then
put_line("");
elsif directive=eq then
put_line(""); put_line("
");
put_line("");
get_line(text,length);
while text(1..3)/=".EN" loop
text(2..length+1):=text(1..length);
if text(2..7) /= "define" then
process_equation_badly(text(2..length+1),length);
end if;
get_line(text,length);
end loop;
put_line("");
put_line("");
put_line(""); elsif directive=ps then put_line("
");
put("'); new_line;
pic_count:=pic_count+1;
get_line(text,length);
while text(1..3)/=".PE" loop
get_line(text,length);
end loop;
put_line("
"); elsif directive=so then put("'); put("anchor"); put(itos(anch_count,0)); put_line(""); anch_count:=anch_count+1; elsif directive=br or directive=sp then put_line("
"); elsif directive=ts then process_table_description; elsif directive=ne then eqn_on := false; elsif directive=eo then eqn_on := true; end if; else check_and_process_in_line(text,length); end if; for i in 1..length loop text(i) := character'val(0); end loop; length:=0; end loop; if ip_level then put_line("