ox-rst icon indicating copy to clipboard operation
ox-rst copied to clipboard

Why are Date, etc fields indented?

Open beetleb opened this issue 7 years ago • 2 comments

Context: I use Pelican (http://docs.getpelican.com/en/stable/) for my static site generator. It takes in several input formats (rst, md, etc).

I write my posts in rst, but really want to use org. Hence, ox-rst.

My ideal workflow would be where I can just write in Org, and export without having to edit the final rst file. Where this fails is the fact that fields like "Date" are indented in the output ox-rst produces.

I honestly don't know if Pelican is at fault, or ox-rst is not conforming. But is there a way to have the date not be indented so that I need not manually edit the rst files?

Thanks,

beetleb avatar Apr 17 '17 21:04 beetleb

Hi.

The rst format that produced by ox-rst is appropriate for the input to docutils. Docutils has not complained about this indents. Ok. If I could have time, I will modify ox-rst for getting rid of indents at lines of 'in-buffer settings'.

msnoigrs avatar Apr 18 '17 08:04 msnoigrs

Hmm... I looked at the RST Docs and while they do show field lists unindented, they don't specify that it needs to be that way. Perhaps instead of you changing this I should take it up with the Pelican folks to understand why it isn't accepting indented field lists.

beetleb avatar Apr 19 '17 14:04 beetleb