diff --git a/docs/output-formats/pdf-basics.qmd b/docs/output-formats/pdf-basics.qmd index 3d79f498a..86b345aa7 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 - -青黑體簡體中文,ヒラギノ角 -```