function outputtext(&p,text)
  if (p.ignore) return; end
  if (p.verbatim)
    text = strrep(text,'\','\\');
    fprintf(p.myfile,'%s',text);
  else
    fprintf(p.myfile,'%s',expand_codes(text));
  end
