Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-29-2009, 05:21 PM   #1
Registered: Jun 2009
Location: Northwest
Distribution: Slackware
Posts: 43

Rep: Reputation: 16
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.

Old 08-30-2009, 04:27 PM   #2
Registered: Jun 2009
Location: Northwest
Distribution: Slackware
Posts: 43

Original Poster
Rep: Reputation: 16
Used LaTeX instead -- there is a package for APA.

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!




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Using Zotero to manage bibliographies LXer Syndicated Linux News 0 10-15-2007 09:10 AM
LXer: Produce Device-Independent Documentation with Groff LXer Syndicated Linux News 0 07-09-2006 03:54 AM
troff & groff banajah Linux - General 5 06-12-2006 05:18 AM
LXer: Managing bibliographies with Bibus LXer Syndicated Linux News 0 02-13-2006 09:16 PM
Is this a troff, groff, TeX, or nroff file? atrionfo Linux - General 1 04-19-2002 05:55 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration