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

2 Answers 2

0

You have to install xpdf and rst2pdf.

Then:

M-x rst-compile-pdf-preview
6
  • and how do I install xpdf and rst2pdf on emacs?
    – RenatoP
    Aug 2 at 13:44
  • You don't - you install them on MacOSX.
    – NickD
    Aug 2 at 13:46
  • You have to install them on your os.
    – djangoliv
    Aug 2 at 13:52
  • pip install rst2pdf ? or something else?
    – RenatoP
    Aug 2 at 13:55
  • You need to learn how to install packages on your system (and that is NOT an emacs question). You should ask such questions on a MacOSX forum.
    – NickD
    Aug 2 at 14:05
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.

1
  • 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 2 at 20:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.