summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-09-19 21:11:05 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-09-19 21:11:05 -0700
commit8df53506c7b9e57f92c71f33bf8f5097a9b96e86 (patch)
tree4ae7e51be6f3d33e951a421a2d57ba37b8fa2f84 /INSTALL
parentdf313b859f19857a9773627d60bf2e6c8d6ba9b3 (diff)
Added something on unicode_collation to INSTALL.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL16
1 files changed, 16 insertions, 0 deletions
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