bugGNU Astronomy Utilities - Bugs: bug #49188, Paragraph indentation in book's...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #49188: Paragraph indentation in book's webpage

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Mon 26 Sep 2016 09:38:16 AM UTC  
 
Category: WebpageSeverity: 3 - Normal
Item Group: DocumentationStatus: Postponed
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon 03 Oct 2016 11:33:15 PM UTC, comment #1:

A dirty fix has been pushed to the main repo and also uploaded to the server. When there isn't more than 10 non-paragraphs between the first paragraph and header, this works fine, but if there are more than this arbitrary number, there will be problems again. See the commit message for a discussion.

Since this is just a temporary solution, I am not marking this bug as fixed.

Mohammad Akhlaghi <makhlaghi>
Project Administrator
Mon 26 Sep 2016 09:38:16 AM UTC, original submission:

The current CSS style sheet for the book defines paragraph indentation as follows:

To make/check it, I mainly used the single HTML per node as a reference and the single HTML vesion also seemed fine. However, there was a problem:

  • When there are multiple other tags between two paragraphs, indentation will not work. For example this page. If you look in the source you will see multiple tags (for the index) between the first and second paragraph.
  • The case above has created the apparent success of this rule for multi-section pages, like the single HTML version: the fact that the first paragraphs of each section is not indented is because there is more than one tag between it and the previous tag.

We should set it to the opposite: by default there should be indentation, and when a paragraph falls below a header (with any number of elements between the header and the paragraph), there should be no indentation. The `*' will choose ONLY ONE of any type of tag. I am still searching to find how we can tell CSS to use any number of any type of tag, but I don't have much time now, so I am postponing it. If you know the solution, please comment here, thanks in advance ;-).

Mohammad Akhlaghi <makhlaghi>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by makhlaghi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1