all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Nicolas P. Rougier (inria)" <nicolas.rougier@inria.fr>
To: emacs-devel@gnu.org
Subject: Knuth and Plass line breaking algorithm
Date: Sat, 11 Dec 2021 16:38:55 +0100	[thread overview]
Message-ID: <m1fsqzjg1s.fsf@inria.fr> (raw)


I'm reading the ongoing thread on variable pitch text filling and 
I did not see a mention to the Knuth and Plass line breaking 
algorithm (the one used in TeX). Maybe I missed it but I wanted to 
be sure it has been considered (I'm making a separate post to not 
break the vraible pitch thread). 

Original article:
http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf

Emacs implementation:
https://github.com/Fuco1/justify-kp (from 2014, I did not manage 
to run it)

Javascrip implementation:
https://github.com/bramstein/typeset


Nicolas



             reply	other threads:[~2021-12-11 15:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-11 15:38 Nicolas P. Rougier (inria) [this message]
2021-12-12  5:04 ` Knuth and Plass line breaking algorithm Lars Ingebrigtsen
2021-12-12  5:23   ` Alexandre Garreau
2021-12-12  7:18   ` Nicolas P. Rougier (inria)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1fsqzjg1s.fsf@inria.fr \
    --to=nicolas.rougier@inria.fr \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.