The E-R diagram is illegible when rendered in ASCII, so exclude it from
that version only. The E-R diagram is still included in other versions of
the manpage (e.g. for PostScript output).
if erFile:
s += """
+.if !'\*[.T]'ascii' \{
.sp 1
.SH "TABLE RELATIONSHIPS"
.PP
for line in erStream:
s += line + '\n'
erStream.close()
- s += ".RE\n"
+ s += ".RE\\}\n"
for node in tableNodes:
s += tableToNroff(schema, node) + "\n"