Dallak
December 27, 2019, 2:58am
1
Hi,
I'm trying to use IPA symbols in rmarkdown, and I'm able to knit to HTML and Word but not PDF; some IPA sysmbols are missing when knitting to PDF.
compared to knitting to Word:
or HTML:
Here is my repreduciable example.
---
title: "IPA TEST"
author: "Your Name"
date: "The Date"
output:
html_document: default
word_document: default
pdf_document:
latex_engine: xelatex
---
ʈʔɾʀzʃβʰ
[kʰæt]
J\
n`
[ɪtsɹilijizitutaɪp]
ʈɟʁ
[ðɪsɪzsəmaɪpeɪ]
I would highly appreciate your help!
pete
December 27, 2019, 10:02pm
2
I got the same result as you. After searching around a bit I found this: How to use phonetic IPA characters in LaTeX , and then adding mainfont: Doulos SIL
(starting in col 1) to the YAML. Now the PDF renders properly.
2 Likes
Dallak
December 29, 2019, 1:25am
4
Thank you, both solutions did the trick though the first one is straight forward.
system
Closed
January 5, 2020, 1:25am
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.