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
- Host: GitHub
- URL: https://github.com/rougier/py-tex-wrap
- Owner: rougier
- Created: 2015-06-01T11:06:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T11:09:07.000Z (over 10 years ago)
- Last Synced: 2025-07-22T00:22:58.915Z (6 months ago)
- Language: Python
- Size: 137 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
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+$//)