Skip navigation
Currently Being Moderated

Line feeds and indentations

Apr 5, 2012 2:03 PM

Is there any way to get RoboHelp (RH9) to stop inserting line feeds and indentations into the HTML code?

 

I often have to do massive search and replace scripts and having these *&%(& extra characters makes it very difficult. A line of code that starts out in my text editor like this:

 

<p class="Menu-Descriptions"><a href="../ToolbarMap/Transform_Toolbar.htm" id="a10" style="position: relative; ">Transform toolbar</a></p>

 

ends up looking like this:

 

<p class="Menu-Descriptions"><a href="../ToolbarMap/Transform_Toolbar.htm"

                                                                                 id="a10" style="position: relative;">Transform

toolbar</a></p>

 

It makes it harder to search for "Transform toolbar".

 

Any thoughts?

 

~Margaret Becker

www.rhino3d.com

www.rhino3d.com/5/help

 
Replies
  • Currently Being Moderated
    Apr 5, 2012 11:43 PM   in reply to Margaret Becker

    Hi,

     

     

     

    There’s no way that I know of. But you can use a tool dnGrep (http://code.google.com/p/dngrep/) that can ignore line feeds.

     

     

     

    Greet,

     

     

     

    Willam

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 7, 2012 2:30 AM   in reply to Margaret Becker

    Sorry but what "Sorting Result"?

     

    Where are you sorting this code and what are you using?

     

    BTW The code examples are not a list in HTML terms. They are just paragraphs. Lists will have LI tags with an OL or UL tag.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 9, 2012 12:28 PM   in reply to Margaret Becker

    Space above or below lists and / or list items can be controlled via the CSS.

     

    Items within a list without numbering can be added by using Shift + Enter.

     

    Text editors may have the ability to sort paragraphs alphabetically but that is confined to text editors. No RoboHelp does not have that option but that also applies to Microsoft Word and the HTML editors that I use. They are different tools for different purposes.

     

    Try this different approach to see if it helps you.

     

    Go to View > Show and click Tag List.

     

    Put the cursor in a paragraph you want to move up or down.You will see Document > Paragraph above the topic. Click Paragraph and the whole paragraph will be selected without and dragging or using other ways of selecting a paragraph. Now you can quickly drag the paragraph where you want it to rearrange the list. I don't know how long your lists are so only you can tell if that is quicker than what you are doing.

     

    It's that or write the paragraphs in the right order to start with.

     

    Sorry but I don't know of any HAT that will do what you want.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 20, 2012 12:45 PM   in reply to Margaret Becker

    Re Item 7

     

    The email for Item 7 just read "Thank your for answering" so I thought you had felt my answer didn't cover what you want and had decided not to ask further. Edits to a post don't get emailed so I have only just seen you added more.

     

    Does using Shift + Enter twice work? It does for me because I have set up my styles that way.

     

    Yes I know you can select a paragraph that way. I find the way I suggested more accurate and less fidly.

     

    Re Item 8

     

    I have tried dnGrep but I decided to pay for an upgrade to PowerGrep as it suited my needs better. I believe Willam suggested that app as it is free and I believe he uses it. Perhaps he can help on that point. I suspect it is an option.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 23, 2012 10:32 AM   in reply to Margaret Becker
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points