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

Author is not printed in citep with organization authors #55

Closed
jbryer opened this issue Apr 23, 2014 · 5 comments
Closed

Author is not printed in citep with organization authors #55

jbryer opened this issue Apr 23, 2014 · 5 comments
Milestone

Comments

@jbryer
Copy link

jbryer commented Apr 23, 2014

Here is my bibtex file

@Manual{devtools,
    title = {devtools: Tools to make developing R code easier},
    author = {Hadley Wickham and Winston Chang},
    year = {2013},
    note = {R package version 1.4.1},
    url = {http://CRAN.R-project.org/package=devtools}
}

@Manual{rcore,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2014},
    url = {http://www.R-project.org/}
}

@Manual{knitcitations,
    title = {knitcitations: Citations for knitr markdown files},
    author = {Carl Boettiger},
    year = {2014},
    note = {R package version 0.5-0},
    url = {http://CRAN.R-project.org/package=knitcitations},
}

The R Code with output:

> require(knitcitations)
> cleanbib()
> bib <- read.bibtex('rgitbook.bib')
> citep(bib['rcore'])
[1] "(<a href=\"http://www.R-project.org/\"></a>)"
@jbryer jbryer changed the title Author is printed in citep with organization authors Author is not printed in citep with organization authors Apr 23, 2014
@cboettig
Copy link
Owner

@jbryer Thanks for the bug report. I believe this may be due to how some of the underlying dependencies handle author objects now. Anyway this package is due for an update so I hope to be able to get to this in the near future. Meanwhile always open to pull requests if you feel like exploring!

@jbryer
Copy link
Author

jbryer commented Apr 23, 2014

Thanks @cboettig . I wish I could, too many things on my plate now. Perhaps later this summer. Thanks for a great package.

@cboettig
Copy link
Owner

Okay, I still have to fix this, (think I have a good way to improve all the formatting), but meanwhile I'm curious if you might prefer the pandoc-based solution I've just released to address #57? Since pandoc will be handling the final formatting of the inline citation, this should sidestep the issue. (Note that a pandoc markdown parser is set to become a standard part of RStudio as well).

@cboettig cboettig added this to the 0.7 milestone May 29, 2014
@jbryer
Copy link
Author

jbryer commented May 29, 2014

I like the pandoc as an option, but I am trying get references to work with Gitbook.io and I am not sure passing the markdown through pandoc will work since Gitbook has their own parser.

@cboettig
Copy link
Owner

Good to know, might help motivate me to fix the native parser for this.

On Thu, May 29, 2014 at 3:57 PM, Jason Bryer notifications@github.com
wrote:

I like the pandoc as an option, but I am trying get references to work
with Gitbook.io and I am not sure passing the markdown through pandoc will
work since Gitbook has their own parser.


Reply to this email directly or view it on GitHub
#55 (comment)
.

Carl Boettiger
UC Santa Cruz
http://carlboettiger.info/

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