How to render pdf book with English and Arabic using either babel or polyglossia #6946
Replies: 2 comments 5 replies
-
Without a reproducible, simple, and complete example, it is going to be hard if not impossible to help. Your question is mostly (if not exclusively related to the use of multiple languages in LaTeX). You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```
The end.
```` |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Description
I am struggling to render my English-language book with some Arabic in it to pdf. Could someone suggest a workable yaml code for me? In the _quarto.yml file for the book, I have tried the following polyglossia and babel codes, with the error messages below:
Error message from xelatex compiler: compilation failed- package installation error
Package fontspec Error: The font "a" cannot be found.
Babel:
Error message: LaTeX Error: Option clash for package babel.
Beta Was this translation helpful? Give feedback.
All reactions