git.iko.soy/typeable/pandoc
on master help sign in
Update filters doc with better cabal v2 instructions.
commitebf413cdec8157b96db0e510bc0c15a9e8adf0e3 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 14 Jan 2020, 16:31 (7 years ago) parentdfac123
1 file changed+3−3
doc/filters.md+3−3
doc/filters.md+3−3
@@ -171,12 +171,12 @@ and then
171171 pandoc -f SOURCEFORMAT -t TARGETFORMAT --filter ./behead.hs
172172
173173(It is also necessary that `pandoc-types` be installed in the
174−local package repository: `cabal install pandoc-types` should
175−ensure this.)
174+local package repository. To do this using cabal-install,
175+`cabal v2-update && cabal v2-install --lib pandoc-types`.)
176176
177177Alternatively, we could compile the filter:
178178
179− ghc --make behead.hs
179+ ghc -package-env=default --make behead.hs
180180 pandoc -f SOURCEFORMAT -t TARGETFORMAT --filter ./behead
181181
182182Note that if the filter is placed in the system PATH, then the initial