[bug #63581] "nroff -mom sample_docs.mom" causes infinite loop

2023-01-14 Thread G. Branden Robinson
Follow-up Comment #22, bug #63581 (project groff):


[comment #21 comment #21:]
> When the PRINTSTYLE of sample-docs.mom is changed to TYPEWRITE, conformant
with the note in the momdocs that mom is "designed for primarily for PDF or
PostScript output, although with PRINTSTYLE TYPEWRITE she produces acceptable
terminal copy", 'nroff -mom' or 'groff -Tutf8' render the document
successfully, if somewhat inelegantly, at the terminal.
> 
> I'm thinking that the best way of dealing with this, rather than putting a
caveat in groUph1zieCheew1caeff_mom(7), is to abort at PRINTSTYLE if nroff is
called on a PRINTSTYLE TYPESET document.  The abort message will tell the user
to switch to PRINTSTYLE TYPEWRITE.
> 
> If no one has objections, the change will go into my next commit and I'll
close this bug at that time.

This seems completely reasonable to me.  I hope your machine, and more
importantly you, are doing much better.

Regards,
Branden


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63581] "nroff -mom sample_docs.mom" causes infinite loop

2023-01-14 Thread Peter Schaffter
Follow-up Comment #21, bug #63581 (project groff):

When the PRINTSTYLE of sample-docs.mom is changed to TYPEWRITE, conformant
with the note in the momdocs that mom is "designed for primarily for PDF or
PostScript output, although with PRINTSTYLE TYPEWRITE she produces acceptable
terminal copy", 'nroff -mom' or 'groff -Tutf8' render the document
successfully, if somewhat inelegantly, at the terminal.

I'm thinking that the best way of dealing with this, rather than putting a
caveat in groff_mom(7), is to abort at PRINTSTYLE if nroff is called on a
PRINTSTYLE TYPESET document.  The abort message will tell the user to switch
to PRINTSTYLE TYPEWRITE.

If no one has objections, the change will go into my next commit and I'll
close this bug at that time.


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/