groff
[Top][All Lists]
Advanced

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

Re: [Groff] refer how-to


From: Pierre-Jean
Subject: Re: [Groff] refer how-to
Date: Fri, 08 Feb 2013 18:26:45 +0100
User-agent: Heirloom mailx 12.5 7/5/10

Daniel Lyons <address@hidden> wrote:

> If that's the case, how does one actually use refer to
> produce a paper with inline references and references at
> the end?

Didn't look how does mom handle this, so just in case that
could help, here is how I do.

With Gnu refer, you can use the "bibliography" command between
.R1 and .R2 macros. Actually, by writing, where you want the
bibliography list to appear:

.R1
bibliography file.ref
.R2

Running refer from your groff pipeline will then produce a
paper with inline references and references at the end.

The Gnu refer manual page is a bit discouraging, but, this
is because Gnu refer is *very powerfull*. Gnu refer offers,
like tbl and eqn a real mini-language.

If, for some reason, you have to use a non-gnu refer, you
can replace the R1...R2 commands by this one (and still run
refer from the command line):

.pso refer -B file.ref


In both case, references not cited inline, but present in
your bibliography file will appear in the bibliography list.

Cheers,

Pierre-Jean.



reply via email to

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