groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] how to include references?


From: Ulf Martin
Subject: Re: [Groff] how to include references?
Date: Wed, 11 Sep 2002 10:01:43 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530

hi ralph,

thank you for the kind help!

the problem is solved.
it was a newline probem:
i am using the cygwin groff on win2k
which uses unix line terminators -
telling the editor to do the same solved the problem.
(it was refer that caused the problem,
groff itself was obviously not confused.)

bye
--
ulf martin
address@hidden


Ralph Corderoy wrote:

Hi Ulf,

i have a file "biblio.ref" as the database with  entries like
%A humpty dumpty
...

$ cat biblio.ref %A Eric P. Allman
   %T Writing Papers with NROFF using -me
   %I University of California Berkeley
   %D 1986
   %P 19

   %A Eric P. Allman
   %T -me Reference Manual
   %I University of California Berkeley
   %D 1986
   %P 16

in my text file "text.ms" in the same directory i have
.
.R1
database biblio.ref
.R2

...

.[
[ ] humpty dumpty
.]

   $ cat text.ms
   .R1
   database biblio.ref
   .R2
   Use me's manual
   .[
   [ ] -me Reference Manual
   .]
   as a test.

but then

groff -R -ms text.ms > text.ps

generates an error message
"missing .R2 line"
"unknown command .R2"
and than all the following commands aren't recognized any more.

   $ groff -Tascii -R -ms text.ms |cat -s

   Use me's manual1 as a test.

   -----------
     1 Eric  P.  Allman, -me Reference Manual, p. 16,
     University of California Berkeley (1986).

what am i doing wrong, and how is this done properly?

Sorry, I don't know what you're doing wrong.  I guess a couple of small
test files from you that show the problem would let us see if we can
re-create it.  Alternatively, try my ones above.

What version are you using?

   $ groff -v -Tascii -R -ms text.ms
   GNU groff version 1.17.2
   called subprograms:
   GNU refer (groff) version 1.17.2
   GNU grotty (groff) version 1.17.2
   GNU troff (groff) version 1.17.2

Cheers,


Ralph.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]