An open API service indexing awesome lists of open source software.

https://github.com/rougier/py-tex-wrap

Automatically exported from code.google.com/p/py-tex-wrap
https://github.com/rougier/py-tex-wrap

Last synced: 5 months ago
JSON representation

Automatically exported from code.google.com/p/py-tex-wrap

Awesome Lists containing this project

README

          

project hosted at https://py-tex-wrap.googlecode.com/hg

The Knuth-Plass line breaking algorithm is both elegant and has remained unparalleled in typographical beauty over 30 years.

This project is an attempt to hoist an existing Python implementation up to a contemporary Python version and then extend it to handle vbox packing in addition to the extant hbox packing.

The base code was obtained from http://www.amk.ca/files/python/tex_wrap-1.01.tar.gz on 2 Jul 2010. Although the author appears to have disclaimed rights in the code, I am attempting to affirmatively verify this.

----

msw 3 jul 01: the file tex_wrap.py is the byte-for-byte verbatim extract from the tarball, which is place here for contrast to rev 8f58d3fc524d of wrap.py which differs only in lack of trailing spaces (i.e. s/\s+$//)