Comments (9)
How are you trying to order the publications?
bibliography_entries
are processed differently to brief_entries
and detailed_entries
, as it uses biblatex. You can specify the biblatex sorting scheme using the sorting
argument.
---
name: Mitchell O'Hara-Wild
date: "`r format(Sys.time(), '%B, %Y')`"
github: mitchelloharawild
headcolor: 414141
output: vitae::awesomecv
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, warning = FALSE)
library(vitae)
```
# Publications
```{r}
knitr::write_bib(c("forecast", "vitae", "ggquiver", "naniar", "taipan"), "packages.bib")
bibliography_entries("packages.bib", sorting = "ydnt")
```
Possible sorting schemes can be found in the answer in this thread: https://tex.stackexchange.com/questions/51434/biblatex-citation-order
from vitae.
@robjhyndman
Do you think it is possible to provide the entries in a custom order? This would allow us to display the entries in the order shown in the table, which could then be modified with arrange()
.
from vitae.
@mitchelloharawild
Sorry my bad! I didn't know the "ydnt" option for sorting. Many thanks!
from vitae.
sorting='none'
will retain the order the bibentries are already in. So then you can use tidyverse tools to arrange as you wish.
from vitae.
Good to know. In that case, is there any other reason why the sorting option is needed?
I think sorting
should be deprecated and require it to be sorting="none"
, so that the output order matches the displayed table order in R.
If bibliography entries don't require a title, it would also be neater to have the title added via markdown and remove this argument too.
from vitae.
Yes, let's do that. As well as removing the arguments from bibliography_entries()
, the following changes need to be made to knit_print.vitae_bibliography()
\\newrefcontext[sorting="none"]\\setcounter{papers}{0}\\pagebreak[3]
\\printbibliography[category=<<bibname>>,heading=none]<<endlabel>>\\setcounter{papers}{0}
from vitae.
I'd forgotten that the title was also being used to create unique bib categories within bibliography_header()
. Now all categories are called "bibRefereed journal papers" which causes conflicts. We still need to create unique bib category names each time bibliographic_entries()
is called.
from vitae.
I thought this would be handled here?
https://github.com/ropenscilabs/vitae/blob/31a489f34e4530471322c9162fd3569fb5850311/R/bibliography.R#L36
from vitae.
Sorry. Forgot to rebuild after pulling.
from vitae.
Related Issues (20)
- Sorting on dates with NULL values
- knit pandoc new version problem HOT 8
- Release vitae 0.5.3
- Portafolio.
- Is it possible to use kable and kableExtra in awesome CV? HOT 1
- ! TeX capacity exceeded, sorry [input stack size=5000].
- Undefined control sequence. HOT 1
- profilepic position latexcv HOT 1
- Change profilepic size HOT 1
- Widen awards section's third column HOT 1
- Italicize words in bibliography
- Decreasing header spacing HOT 2
- apply lua to CSLBlock HOT 2
- Issue with Orcid removal
- Display abstract with bibliography_entries HOT 1
- bibliography_entries(): Lonely \item--perhaps a missing list environment. HOT 41
- section numbers
- Error on LINUX system HOT 7
- Inserting a good-looking table HOT 1
- bibliography_entries() propblems on missing "\item" for every publication list (bug) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitae.