oasegips / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Formatting - indenting/non indenting paragraphs where appropriate #2345

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When formatting a book the "correct" way would be to not indent the first 
paragraph of each section but then indent each subsequent section until the 
next new section which would then repeat

I suggest the following:-
1. where there is a soft return the line space of the following paragraph auto 
indents. 
2. where there is a blank line (new section or hard return) the next paragraph 
doesn't indent

currently each new section has to be handled manually - automating this option 
would be very useful

an example of text formatting follows (apologies for the poor wording and 
meandering - I wanted to pad it out a bit):-

This is the first paragraph and it should not be indented, the next paragraph 
should be due to the standard way books format text unless the text is broken 
into a new section which is quiet possible depending on the style of the book 
and the way the chapters are set.
    As this line does not move to a new section, this paragraph is indented only, it is not intended for this paragraph to begin without an indent as it follows on nicely from the last paragraph and is inherently part of the same block of text.

This is a new section, the indenting of the paragraph does not apply here, this 
would be the same if it were a new chapter.
    As the above text is linked to this text this bit is indented.
    “People speaking gets indented” he said.
    “Of course you are right” she said.

I must apologise for the poor writing but I hope this shows where indents 
should be applied when creating a book.
    It is a standard format which has been in use for some considerable time.

Original issue reported on code.google.com by SeanGDu...@gmail.com on 1 Aug 2013 at 2:58

GoogleCodeExporter commented 9 years ago
This type of formatting is done using CSS paragraph styling.  If you need help 
with styling, try the MobileRead forum.

Original comment by daveheil...@gmail.com on 4 Aug 2013 at 8:09

GoogleCodeExporter commented 9 years ago
I agree - however this requires changing of the status of every paragraph that 
fits this requirement, would there be a possibility of embedding the function 
in a menu somewhere so this can be automated?

Original comment by SeanGDu...@gmail.com on 4 Aug 2013 at 9:53