Skip to content

Commit e01ede0

Browse files
koldlegithub-actions[bot]
authored andcommitted
Remove duplicate 'Unicode Characters' section
(cherry picked from commit 79282e9)
1 parent c7c20e7 commit e01ede0

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

docs/output-formats/pdf-basics.qmd

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -293,31 +293,3 @@ If you want Quarto to produce a LaTeX file (`.tex`) rather than a PDF (for examp
293293
This technique will produce a PDF file for preview, but will also create a `.tex` file alongside it that you can do subsequent processing on.
294294

295295
Both techniques will also produce all LaTeX temporary files, including `.bbl` files and so on, that might be required by a publisher that wants LaTeX sources.
296-
297-
## Unicode Characters
298-
299-
By default, Quarto uses the `xelatex` engine to produce PDFs from LaTeX. `xelatex` has native support for unicode characters, but it is possible some customization will be required in order to properly typeset specific unicode characters. In particular, it is important that you use a font that supports the characters that you are using in your document. To identify fonts on your system that support specific language characters, you can use the following command:
300-
301-
```{.bash filename="Terminal"}
302-
fc-list :lang=<lang>
303-
```
304-
305-
For example, to see a list of fonts that support Japanese characters, use:
306-
307-
```{.bash filename="Terminal"}
308-
fc-list :lang=ja
309-
```
310-
311-
Select a font name from the list and use that as the document's main font, like:
312-
313-
``` markdown
314-
---
315-
title: Unicode test
316-
format: pdf
317-
mainfont: "Hiragino Sans GB"
318-
---
319-
320-
## Test Document
321-
322-
青黑體簡體中文,ヒラギノ角
323-
```

0 commit comments

Comments
 (0)