Groff: How do you create bibliographies in APA?

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Groff: How do you create bibliographies in APA?
# 1  
Old 08-29-2009
Groff: How do you create bibliographies in APA?

I am using the following command to create the document:
 refer -p final_ref.cit group6_final.roff | groff -ms -f T >

As you may have surmised, this is indeed homework, however, the question is not related to the homework whatsoever. The paper is for a course in Library Science. So I didn't follow the homework protocol. I just prefer
groff to OpenOffice and Co..

Here's the pertinent document source:
bibliography final_ref.cit

Here is a sample from the bib file.
 %A T. T. Baldwin
 %A W. H. Bommer
 %A R. S. Rubin
 %D 2007
 %T Developing Management Skills: What Great Managers Know and Do.
 %C New York
 %I McGraw Hill
 %A Ng, P.T.
 %D 2004
 %T The Learning Organisation and the Innovation Organisation
 %J Human Systems Management
 %V 23
 %N 2
 %P 93-100.

And finally, this is the final product/output:
1.   T. T. Baldwin, W. H. Bommer, and R. S. Rubin, Developing Management Skills:
     What Great Managers Know and Do., McGraw Hill, New York (2007).
2.   Ng, P.T., “The Learning Organisation and the Innovation Organisation,” Human
     Systems Management, 23, 2, pp. 93-100. (2004).
3.   Hallowell R., Knoop, C., and Siong, N. B., “Transforming Singapore’s Public
     Libraries,” Harvard Business School Case Study., President and Fellows of Harvard
     College., Boston (2001).

Some formatting lost due to code tags, but you get the idea. It's a beautiful groff document ...
just need to jump through that last APA hoop.

This is not an APA style bib. The prof requires APA. Date should follow author in parentheses.

This is a boring question so thanks for reading.


Last edited by Bubnoff; 08-29-2009 at 07:13 PM.. Reason: grammar, added bib file & sample
# 2  
Old 08-30-2009
LaTeX package 'natbib' has a APA style.

I switched to LaTeX for this one since the natbib package
has a APA style you can use. I prefer the terse-ness of groff,
however, so for future reference it'd be cool if someone left some tips, in passing, if you feel generous.

Here's my tip for folks needing APA and either prefer LaTeX, or don't mind learning something new.

Step 1: Create your bib database: similar to groff:
Mine is called grouprefs.bib.
        author  =       {Timothy T. Balwin and William H. Bommer and Robert S. Rubin},
        title   =       {Developing Management Skills: What Great Managers Know and Do},
        publisher =     {McGraw Hill},
        address =       {New York},
        year    =       {2007}

        author  =       "P.T. Ng",
        title   =       "{T}he {L}earning {O}rganization and the {I}nnovation {O}rganization",
        year    =       "2004",
        journal =       "{H}uman {S}ystems {M}anagement",
        volume  =       "23",
        number  =       "2",
        pages   =       "93--100"

Step 2: An example of APA citation markup (LaTeX)
``It will be hard to get an employee to go the extra mile in customer service when she feels underpaid and is
 struggling to meet her own family needs'' \citep[p.131]{Baldwin04}.

Step 3: Toss in that bibliography: Use the 'apalike' style
to get APA.


Step 4: Note that my reference database file is named in
brackets in the `bibliography' command. Leave off the extension ...BibTeX will find it.

Step 5: Time to compile this bad boy:
First run with LaTeX or PDFLaTeX ...etc.
latex group6-INFO640-Singapore-v2.tex

Note: You'll get a bunch o' errors on this run but fear not, they will be resolved in good time.

Step 6: Run bibtex on your tex file, but LEAVE OFF the extension ( .tex ). Bibtex is smart.
 bibtex group6-INFO640-Singapore-v2

Step 7: Run the LaTeX command two more times to get the citations and bibliography included.

END. You now have an APA compliant paper in LaTeX.

None of this will improve your crappy inept writing, but at least your paper's formatting will have a bit more charisma and charm.

If you know groff, please leave links, threads or tips for getting APA style. I have some of the online tutorials and
documents but don't find style info.

PS: All LaTeX information came from the following document:

Text Formatting with LaTeX ~ A Tutorial.
put out
Academic and Research Computing 2007.

You should be able to Google it.

Thanks for reading!

Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Help understanding Groff environements ( .ev )

Hi guys! I'm not exactly a newbie Unix-like user (Slackware and Red Had in the 90's, distro hoping in the 2000's, ArchLinux for the best part of the 2010's, and currently OpenBSD). But I certainly have a newbie question about Groff. :) I had decided to learn groff, and never did. And then... (0 Replies)
Discussion started by: Richard L.
0 Replies

2. Shell Programming and Scripting

awk to create variables to pass into a bash loop to create a download link

I have created one file that contains all the necessary info in it to create a download link. In each of the lines /results/analysis/output/Home/Auto_user_S5-00580-6-Medexome_67_032/plugin_out/FileExporter_out.67... (8 Replies)
Discussion started by: cmccabe
8 Replies

3. Emergency UNIX and Linux Support

HP-UX: Help to Change network configuration from APA manual mode (2Gbps) to simple fail over (1Gbps)

Hello HP-UX experts, Server = rx8640 Node partition OS = HP-UX 11.23 arch = IA64 Network switch = Foundry 16 port switch (1Gbps) Existing configuration: Tough to explain as it is very messy (see below for the link of zip of network related fles). 2 x 2Gbps aggregates configured some time... (1 Reply)
Discussion started by: prvnrk
1 Replies

4. Homework & Coursework Questions

Create script to add user and create directory

first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies

5. UNIX for Advanced & Expert Users

converting Opentype to ASCII (for groff)

I'm trying to convert different versions of helvetica neue from Opentype to ascii so that groff can use them in conjunction with VI (I believe everything is printed to postscript after). Ultimately i need to be able to use these specific helvetica fonts in VI, but in order to do this i must convert... (1 Reply)
Discussion started by: abby
1 Replies
Login or Register to Ask a Question