0

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?

0leg
  • 13,464
  • 16
  • 70
  • 94

1 Answers1

1

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.

Rob Allen
  • 12,643
  • 1
  • 40
  • 49