Re: RST margin right question

engelbert gruber <[email protected]> Sun, 6 Dec 2020 16:28:24 +0100
Newsgroups gmane.text.docutils.user
Message-ID <CAHnbgBMi_nhGOWv2sN+mtgWhLdiXjOM58NtcWFnD3==8xT-O4w@mail.gmail.com>
On Sun, 6 Dec 2020 at 07:30, John Yara <[email protected]> wrote:

> Hi
>
> I did a lot of research but i did not find anything useful.
> I have an issue when i write in a file.rst something like that.
>
> ::
>
>    Paragraph 1
>
>
> When i convert it into pdf with rst2pdf we can see that the paragraph have
> margin left and right around 2cm.
> I would like to know if it's possible to change the margin-right to have
> only 1cm. ?
>
> Sorry for my english.
>

thanks for the question.

margins are not part of "text" but the "view", "indentation" is "markup" in
rST (and python)
the view depends on styleshhets in html, sty-les in latex
assuming you use rst2pdf from pypi there are stylesheets too
see https://rst2pdf.org/static/manual.pdf

all the best

> _______________________________________________
> Docutils-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/docutils-users
>
> Please use "Reply All" to reply to the list.
>