To update the name of your `PDF` file you can set the following in `_config.yml`
```yaml
latex:
latex_documents:
targetname: book.tex
```
This will act as an automatic `override` when Sphinx builds the
[latex_documents](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-latex_documents). It is typically inferred by `Sphinx` but when
using `jupyter-book` naming the file in the `_config.yml` generally makes it
easier to find.
### Using a different LaTeX engine
Some users may want to switch to using a different LaTeX engine to build the
`PDF` files. For example, if your project contains `Unicode` you will need to
use `xelatex` to build the `PDF` file.
To update the `LaTeX` engine to `xelatex` you can add the following to your `_config.yml`
```yaml
latex:
latex_engine: xelatex
```
:::{note}
We will be making `xelatex` the default in the near future, so this can be used to
specify other builders such as `pdflatex`, or `lualatex`.
See the Sphinx documentation [for available builders](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-latex_engine)
:::
### Other Sphinx LaTeX settings
Other [LaTeX settings](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-latex_engine) available to Sphinx can be passed through using the config section
of `Sphinx` in the `_config.yml` file for your project.
For example, if you would like to set the [latex_toplevel_sectioning](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-latex_toplevel_sectioning) option to use `part` instead of `chapter` you would use: