andras-simonyi / citeproc-el

A CSL 1.0.2 Citation Processor for Emacs.
GNU General Public License v3.0
88 stars 9 forks source link

Capitalize subtitles that start with interpunction #143

Closed rudolf-adamkovic closed 6 months ago

rudolf-adamkovic commented 1 year ago

BibTeX entry:

@Article{myers-1988,
  author       = {Myers, Norman},
  title        = {Threatened biotas},
  journal      = {Environmentalist},
  year         = 1988,
  volume       = 8,
  number       = 3,
  pages        = {187-208},
  month        = {Sep},
  type         = {Abstract},
  subtitle     = {"Hot spots" in tropical forests},
  day          = 01,
  issn         = {1573-2991},
  doi          = {10.1007/BF02240252}
}

Actual APA rendering:

Myers, N. (1988). Threatened biotas: “hot spots” in tropical forests [Abstract]. Environmentalist, 8(3), 187–208. https://doi.org/10.1007/BF02240252

Expected APA rendering:

Myers, N. (1988). Threatened biotas: “Hot spots” in tropical forests [Abstract]. Environmentalist, 8(3), 187–208. https://doi.org/10.1007/BF02240252

[Notice the capital "H" in "Hot spots".]

andras-simonyi commented 6 months ago

First of all, apologies for looking into this only now... the issue should be fixed by PR #163 which I have just merged into the master branch.

rudolf-adamkovic commented 6 months ago

Super! Thank you.