# Re: \[PATCH v3\] docs: experimental: build PDF with rst2pdf

- From: Mauro Carvalho Chehab \<mchehab+huawei@kernel.org\>
- Date: 2021-03-25 12:36:00 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/03/6315309
- Thread: https://ratatoskr.run/linux-doc/2021/03/6315286/t.md

```text
Em Thu, 25 Mar 2021 13:25:56 +0100
Mauro Carvalho Chehab [ref] escreveu:

> Add an experimental PDF builder using rst2pdf.
> 
> This extension is only enabled when "pdf" builder is selected.
> So, it won't interfere with normal documentation builds. I opted
> to not add a try..except block, as the message is already
> good enough if one tries to do a "make rst2pdf" but the extension
> is missed:
> 
> 	Extension error:
> 	Could not import extension rst2pdf.pdfbuilder (exception: No module named 'rst2pdf')
> 
> This won't affect "make pdfdocs", as it uses the "latex" builder
> instead.

Please ignore this. Sent the wrong version.

Thanks,
Mauro
```
