Permalink
Browse files

Added something on unicode_collation to INSTALL.

  • Loading branch information...
John MacFarlane
John MacFarlane committed Sep 20, 2013
1 parent df313b8 commit 8df53506c7b9e57f92c71f33bf8f5097a9b96e86
Showing with 16 additions and 0 deletions.
  1. +16 −0 INSTALL
View
16 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

0 comments on commit 8df5350

Please sign in to comment.