jam-schema / jams

Journal Article Metadata Schema
Creative Commons Zero v1.0 Universal
32 stars 5 forks source link

understand how rticles get it to work. #3

Closed jcolomb closed 2 years ago

jcolomb commented 3 years ago

see https://github.com/rstudio/rticles/blob/master/R/joss_article.R and https://github.com/rstudio/rticles/blob/master/inst/rmarkdown/templates/joss/resources/template.tex

They use whedon yaml format directly, with pandoc 2.2 apparently, no lua filters and get the tex and pdf correctly ...

crsh commented 3 years ago

Here's the relevant portion of the rmarkdown code: https://github.com/rstudio/rmarkdown/blob/master/R/pdf_document.R

jcolomb commented 2 years ago

different yaml for different latex template.