summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Data.hsb
Commit message (Collapse)AuthorAge
* Revert "Revert "Use file-embed instead of hsb2hs to embed data files.""John MacFarlane2017-04-02
| | | | This reverts commit 1fa15c225b515e1fa1c6566f90f1be363a4d770f.
* Revert "Use file-embed instead of hsb2hs to embed data files."John MacFarlane2017-03-26
| | | | This reverts commit 10d91c147968d2e4d63b99b5b0342624827f416f.
* Use file-embed instead of hsb2hs to embed data files.John MacFarlane2017-03-26
| | | | | | | | | | I think template haskell is robust enough now across platforms that this will work. Motivation: file-embed gives us better dependency tracking: if a data file changes, ghc/stack/cabal know to recompile the Data module. This also removes hsb2hs as a build dependency.
* Initial addition of groff ms writer.John MacFarlane2017-03-23
| | | | | | | | | * New module: Text.Pandoc.Writers.Ms. * New template: default.ms. * The writer uses texmath's new eqn writer to convert math to eqn format, so a ms file produced with this writer should be processed with `groff -ms -e` if it contains math.
* Rename README to MANUAL.txtAlbert Krewinkel2016-07-20
|
* Text.Pandoc.Data: store paths in dataFiles using posix separators.John MacFarlane2015-10-17
| | | | | | | | | This way we have uniform separators, whether on Windows or Linux. This should solve a problem where on some Windows versions the data files weren't being found. Closes #2459.
* Minor fixes to previous commit.John MacFarlane2015-06-28
| | | | | | | | | * Instead of defining readmeFile in Text.Pandoc.Data (which we forgot to export anyway), we simply add a record for "README" to the `dataFiles` lookup table. This allows simplifying some of the code for `readDefaultDataFile` in SHared. * As a bonus, `pandoc --print-default-data-file README` now works.
* New method for producing man pages.John MacFarlane2015-06-28
| | | | | | | | | | | | | | | | | | | | | This change adds `--man1` and `--man5` options to pandoc, so pandoc can generate its own man pages. It removes the old overly complex method of building a separate executable (but not installing it) just to create the man pages. The man pages are no longer automatically created in the build process. The man/ directory has been removed. The man page templates have been moved to data/. New unexported module: Text.Pandoc.ManPages. Text.Pandoc.Data now exports readmeFile, and `readDataFile` knows how to find README. Closes #2190.
* Use hsb2hs preprocessor instead of TH for embed_data_files.John MacFarlane2013-01-23
This should work on Windows, unlike the TH solution with file-embed.