Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions docs/output-formats/pdf-basics.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -293,31 +293,3 @@ If you want Quarto to produce a LaTeX file (`.tex`) rather than a PDF (for examp
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.

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.

## Unicode Characters

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:

```{.bash filename="Terminal"}
fc-list :lang=<lang>
```

For example, to see a list of fonts that support Japanese characters, use:

```{.bash filename="Terminal"}
fc-list :lang=ja
```

Select a font name from the list and use that as the document's main font, like:

``` markdown
---
title: Unicode test
format: pdf
mainfont: "Hiragino Sans GB"
---

## Test Document

青黑體簡體中文,ヒラギノ角
```
Loading