ascii text format

Discussion in 'Forum for discussion of ANTICHAT' started by Americandream, 2 Oct 2008.

  1. Americandream

    Americandream New Member

    Joined:
    12 Jun 2008
    Messages:
    17
    Likes Received:
    3
    Reputations:
    0
    hello.
    i need to format some texts for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my txt files.
    what soft can i use for format my txt files? there is command on VIM like "set textwidth" but this is not for me. any help i appreciate.
     
    #1 Americandream, 2 Oct 2008
    Last edited: 26 Nov 2008
  2. VERte][

    VERte][ Elder - Старейшина

    Joined:
    17 May 2007
    Messages:
    240
    Likes Received:
    163
    Reputations:
    32
    i think you can use any text editor which has it's own script system, for example Notepad++ (just press Record -> format first line -> turn to next -> press Stop -> and then run recorded script)
     
  3. Americandream

    Americandream New Member

    Joined:
    12 Jun 2008
    Messages:
    17
    Likes Received:
    3
    Reputations:
    0
    this are called macros, since when macros should be a solution?
    macros objective is to automate tasks, should them be for automate text formattion?
    all i need is to get text formatted just like unix man pages are.
    so, i checked this option on man
    i dont know whether this can be a solution, i only ask because certainly someone has the right simple answer.
     
  4. VERte][

    VERte][ Elder - Старейшина

    Joined:
    17 May 2007
    Messages:
    240
    Likes Received:
    163
    Reputations:
    32
    Yes, I've tried this method.
     
  5. Americandream

    Americandream New Member

    Joined:
    12 Jun 2008
    Messages:
    17
    Likes Received:
    3
    Reputations:
    0
    i dont think this method is the ideal solution, at least not very pratical.
     
  6. VERte][

    VERte][ Elder - Старейшина

    Joined:
    17 May 2007
    Messages:
    240
    Likes Received:
    163
    Reputations:
    32
    In my opinon it is, cause there are special macroses to make one formattion in the whole text.
     
  7. Americandream

    Americandream New Member

    Joined:
    12 Jun 2008
    Messages:
    17
    Likes Received:
    3
    Reputations:
    0
    maybe it is, however i dont believe most of formated *.txt texts you see on the web are formatted using this method.