acl-org / acl-anthology

Data and software for building the ACL Anthology.
https://aclanthology.org
Apache License 2.0
376 stars 253 forks source link

ACL 2017: Bibtex and style files for auto inclusion of DOIs #20

Closed cfedermann closed 7 years ago

cfedermann commented 7 years ago

S/N: 21 Date: 2016-09-09 Priority: Medium Title: ACL 2017: Bibtex and style files for auto inclusion of DOIs

danielgildea commented 7 years ago

Here is a proposed set of style files to provide links to DOIs in the References section.

It is based on the Latex hyperref package. If the bibtex contains a DOI field, the title of the paper in the References section will be a link to the DOI, but the DOI does not appear as text, following how the CL journal currently handles DOI links. Because we include the hyperref package, Latex references to tables, figures, etc, within the paper will also become hyperref references. Use of hyperref can be disabled by saying: \usepackage[nohyperref]{acl2017}

To make the style files compatible with hyperref, I ripped out the custom definitions of ACL's citation commands and replaced them with the standard natbib package. You can now use any natbib commands for citations in the text, as well as the \newcite and \shortcite commands that were defined in older ACL style files.

acl2017.zip

knmnyn commented 7 years ago

Hi Dan, all:

I have made significant edits to the acl_natbib file and the accompanying demonstration files acl2017.tex and acl2017.bib to change:

As this is now done, I'm closing this issue, and will mail the appropriate parties about this.

danielgildea commented 7 years ago

Here is a minor update to prevent bibtex from printing an error message, and returning an error code, when there is no DOI in a bibtex entry.

acl2017v3.zip