[Top][All Lists]

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

[Groff] SOLVED: WAS: Re: multiple lists of references in a document

From: Anton Shterenlikht
Subject: [Groff] SOLVED: WAS: Re: multiple lists of references in a document
Date: Thu, 22 Jan 2015 06:06:54 -0800 (PST)

>From mexas Thu Jan 22 13:34:59 2015
>To: address@hidden
>Subject: multiple lists of references in a document
>Reply-To: address@hidden
>I need to prepare a document with 2 separate
>lists of references. I cannot see a way to
>do this directly. Is there?
>So I wanted to prepare two separate PostScript
>documents and then merge them into one with
>psmerge, part of psutils:
>The two PostScript documents were produced
>by the same groff version on the same computer.
>Still psmerge produces garbage.
>Can anybody confirm they've used psmerge recently
>with groff produced PostScript files.
>In case somebody has got the time to look into
>the files, I uploaded 2 files:
>$ cat z.1
>$ /usr/local/bin/groff -ms -Tps z.1 >
>$ cp
>$ diff
>$ psmerge
>This is on FreeBSD 10.1-STABLE amd64, with
>$ pkg info -xo groff psutils
>groff-1.22.2_1                 textproc/groff
>psutils-1.17_4                 print/psutils
>I'd be grateful for any advice

Answering my own question.
This is actually very simple: run refer
separately on each document, then soelim,
then groff. In my case:

refer -e -p Ind b1a.1 > b1a.ref
refer -e -p Ind b1c.1 > b1c.ref
soelim b1.1 > b1.src
groff -ems -Tps b1.src >

where b1.1 contains:

.so b1a.ref
.so b1c.ref

The added advantage is that I can have
different styles for each list of

AFAIK this is *much* simpler than achieving
multiple lists of references in latex.
It was a major pain when I had to do this in



reply via email to

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