rstudio/tufte

Issue with reference parsing with Pandoc 2.11+ when multiple reference in same line

cderv opened this issue · 7 comments

cderv commented

This is from https://community.rstudio.com/t/rstudio-ide-1-4-and-pandoc-completely-freezes/93792/8

In the skeleton file created using the package template, add this

See @R-rmarkdown for more information about **rmarkdown** and also @rmarkdown2018.

instead of

See @R-rmarkdown for more information about **rmarkdown**

in order to have 2 references in the same html line.

This will not be parsed correctly by margin_references and the first reference will be used twice.

I believe the issue is with regexec() + regmatches() - stringr::str_match_all() find everything.

cderv commented

This follows changes in 52aaff5

cderv commented

There was an issue with APA style because the CSL processed by citeproc in Pandoc will add some more attributes to the div of id #refs. Fixed in 43ac801

Reported in the community: https://community.rstudio.com/t/rstudio-ide-1-4-and-pandoc-completely-freezes/93792/16

When will this fix be pushed to CRAN? Is there something else holding up a 0.9.1 release?

yihui commented

@mfansler I can make the release in the next few days.

yihui commented

On CRAN now.

@yihui thank you 🙏 ♥️

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.