Skip to content

Instantly share code, notes, and snippets.

Created November 18, 2013 23:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/7537032 to your computer and use it in GitHub Desktop.
defonce
(defn hyphenate[txt]
(defonce hyphenator
(let [h (new Hyphenator)]
(.loadTable
h (input-stream (resource "hyphen.tex")))
h))
(.hyphenate hyphenator txt))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment