Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSuggested handling of page numbers #32
Comments
|
Thanks for the suggestion. Here's two options for implementing this: I could on citep add something that works like this:
which would generate
Which would generate the same text, I'm not sure if the latter case is useful or not. |
|
The former appears to be more explicit to the users but perhaps the
would format the pages correctly. I can't think of another use of the last space in a parenthetical citation (in APA style), beyond pages, thus it seems your the explicit argument of page or pages may be the most coherent. That being said I may be missing a corner case usage for the later, more general |
|
Thanks for the feedback. Added this following the formatting you suggested in the most recent commit. Currently added only to parenthetical citations, let me know if such a use case also makes sense for textual |
|
Tested it out. I think you'll want to add
Otherwise I get an error without page numbers. |
|
Oh good catch, I forgot to check that. Commit fixes this and adds support for |
|
I'm closing this as this works now. |
|
@carl I am soon ready to push the next version of the reports package to CRAN (waiting on slidify to go to CRAN). I realized that I am relying on the development version of knitcitations for several functions in reports and am curious when you plan to push to CRAN. You last pushed about 2 months ago. |
|
Thanks for the message, now would probably be a good time to push. (I On Tue, May 21, 2013 at 9:43 PM, Tyler Rinker notifications@github.comwrote:
Carl Boettiger |
I love the package. I have a feature request.
It would add functionality if the package could handle a single or series of page numbers as you would have with LaTeX in that:
may give: