This project is read-only.

fields for original titles and year

May 28, 2011 at 3:24 PM

I'd like to add two field to APA style:


- original title of translated books

- year of first publication


would it be difficult to achieve that?



May 30, 2011 at 10:02 PM

Unfortunately there are no fields available for this type of data (it's a mistake if you ask me).

One solution could be to make those fields available. That would involve extending bibform.xml with new elements. It's the cleanest solution but requires most work and theoretically the underlying xml is not valid (not that Word cares).

Altenatively, you can abuse one or two existing but unused fields and put the data there. For a complete book you could use the BookTitle and YearAccessed elements.

As to the complexity of adjusting the APA style. It depends on what sources you all want to update. You would look for

 <xsl:when test="b:Bibliography">

and then for the specific type of sources you want to adjust. E.G.:

<xsl:when test="b:SourceType='Book'">

anything under that section will handle the specific entry. If you are lucky, you can inject whatever extra info you want in between elements. If you're not, you will have to break up combined data and do the formatting by yourself. For example, the APA style generates a $tempJVIP variable used by Journal Articles which groups the Journal name, the Volume, the Issue, and the Pages. If you want to insert something in between the issue and pages, I would ignore the tempJVIP part and write my own formatting for the entire part. It's a lot easier than going chasing $tempJVIP and adjusting that. Also keep in mind that $tempJVIP might be used by other types of sources as well. Types you perhaps don't want to mess with.