Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

References #2

Closed
ArthurChapman opened this issue Mar 27, 2019 · 5 comments
Closed

References #2

ArthurChapman opened this issue Mar 27, 2019 · 5 comments

Comments

@ArthurChapman
Copy link
Collaborator

  1. Need to check in text references for consistency with respect to comma (Smith, 2017) versus (Smith 2017) - does GBIF have a policy?

  2. Need to check all references for consistency of date. Wieczorek, J.R. (2015) .... or Wieczorek, J.R. 2015. ....

@kcopas
Copy link
Member

kcopas commented Mar 27, 2019

  1. (Smith 2017)
  2. Wieczorek JR (2015)

Fewer marks/less ink wherever possible, e.g. Wieczorek JR, Zermoglio P & Chapman A (2015)

Call it Harvard minimalist.

@tucotuco
Copy link
Collaborator

tucotuco commented Mar 27, 2019 via email

@kcopas
Copy link
Member

kcopas commented Mar 27, 2019 via email

@tucotuco
Copy link
Collaborator

tucotuco commented Mar 28, 2019 via email

@MattBlissett
Copy link
Member

I first commented on the Glossary issue, but this belongs here instead.

There are two main options for references / bibliography. The first (default) way is very minimal -- it's just a normal unordered list with some links.

The second way, using BibTeX, generates the citations from a BibTeX database automatically, so the author doesn't control commas, dots, brackets and so on.

Default way

The built-in AsciiDoctor way to do this is to make the references section into a bibliography by adding the [bibliography] line before the section header:

[bibliography]
== References

Then define an anchor for each reference, e.g.

- [[[asprs14,ASPRS 2014]]]. _ASPRS Positional Accuracy Standards…

The bit before the comma is the identifier, the optional bit after is how it is displayed.

And then change the text to use these anchors:

your **<<georeference>>** when using maps of this type <<asprs14>>.

The result is

your georeference when using maps of this type [ASPRS 2014].

in the prose and

[ASPRS 2014]. ASPRS Positional Accuracy Standards…

in the bibliography. It looks like this only supports the "square brackets" style, unless the processor is overridden in code.


BibTeX plugin way

The alternative is to use a bibliography management file.

  1. Create a references.bib file in BibTeX format.
@article{ASPRS1990,
  author={{ASPRS Professional Practicing Division}},
  title={ASPRS Accuracy Standards for Large-Scale Maps},
  journal={Photogrammetric Engineering and Remote Sensing},
  year={1990},
  month={July},
  volume={56},
  number={7},
  pages={1068-1070},
  url={http://www.asprs.org/a/society/committees/standards/1990_jul_1068-1070.pdf},
  accessed={13 Dec 2019}
}

(I've not used BibTeX format before, so I've tried to make that a full example. It's probably worth using a tool that can manage these files, the format is a bit clunky.)

  1. Include cite:[] and citenp:[] (no parentheses) macros in the prose:
the **<<accuracy>>** added by the digitizing process (see citenp:[ASPRS1990]).
  1. Set up the BibTeX plugin in index.en.adoc
:bibtex-file: references.bib
:bibtex-style: gbif // Literally a thousand to choose from, yet not one showed DOIs, URLs and access dates.
:bibtex-order: alphabetical

The result is

the digitizing process (see ASPRS Professional Practicing Division (1990)).

And

ASPRS Professional Practicing Division (1990) ASPRS Accuracy Standards for Large-Scale Maps. Photogrammetric Engineering and Remote Sensing 56: 1068–1070. http://www.asprs.org/a/society/committees/standards/1990_jul_1068-1070.pdf (accessed 13 December 2019)

I've made a pull request #6 with the start of the second method, in case you/Kyle prefer that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants