Comment

Comment by weinzierl

Nice, I like text files. Paragraph width is a little too wide for me, however.

I assume you made the line breaks manually, but it IMHO looks better if you let a decent algorithm do it.

Most Unix systems should have fmt, but par is better. If you are a vim user, just hit gqip inside of every paragraph.

The manual of par [1] has an example that shows the superiority of a dynamic programming algorithm (par, TeX) over a greedy algorithm (fmt, aprox. format manually).

[1] http://www.nicemice.net/par/par-doc.var

parent weinzierl 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton