Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6160109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:14:43+00:00 2026-05-23T21:14:43+00:00

PAR does i.m.o. a much better formatting as Vim default formatter. But sometimes PAR

  • 0

PAR does i.m.o. a much better formatting as Vim default formatter.

But sometimes PAR does’t work very well.

p.e.

this is a test this is a test this is a test.
this is my text this is my text this is my text.

formatting with par 44 becomes:

this is a test this is a test this is a   t.
this is tes my text this is my text this  t.
this is is my tex                         t.

Is there a way to resolve this kind of formattion?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:14:43+00:00Added an answer on May 23, 2026 at 9:14 pm

    Par is very powerful, and complex. I don’t know 10% of its capacity, but would
    be worth spending an entire week just to master it.

    What’s happening with your text is related to the last characters in each line.
    As you can see, every line in:

    this is a test this is a test this is a test.
    this is my text this is my text this is my text.
    

    Ends with “t.”. The Par manual says in the DESCRIPTION section:

    Each output paragraph is generated from the corresponding input paragraph
    as follows:
    
    1) An optional prefix and/or suffix is removed from each input line.
    2) The remainder is divided into words (separated by spaces).
    3) The words are joined into lines to make an eye-pleasing paragraph.
    4) The prefixes and suffixes are reattached.
    

    Probably1 Par is guessing that t. is a suffix, and thus removing
    them in step 1. After everything is formated Par puts the t. back aligning
    them.

    To solve this, pass the s option with a value of 0. This way suffixes will be
    disabled.

    :%!par s0w44
    

    1 I’m saying probably because I’m not completely sure of that. As I
    said earlier I’m not a master, maybe there is something else involved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Briefly: Does anyone know of a GUI for gdb that brings it on par
function Obj1(param) { this.test1 = param || 1; } function Obj2(param, par) { this.test2
Why does the following code create a deadlock: object Test extends Application { def
If I have this: val a = Array(...) and I write a.par.map(e => someFunc(e))
My goal is very simple today, I am trying to work out the proper
I don't understand what happens here : use PAR { file => 'foo.par', fallback
Is there an active/solid cross browser css framework on par with blueprint/yui/960 that supports
If I create a multi-plot window with par(mfrow=...) , is it possible to send
I'm having a problem with trying to find out whether the parent element does
I'm currently using the PAR Packer (pp) to package a couple of pl scripts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.