@@ -94,6 +94,37 @@ you will need [zip-archive], [blaze-html], and [highlighting-kate].
94 generate a script that can be run to register the package at
94 generate a script that can be run to register the package at
95 install time.
95 install time.
97+Creating a relocatable Windows binary
98+-------------------------------------
100+On Windows it is possible to compile pandoc such that it
101+(and its data files) are "relocatable." You can put the relocatable
102+binary in any directory (even on a USB drive), and it will look for its
105+ cabal install --flags="embed_data_files" citeproc-hs
106+ cabal install --flags="executable -library" --datasubdir=
108+You can find `pandoc.exe` in `dist/build/pandoc`. Copy this wherever
109+you please, and copy the following data files to the same place:
126+This is essentially what the binary installer does.
97[zip-archive]: http://hackage.haskell.org/package/zip-archive
128[zip-archive]: http://hackage.haskell.org/package/zip-archive
98[highlighting-kate]: http://hackage.haskell.org/package/highlighting-kate
129[highlighting-kate]: http://hackage.haskell.org/package/highlighting-kate
99[blaze-html]: http://hackage.haskell.org/package/blaze-html
130[blaze-html]: http://hackage.haskell.org/package/blaze-html