>From mexas Thu Jan 22 13:34:59 2015 >To: groff@gnu.org >Subject: multiple lists of references in a document >Reply-To: me...@bris.ac.uk > >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: >http://www.knackered.org/angus/psutils/psmerge.html > >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 >.PP >word >$ /usr/local/bin/groff -ms -Tps z.1 > z.ps >$ cp z.ps z1.ps >$ diff z.ps z1.ps >$ psmerge -ozz.ps z.ps z1.ps > >z.ps: http://eis.bris.ac.uk/~mexas/z.ps >zz.ps: http://eis.bris.ac.uk/~mexas/zz.ps > >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 > >Thanks > >Anton
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 > b1.ps where b1.1 contains: .so b1a.ref .so b1c.ref The added advantage is that I can have different styles for each list of references. 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 latex. Thanks Anton