15 Replies Latest reply on Oct 1, 2010 6:50 AM by KateRobo

    List Styles changes - is this a RoboHelp 8 bug?

    kate_paints Level 1

      Our corporation has a specific list style. I created the list style which is list style based on a paragraph style (required by the Styles, Paragraph Styles drop-down). All has been well for a week or more. I have about 50 topics. Today, the styles show an indented space such as:

      1.  The quick brown fox

         jumped over the lazy dog.

      2.  The quick brown fox hid

        from the very lazy dog who slept.

       

      The List Preview in the dialog box shows this misalignment. I do not see where I can control the list indentations.

       

      The lists are misaligned in the preview (glasses) view and in the compiled WebHelp.

       

      There are no indentations or tabs in the paragraph style (0s).

       

      Please advise.

        • 1. Re: List Styles changes - is this a RoboHelp 8 bug?
          kate_paints Level 1

           

          I inserted my css but I don't know if it will show. I have a paragraph "normal_no_space_after" and "normal". The list style is "list_numbered_no_space_after". It uses the paragraph style "normal_no_space_after". I am on XP SP3, Intel Duo 2, and 2.5 GB RAM. The randomness of the alignment is puzzling. What in the style or css controls the alignment of the text after the list level indicator (1, a., etc.). Thanks!

          • 3. Re: List Styles changes - is this a RoboHelp 8 bug?
            kate_paints Level 1

            I removed the negative indents, for example "text-indent: -30pt" and things appear to be better. I have no idea how the negative text indents got there.

            • 4. Re: List Styles changes - is this a RoboHelp 8 bug?
              kate_paints Level 1

              No, removing the negatives made it worse. Any ideas? Does anyone have a css that shows what a multi-level list should look like?

              • 5. Re: List Styles changes - is this a RoboHelp 8 bug?
                Willam van Weelden Adobe Community Professional & MVP

                Hi,

                 

                Multilevel lists are a pain to maintain in your style sheet. You're better of sticking with the style editor of RH.

                 

                The text-indent controls how much the first line of text should be indented, in this case -30px. If you enlarge it, your first line will indent more. Can you share your css and an example topic so we can have a look?

                 

                Greet,

                 

                Willam

                • 6. Re: List Styles changes - is this a RoboHelp 8 bug?
                  kate_paints Level 1

                  I attached the two CSS files. The one dated 092310 was auto generated/changed by RoboHelp somehow. It created odd indentation of my lists.

                   

                  I edited both the list styles:

                  rh-list.List_numbered

                  rh-list.List_numbered_no_space_after

                   

                  I simply reorganized the list styles so I could better read the information. I only use level 1 through 5. When I compiled the project with default.css, the lists look fine again. All I did is reorganize the css in a logical order.

                   

                  My indented bullet lists have become unaligned also. I will work on those later today.

                   

                  I was brought into a large corporation to organize their policy and procedure in one source (previously, they used Word). They exclusively use indented lists and bullets. This feature being bullet proof is very important to the success of this project.

                   

                  Thanks!

                  Kate

                  • 7. Re: List Styles changes - is this a RoboHelp 8 bug?
                    KateRobo Level 1

                    What do you mean "sticking with the style editor"? I started with the style editor. How do you get multi-level lists with the style editor? Are you suggesting I have a separate style for each level of indent?

                     

                    In a separate email, I attached the two CSS files. The one dated 092310 was auto generated/changed by RoboHelp somehow. It created odd indentation of my lists after working ok for a few weeks.

                     

                    I edited both the list styles:

                    • rh-list.List_numbered
                    • rh-list.List_numbered_no_space_after

                     

                    I simply reorganized the list styles so I could better read the information. I only use level 1 through 5. When I compiled the project with default.css, the lists look fine again. All I did is reorganize the css in a logical order.

                     

                    My indented bullet lists have become unaligned also. I will work on those later today.

                     

                    I was brought into a large corporation to organize their policy and procedure in one source (previously, they used Word). They exclusively use indented lists and bullets. This feature being bullet proof is very important to the success of this project.

                     

                    Adobe sells RH as a solution for policy and procedures which usually have deeply indented lists, so this needs to work.

                     

                    Thanks for your suggestions/help. I think if there were an example of a css that works, it would go a long way to help the RoboHelp community use this feature.

                     

                    Thanks!

                    • 8. Re: List Styles changes - is this a RoboHelp 8 bug?
                      KateRobo Level 1

                      I compiled using the default.css I thought was working. I see the periods after each numbered heading are dropped. The first line in the single numbered list is not aligned. (This is the first line under DEFINITIONS.) I will pick this up later today. I need to deliver some work on Monday.

                      • 10. Re: List Styles changes - is this a RoboHelp 8 bug?
                        kate_paints Level 1

                        The html above seems to work except the Roman style is not indented enough for straight alignment.

                        • 11. Re: List Styles changes - is this a RoboHelp 8 bug?
                          Willam van Weelden Adobe Community Professional & MVP

                          Hi,

                           

                          RH multilevel lists aren't real lists. This may explain the problem. I'm quite busy at the moment but I'll try to look at your css asap.

                           

                          Greet,

                           

                          Willam

                          • 12. Re: List Styles changes - is this a RoboHelp 8 bug?
                            KateRobo Level 1

                            I know they aren't lists but are, basically, indented parargraphs. My css has worked wonderfully for 3 days now. I think the messy css RoboHelp creates for indented lists is part of the problem. However, I don't know if HTML has to be executed in a certain order like other programming languages. It appears it does to me. If that is true, if RH need to create a clean, ordered list for the indented lists. On to my problem with the Roman numerals not "aligning", I think it is because they take up an variety of pts. While 1., 2., 3., and a., b., c., take up *roughly* the same space, i., ii., iii., iv., v., vi., vii., and viii., vairy in lenght that is visually apparant. Since there is just the paragraph indent (to control where the paragraph is placed on the page) and the negative margin (to control... what?... how far from the number the text is placed), the Roman numerals cause an odd alignment.

                             

                            Our corporate policy and procedure rules dictate the numbering style, which indents in some cases to 7 levels. So, I think we are stuck with the appearance. 

                            • 13. Re: List Styles changes - is this a RoboHelp 8 bug?
                              Willam van Weelden Adobe Community Professional & MVP

                              I think you've exactly pinpointed the problem. I have to check however if I can overcome the problems with the different size of the numerals.

                               

                              As for execution order, HTML is not a programming language but a markup language. The order in which elements are nested does matter. Putting a paragraph in a list makes sense, the other way around does not. You can use JavaScript or CSS to style, read and change the content. (Try searching HTML DOM).

                               

                              If you really want 'clean lists' you need to go with actual nested HTML lists. See also http://www.wvanweelden.eu/robohelp/lists/multilevel_lists.php

                               

                              Greet,

                               

                              Willam

                              • 14. Re: List Styles changes - is this a RoboHelp 8 bug?
                                Willam van Weelden Adobe Community Professional & MVP

                                Hi,

                                 

                                I've taken a look, but what you see is not a bug. When you style a Multilevel list (using the style editor), you set the distance between the sequence and the actual numbering:

                                 

                                Capture1.png

                                Simply increase the space between the sequence and the text to avoit this problem.

                                 

                                You can also change this setting in you css using an external editor. (Not recommended)

                                For multilevel lists, there are two settings for this: x-lvl-<nr>-margin and x-lvl-<nr>-indent;

                                The x-level-<nr>-margin sets where the text will be placed.

                                The x-level-<nr>-indent sets the distance between the sequence numbering and the text. (This is allway's negative.)

                                Setting the indents correctly in css is a pain. For roman numbering up to 100, use an indent of -55px; The list will then allways be correctly indented. (When the text is Arial 12pt.)

                                 

                                Conclusion: Increase the indents using the style editor of RoboHelp. Just add some more space, open a preview and repeat if necessary. The WYSIWYG provides a reasonable preview, but I noticed that FF sometimes doesn't completely show what the WYSIWYG shows.

                                 

                                Greet,

                                 

                                Willam

                                • 15. Re: List Styles changes - is this a RoboHelp 8 bug?
                                  KateRobo Level 1

                                  The bug is: the indented lists created in the css by RoboHelp are scrambled and have to be edited to the appropriate order in a css editor (see Sept 24th css screen shot in this post compared to the later, cocrrectly ordered html). My indented lists are bullet proof now. I sent this observation in as a possible bug fix to RH. RH should generate a style for indented lists that is ordered and clean.

                                   

                                  I've tried the shift you've suggested and didn't get good results but I will try it again.

                                   

                                  • Okay: The x-level-<nr>-margin sets where the text will be placed (such as i. or iiiv.)
                                  • Problem with Roman numberals: The x-level-<nr>-indent sets the distance between the sequence numbering and the text. (This is all ways negative.) The latter is the problem because there is aways a farther distance between i. and iiiv.) So, whatever number you set, there will always be a slight stagger to the alignment because of the further left start point of the sequence numbering. I think the distance measure starts at the end of the sequence number not the start of the sequence number. This is probably an HTML thing and RoboHelp can't control this. I will try again, but I'm pretty sure the staggered result is always going to be with me.

                                   

                                  I find editing the directly in the css works when the interface does not produce a good result. Editing in the css is recommended if you know html. I always back up my last css so I'm never stuck with a bad result. I also use FrontPage for editing not Notes because I can"undo" while I edit.

                                   

                                  Cheers!

                                  Kate