From 8df53506c7b9e57f92c71f33bf8f5097a9b96e86 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 19 Sep 2013 21:11:05 -0700 Subject: Added something on unicode_collation to INSTALL. --- INSTALL | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/INSTALL b/INSTALL index 76eb09e7e..9442adbf0 100644 --- a/INSTALL +++ b/INSTALL @@ -59,6 +59,22 @@ Quick install cabal install pandoc-citeproc + By default `pandoc-citeproc` uses the "i;unicode-casemap" method + to sort bibliography entries (RFC 5051). If you would like to + use the locale-sensitive unicode collation algorithm instead, + specify the `unicode_collation` flag: + + cabal install pandoc-citeproc -funicode_collation + + Note that this requires the `text-icu` library, which in turn + depends on the C library `icu4c`. Installation directions + vary by platform. Here is how it might work on OSX with homebrew: + + brew install icu4c + cabal install --extra-lib-dirs=/usr/local/Cellar/icu4c/51.1/lib \ + --extra-include-dirs=/usr/local/Cellar/icu4c/51.1/include \ + -funicode_collation text-icu pandoc-citeproc + [GHC]: http://www.haskell.org/ghc/ [Haskell platform]: http://hackage.haskell.org/platform/ [cabal-install]: http://hackage.haskell.org/trac/hackage/wiki/CabalInstall -- cgit v1.2.3