wf49670 / ppgen

Post-processing generator for DP
6 stars 4 forks source link

Using the line rewrap option (\) in a no-wrap section will create a long line. #94

Open okrick opened 1 year ago

okrick commented 1 year ago

If you add a line rewrap to the end of a line within a no-wrap section, it will wrap at one more than the default setting for the document. E.g. 73 characters instead of 72.

For example:

.ce Refutation of Statement That Our Ancestors\ Were Wont to Dine on\ Pork and Doughnuts.

results in a line length of 73

Refutation of Statement That Our Ancestors Were Wont to Dine on Pork and Doughnuts.

instead of

Refutation of Statement That Our Ancestors Were Wont to Dine on Pork and Doughnuts.

I get the same result with all of the following constructs: headers (.h1, etc.), captions (.ca), centering (.nf c), right justification (.rj and .nf r), and left justification (.nf l). I can't think of a common use case for left justification, but it is still available.

ppgen 3.57e Edition Windows 10 Home Version 22H2 Installed on ‎9/‎11/‎2023 OS build 19045.3570 Experience Windows Feature Experience Pack 1000.19052.1000.0