[Groff] pagesize for terminal output

2011-02-28 Thread walter harms
Hi list, i have a programm that generate nroff output that is intended to be printed. that works fine. Problems occur when i want to see the page as latin1 then it will be rendered into 2 pages. Since i pipe the output into xmessage i do not care about page length. Is there any fancy trick i can

Re: [Groff] pagesize for terminal output

2011-02-28 Thread Clarke Echols
This is off the cuff, but it should work. There is an option you can use when invoking nroff/groff, then if you're sending it to a terminal set that variable to be the page length. In your text file, test that variable and if it's set (you choose the value), then have your file set the page len

mystery diagnostic

2011-02-28 Thread Doug McIlroy
This sequence produces a mystery diagnostic that apparently refers to the name of a nonterminal symbol in some unpublish BNF: ___ bug-groff mailing list bug-gr...@gnu.org http://lists.gnu.org/mailman/listinfo/bug-groff

mystery diagnostic

2011-02-28 Thread Doug McIlroy
This sequence produces a mystery diagnostic that I suppose refers to the name of a nonterminal symbol in some unpublish BNF: \s\d The diagnostic is "cannot use a node as a starting delimiter" ___ bug-groff mailing list bug-gr...@gnu.org http://lists.gnu

[Groff] Re: pagesize for terminal output

2011-02-28 Thread Anton Shepelev
Walter Harms asked: > Is there any fancy trick i can use to convince > groff not to page break ? Yes. In addition to Clarke Echols's advice, you can make this behaviour more manageable using end-of- input traps. This way, the single-page mode can be turned on and off with a single comma

refer with CRLF

2011-02-28 Thread Doug McIlroy
refer-1.20.1 running under cygwin accepts CRLF line terminations without complaint, as do other groff programs. But one feature suffers: a citation with two authors prints thus: Author1, Author2, and Author2 With carriage returns eliminated from the database file, the same citation reads: