How to control language (script) rendering in citations? #6449
-
DescriptionI have set the following language options:
However the automatic citation renderer translates linking words like "and" into Cyrillic script, printing "и" instead of the proper "i". Is there a way to manually control script rendering for dates, citations, etc.? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. This being said, CSL files/templates are supposed to take care of the translation as long as they do have the translation (https://docs.citationstyles.org/en/stable/translating-locale-files.html?highlight=language). 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.
Localizations for citation processing (which uses
citeproc
) is here:https://github.com/jgm/citeproc/tree/master/locales
It looks like there isn't a
sr-Latn
specific locale. I'm sure it would be very much appreciated if you could submit one!