I'm using bookdown to generate both a website and a pdf. I've added some emojies using the r package emo
. There is no problem when building the site, they are displayed ok.
But when creating the pdf these emojis are not displayed, although they are shown in the .tex file. So my guess is the problem is converting from tex to pdf.
I'm using these commands:
rmarkdown::clean_site()
rmarkdown::render_site(output_format = 'bookdown::pdf_book', encoding = 'UTF-8')
Session info:
> rmarkdown::pandoc_version()
[1] ‘1.17.2’
> system('pdflatex --version')
pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017)
kpathsea version 6.2.3
Copyright 2017 Han The Thanh (pdfTeX) et al.
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: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.29; using libpng 1.6.29
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 3.04
R version 3.4.1
macOS Sierra 10.12.6
rmarkdown_1.6
Thanks!