From 79282e9c24d023e08ff5f1b9fde20f88b7cc6bbb Mon Sep 17 00:00:00 2001 From: Coldle Date: Sat, 7 Jun 2025 16:56:07 +0800 Subject: [PATCH] Remove duplicate 'Unicode Characters' section --- docs/output-formats/pdf-basics.qmd | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/docs/output-formats/pdf-basics.qmd b/docs/output-formats/pdf-basics.qmd index 3d79f498ac..86b345aa7a 100644 --- a/docs/output-formats/pdf-basics.qmd +++ b/docs/output-formats/pdf-basics.qmd @@ -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= -``` - -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 - -青黑體簡體中文,ヒラギノ角 -```