% This is logopenout.ch, % excerpted from tex.ch from web2c % By Tim Morgan, UC Irvine ICS Department, and many others. @x log \openout when in extended mode, mainly to pass the e-TRIP test while not a_open_out(write_file[j]) do prompt_file_name("output file name",".tex"); write_open[j]:=true; @y while not a_open_out(write_file[j]) do prompt_file_name("output file name",".tex"); write_open[j]:=true; {If on first line of input, log file is not ready yet, so don't log.} if log_opened and eTeX_ex then begin old_setting:=selector; if (tracing_online<=0) then selector:=log_only {Show what we're doing in the log file.} else selector:=term_and_log; {Show what we're doing.} print_nl("\openout"); print_int(j); print(" = `"); print_file_name(cur_name,cur_area,cur_ext); print("'."); print_nl(""); print_ln; selector:=old_setting; end; @z