git.iko.soy/typeable/pandoc
on master help sign in
Added something on unicode_collation to INSTALL.
commit8df53506c7b9e57f92c71f33bf8f5097a9b96e86 authorJohn MacFarlane <fiddlosopher@gmail.com> dateThu 19 Sep 2013, 21:11 (13 years ago) parentdf313b8
1 file changed+16
INSTALL+16
INSTALL+16
@@ -59,6 +59,22 @@ Quick install
5959
6060 cabal install pandoc-citeproc
6161
62+ By default `pandoc-citeproc` uses the "i;unicode-casemap" method
63+ to sort bibliography entries (RFC 5051). If you would like to
64+ use the locale-sensitive unicode collation algorithm instead,
65+ specify the `unicode_collation` flag:
66+
67+ cabal install pandoc-citeproc -funicode_collation
68+
69+ Note that this requires the `text-icu` library, which in turn
70+ depends on the C library `icu4c`. Installation directions
71+ vary by platform. Here is how it might work on OSX with homebrew:
72+
73+ brew install icu4c
74+ cabal install --extra-lib-dirs=/usr/local/Cellar/icu4c/51.1/lib \
75+ --extra-include-dirs=/usr/local/Cellar/icu4c/51.1/include \
76+ -funicode_collation text-icu pandoc-citeproc
77+
6278[GHC]: http://www.haskell.org/ghc/
6379[Haskell platform]: http://hackage.haskell.org/platform/
6480[cabal-install]: http://hackage.haskell.org/trac/hackage/wiki/CabalInstall