Bibliography#115
Conversation
|
|
||
| ```yaml | ||
| bibliography: tutorial.bib | ||
| csl: ../../../acm.csl |
There was a problem hiding this comment.
@cwhite911, is this recommended practice, i.e., use relative paths?
There was a problem hiding this comment.
I would prefer absolute path, I believe that should work, but didn't test.
There was a problem hiding this comment.
@petrasovaa @veroandreo How about using a project relative path?
/acm.csl
There was a problem hiding this comment.
That's what I was thinking, but I didn't test.
There was a problem hiding this comment.
@petrasovaa I just tested and it failed. Unfortunately /acm.csl doesn't work as Quarto treats the current file as the working directory. Perhaps we could override this by setting execute-dir: project in _quarto.yml (see docs), but that might break things.
There was a problem hiding this comment.
I tried to put in _quarto.yml and that seems to work.
...
format:
html:
theme: [pandoc, brand, theme.scss]
toc: true
toc-title: Table of Contents
link-external-newwindow: true
csl: acm.csl
...
Then you don't need to have it in the individual tutorials at all, it gets inherited.
This pull request moves the citation style to the root directory, adds guidance on citations for contributors, adds references to my tutorials, and fixes a couple typographic errors.