Hi Aaron, Refer doesn't support APA-style referencing out of the box. IMHO there's a need for some macrosets which would allow APA or Chigaco-style referencing along with groff_ms (7) and groff_mm (7) macro packages.
I've gave it a try a while ago. If you put all the attached files in the same folder and create a `build' subfolder, you should get a very simple (and far from perfect!) example, when running make. The apa.tmac macro package uses awk (1) to create the right format for the authors. Also I use '%t' to tell apa.tmac if the entry is a book or article. Per type you can create the right formatting. As said it is far from perfect, so maybe more experienced users could give advise on what would be the best way to move from here. Cheers, Hans ~@ ~/Documents/Groff/ReferTest/ApaGroff.tar Ralph Corderoy <ra...@inputplus.co.uk> wrote: > Hi Aaron, > > > refer -PS -e -p ./references.ref arb.tr | groff -ms -T pdf > output.pdf > > > > The references seem "close" to APA format but there are still issues > > with the formatting. > > Here's what I have from what you've said so far. > > $ cat references.ref > %K congress108-narcoterrorism > %Q ONE HUNDRED EIGHTH CONGRESS > %T "NARCO-TERRORISM: INTERNATIONAL DRUG TRAFFICKING AND TERRORISM--A > DANGEROUS MIX" > %O > https://www.govinfo.gov/\%content/\%pkg/CHRG-108shrg90052/\%html/CHRG-108shrg90052.htm > %D May 20, 2003 > %L Senate Hearing > $ > $ cat arb.tr > .na > The drug > .[ > congress108-narcoterrorism > .] > hearing. > $ > $ refer -PS -e -p references.ref arb.tr | nroff -ms -Tutf8 | cat -s > > The drug (ONE HUNDRED EIGHTH CONGRESS, 2003) hearing. > > References > > ONE HUNDRED EIGHTH CONGRESS, 2003. > ONE HUNDRED EIGHTH CONGRESS, "NARCO‐TERRORISM: INTERNA‐ > TIONAL DRUG TRAFFICKING AND TERRORISM‐‐A DANGEROUS MIX" > (May 20, 2003). https://www.govinfo.gov/content/‐ > pkg/CHRG‐108shrg90052/html/CHRG‐108shrg90052.htm. > > $ > > It would if you could detail how the above differs from what you'd like > as APA's style could be unknown to many of us on the list. > > -- > Cheers, Ralph.