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

chapter bibliographies using thesisdown? #197

Open
andreifoldes opened this issue Jul 6, 2023 · 1 comment
Open

chapter bibliographies using thesisdown? #197

andreifoldes opened this issue Jul 6, 2023 · 1 comment
Assignees

Comments

@andreifoldes
Copy link

Describe the bug
I was trying to force "thesisdown" to produce chapter specific references at the end of each chapter, where each chapter has its own bib file, specified on top, e.g:

bibliography: bib/chp1.bib
link-citations: yes
output: pdf_document

To Reproduce
I tried different things, most recently using the 2nd response specified here: https://stackoverflow.com/questions/45028623/is-there-a-way-to-add-chapter-bibliographies-using-bookdown?rq=4
whereby I tried adding the following packages to the index.Rmd

Steps to reproduce the behavior:

    \usepackage[square, numbers, comma, sort&compress, sectionbib]{natbib}
    \usepackage{chapterbib}

and adding the following to the end of the chapters

    \bibliographystyle{unsrtnat}
    \bibliography{your_bib_file}

Expected behavior
None of these worked, it could make the chapter specific bibs appear...

Desktop (please complete the following information):

  • OS: Windows 10

Additional context
Add any other context about the problem here.

@ismayc
Copy link
Owner

ismayc commented Jul 6, 2023

Hi there. You are likely going to have to dig into the LaTeX files themselves in the package to get this to work. There are settings there that are probably overwriting what you want to do.

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

No branches or pull requests

2 participants