0

I've obtained a .html from an .rst file M-x rst compile

Compile command: rst2html.py   README.rst README.html (this is the message I obtain from emacs)

How can I compile in .pdf?

Renato

RenatoP
  • 121
  • 4

2 Answers2

0

You have to install xpdf and rst2pdf.

Then:

M-x rst-compile-pdf-preview
djangoliv
  • 3,169
  • 16
  • 31
0

ok, I think I've solved.

I've installed rst2pdf going over the error I've received. Maybe I’ve not installed the last version of PIP. I’ve toke information here: https://phoenixnap.com/kb/install-pip-mac

I've installed the last version of PIP and all goes well.

RenatoP
  • 121
  • 4
  • Please don't pose another question in an answer. If that question is implicit in the original question then it's enough to say in your answer that it's not complete because... – Drew Aug 02 '22 at 20:16