Loading ...
Sorry, an error occurred while loading the content.

Re: How do you make list items into

Expand Messages
  • thefrank
    Hello All, If the goal is to simply reformat a list in a text doc to resemble the unordered list in a HTML doc, then why not use the bullet as the starting
    Message 1 of 5 , May 11, 2001
    • 0 Attachment
      Hello All,

      If the goal is to simply reformat a list in a text doc to resemble
      the unordered list in a HTML doc, then why not use the bullet as the
      starting place?

      After selecting the list, the following will continue from where
      Clueless stopped (joining all lines) to insert the break before the
      bullet character:

      ^!Set %bullet%=^?{Type in List Bullet character:}
      ^!TOOLBAR Join Lines
      ^!Replace "^%bullet%" >> "^p^%bullet%" A

      For a more appealing format, the following allows to add indent
      spacing so the list bullets will align with text outside the list:

      ^!Set %bullet%=^?[Type in List Bullet character:]
      ^!Set %indent%=^?[Number of spaces to indent each List Item:]
      ^!TOOLBAR Join Lines
      ^!Replace "^%bullet%" >> "^p^$StrFill(^%SPACE%;^%indent%)$^%bullet%" A

      One could even use ^$StrFormat to limit the line width of the list
      item, but would need to add extra spaces for *second (or third...)
      lines* to align properly a few spaces to the right of the bullet. I
      haven't written this one, but you get the point...

      Of course, the above would be for incidental use, and require first
      to select the list...

      Regards,

      tf
    Your message has been successfully submitted and would be delivered to recipients shortly.