Thank you, Stefan.
I use rst2pdf pretty extensively. Generally speaking, it has worked
The following command line would be the minimum required.
This would produce a PDF file of the same name, with the exception of a
.pdf extension. Note the the .txt extension could be anything (e.g.
.rst, .rest, etc.)
A more typical form, which is still simple and allows for naming of the
output file is:
rst2pdf.py mydocument.txt -o mydocument.pdf
rst2pdf.py mydocument.txt --output mydocument.pdf
The standard rst-compile command produces something pretty close:
rst2pdf.py mydocument.txt mydocument.pdf
There are, as you might imagine, a dozen or more other options of a
similar form, but these above are the basics.
On 2012-07-17 16:28, Stefan Merten wrote:
> Hi Adam!
>> I trying to start learning Emacs to write my rst documents. So far, I am
>> enjoying it.
>> I set PDF as the primary toolset in rst.el. It appears that this uses
>> rst2pdf, which I am familiar with using. However, it seems that the
>> default command from Emacs does not include the required '-o
>> <outputfile>' format.
> I didn't wrote that code and I'm personally not (yet) using `rst2pdf`.
> Can you give me a (minimal) command line which should work?
>> I've tried adding the '-o' option to the
>> rst-compile-toolsets listing for PDF, but the rst-compile command then
>> puts the option immediately after the rst2pdf command like 'rst2pdf -o
>> <inputfile> <outputfile>'.
> `rst.el` may be simply wrong here. I never tried it.