Closed zkamvar closed 8 years ago
Could you provide or point to a reproducible example?
mwe.R
#!/usr/bin/env R
devtools::install_github(c("rstudio/rmarkdown", "rstudio/rticles"))
rmarkdown::draft("mwe.Rmd", template = "frontiers_article", package = "rticles", edit = FALSE)
rmarkdown::render("mwe/mwe.Rmd")
Running in the rocker/hadleyverse (latest):
docker run --rm -ti -v $(pwd):/MWE rocker/hadleyverse:b6zbrvoigyzstla9sdaocb8 /bin/bash
cd MWE
Rscript mwe.R &> out.txt
exit
pandoc 1.13.1
Compiled with texmath 0.8.0.1, highlighting-kate 0.5.11.1.
Syntax highlighting is supported for the following languages:
abc, actionscript, ada, agda, apache, asn1, asp, awk, bash, bibtex, boo, c,
changelog, clojure, cmake, coffee, coldfusion, commonlisp, cpp, cs, css,
curry, d, diff, djangotemplate, dockerfile, dot, doxygen, doxygenlua, dtd,
eiffel, email, erlang, fasm, fortran, fsharp, gcc, glsl, gnuassembler, go,
haskell, haxe, html, ini, isocpp, java, javadoc, javascript, json, jsp,
julia, latex, lex, lilypond, literatecurry, literatehaskell, lua, m4,
makefile, mandoc, markdown, mathematica, matlab, maxima, mediawiki,
metafont, mips, modelines, modula2, modula3, monobasic, nasm, noweb,
objectivec, objectivecpp, ocaml, octave, opencl, pascal, perl, php, pike,
postscript, prolog, pure, python, r, relaxng, relaxngcompact, rest, rhtml,
roff, ruby, rust, scala, scheme, sci, sed, sgml, sql, sqlmysql,
sqlpostgresql, tcl, tcsh, texinfo, verilog, vhdl, xml, xorg, xslt, xul,
yacc, yaml, zsh
Default user data directory: /root/.pandoc
Copyright (C) 2006-2014 John MacFarlane
Web: http://johnmacfarlane.net/pandoc
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.38.0
Should be fixed via rstudio/rmarkdown#578. Sorry.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
I've noticed that the examples are not adding the citations correctly. I can't tell whether or not this is stemming from rticles, rmarkdown, or pandoc. Pandoc used to render these and add the bibliography as plain text, but now it's simply leaving the latex citations alone. Does anyone have any insight on this?
Note, I'm using MacTeX 2015.
Here's my sessioninfo:
Here's the output for the FrontiersTemplate: