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

Cannot overwrite default IEEE style (Numeric Style) to non-numeric style (like APA). #81

Open
techboy-coder opened this issue Sep 13, 2021 · 1 comment

Comments

@techboy-coder
Copy link

Problem

I am trying to use the APA citation style (which isn't a numeric style).

This is my configuration.

:bibtex-file: references.bib
:bibtex-style: apa
:bibtex-throw: true
:bibtex-order: appearance

... Content ...

== Bibliography

bibliography::references.bib[apa]

All the citations I make using cite:[key] should be converted to something like (Schaub, 2018) but instead gets converted to [1]. The bibliography generated at the end corresponds to the numbers e.g. [1] D. A. S. & S. Welte, “UNIVOX Umwelt,” gfs-zürich, 2018.2.

Details

Filetree + Bibfile

My filetree:

📦My Project
 ┣ 📜myfile.adoc
 ┣ 📜myfile.html
 ┣ 📜myfile.pdf
 ┣ 📜references.bib

My bib file:

@article{univoxumwelt2018,
  author  = {Dr. Andreas Schaub & Stephanie Welte},
  title   = {UNIVOX Umwelt},
  journal = {gfs-zürich},
  year    = {2018}
}

I am using asciidoctor-pdf and generating my pdf using asciidoctor -r asciidoctor-bibtex .\myfile.adoc.

This problem seems to be independent of the creation of a bibliography at the end and exists with both asciidoctor and asciidoctor-pdf. Is this a bug or am I doing something wrong? Do tell me if you need more details.

@jpritikin
Copy link

I see this problem in the PDF output, but it does seem to render as expected in HTML.

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

2 participants