0leg
0leg

Reputation: 14144

Change the PDF file styling

Would like to change the styling of the generated PDF documents. Have read the manual:

http://ralsina.me/static/manual.pdf

But there is no information that could help. I am modifying the rst2pdf.css file, but the changes never take effect.

The files structure looks like this:

enter image description here

Should I run some command to apply the changes?

Upvotes: 0

Views: 734

Answers (1)

Rob Allen
Rob Allen

Reputation: 12778

Create a stylesheet file in JSON or RSON and use the -s command line parameter to apply it.

You can view the default style file by doing:

$ rst2pdf --print-stylesheet > rst2pdf_default_styles.style

There's more information the manual in the Styles section.

Upvotes: 2

Related Questions