@@ -94,6 +94,37 @@ you will need [zip-archive], [blaze-html], and [highlighting-kate].
9494 generate a script that can be run to register the package at
9595 install time.
9696
97+Creating a relocatable Windows binary
98+-------------------------------------
99+
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
103+data files there.
104+
105+ cabal install --flags="embed_data_files" citeproc-hs
106+ cabal install --flags="executable -library" --datasubdir=
107+
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:
110+
111+ README
112+ COPYRIGHT
113+ COPYING
114+ reference.odt
115+ reference.docx
116+ epub.css
117+ default.csl
118+ templates/
119+ data/
120+ s5/
121+ slidy/
122+ dzslides/
123+ pcre-license.txt
124+ pcre3.dll
125+
126+This is essentially what the binary installer does.
127+
97128[zip-archive]: http://hackage.haskell.org/package/zip-archive
98129[highlighting-kate]: http://hackage.haskell.org/package/highlighting-kate
99130[blaze-html]: http://hackage.haskell.org/package/blaze-html