From: Stefan R. <lis...@st...> - 2008-10-21 05:49:41
|
on 20.10.2008 21:49 David Goodger said the following: > On Mon, Oct 20, 2008 at 15:09, Red Wraith <red...@gm...> wrote: >> | I know about the line-block feature but I think it is >> rather uncomfortable for writing documents which often >> use line breaks. Having to write always | in the right >> line and having to indent the lines all the time is >> stressful IMO. >> | Imagine you're writing, for example, a novel where you >> almost always use line breaks instead of normal >> paragraphs. > ... > > ISTM that your use case is just too esoteric for reStructuredText. <snip> > Possible alternatives: > <snip-container-directive> > <snip-compound-directive> > <snip-custom-directive> > Or, possibly easier for your use-case above, change the style file (css for html) to remove inter-paragraph margins generally, and define a class to re-add the whitespace when wanted:: The first paragraph The second, no space between us two. .. class:: morespacewantedhere Now we have a new block of text here... >> | However, many other things can't be done if there is only >> the line-block feature. For example, one can't connect >> "Literal Blocks" to other paragraphs without producing >> gaps in the output. >> | One also can't put lists directly after a text block >> without producing an empty space between, etc. > > Why would one *want* to do either of these? A similar solution can be found for these ideas. cheers, stefan |